Sha256: 0c9417fdf90cb7cdcb548d904e04265ffe716f88fc154358f758c78014e20bee
Contents?: true
Size: 335 Bytes
Versions: 3
Compression:
Stored size: 335 Bytes
Contents
module SidekiqUniqueJobs class Config < OpenStruct def inline_testing_enabled? testing_enabled? && Sidekiq::Testing.inline? end def mocking? redis_test_mode.to_sym == :mock end def testing_enabled? Sidekiq.const_defined?(TESTING_CONSTANT, false) && Sidekiq::Testing.enabled? end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-unique-jobs-5.0.2 | lib/sidekiq_unique_jobs/config.rb |
sidekiq-unique-jobs-5.0.1 | lib/sidekiq_unique_jobs/config.rb |
sidekiq-unique-jobs-5.0.0 | lib/sidekiq_unique_jobs/config.rb |