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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf92e4a48564bae41998ae57c236a47b89285dbc
4
- data.tar.gz: 52889bcf6c537626a756ed72b9aa384426c38e72
3
+ metadata.gz: ed0c4d4c1a73adb49bc0978312f0f82b58cf375f
4
+ data.tar.gz: 8ba1cc2b966c1862ea88d84372f65fe78a5b97d4
5
5
  SHA512:
6
- metadata.gz: ebf79f943dd84a524c613556efbe009d022c85aa111675170abbceb2d7ac5b45b09cedf273846fd963e0e4ae13eb0f82c427ca72d8407687a9fd0be85fe5f587
7
- data.tar.gz: 1e8c7a238309b242624cc3a594efa1efd371f9fccccdabb76ab8ddb884972ce0956adf99969a6c7b7a63955555c1595d55e0472dc1f17a0875c56ebe235b0bd5
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/`
@@ -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
@@ -1,3 +1,3 @@
1
1
  module SuckerPunch
2
- VERSION = "2.0.1"
2
+ VERSION = "2.0.2"
3
3
  end
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.1
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-02-14 00:00:00.000000000 Z
11
+ date: 2016-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake