sidekiq-sequence 0.1.9 → 0.1.10

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: 9277190a95f032f08017866653a6bb073bde7a5546b1300707d0290d96a4b363
4
- data.tar.gz: 23a86b0b37f95135ec439728bd286e04f836bcea638b7808b52ec214f8bfabfc
3
+ metadata.gz: bdf64a950c1eba7dfd9d2b36e47b720ed9335d78f31eacbe5511700593d278a3
4
+ data.tar.gz: 2b51d3fa08eb1dd42fe7ed8b10faab4393fb57ee06f488a2c61d1b88391ba348
5
5
  SHA512:
6
- metadata.gz: 6067738cadae32d9125cb295bc2c19d7e0f0d209294a3702794c1f4ea85b5f12bbd165402ee5f23f45b066e75ad557e2b1a4f4e56270d1bb1db707d3216e7b3d
7
- data.tar.gz: 07eb2b647ed37fee81a845cc2c64c62e2c76ad252e44ebe4bf52a7bc532ca91dcd971b8f556fa66fd469f56cf38f4c5063c4538eafe315370710097b65cc6bec
6
+ metadata.gz: 5f84cf198c4e39d59f84b55feb20d6dcb96f744553c05cb49adc9bcc0fa4e443499133aa118934539296ed48199ce156f216059db67e31a2e5f15763fe9fd143
7
+ data.tar.gz: be78b32503d2e4247bedb25f584c14cd2bf33a84dd86efaee9897574531ad83bccd86ea618e62b5616b3c84e3c9fdc26dd7ec4f12ab6014dedd7b214eb6bbd87
data/Gemfile.lock CHANGED
@@ -1,32 +1,32 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sidekiq-sequence (0.1.8)
4
+ sidekiq-sequence (0.1.9)
5
5
  activerecord (>= 5)
6
6
  railties (>= 5)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionpack (6.1.3.1)
12
- actionview (= 6.1.3.1)
13
- activesupport (= 6.1.3.1)
11
+ actionpack (6.1.4)
12
+ actionview (= 6.1.4)
13
+ activesupport (= 6.1.4)
14
14
  rack (~> 2.0, >= 2.0.9)
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.3.1)
19
- activesupport (= 6.1.3.1)
18
+ actionview (6.1.4)
19
+ activesupport (= 6.1.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.3.1)
25
- activesupport (= 6.1.3.1)
26
- activerecord (6.1.3.1)
27
- activemodel (= 6.1.3.1)
28
- activesupport (= 6.1.3.1)
29
- activesupport (6.1.3.1)
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)
30
30
  concurrent-ruby (~> 1.0, >= 1.0.2)
31
31
  i18n (>= 1.6, < 2)
32
32
  minitest (>= 5.1)
@@ -34,24 +34,24 @@ GEM
34
34
  zeitwerk (~> 2.3)
35
35
  autotest-suffix (1.1.0)
36
36
  builder (3.2.4)
37
- concurrent-ruby (1.1.8)
37
+ concurrent-ruby (1.1.9)
38
38
  crass (1.0.6)
39
39
  erubi (1.10.0)
40
40
  i18n (1.8.10)
41
41
  concurrent-ruby (~> 1.0)
42
- loofah (2.9.1)
42
+ loofah (2.12.0)
43
43
  crass (~> 1.0.2)
44
44
  nokogiri (>= 1.5.9)
45
45
  method_source (1.0.0)
46
- mini_portile2 (2.5.0)
46
+ mini_portile2 (2.6.1)
47
47
  minitest (5.14.4)
48
48
  minitest-autotest (1.1.1)
49
49
  minitest-server (~> 1.0)
50
50
  path_expander (~> 1.0)
51
51
  minitest-server (1.0.6)
52
52
  minitest (~> 5.0)
53
- nokogiri (1.11.3)
54
- mini_portile2 (~> 2.5.0)
53
+ nokogiri (1.12.3)
54
+ mini_portile2 (~> 2.6.1)
55
55
  racc (~> 1.4)
56
56
  path_expander (1.1.0)
57
57
  racc (1.5.2)
@@ -63,13 +63,13 @@ GEM
63
63
  nokogiri (>= 1.6)
64
64
  rails-html-sanitizer (1.3.0)
65
65
  loofah (~> 2.3)
66
- railties (6.1.3.1)
67
- actionpack (= 6.1.3.1)
68
- activesupport (= 6.1.3.1)
66
+ railties (6.1.4)
67
+ actionpack (= 6.1.4)
68
+ activesupport (= 6.1.4)
69
69
  method_source
70
- rake (>= 0.8.7)
70
+ rake (>= 0.13)
71
71
  thor (~> 1.0)
72
- rake (13.0.3)
72
+ rake (13.0.6)
73
73
  thor (1.1.0)
74
74
  tzinfo (2.0.4)
75
75
  concurrent-ruby (~> 1.0)
@@ -86,4 +86,4 @@ DEPENDENCIES
86
86
  sidekiq-sequence!
87
87
 
88
88
  BUNDLED WITH
89
- 2.2.15
89
+ 2.2.25
data/README.md CHANGED
@@ -61,7 +61,7 @@ ContactFormSequence.new name: 'Joel', github: 'joelmoss'
61
61
  You can pass named arguments, and these will be persisted and available in the Sequence and its workers:
62
62
 
63
63
  ```ruby
64
- class ContactFormSequence::AssignMessage
64
+ class ContactFormSequence::CreateMessage
65
65
  include Sidekiq::Sequence::Worker
66
66
 
67
67
  def perform
@@ -73,7 +73,7 @@ end
73
73
  You can also modify Sequence `data` in any worker, which is great for passing data to subsequent steps:
74
74
 
75
75
  ```ruby
76
- class ContactFormSequence::CreateMessage
76
+ class ContactFormSequence::AssignMessage
77
77
  include Sidekiq::Sequence::Worker
78
78
 
79
79
  def perform
@@ -15,7 +15,11 @@ module Sidekiq
15
15
  @record.save!
16
16
 
17
17
  # Perform the next in sequence.
18
- self.class.parent.perform_step @record.current_step, @record.id
18
+ if ::Rails.version.to_f >= 6.0
19
+ self.class.module_parent.perform_step @record.current_step, @record.id
20
+ else
21
+ self.class.parent.perform_step @record.current_step, @record.id
22
+ end
19
23
  end
20
24
  end
21
25
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sidekiq
4
4
  module Sequence
5
- VERSION = '0.1.9'
5
+ VERSION = '0.1.10'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-sequence
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
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-04-14 00:00:00.000000000 Z
11
+ date: 2021-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  - !ruby/object:Gem::Version
87
87
  version: '0'
88
88
  requirements: []
89
- rubygems_version: 3.2.3
89
+ rubygems_version: 3.2.22
90
90
  signing_key:
91
91
  specification_version: 4
92
92
  summary: Sequential Sidekiq jobs