rspec-mocks 3.1.1 → 3.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/Changelog.md +9 -0
- data/lib/rspec/mocks/matchers/have_received.rb +6 -0
- data/lib/rspec/mocks/version.rb +1 -1
- metadata +3 -3
- metadata.gz.sig +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 392038fa8cfca9fe1c25e2285b52744941fe41d9
|
4
|
+
data.tar.gz: 3287a586cb0ea0b1b658df9e5ec8174973a0f420
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b41e95654ea7db54ca337f9a1f2854b62c22a994f738cd4cacb0da48b2eee29385e69b53f64dfb6206d55905ca64a0c4cc964ddad4455c0a64e8202d694822c7
|
7
|
+
data.tar.gz: 35964167001dc473f49efc12569e2df467c28ac050cdc5e7c2abdf1c452bd82faa2cd5d0835ebc29dd93400dfc3ca94731170fd5d3c358dd4ab7022c031b6dd7
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/Changelog.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
### 3.1.2 / 2014-09-26
|
2
|
+
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.1.1...v3.1.2)
|
3
|
+
|
4
|
+
Bug Fixes:
|
5
|
+
|
6
|
+
* Provide a clear error message when you use `allow(...)` with the
|
7
|
+
`have_received` matcher (they are not intended to be used together
|
8
|
+
and previously caused an odd internal failure in rspec-mocks). (Jon Rowe, #788).
|
9
|
+
|
1
10
|
### 3.1.1 / 2014-09-18
|
2
11
|
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.1.0...v3.1.1)
|
3
12
|
|
@@ -54,6 +54,12 @@ module RSpec
|
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
57
|
+
def setup_allowance(_subject, &_block)
|
58
|
+
raise RSpec::Mocks::MockExpectationError,
|
59
|
+
"Using allow(...) with the `have_received` matcher is not " \
|
60
|
+
"supported as it would have no effect."
|
61
|
+
end
|
62
|
+
|
57
63
|
private
|
58
64
|
|
59
65
|
def expect
|
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: 3.1.
|
4
|
+
version: 3.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Baker
|
@@ -33,7 +33,7 @@ cert_chain:
|
|
33
33
|
1yHC1AcSYpvi2dAbOiHT5iQF+krm4wse8KctXgTNnjMsHEoGKulJS2/sZl90jcCz
|
34
34
|
muA=
|
35
35
|
-----END CERTIFICATE-----
|
36
|
-
date: 2014-09-
|
36
|
+
date: 2014-09-26 00:00:00.000000000 Z
|
37
37
|
dependencies:
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: rspec-support
|
@@ -179,6 +179,6 @@ rubyforge_project: rspec
|
|
179
179
|
rubygems_version: 2.2.2
|
180
180
|
signing_key:
|
181
181
|
specification_version: 4
|
182
|
-
summary: rspec-mocks-3.1.
|
182
|
+
summary: rspec-mocks-3.1.2
|
183
183
|
test_files: []
|
184
184
|
has_rdoc:
|
metadata.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
L6=��K��D<!XU�״C�n�9>$C� #��4��;�R����VuP��{}ʹ��h9_Fh�!�!`\,�[���4 �.QR���wF�?�x�iHk�ڀ���Y���x�1��'��fG��+ӓo���0%���1:�~��
|
2
|
+
��v�E!��~Q�����,�(����aո��[Q�T��m���lr�ɅV����k�I��3Β�����.�ov@j�9�L� �V0�T猝2�-I�P����eRqJ�bd�<IY)�
|