rspec-support 3.0.3 → 3.0.4
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 +8 -0
- data/lib/rspec/support/fuzzy_matcher.rb +3 -1
- data/lib/rspec/support/version.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: 71ada7066e53a0b40d343dd8f26528715c2fbf24
|
|
4
|
+
data.tar.gz: 712553112d6764d89e35fa1a1657a268f16d2d83
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2e5ffa54dcf62a550f3b87fdbfb1c548e2db1ac97f70a5b3608c9c51955fd81b496738b37050e991987788b32bbdd8d76179ef86fa091e99437593c34145947d
|
|
7
|
+
data.tar.gz: a394b169979e054239c96ec27a10326f96273098ae993159a78c9db9e72f2fbc1ea334c3513f73d48b39771f47f31f16a339824c1ce602ea913230d0800fd0a8
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/Changelog.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
### 3.0.4 / 2014-08-14
|
|
2
|
+
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.0.3...v3.0.4)
|
|
3
|
+
|
|
4
|
+
Bug Fixes:
|
|
5
|
+
|
|
6
|
+
* Fix `FuzzyMatcher` so that it does not silence `ArgumentError` raised
|
|
7
|
+
from broken implementations of `==`. (Myron Marston, #94)
|
|
8
|
+
|
|
1
9
|
### 3.0.3 / 2014-07-21
|
|
2
10
|
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.0.2...v3.0.3)
|
|
3
11
|
|
|
@@ -10,10 +10,12 @@ module RSpec
|
|
|
10
10
|
return arrays_match?(expected, actual.to_a)
|
|
11
11
|
elsif Hash === expected && Hash === actual
|
|
12
12
|
return hashes_match?(expected, actual)
|
|
13
|
+
elsif actual == expected
|
|
14
|
+
return true
|
|
13
15
|
end
|
|
14
16
|
|
|
15
17
|
begin
|
|
16
|
-
|
|
18
|
+
expected === actual
|
|
17
19
|
rescue ArgumentError
|
|
18
20
|
# Some objects, like 0-arg lambdas on 1.9+, raise
|
|
19
21
|
# ArgumentError for `expected === actual`.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rspec-support
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Chelimsky
|
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
|
36
36
|
1yHC1AcSYpvi2dAbOiHT5iQF+krm4wse8KctXgTNnjMsHEoGKulJS2/sZl90jcCz
|
|
37
37
|
muA=
|
|
38
38
|
-----END CERTIFICATE-----
|
|
39
|
-
date: 2014-
|
|
39
|
+
date: 2014-08-14 00:00:00.000000000 Z
|
|
40
40
|
dependencies:
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: bundler
|
|
@@ -130,5 +130,5 @@ rubyforge_project: rspec
|
|
|
130
130
|
rubygems_version: 2.2.2
|
|
131
131
|
signing_key:
|
|
132
132
|
specification_version: 4
|
|
133
|
-
summary: rspec-support-3.0.
|
|
133
|
+
summary: rspec-support-3.0.4
|
|
134
134
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|