lib/sidekiq.rb in sidekiq-5.2.3 vs lib/sidekiq.rb in sidekiq-5.2.4
- old
+ new
@@ -1,6 +1,7 @@
# frozen_string_literal: true
+
require 'sidekiq/version'
fail "Sidekiq #{Sidekiq::VERSION} does not support Ruby versions below 2.2.2." if RUBY_PLATFORM != 'java' && Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.2')
require 'sidekiq/logging'
require 'sidekiq/client'
@@ -54,9 +55,10 @@
end
def self.options
@options ||= DEFAULTS.dup
end
+
def self.options=(opts)
@options = opts
end
##