sidekiq-sequence 0.1.10 → 0.2.1

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: bdf64a950c1eba7dfd9d2b36e47b720ed9335d78f31eacbe5511700593d278a3
4
- data.tar.gz: 2b51d3fa08eb1dd42fe7ed8b10faab4393fb57ee06f488a2c61d1b88391ba348
3
+ metadata.gz: 1ff4f3b690c67b3185e15463bb4c65391a14f8b5db7dfa67035ad3139d00c8a9
4
+ data.tar.gz: af1d703ce56dac62d320e226285d27fa067457454e14d4317bdfbc7c561ded8b
5
5
  SHA512:
6
- metadata.gz: 5f84cf198c4e39d59f84b55feb20d6dcb96f744553c05cb49adc9bcc0fa4e443499133aa118934539296ed48199ce156f216059db67e31a2e5f15763fe9fd143
7
- data.tar.gz: be78b32503d2e4247bedb25f584c14cd2bf33a84dd86efaee9897574531ad83bccd86ea618e62b5616b3c84e3c9fdc26dd7ec4f12ab6014dedd7b214eb6bbd87
6
+ metadata.gz: 13cc49ef3fecbd6c8b077ed87855a781eaff058f7186707e84cd4a024ce95d59ded71f4d14d9a618e2d6b92cb0f58b3d4304ab655f7a965b6a86c8bbcd71a855
7
+ data.tar.gz: 778e36f0010b08e573a9b5859627c3c7a9a88d84d183f29ea21ea657324837b45d754a5aa409c26df26d9db1a902f4ec129edff4878290767bebd3751481f074
data/.gitignore CHANGED
@@ -6,3 +6,4 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ .DS_Store
data/Gemfile.lock CHANGED
@@ -1,79 +1,79 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sidekiq-sequence (0.1.9)
5
- activerecord (>= 5)
6
- railties (>= 5)
4
+ sidekiq-sequence (0.2.0)
5
+ activerecord (>= 6)
6
+ railties (>= 6)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionpack (6.1.4)
12
- actionview (= 6.1.4)
13
- activesupport (= 6.1.4)
14
- rack (~> 2.0, >= 2.0.9)
11
+ actionpack (7.0.4)
12
+ actionview (= 7.0.4)
13
+ activesupport (= 7.0.4)
14
+ rack (~> 2.0, >= 2.2.0)
15
15
  rack-test (>= 0.6.3)
16
16
  rails-dom-testing (~> 2.0)
17
17
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
18
- actionview (6.1.4)
19
- activesupport (= 6.1.4)
18
+ actionview (7.0.4)
19
+ activesupport (= 7.0.4)
20
20
  builder (~> 3.1)
21
21
  erubi (~> 1.4)
22
22
  rails-dom-testing (~> 2.0)
23
23
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
24
- activemodel (6.1.4)
25
- activesupport (= 6.1.4)
26
- activerecord (6.1.4)
27
- activemodel (= 6.1.4)
28
- activesupport (= 6.1.4)
29
- activesupport (6.1.4)
24
+ activemodel (7.0.4)
25
+ activesupport (= 7.0.4)
26
+ activerecord (7.0.4)
27
+ activemodel (= 7.0.4)
28
+ activesupport (= 7.0.4)
29
+ activesupport (7.0.4)
30
30
  concurrent-ruby (~> 1.0, >= 1.0.2)
31
31
  i18n (>= 1.6, < 2)
32
32
  minitest (>= 5.1)
33
33
  tzinfo (~> 2.0)
34
- zeitwerk (~> 2.3)
35
34
  autotest-suffix (1.1.0)
36
35
  builder (3.2.4)
37
- concurrent-ruby (1.1.9)
36
+ concurrent-ruby (1.1.10)
38
37
  crass (1.0.6)
39
- erubi (1.10.0)
40
- i18n (1.8.10)
38
+ erubi (1.11.0)
39
+ i18n (1.12.0)
41
40
  concurrent-ruby (~> 1.0)
42
- loofah (2.12.0)
41
+ loofah (2.19.0)
43
42
  crass (~> 1.0.2)
44
43
  nokogiri (>= 1.5.9)
45
44
  method_source (1.0.0)
46
- mini_portile2 (2.6.1)
47
- minitest (5.14.4)
45
+ mini_portile2 (2.8.0)
46
+ minitest (5.16.3)
48
47
  minitest-autotest (1.1.1)
49
48
  minitest-server (~> 1.0)
50
49
  path_expander (~> 1.0)
51
50
  minitest-server (1.0.6)
52
51
  minitest (~> 5.0)
53
- nokogiri (1.12.3)
54
- mini_portile2 (~> 2.6.1)
52
+ nokogiri (1.13.9)
53
+ mini_portile2 (~> 2.8.0)
55
54
  racc (~> 1.4)
56
- path_expander (1.1.0)
57
- racc (1.5.2)
58
- rack (2.2.3)
59
- rack-test (1.1.0)
60
- rack (>= 1.0, < 3)
55
+ path_expander (1.1.1)
56
+ racc (1.6.0)
57
+ rack (2.2.4)
58
+ rack-test (2.0.2)
59
+ rack (>= 1.3)
61
60
  rails-dom-testing (2.0.3)
62
61
  activesupport (>= 4.2.0)
63
62
  nokogiri (>= 1.6)
64
- rails-html-sanitizer (1.3.0)
63
+ rails-html-sanitizer (1.4.3)
65
64
  loofah (~> 2.3)
66
- railties (6.1.4)
67
- actionpack (= 6.1.4)
68
- activesupport (= 6.1.4)
65
+ railties (7.0.4)
66
+ actionpack (= 7.0.4)
67
+ activesupport (= 7.0.4)
69
68
  method_source
70
- rake (>= 0.13)
69
+ rake (>= 12.2)
71
70
  thor (~> 1.0)
71
+ zeitwerk (~> 2.5)
72
72
  rake (13.0.6)
73
- thor (1.1.0)
74
- tzinfo (2.0.4)
73
+ thor (1.2.1)
74
+ tzinfo (2.0.5)
75
75
  concurrent-ruby (~> 1.0)
76
- zeitwerk (2.4.2)
76
+ zeitwerk (2.6.6)
77
77
 
78
78
  PLATFORMS
79
79
  ruby
@@ -86,4 +86,4 @@ DEPENDENCIES
86
86
  sidekiq-sequence!
87
87
 
88
88
  BUNDLED WITH
89
- 2.2.25
89
+ 2.3.17
data/README.md CHANGED
@@ -50,7 +50,7 @@ class ContactFormSequence::CreateMessage
50
50
  end
51
51
  ```
52
52
 
53
- Each Step is run in the order they are defined, and each is a Sidekiq worker. If a worker fails, subsequent steps will not be run, and the worker will be placed in the Sidekiq retry queue. Once it succeeds, the next stepo will be run, and so on.
53
+ Each Step is run in the order they are defined, and each is a Sidekiq worker. If a worker fails, subsequent steps will not be run, and the worker will be placed in the Sidekiq retry queue. Once it succeeds, the next step will be run, and so on.
54
54
 
55
55
  Start a Sequence by simply initializing the Sequence class you created:
56
56
 
@@ -21,7 +21,7 @@ module SidekiqSequence
21
21
  end
22
22
 
23
23
  def properties_type
24
- case ActiveRecord::Base.connection_config[:adapter].to_s
24
+ case ActiveRecord::Base.connection_db_config.adapter
25
25
  when /postg/i # postgres, postgis
26
26
  'jsonb'
27
27
  when /mysql/i
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sidekiq
4
4
  module Sequence
5
- VERSION = '0.1.10'
5
+ VERSION = '0.2.1'
6
6
  end
7
7
  end
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = 'Create and manage sequential jobs in Sidekiq'
13
13
  spec.homepage = 'https://github.com/joelmoss/sidekiq-sequence'
14
14
  spec.license = 'MIT'
15
- spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
15
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.7.0')
16
16
 
17
17
  spec.metadata['homepage_uri'] = spec.homepage
18
18
  spec.metadata['source_code_uri'] = spec.homepage
@@ -25,6 +25,6 @@ Gem::Specification.new do |spec|
25
25
  end
26
26
  spec.require_paths = ['lib']
27
27
 
28
- spec.add_dependency 'railties', '>= 5'
29
- spec.add_dependency 'activerecord', '>= 5'
28
+ spec.add_dependency 'activerecord', '>= 6'
29
+ spec.add_dependency 'railties', '>= 6'
30
30
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-sequence
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Moss
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-17 00:00:00.000000000 Z
11
+ date: 2022-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: railties
14
+ name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5'
19
+ version: '6'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '5'
26
+ version: '6'
27
27
  - !ruby/object:Gem::Dependency
28
- name: activerecord
28
+ name: railties
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '5'
33
+ version: '6'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '5'
40
+ version: '6'
41
41
  description: Create and manage sequential jobs in Sidekiq
42
42
  email:
43
43
  - joel@developwithstyle.com
@@ -79,14 +79,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: 2.3.0
82
+ version: 2.7.0
83
83
  required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  requirements:
85
85
  - - ">="
86
86
  - !ruby/object:Gem::Version
87
87
  version: '0'
88
88
  requirements: []
89
- rubygems_version: 3.2.22
89
+ rubygems_version: 3.3.7
90
90
  signing_key:
91
91
  specification_version: 4
92
92
  summary: Sequential Sidekiq jobs