rudionrails / yell-adapters-gelf

Graylog2 adapter for Yell
MIT License
3 stars 4 forks source link

fixed problem with encoding running tests with ruby 2 #5

Closed formigarafa closed 10 years ago

formigarafa commented 10 years ago

This solve a issue I found trying to run the tests with ruby 2. the string returned by the datagram has a different encoding from the expected result.

Checking the header bytes as an array will mitigate this problem.

cheers.