sidekiq-batch 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sidekiq/batch.rb +1 -1
- data/lib/sidekiq/batch/callback.rb +1 -1
- data/lib/sidekiq/batch/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39cabb4788c4c4941b2688f2fe575358287fd1c7
|
4
|
+
data.tar.gz: 1112290cc612ded396f27f0803bf33f48766734f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45d60f50f7dc34e416d07ccca67c6d96821404514df5ee1aa1b8267d349cb4543655a73e069634f404409964a96805eaefc797fe205bff71297d76908f86ec89
|
7
|
+
data.tar.gz: b7f049fb8894c42e401fcfa655d6f98e79d1965bebbbd07720bc1240443caa23833bf62acd0a8abe2949ddced61d886cccb6746d4c8b83493bb3f8737fa7e854
|
data/lib/sidekiq/batch.rb
CHANGED
@@ -174,7 +174,7 @@ module Sidekiq
|
|
174
174
|
end
|
175
175
|
end
|
176
176
|
|
177
|
-
|
177
|
+
Sidekiq.logger.info "done: #{jid} in batch #{bid}"
|
178
178
|
|
179
179
|
enqueue_callbacks(:complete, bid) if pending.to_i == failed.to_i && children == complete
|
180
180
|
enqueue_callbacks(:success, bid) if pending.to_i.zero? && children == success
|
@@ -9,7 +9,7 @@ module Sidekiq
|
|
9
9
|
clazz, method = clazz.split("#") if (clazz.class == String && clazz.include?("#"))
|
10
10
|
method = "on_#{event}" if method.nil?
|
11
11
|
status = Sidekiq::Batch::Status.new(bid)
|
12
|
-
clazz.constantize.new.send(method, status, opts)
|
12
|
+
clazz.constantize.new.send(method, status, opts)
|
13
13
|
|
14
14
|
send(event.to_sym, bid, status, parent_bid)
|
15
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-batch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcin Naglik
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
122
|
version: '0'
|
123
123
|
requirements: []
|
124
124
|
rubyforge_project:
|
125
|
-
rubygems_version: 2.
|
125
|
+
rubygems_version: 2.6.11
|
126
126
|
signing_key:
|
127
127
|
specification_version: 4
|
128
128
|
summary: Sidekiq Batch Jobs
|