Need Ruby developer help on a logstash plugin


I am working on re-writing logstash plugin filter-useragent by using a Java library. This improve performance a lot and it's more accurate (in my tests).

But I have a few problem with spec test, if a ruby guru could help me to make these tests successful .... a big thanks:

Tests are classic logstash plugin spec tests, can be run with Docker:

git clone
cd logstash-filter-useragent/dev
make test