diff --git a/pageflow.gemspec b/pageflow.gemspec index ba95502e1..ddcc64364 100644 --- a/pageflow.gemspec +++ b/pageflow.gemspec @@ -148,7 +148,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'mysql2', '~> 0.5.2' # Resque as default Active Job backend - s.add_development_dependency 'resque', '~> 1.25' + s.add_development_dependency 'resque', ['>= 1.25', '< 3'] s.add_development_dependency 'resque-scheduler', '~> 4.10' s.add_development_dependency 'ar_after_transaction', '~> 0.10.0' diff --git a/spec/support/pageflow-support.gemspec b/spec/support/pageflow-support.gemspec index 0ce8159ec..7ffef624c 100644 --- a/spec/support/pageflow-support.gemspec +++ b/spec/support/pageflow-support.gemspec @@ -25,7 +25,7 @@ Gem::Specification.new do |s| s.add_runtime_dependency 'listen', '~> 3.0' s.add_runtime_dependency 'bootsnap', '~> 1.0' - s.add_runtime_dependency 'resque', '~> 1.25' + s.add_runtime_dependency 'resque', '~> 2.6' s.add_runtime_dependency 'resque-scheduler', '~> 4.10' s.add_runtime_dependency 'ar_after_transaction', '~> 0.10.0'