activejob-dispatch_rider 2.2.0 → 2.3.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: 0d4d564b76559d7070de5e918ab07a0e55fce9c54565e4cdb4b745b84ef40128
4
+ data.tar.gz: be27a42d77cf834b8319059fee309a44719200ef7afd1c46dcd4eb7fd03a9edb
5
5
  SHA512:
6
- metadata.gz: '081c5ce0e5a21f2c698118fef332d72573cdd739a08863edcc7eb69240c4d07d7cbc0d0bdfe9fc1170a01de06e12cf305cac8737c5a335744a0568bf92729649'
7
- data.tar.gz: 57242fe4bd83b161dbee694ace25e1edb222541985b61a1784fdff8d17bc0d0cabc6129372d4555a101a7537522022115abcce533823db8d831b2708f9ee4e1c
6
+ metadata.gz: 5ebaf7eaf5fff8498c305f940d671341f6d88b3e4163d80a27c5f48e8371297cba3beeef209232416587f98e784bdac173b4c9ede1912dd7a97357d69e1c4c84
7
+ data.tar.gz: 53110820d4931a0ff41f208667110169e3852cbe60cdd1ce3ff0ead32f3fb53935bfaf0ee7c679a67cd7d1e4576963871625ac030c98f9e679cde195455090e2
@@ -0,0 +1,47 @@
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-5-0
23
+ - Gemfile-5-1
24
+ - Gemfile-5-2
25
+ - Gemfile-6-0
26
+ - Gemfile-6-1
27
+ exclude:
28
+ - gemfile: Gemfile-5-0
29
+ ruby: 2.7
30
+ - gemfile: Gemfile-5-1
31
+ ruby: 2.7
32
+ - gemfile: Gemfile-5-0
33
+ ruby: 3.0
34
+ - gemfile: Gemfile-5-1
35
+ ruby: 3.0
36
+ - gemfile: Gemfile-5-2
37
+ ruby: 3.0
38
+
39
+ env:
40
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}
41
+ steps:
42
+ - uses: actions/checkout@v2
43
+ - uses: ruby/setup-ruby@v1
44
+ with:
45
+ ruby-version: ${{ matrix.ruby }}
46
+ bundler-cache: true
47
+ - run: bundle exec rspec
@@ -18,9 +18,9 @@ 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'
21
+ spec.add_dependency "activejob", '>= 5.0'
22
22
  spec.add_dependency "dispatch-rider", "~> 1.7"
23
- spec.add_development_dependency "bundler", "~> 1.7"
23
+ spec.add_development_dependency "bundler"
24
24
  spec.add_development_dependency "rake", "~> 10.0"
25
25
  spec.add_development_dependency "rspec"
26
26
  spec.add_development_dependency "sqlite3"
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '..'
4
+
5
+ gem 'rails', '~> 5.0.7'
6
+ gem 'sqlite3', '< 1.4'
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '..'
4
+
5
+ gem 'rails', '~> 5.1.4'
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '..'
4
+
5
+ gem 'rails', '~> 5.2.6'
@@ -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'
@@ -1,5 +1,5 @@
1
1
  module ActiveJob
2
2
  module DispatchRider
3
- VERSION = "2.2.0"
3
+ VERSION = "2.3.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,7 +1,7 @@
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.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ronald Maravilla
@@ -15,16 +15,16 @@ dependencies:
15
15
  name: activejob
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 5.2.0
20
+ version: '5.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - "~>"
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: 5.2.0
27
+ version: '5.0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: dispatch-rider
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -43,16 +43,16 @@ dependencies:
43
43
  name: bundler
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - "~>"
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
- version: '1.7'
48
+ version: '0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - "~>"
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: '1.7'
55
+ version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rake
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -103,6 +103,7 @@ executables: []
103
103
  extensions: []
104
104
  extra_rdoc_files: []
105
105
  files:
106
+ - ".github/workflows/build.yml"
106
107
  - ".gitignore"
107
108
  - ".rspec"
108
109
  - ".travis.yml"
@@ -111,6 +112,11 @@ files:
111
112
  - Rakefile
112
113
  - activejob-dispatch_rider.gemspec
113
114
  - circle.yml
115
+ - gemfiles/Gemfile-5-0
116
+ - gemfiles/Gemfile-5-1
117
+ - gemfiles/Gemfile-5-2
118
+ - gemfiles/Gemfile-6-0
119
+ - gemfiles/Gemfile-6-1
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