Skip to content

Commit

Permalink
Support ActiveJob 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sharshenov committed Oct 29, 2024
1 parent cfbf2fe commit 4061167
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
4 changes: 4 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion activejob-uniqueness.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/.bundle/config
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
BUNDLE_RETRY: "3"
BUNDLE_RETRY: "1"
BUNDLE_JOBS: "3"
7 changes: 7 additions & 0 deletions gemfiles/activejob_8.0.x.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activejob", ">= 8.0.0.rc1", "< 8.1"

gemspec path: "../"

0 comments on commit 4061167

Please sign in to comment.