rspec-mocks 3.5.0 → 3.6.0.beta1
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/method_reference.rb +1 -1
- data/lib/rspec/mocks/proxy.rb +0 -5
- data/lib/rspec/mocks/test_double.rb +1 -0
- data/lib/rspec/mocks/version.rb +1 -1
- metadata +10 -10
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8dc8b700a6acee68e71a9a6d76459b12a975c818
|
4
|
+
data.tar.gz: b6a18ff9aed7115428b4011af1a7d060a856fef9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c78d4ae88eb1df7fc1b6d5f91da6f14723a9033cbefe482673bed82a4dd9f74042ced61b9c06301f8d159b42401adaaf85a071884f56661b7a35c2f8308976b5
|
7
|
+
data.tar.gz: 49a87bccd1d7d8bbe7b60225dd353bee56d41d2603e1060f887d9f70379fe15056ea8f7f417593a88a62dfe210b954d057d4b255bbf7600bda1894e8472551f2
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/Changelog.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
### 3.6.0.beta1 / 2016-10-09
|
2
|
+
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.5.0...v3.6.0.beta1)
|
3
|
+
|
4
|
+
Bug Fixes:
|
5
|
+
|
6
|
+
* Return the test double instance form `#freeze` (Alessandro Berardi, #1109)
|
7
|
+
* Allow the special logic for stubbing `new` to work when `<Class>.method` has
|
8
|
+
been redefined. (Proby, #1119)
|
9
|
+
|
1
10
|
### 3.5.0 / 2016-07-01
|
2
11
|
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.5.0.beta4...v3.5.0)
|
3
12
|
|
@@ -189,7 +189,7 @@ module RSpec
|
|
189
189
|
|
190
190
|
# We only want to apply our special logic to normal `new` methods.
|
191
191
|
# Methods that the user has monkeyed with should be left as-is.
|
192
|
-
|
192
|
+
::RSpec::Support.method_handle_for(klass, :new).owner == ::Class
|
193
193
|
end
|
194
194
|
|
195
195
|
def with_signature
|
data/lib/rspec/mocks/proxy.rb
CHANGED
@@ -439,11 +439,6 @@ module RSpec
|
|
439
439
|
super
|
440
440
|
end
|
441
441
|
|
442
|
-
def add_negative_message_expectation(location, method_name, &implementation)
|
443
|
-
warn_or_raise!(method_name)
|
444
|
-
super
|
445
|
-
end
|
446
|
-
|
447
442
|
def add_stub(method_name, opts={}, &implementation)
|
448
443
|
warn_or_raise!(method_name)
|
449
444
|
super
|
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.
|
4
|
+
version: 3.6.0.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Baker
|
@@ -45,22 +45,22 @@ cert_chain:
|
|
45
45
|
ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
|
46
46
|
F3MdtaDehhjC
|
47
47
|
-----END CERTIFICATE-----
|
48
|
-
date: 2016-
|
48
|
+
date: 2016-10-10 00:00:00.000000000 Z
|
49
49
|
dependencies:
|
50
50
|
- !ruby/object:Gem::Dependency
|
51
51
|
name: rspec-support
|
52
52
|
requirement: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- -
|
54
|
+
- - '='
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 3.
|
56
|
+
version: 3.6.0.beta1
|
57
57
|
type: :runtime
|
58
58
|
prerelease: false
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- -
|
61
|
+
- - '='
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 3.
|
63
|
+
version: 3.6.0.beta1
|
64
64
|
- !ruby/object:Gem::Dependency
|
65
65
|
name: diff-lcs
|
66
66
|
requirement: !ruby/object:Gem::Requirement
|
@@ -205,14 +205,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
205
205
|
version: 1.8.7
|
206
206
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
207
207
|
requirements:
|
208
|
-
- - "
|
208
|
+
- - ">"
|
209
209
|
- !ruby/object:Gem::Version
|
210
|
-
version:
|
210
|
+
version: 1.3.1
|
211
211
|
requirements: []
|
212
212
|
rubyforge_project:
|
213
|
-
rubygems_version: 2.
|
213
|
+
rubygems_version: 2.2.2
|
214
214
|
signing_key:
|
215
215
|
specification_version: 4
|
216
|
-
summary: rspec-mocks-3.
|
216
|
+
summary: rspec-mocks-3.6.0.beta1
|
217
217
|
test_files: []
|
218
218
|
has_rdoc:
|
metadata.gz.sig
CHANGED
Binary file
|