pouch 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -156,7 +156,7 @@ module Pouch
156
156
  def negative_timer &block
157
157
  timed_out = Time.now + timeout
158
158
  until Time.now > timed_out
159
- result = yield_block
159
+ result = yield block rescue false
160
160
  return result if result
161
161
  end
162
162
  false
data/lib/pouch/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pouch
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pouch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: