rspec-expectations 3.3.0 → 3.3.1
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
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/Changelog.md +12 -0
- data/lib/rspec/expectations/version.rb +1 -1
- data/lib/rspec/matchers/built_in/be.rb +2 -0
- data/lib/rspec/matchers/built_in/respond_to.rb +1 -1
- metadata +3 -3
- 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: 54562bfd39d8413de176aff59a6d581cfaf424ad
|
4
|
+
data.tar.gz: dbd074d06ffb583e3542f076870d82b05f3a415f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec5efa32e6fbe2d2ab77fdd6900b945c55d653466eb66ff501630f14ea2381c093ac49c66860e445af66b4aa90669e69e0747f36003cb723fc4f8b0fc76235e1
|
7
|
+
data.tar.gz: 4eca41f1c7c3d84bd30bac0c4b14ffaf76f2cce9a2f7c6f5f9a4744a4e9c0a9d675dd31ab03a14c3b3848ebe6571a77514981223dd4e37ee3104a8e462bddd9d
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/Changelog.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
### 3.3.1 / 2015-07-15
|
2
|
+
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.3.0...v3.3.1)
|
3
|
+
|
4
|
+
Bug Fixes:
|
5
|
+
|
6
|
+
* Fix `be >`, `be <`, etc so that it fails rather than allowing an
|
7
|
+
argument error to be raised when compared against an object of the
|
8
|
+
wrong type. This allows it to be used in composed matcher expressions
|
9
|
+
against heterogeneous objects. (Dennis Günnewig, #809)
|
10
|
+
* Fix `respond_to` to work properly on target objects
|
11
|
+
that redefine the `method` method. (unmanbearpig, #821)
|
12
|
+
|
1
13
|
### 3.3.0 / 2015-06-12
|
2
14
|
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.2.1...v3.3.0)
|
3
15
|
|
@@ -72,7 +72,7 @@ module RSpec
|
|
72
72
|
def matches_arity?(actual, name)
|
73
73
|
return true unless @expected_arity
|
74
74
|
|
75
|
-
signature = Support::MethodSignature.new(
|
75
|
+
signature = Support::MethodSignature.new(Support.method_handle_for(actual, name))
|
76
76
|
Support::StrictSignatureVerifier.new(signature, Array.new(@expected_arity)).valid?
|
77
77
|
end
|
78
78
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-expectations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Baker
|
@@ -45,7 +45,7 @@ cert_chain:
|
|
45
45
|
ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
|
46
46
|
F3MdtaDehhjC
|
47
47
|
-----END CERTIFICATE-----
|
48
|
-
date: 2015-
|
48
|
+
date: 2015-07-15 00:00:00.000000000 Z
|
49
49
|
dependencies:
|
50
50
|
- !ruby/object:Gem::Dependency
|
51
51
|
name: rspec-support
|
@@ -220,6 +220,6 @@ rubyforge_project:
|
|
220
220
|
rubygems_version: 2.2.2
|
221
221
|
signing_key:
|
222
222
|
specification_version: 4
|
223
|
-
summary: rspec-expectations-3.3.
|
223
|
+
summary: rspec-expectations-3.3.1
|
224
224
|
test_files: []
|
225
225
|
has_rdoc:
|
metadata.gz.sig
CHANGED
Binary file
|