schmurfy-bacon 1.4.2 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,8 +12,11 @@ module Bacon
12
12
  def freeze_time(t = Time.now)
13
13
  Time.stubs(:now).returns(t)
14
14
  if block_given?
15
- yield
16
- Time.unstub(:now)
15
+ begin
16
+ yield
17
+ ensure
18
+ Time.unstub(:now)
19
+ end
17
20
  end
18
21
  end
19
22
 
data/lib/bacon/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Bacon
2
- VERSION = "1.4.2"
2
+ VERSION = "1.4.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schmurfy-bacon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-01 00:00:00.000000000 Z
12
+ date: 2013-01-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: term-ansicolor
@@ -82,12 +82,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
82
82
  - - ! '>='
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
+ segments:
86
+ - 0
87
+ hash: -3436026079428361799
85
88
  required_rubygems_version: !ruby/object:Gem::Requirement
86
89
  none: false
87
90
  requirements:
88
91
  - - ! '>='
89
92
  - !ruby/object:Gem::Version
90
93
  version: '0'
94
+ segments:
95
+ - 0
96
+ hash: -3436026079428361799
91
97
  requirements: []
92
98
  rubyforge_project:
93
99
  rubygems_version: 1.8.24
@@ -95,4 +101,3 @@ signing_key:
95
101
  specification_version: 3
96
102
  summary: a small RSpec clone
97
103
  test_files: []
98
- has_rdoc: