beanstalk-client-rspec 0.0.8 → 0.0.9

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
  SHA1:
3
- metadata.gz: 6f8cfa1f6d5bcc74e0efa09c528de30ce619b754
4
- data.tar.gz: fc0ceb569f5dd4f0ffd5aa40982bda0824b03cb9
3
+ metadata.gz: 5bd37ab2c1b6d93e2ac336c7d2b02abf8f8ff70d
4
+ data.tar.gz: 7e31894b061e2f4b83dca745134fca061fca26c0
5
5
  SHA512:
6
- metadata.gz: 56a373b126a03b850a46d5657aa40b17e137e8744db5a8227972619bbd5f5b0594263fbd2f38e33aea1f77a01a8b85521934069a1d4014dbde3060454d796904
7
- data.tar.gz: 02533c6429845159e78dc63c2cc14ed58b0ed76ccf4e167c25a61ad1fb19333f673cab359db9e23f59bf33f75f58db40998eff9744e19dbbd18624369459167b
6
+ metadata.gz: 7aa7716e474335c6d10631ad2f8317943f6fbe61715752c7c7584a4c8125be759ec7198abb6f843c82a8a6e8c10f06ac6d41c2b9a9a8d18c543bc8cbfed2f066
7
+ data.tar.gz: 567c111103fa22968319bd9a89a999429d030acbcbe5d5132d50e40b88d4f83f3a78eb52d4ce044a70e3ad60cdd3bcbb54f3b11372094791c0b1e0d94c11e338
@@ -1,3 +1,10 @@
1
+ # 0.0.9 (2013-12-07)
2
+
3
+ Bugfixes
4
+ --------
5
+
6
+ * Don't bomb out on tubes with no reserved jobs on delete
7
+
1
8
  # 0.0.8 (2013-12-07)
2
9
 
3
10
  Feature
@@ -110,7 +110,7 @@ module Beanstalk
110
110
  when /^delete (\d+)/
111
111
  id = $1
112
112
  @tubes.each_pair do |tube_name, states|
113
- states['reserved'].delete_if {|job| job[:id] == id }
113
+ states['reserved'].delete_if {|job| job[:id] == id } if states['reserved']
114
114
  end
115
115
  when /^stats-job (\d+)/
116
116
  id = $1
@@ -1,7 +1,7 @@
1
1
  module Beanstalk
2
2
  module Client
3
3
  module Rspec
4
- VERSION = '0.0.8'
4
+ VERSION = '0.0.9'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beanstalk-client-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Ferlito