Stop supporting uuid4r
MODIFY
lib/beetle/message.rb
lib/beetle/message.rb
require "timeout"
+require "securerandom"
module Beetle
# Instances of class Message are created when a subscription callback fires. Class
@@ -146,17 +147,9 @@ module Beetle
end
# generate uuid for publishing
- begin
- require "uuid4r"
- def self.generate_uuid
- UUID4R::uuid(4)
- end
- rescue LoadError
- require "securerandom"
def self.generate_uuid
SecureRandom.uuid
end
- end
# whether the publisher has tried sending this message to two servers
def redundant?

Stop supporting uuid4r