This PR refactors MetadataInterface::getIp() to MetadataInterface::getIps() as a bot can have 0, 1 or several IPs.
Metadata::match() has also been rewritten for a better readability.
Coverage increased (+1.1%) to 96.875% when pulling 43d364f371371fd3fd5e341d02594c63fe076090 on bpolaszek:fix/api into b35c10c99841f6372646dd26429ed140137febb1 on lennerd:master.
Depends on #47.
This PR refactors
MetadataInterface::getIp()
toMetadataInterface::getIps()
as a bot can have 0, 1 or several IPs.Metadata::match()
has also been rewritten for a better readability.