rspec-mocks 2.99.2 → 2.99.3
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 +4 -4
- data/Changelog.md +7 -0
- data/lib/rspec/mocks/test_double.rb +1 -1
- data/lib/rspec/mocks/version.rb +1 -1
- data/spec/rspec/mocks/double_spec.rb +8 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ccf47eab1cbb0a897c8303238d1620d3a3694b4c
|
|
4
|
+
data.tar.gz: fa71db863a6886efb9c1b02b62bb992e3e223511
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50a1037386e04fd120c2ed3c8d80b9969dcfc3f1f1eb46a897e6a19f5bada55c2275d216bf7600582960b2d0e46312eaacc9ceabef371f5febd099146bbd6120
|
|
7
|
+
data.tar.gz: 4990f6c62d8f8919d293f3ca88dae572e95471f773f570b7f5d3f9b0480ffaa068737709b902879acc5519d7df216e1fa059f58ce4d301429e9282c7a7f0bc9e
|
data/Changelog.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
### 2.99.3 / 2015-01-09
|
|
2
|
+
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.99.2...v2.99.3)
|
|
3
|
+
|
|
4
|
+
Bug Fixes:
|
|
5
|
+
|
|
6
|
+
* Fix regression that caused an error when a test double was deserialized from YAML. (Yuji Nakayama, #777)
|
|
7
|
+
|
|
1
8
|
### 2.99.2 / 2014-07-21
|
|
2
9
|
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.99.1...v2.99.2)
|
|
3
10
|
|
|
@@ -140,7 +140,7 @@ module RSpec
|
|
|
140
140
|
end
|
|
141
141
|
|
|
142
142
|
def __warn_of_expired_use_if_expired
|
|
143
|
-
if @__unfrozen_attributes[:expired]
|
|
143
|
+
if @__unfrozen_attributes && @__unfrozen_attributes[:expired]
|
|
144
144
|
RSpec.deprecate "Continuing to use a test double after it has been reset (e.g. in a subsequent example)"
|
|
145
145
|
end
|
|
146
146
|
end
|
data/lib/rspec/mocks/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rspec-mocks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.99.
|
|
4
|
+
version: 2.99.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven Baker
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2015-01-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rake
|
|
@@ -221,7 +221,7 @@ rubyforge_project: rspec
|
|
|
221
221
|
rubygems_version: 2.2.2
|
|
222
222
|
signing_key:
|
|
223
223
|
specification_version: 4
|
|
224
|
-
summary: rspec-mocks-2.99.
|
|
224
|
+
summary: rspec-mocks-2.99.3
|
|
225
225
|
test_files:
|
|
226
226
|
- features/README.md
|
|
227
227
|
- features/Scope.md
|