diff --git a/beetle.gemspec b/beetle.gemspec index 90d1e215..b13c4020 100644 --- a/beetle.gemspec +++ b/beetle.gemspec @@ -23,7 +23,7 @@ Gem::Specification.new do |s| } s.specification_version = 3 - s.add_runtime_dependency "bunny", "~> 0.7.12" + s.add_runtime_dependency "bunny", "~> 0.7.13" s.add_runtime_dependency "redis", ">= 4.2.1" s.add_runtime_dependency "hiredis", ">= 0.4.5" s.add_runtime_dependency "amq-protocol", "= 2.3.2" diff --git a/lib/beetle.rb b/lib/beetle.rb index 8fd4ca87..08a3dde9 100644 --- a/lib/beetle.rb +++ b/lib/beetle.rb @@ -2,11 +2,6 @@ require 'bunny' # which bunny picks up require 'qrack/errors' # needed by the publisher -if Gem::Version.new(Bunny::VERSION) <= Gem::Version.new("0.7.12") && !defined?(::Fixnum) - require 'qrack/transport/buffer09' - Qrack::Transport09::Buffer.class_eval "Fixnum = Integer" -end - begin require 'redis/connection/hiredis' # require *before* redis as specified in the redis-rb gem docs require 'redis'