Skip to content

Commit

Permalink
Support for Rails 7 and dispatch rider 2.x #7
Browse files Browse the repository at this point in the history
require newest dispatch rider
  • Loading branch information
mathieujobin authored Sep 20, 2022
2 parents ca4b5a2 + 1ece61b commit 01e918b
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 31 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,12 @@ jobs:
- 2.7
- 2.6
gemfile:
- Gemfile-5-0
- Gemfile-5-1
- Gemfile-5-2
- Gemfile-6-0
- Gemfile-6-1
- Gemfile-7-0
exclude:
- gemfile: Gemfile-5-0
ruby: 2.7
- gemfile: Gemfile-5-1
ruby: 2.7
- gemfile: Gemfile-5-0
ruby: 3.0
- gemfile: Gemfile-5-1
ruby: 3.0
- gemfile: Gemfile-5-2
ruby: 3.0
- gemfile: Gemfile-7-0
ruby: 2.6

env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}
Expand Down
10 changes: 5 additions & 5 deletions activejob-dispatch_rider.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ require 'activejob/dispatch_rider/version'
Gem::Specification.new do |spec|
spec.name = "activejob-dispatch_rider"
spec.version = ActiveJob::DispatchRider::VERSION
spec.authors = ["Ronald Maravilla", "Fred Baa"]
spec.email = ["more.ron.too@gmail.com", "frederickbaa@gmail.com"]
spec.authors = ["Ronald Maravilla", "Fred Baa", "Mathieu Jobin"]
spec.email = ["more.ron.too@gmail.com", "frederickbaa@gmail.com", "mathieu.jobin@gmail.com"]
spec.summary = %q{'ActiveJob::DispatchRider' adds `DispatchRider` support for `ActiveJob`.}
spec.description = %q{'ActiveJob::DispatchRider' adds `DispatchRider` support for `ActiveJob`.}
spec.homepage = "https://github.com/payrollhero/activejob-dispatch_rider"
Expand All @@ -18,10 +18,10 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]

spec.add_dependency "activejob", '>= 5.0'
spec.add_dependency "dispatch-rider", "~> 1.7"
spec.add_dependency "activejob", '>= 6.0'
spec.add_dependency "dispatch-rider", "~> 2.0"
spec.add_development_dependency "bundler"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rake", ">= 10.0"
spec.add_development_dependency "rspec"
spec.add_development_dependency "sqlite3"
end
6 changes: 0 additions & 6 deletions gemfiles/Gemfile-5-0

This file was deleted.

5 changes: 0 additions & 5 deletions gemfiles/Gemfile-5-2

This file was deleted.

2 changes: 1 addition & 1 deletion gemfiles/Gemfile-5-1 → gemfiles/Gemfile-7-0
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ source 'https://rubygems.org'

gemspec path: '..'

gem 'rails', '~> 5.1.4'
gem 'rails', '~> 7.0.4'
2 changes: 1 addition & 1 deletion lib/activejob/dispatch_rider/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module ActiveJob
module DispatchRider
VERSION = "2.3.0"
VERSION = "2.4.0"
end
end

0 comments on commit 01e918b

Please sign in to comment.