giraffi / fluent-plugin-amqp

Use AMQP broker to send or receive messages via FluentD
MIT License
15 stars 31 forks source link

Basic support for ruby 1.9 AND ruby 2+ #20

Closed warmfusion closed 8 years ago

warmfusion commented 8 years ago

I have a whole bunch of servers that are running Debian Wheezy which does not support Ruby 2, so i'd like to submit the following patch which will enable Ruby 2 and Ruby 1 in tandem.

Travis should be able to build a 1.9 version, where the bunny-mock test is omitted due to a required dependency being missing, but all other tests are identical.

sawanoboly commented 8 years ago

I saw result of TravisCI. I think that it is okay. Thanks!