que 0.9.1 → 0.9.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: 85eb4ac59563d5e8ca4a6ca6941646b17d747d66
4
- data.tar.gz: b028b1087c1b8821e729184aef18be61d7b0f276
3
+ metadata.gz: f2f4b100178a6d42d65ee4de7c3f1d1b71cc2112
4
+ data.tar.gz: c85c868eca099620035367f303f1db4ad2d73cf4
5
5
  SHA512:
6
- metadata.gz: 324b8119b2b5ab4ee7653318aff68667f25ae835feb2928bc1ae522dacbe71f3cb6c493f1014417c25f7565b4fd6594edeeda66c8db7452f285c72226768803a
7
- data.tar.gz: f3030170abe60c4da26a155743632b978f224de283d24b071b8ade4232cc8958d1dd9cbef86fbac1aa28682ba3feda8589aabf3a2c7ec4e59a35aec7718d71b8
6
+ metadata.gz: 0c88982605dabab6aa9a026859c69c0c979b6f0b85af24e444462befdc9945fb905d5ef884a7fb364c3bc00f388771c6b636d41afc09f085dd245761afbb32e9
7
+ data.tar.gz: fd1695313794a1ac4e9d6bc9f3ad00c77ba8a07532a19972b8b1cefddb367bdb676f5295e62a7847b5d58be84c56baed02f35507a032f7c9ed1a52e17d95b585
@@ -1,3 +1,9 @@
1
+ ### 0.9.2 (2015-02-05)
2
+
3
+ * Fix a bug wherein the at_exit hook in the railtie wasn't waiting for jobs to finish before exiting.
4
+
5
+ * Fix a bug wherein the que:work rake task wasn't waiting for jobs to finish before exiting. (#85) (tycooon)
6
+
1
7
  ### 0.9.1 (2015-01-11)
2
8
 
3
9
  * Use now() rather than 'now' when inserting jobs, to avoid using an old value as the default run_at in prepared statements. (#74) (bgentry)
@@ -18,6 +18,7 @@ module Que
18
18
  at_exit do
19
19
  if Que.mode == :async
20
20
  $stdout.puts "Finishing Que's current jobs before exiting..."
21
+ Que.worker_count = 0
21
22
  Que.mode = :off
22
23
  $stdout.puts "Que's jobs finished, exiting..."
23
24
  end
@@ -19,6 +19,7 @@ namespace :que do
19
19
 
20
20
  at_exit do
21
21
  $stdout.puts "Finishing Que's current jobs before exiting..."
22
+ Que.worker_count = 0
22
23
  Que.mode = :off
23
24
  $stdout.puts "Que's jobs finished, exiting..."
24
25
  end
@@ -1,3 +1,3 @@
1
1
  module Que
2
- Version = '0.9.1'
2
+ Version = '0.9.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: que
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Hanks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-12 00:00:00.000000000 Z
11
+ date: 2015-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler