rspec-support 3.0.3 → 3.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 28ea8074fafdea78917ea13256e422066a5d1866
4
- data.tar.gz: c41141d7e77221a91424a6b384c34d5a8b287f60
3
+ metadata.gz: 71ada7066e53a0b40d343dd8f26528715c2fbf24
4
+ data.tar.gz: 712553112d6764d89e35fa1a1657a268f16d2d83
5
5
  SHA512:
6
- metadata.gz: cec2e0cc5079359cafebe083ab48fe1464d27942e7e1ae5b405f0b099e4dae16d972a0ac7f7c953f1c8f16a18d8c872fcda883f68df2c15960ba3db67277d4b0
7
- data.tar.gz: dcaffb3453f6c500935d0307376fa6476aa1ff7ebed89c78d000754f759ba05aa498c96273cf486cb5bdda6027cfa2387599513541a806c61ff824afebb0dfd9
6
+ metadata.gz: 2e5ffa54dcf62a550f3b87fdbfb1c548e2db1ac97f70a5b3608c9c51955fd81b496738b37050e991987788b32bbdd8d76179ef86fa091e99437593c34145947d
7
+ data.tar.gz: a394b169979e054239c96ec27a10326f96273098ae993159a78c9db9e72f2fbc1ea334c3513f73d48b39771f47f31f16a339824c1ce602ea913230d0800fd0a8
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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
- actual == expected || expected === actual
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`.
@@ -1,7 +1,7 @@
1
1
  module RSpec
2
2
  module Support
3
3
  module Version
4
- STRING = '3.0.3'
4
+ STRING = '3.0.4'
5
5
  end
6
6
  end
7
7
  end
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.3
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-07-21 00:00:00.000000000 Z
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.3
133
+ summary: rspec-support-3.0.4
134
134
  test_files: []
metadata.gz.sig CHANGED
Binary file