diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2c50b2b..d9a4b5c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,6 +34,7 @@ jobs: - gemfiles/activejob_7.0.x.gemfile - gemfiles/activejob_7.1.x.gemfile - gemfiles/activejob_7.2.x.gemfile + - gemfiles/activejob_8.0.x.gemfile - gemfiles/sidekiq_4.x.gemfile - gemfiles/sidekiq_5.x.gemfile - gemfiles/sidekiq_6.x.gemfile @@ -45,6 +46,8 @@ jobs: gemfile: gemfiles/activejob_7.1.x.gemfile - ruby: 2.5.9 gemfile: gemfiles/activejob_7.2.x.gemfile + - ruby: 2.5.9 + gemfile: gemfiles/activejob_8.0.x.gemfile - ruby: 2.5.9 gemfile: gemfiles/sidekiq_6.x.gemfile - ruby: 2.5.9 @@ -55,6 +58,8 @@ jobs: gemfile: gemfiles/activejob_7.1.x.gemfile - ruby: 2.6.10 gemfile: gemfiles/activejob_7.2.x.gemfile + - ruby: 2.6.10 + gemfile: gemfiles/activejob_8.0.x.gemfile - ruby: 2.6.10 gemfile: gemfiles/sidekiq_6.x.gemfile - ruby: 2.6.10 @@ -63,6 +68,8 @@ jobs: gemfile: gemfiles/activejob_4.2.x.gemfile - ruby: 2.7.7 gemfile: gemfiles/activejob_7.2.x.gemfile + - ruby: 2.7.7 + gemfile: gemfiles/activejob_8.0.x.gemfile - ruby: 2.7.7 gemfile: gemfiles/sidekiq_4.x.gemfile - ruby: 3.0.5 @@ -71,6 +78,8 @@ jobs: gemfile: gemfiles/activejob_5.2.x.gemfile - ruby: 3.0.5 gemfile: gemfiles/activejob_7.2.x.gemfile + - ruby: 3.0.5 + gemfile: gemfiles/activejob_8.0.x.gemfile - ruby: 3.0.5 gemfile: gemfiles/sidekiq_4.x.gemfile - ruby: 3.0.5 @@ -81,6 +90,8 @@ jobs: gemfile: gemfiles/activejob_5.2.x.gemfile - ruby: 3.1.3 gemfile: gemfiles/activejob_6.0.x.gemfile + - ruby: 3.1.3 + gemfile: gemfiles/activejob_8.0.x.gemfile - ruby: 3.1.3 gemfile: gemfiles/sidekiq_4.x.gemfile - ruby: 3.1.3 diff --git a/Appraisals b/Appraisals index e75f051..da90931 100644 --- a/Appraisals +++ b/Appraisals @@ -28,6 +28,10 @@ appraise 'activejob-7.2.x' do gem 'activejob', '~> 7.2' end +appraise 'activejob-8.0.x' do + gem 'activejob', '>= 8.0.0.rc1', '< 8.1' +end + appraise 'sidekiq-4.x' do gem 'sidekiq', '~> 4.2' gem 'activejob', '~> 5.2' diff --git a/activejob-uniqueness.gemspec b/activejob-uniqueness.gemspec index 82c251c..6e1c35a 100644 --- a/activejob-uniqueness.gemspec +++ b/activejob-uniqueness.gemspec @@ -28,7 +28,7 @@ Gem::Specification.new do |spec| spec.required_ruby_version = '>= 2.5' - spec.add_dependency 'activejob', '>= 4.2', '< 7.3' + spec.add_dependency 'activejob', '>= 4.2', '< 8.1' spec.add_dependency 'redlock', '>= 2.0', '< 3' spec.add_development_dependency 'appraisal', '~> 2.3.0' diff --git a/gemfiles/.bundle/config b/gemfiles/.bundle/config index 52fcb14..8db4777 100644 --- a/gemfiles/.bundle/config +++ b/gemfiles/.bundle/config @@ -1,3 +1,3 @@ --- -BUNDLE_RETRY: "3" +BUNDLE_RETRY: "1" BUNDLE_JOBS: "3" diff --git a/gemfiles/activejob_8.0.x.gemfile b/gemfiles/activejob_8.0.x.gemfile new file mode 100644 index 0000000..42b4fb6 --- /dev/null +++ b/gemfiles/activejob_8.0.x.gemfile @@ -0,0 +1,7 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "activejob", ">= 8.0.0.rc1", "< 8.1" + +gemspec path: "../"