Hello community,

here is the log from the commit of package rubygem-rspec-expectations for 
openSUSE:Factory checked in at 2015-07-20 11:19:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rspec-expectations (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-rspec-expectations.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-rspec-expectations"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-rspec-expectations/rubygem-rspec-expectations.changes
    2015-06-15 17:45:58.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rspec-expectations.new/rubygem-rspec-expectations.changes
       2015-07-20 11:19:56.000000000 +0200
@@ -1,0 +2,18 @@
+Thu Jul 16 04:32:17 UTC 2015 - [email protected]
+
+- updated to version 3.3.1
+ see installed Changelog.md
+
+  ### 3.3.1 / 2015-07-15
+  [Full 
Changelog](http://github.com/rspec/rspec-expectations/compare/v3.3.0...v3.3.1)
+  
+  Bug Fixes:
+  
+  * Fix `be >`, `be <`, etc so that it fails rather than allowing an
+    argument error to be raised when compared against an object of the
+    wrong type. This allows it to be used in composed matcher expressions
+    against heterogeneous objects. (Dennis Günnewig, #809)
+  * Fix `respond_to` to work properly on target objects
+    that redefine the `method` method. (unmanbearpig, #821)
+
+-------------------------------------------------------------------

Old:
----
  rspec-expectations-3.3.0.gem

New:
----
  rspec-expectations-3.3.1.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-rspec-expectations.spec ++++++
--- /var/tmp/diff_new_pack.M6r63h/_old  2015-07-20 11:19:57.000000000 +0200
+++ /var/tmp/diff_new_pack.M6r63h/_new  2015-07-20 11:19:57.000000000 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-rspec-expectations
-Version:        3.3.0
+Version:        3.3.1
 Release:        0
 %define mod_name rspec-expectations
 %define mod_full_name %{mod_name}-%{version}

++++++ rspec-expectations-3.3.0.gem -> rspec-expectations-3.3.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Changelog.md new/Changelog.md
--- old/Changelog.md    2015-06-12 17:05:06.000000000 +0200
+++ new/Changelog.md    2015-07-15 19:09:01.000000000 +0200
@@ -1,3 +1,15 @@
+### 3.3.1 / 2015-07-15
+[Full 
Changelog](http://github.com/rspec/rspec-expectations/compare/v3.3.0...v3.3.1)
+
+Bug Fixes:
+
+* Fix `be >`, `be <`, etc so that it fails rather than allowing an
+  argument error to be raised when compared against an object of the
+  wrong type. This allows it to be used in composed matcher expressions
+  against heterogeneous objects. (Dennis Günnewig, #809)
+* Fix `respond_to` to work properly on target objects
+  that redefine the `method` method. (unmanbearpig, #821)
+
 ### 3.3.0 / 2015-06-12
 [Full 
Changelog](http://github.com/rspec/rspec-expectations/compare/v3.2.1...v3.3.0)
 
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
Files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ
Files old/data.tar.gz.sig and new/data.tar.gz.sig differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/expectations/version.rb 
new/lib/rspec/expectations/version.rb
--- old/lib/rspec/expectations/version.rb       2015-06-12 17:05:06.000000000 
+0200
+++ new/lib/rspec/expectations/version.rb       2015-07-15 19:09:01.000000000 
+0200
@@ -2,7 +2,7 @@
   module Expectations
     # @private
     module Version
-      STRING = '3.3.0'
+      STRING = '3.3.1'
     end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/matchers/built_in/be.rb 
new/lib/rspec/matchers/built_in/be.rb
--- old/lib/rspec/matchers/built_in/be.rb       2015-06-12 17:05:06.000000000 
+0200
+++ new/lib/rspec/matchers/built_in/be.rb       2015-07-15 19:09:01.000000000 
+0200
@@ -144,6 +144,8 @@
         def matches?(actual)
           @actual = actual
           @actual.__send__ @operator, @expected
+        rescue ArgumentError
+          false
         end
 
         # @api private
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/matchers/built_in/respond_to.rb 
new/lib/rspec/matchers/built_in/respond_to.rb
--- old/lib/rspec/matchers/built_in/respond_to.rb       2015-06-12 
17:05:06.000000000 +0200
+++ new/lib/rspec/matchers/built_in/respond_to.rb       2015-07-15 
19:09:01.000000000 +0200
@@ -72,7 +72,7 @@
         def matches_arity?(actual, name)
           return true unless @expected_arity
 
-          signature = Support::MethodSignature.new(actual.method(name))
+          signature = 
Support::MethodSignature.new(Support.method_handle_for(actual, name))
           Support::StrictSignatureVerifier.new(signature, 
Array.new(@expected_arity)).valid?
         end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2015-06-12 17:05:06.000000000 +0200
+++ new/metadata        2015-07-15 19:09:01.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: rspec-expectations
 version: !ruby/object:Gem::Version
-  version: 3.3.0
+  version: 3.3.1
 platform: ruby
 authors:
 - Steven Baker
@@ -45,7 +45,7 @@
   ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
   F3MdtaDehhjC
   -----END CERTIFICATE-----
-date: 2015-06-12 00:00:00.000000000 Z
+date: 2015-07-15 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rspec-support
@@ -220,6 +220,6 @@
 rubygems_version: 2.2.2
 signing_key: 
 specification_version: 4
-summary: rspec-expectations-3.3.0
+summary: rspec-expectations-3.3.1
 test_files: []
 has_rdoc: 
Files old/metadata.gz.sig and new/metadata.gz.sig differ


Reply via email to