Need Ruby developer help on a logstash plugin

Hello,

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:

https://github.com/ebuildy/logstash-filter-useragent

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

git clone https://github.com/ebuildy/logstash-filter-useragent.git
cd logstash-filter-useragent/dev
make test