activejob-dispatch_rider 2.2.0 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1177fb40b9c1e4225b9e42babbbfd6eb8ca05259d04f3c73f61926eea62b2928
4
- data.tar.gz: 1dcc9a40be6b705b040974e1a2016713075357a318a1a36d2b167e10944961cb
3
+ metadata.gz: 5ccba2a768772ece72d4534730cb543ed4485869d6e114cea8d100ee8d38875a
4
+ data.tar.gz: c0896c259b384944f2eb5a17a73093618f9f146890cb238b4a38d0333722a9d5
5
5
  SHA512:
6
- metadata.gz: '081c5ce0e5a21f2c698118fef332d72573cdd739a08863edcc7eb69240c4d07d7cbc0d0bdfe9fc1170a01de06e12cf305cac8737c5a335744a0568bf92729649'
7
- data.tar.gz: 57242fe4bd83b161dbee694ace25e1edb222541985b61a1784fdff8d17bc0d0cabc6129372d4555a101a7537522022115abcce533823db8d831b2708f9ee4e1c
6
+ metadata.gz: 17cef84f50fec87744dd7d014c6944196a27c52b7b7f9532617621acf7bb1eb8981085242b17e9bdf4d3aedd797a8af3096d2f7d94878e3c6f45e0a21dd2fdb3
7
+ data.tar.gz: e18a666d102b6d263d5897fa66147de4181aed49417cb5ce357d6da6fa1322f2cff24f7dc299393c2303c0353aca15d9f5c10093fb68dabedd86072d376294e0
@@ -0,0 +1,37 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: build
9
+
10
+ on: [push, pull_request]
11
+
12
+ jobs:
13
+ test:
14
+ runs-on: ubuntu-20.04
15
+ strategy:
16
+ fail-fast: false
17
+ matrix:
18
+ ruby:
19
+ - 2.7
20
+ - 2.6
21
+ gemfile:
22
+ - Gemfile-6-0
23
+ - Gemfile-6-1
24
+ - Gemfile-7-0
25
+ exclude:
26
+ - gemfile: Gemfile-7-0
27
+ ruby: 2.6
28
+
29
+ env:
30
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}
31
+ steps:
32
+ - uses: actions/checkout@v2
33
+ - uses: ruby/setup-ruby@v1
34
+ with:
35
+ ruby-version: ${{ matrix.ruby }}
36
+ bundler-cache: true
37
+ - run: bundle exec rspec
@@ -6,8 +6,8 @@ require 'activejob/dispatch_rider/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "activejob-dispatch_rider"
8
8
  spec.version = ActiveJob::DispatchRider::VERSION
9
- spec.authors = ["Ronald Maravilla", "Fred Baa"]
10
- spec.email = ["more.ron.too@gmail.com", "frederickbaa@gmail.com"]
9
+ spec.authors = ["Ronald Maravilla", "Fred Baa", "Mathieu Jobin"]
10
+ spec.email = ["more.ron.too@gmail.com", "frederickbaa@gmail.com", "mathieu.jobin@gmail.com"]
11
11
  spec.summary = %q{'ActiveJob::DispatchRider' adds `DispatchRider` support for `ActiveJob`.}
12
12
  spec.description = %q{'ActiveJob::DispatchRider' adds `DispatchRider` support for `ActiveJob`.}
13
13
  spec.homepage = "https://github.com/payrollhero/activejob-dispatch_rider"
@@ -18,10 +18,10 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "activejob", '~> 5.2.0'
22
- spec.add_dependency "dispatch-rider", "~> 1.7"
23
- spec.add_development_dependency "bundler", "~> 1.7"
24
- spec.add_development_dependency "rake", "~> 10.0"
21
+ spec.add_dependency "activejob", '>= 6.0'
22
+ spec.add_dependency "dispatch-rider", "~> 2.0"
23
+ spec.add_development_dependency "bundler"
24
+ spec.add_development_dependency "rake", ">= 10.0"
25
25
  spec.add_development_dependency "rspec"
26
26
  spec.add_development_dependency "sqlite3"
27
27
  end
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '..'
4
+
5
+ gem 'rails', '~> 6.0.4'
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '..'
4
+
5
+ gem 'rails', '~> 6.1.4'
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '..'
4
+
5
+ gem 'rails', '~> 7.0.4'
@@ -1,5 +1,5 @@
1
1
  module ActiveJob
2
2
  module DispatchRider
3
- VERSION = "2.2.0"
3
+ VERSION = "2.4.0"
4
4
  end
5
5
  end
@@ -43,7 +43,7 @@ describe ActiveJob::QueueAdapters::DispatchRiderAdapter do
43
43
  end
44
44
 
45
45
  it("is called when performing later") {
46
- expect(adapter).to receive(:enqueue).with instance_of(foo_job_class)
46
+ expect_any_instance_of(adapter).to receive(:enqueue).with instance_of(foo_job_class)
47
47
  foo_job_class.perform_later foo: "bar"
48
48
  }
49
49
 
metadata CHANGED
@@ -1,70 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activejob-dispatch_rider
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ronald Maravilla
8
8
  - Fred Baa
9
+ - Mathieu Jobin
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2021-08-17 00:00:00.000000000 Z
13
+ date: 2022-09-20 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: activejob
16
17
  requirement: !ruby/object:Gem::Requirement
17
18
  requirements:
18
- - - "~>"
19
+ - - ">="
19
20
  - !ruby/object:Gem::Version
20
- version: 5.2.0
21
+ version: '6.0'
21
22
  type: :runtime
22
23
  prerelease: false
23
24
  version_requirements: !ruby/object:Gem::Requirement
24
25
  requirements:
25
- - - "~>"
26
+ - - ">="
26
27
  - !ruby/object:Gem::Version
27
- version: 5.2.0
28
+ version: '6.0'
28
29
  - !ruby/object:Gem::Dependency
29
30
  name: dispatch-rider
30
31
  requirement: !ruby/object:Gem::Requirement
31
32
  requirements:
32
33
  - - "~>"
33
34
  - !ruby/object:Gem::Version
34
- version: '1.7'
35
+ version: '2.0'
35
36
  type: :runtime
36
37
  prerelease: false
37
38
  version_requirements: !ruby/object:Gem::Requirement
38
39
  requirements:
39
40
  - - "~>"
40
41
  - !ruby/object:Gem::Version
41
- version: '1.7'
42
+ version: '2.0'
42
43
  - !ruby/object:Gem::Dependency
43
44
  name: bundler
44
45
  requirement: !ruby/object:Gem::Requirement
45
46
  requirements:
46
- - - "~>"
47
+ - - ">="
47
48
  - !ruby/object:Gem::Version
48
- version: '1.7'
49
+ version: '0'
49
50
  type: :development
50
51
  prerelease: false
51
52
  version_requirements: !ruby/object:Gem::Requirement
52
53
  requirements:
53
- - - "~>"
54
+ - - ">="
54
55
  - !ruby/object:Gem::Version
55
- version: '1.7'
56
+ version: '0'
56
57
  - !ruby/object:Gem::Dependency
57
58
  name: rake
58
59
  requirement: !ruby/object:Gem::Requirement
59
60
  requirements:
60
- - - "~>"
61
+ - - ">="
61
62
  - !ruby/object:Gem::Version
62
63
  version: '10.0'
63
64
  type: :development
64
65
  prerelease: false
65
66
  version_requirements: !ruby/object:Gem::Requirement
66
67
  requirements:
67
- - - "~>"
68
+ - - ">="
68
69
  - !ruby/object:Gem::Version
69
70
  version: '10.0'
70
71
  - !ruby/object:Gem::Dependency
@@ -99,10 +100,12 @@ description: "'ActiveJob::DispatchRider' adds `DispatchRider` support for `Activ
99
100
  email:
100
101
  - more.ron.too@gmail.com
101
102
  - frederickbaa@gmail.com
103
+ - mathieu.jobin@gmail.com
102
104
  executables: []
103
105
  extensions: []
104
106
  extra_rdoc_files: []
105
107
  files:
108
+ - ".github/workflows/build.yml"
106
109
  - ".gitignore"
107
110
  - ".rspec"
108
111
  - ".travis.yml"
@@ -111,6 +114,9 @@ files:
111
114
  - Rakefile
112
115
  - activejob-dispatch_rider.gemspec
113
116
  - circle.yml
117
+ - gemfiles/Gemfile-6-0
118
+ - gemfiles/Gemfile-6-1
119
+ - gemfiles/Gemfile-7-0
114
120
  - lib/activejob/dispatch_rider.rb
115
121
  - lib/activejob/dispatch_rider/handler_registrar_fallback.rb
116
122
  - lib/activejob/dispatch_rider/job_handler.rb
@@ -139,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
145
  - !ruby/object:Gem::Version
140
146
  version: '0'
141
147
  requirements: []
142
- rubygems_version: 3.0.9
148
+ rubygems_version: 3.1.6
143
149
  signing_key:
144
150
  specification_version: 4
145
151
  summary: "'ActiveJob::DispatchRider' adds `DispatchRider` support for `ActiveJob`."