Skip to content

Commit

Permalink
require bunny patched for Ruby 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
skaes committed Mar 27, 2023
1 parent 7858276 commit bd0c99a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion beetle.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 0 additions & 5 deletions lib/beetle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit bd0c99a

Please sign in to comment.