sucker_punch 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +6 -0
- data/lib/sucker_punch/job.rb +0 -3
- data/lib/sucker_punch/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed0c4d4c1a73adb49bc0978312f0f82b58cf375f
|
4
|
+
data.tar.gz: 8ba1cc2b966c1862ea88d84372f65fe78a5b97d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ae1cbb00a767473ac432b7a16fea5af8d507f2cd5ae3a15ada78a2ee18469fd48279acf82133c85a536958d1218af3c9a276e062a06140520385e8d69deda14
|
7
|
+
data.tar.gz: d854f9292c2d629f711736c04a0fd33e9220991f4f07901548c663d60eb757687a2fc3ef013cf4b7ee3e73240ff90522aea787ec6305c0ccbfb4c28518f7122d
|
data/CHANGES.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
2.0.2
|
2
|
+
-------
|
3
|
+
- Don't consider global shutdown bool when exhausting the queue during
|
4
|
+
shutdown. This led to `shutdown_timeout` not being respected when
|
5
|
+
processing remaining jobs left in the queue with a high `shutdown_timeout`.
|
6
|
+
|
1
7
|
2.0.1
|
2
8
|
-------
|
3
9
|
- Remove scripts from `bin/`
|
data/lib/sucker_punch/job.rb
CHANGED
@@ -50,9 +50,6 @@ module SuckerPunch
|
|
50
50
|
end
|
51
51
|
|
52
52
|
def __run_perform(*args)
|
53
|
-
# break if shutdown began while I was waiting in the queue
|
54
|
-
return unless SuckerPunch::RUNNING.true?
|
55
|
-
|
56
53
|
SuckerPunch::Counter::Busy.new(self.to_s).increment
|
57
54
|
result = self.new.perform(*args)
|
58
55
|
SuckerPunch::Counter::Processed.new(self.to_s).increment
|
data/lib/sucker_punch/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sucker_punch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Hilkert
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|