Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-rspec-mocks for 
openSUSE:Factory checked in at 2023-11-15 21:06:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rspec-mocks (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-rspec-mocks.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-rspec-mocks"

Wed Nov 15 21:06:53 2023 rev:27 rq:1126301 version:3.12.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rspec-mocks/rubygem-rspec-mocks.changes  
2023-02-18 17:10:06.514630991 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rspec-mocks.new.17445/rubygem-rspec-mocks.changes
       2023-11-15 21:07:18.745430072 +0100
@@ -1,0 +2,5 @@
+Tue Nov 14 15:33:32 UTC 2023 - Dan Čermák <[email protected]>
+
+- New upstream release 3.12.6, see bundled Changelog.md
+
+-------------------------------------------------------------------

Old:
----
  rspec-mocks-3.12.3.gem

New:
----
  rspec-mocks-3.12.6.gem

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

Other differences:
------------------
++++++ rubygem-rspec-mocks.spec ++++++
--- /var/tmp/diff_new_pack.Wce4U2/_old  2023-11-15 21:07:19.489457524 +0100
+++ /var/tmp/diff_new_pack.Wce4U2/_new  2023-11-15 21:07:19.489457524 +0100
@@ -16,27 +16,27 @@
 #
 
 
-%define mod_name rspec-mocks
-%define mod_full_name %{mod_name}-%{version}
 #
 # This file was generated with a gem2rpm.yml and not just plain gem2rpm.
 # All sections marked as MANUAL, license headers, summaries and descriptions
 # can be maintained in that file. Please consult this file before editing any
 # of those fields
 #
+
 Name:           rubygem-rspec-mocks
-Version:        3.12.3
+Version:        3.12.6
 Release:        0
-Summary:        RSpec's 'test double' framework, with support for stubbing and 
mocking
-License:        MIT
-Group:          Development/Languages/Ruby
-URL:            https://github.com/rspec/rspec-mocks
-Source:         https://rubygems.org/gems/%{mod_full_name}.gem
-Source1:        gem2rpm.yml
+%define mod_name rspec-mocks
+%define mod_full_name %{mod_name}-%{version}
 BuildRequires:  %{ruby >= 1.8.7}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  %{rubygem rdoc > 3.10}
 BuildRequires:  ruby-macros >= 5
+URL:            https://github.com/rspec/rspec-mocks
+Source:         https://rubygems.org/gems/%{mod_full_name}.gem
+Source1:        gem2rpm.yml
+Summary:        RSpec's 'test double' framework, with support for stubbing and 
mocking
+License:        MIT
 
 %description
 RSpec's 'test double' framework, with support for stubbing and mocking.

++++++ rspec-mocks-3.12.3.gem -> rspec-mocks-3.12.6.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Changelog.md new/Changelog.md
--- old/Changelog.md    2023-01-17 01:38:02.000000000 +0100
+++ new/Changelog.md    2023-07-12 00:33:33.000000000 +0200
@@ -1,5 +1,30 @@
 ### Development
-[Full 
Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.3...3-12-maintenance)
+[Full 
Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.6...3-12-maintenance)
+
+### 3.12.6 / 2023-07-11
+[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.5...v3.12.6)
+
+Bug Fixes:
+
+* Fix an issue with `and_call_original` when using the `method_missing` 
fallback
+  with keyword arguments. (Igor Drozdov, #1552)
+
+### 3.12.5 / 2023-03-30
+[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.4...v3.12.5)
+
+Bug Fixes:
+
+* Fix compatibility issue with Rails where active_support monkey patches `with`
+  when using any instance. (Lachlan Sylvester, #1540)
+
+### 3.12.4 / 2023-03-12
+[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.3...v3.12.4)
+
+Bug Fixes:
+
+* Fix an issue with asserting that Array#reverse is never called. (Brad Trick, 
#1533)
+* Fix compatibility issue with Rails where active_support monkey patches 
`with`.
+  (Jean Boussier, #1531, #1534)
 
 ### 3.12.3 / 2023-01-17
 [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.2...v3.12.3)
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
Binary files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ
Binary 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/mocks/any_instance/proxy.rb 
new/lib/rspec/mocks/any_instance/proxy.rb
--- old/lib/rspec/mocks/any_instance/proxy.rb   2023-01-17 01:38:02.000000000 
+0100
+++ new/lib/rspec/mocks/any_instance/proxy.rb   2023-07-12 00:33:33.000000000 
+0200
@@ -83,6 +83,15 @@
         end
       end
 
+      unless defined?(BasicObject)
+        class BasicObject
+          # Remove all methods except those expected to be defined on 
BasicObject
+          (instance_methods.map(&:to_sym) - [:__send__, :"!", :instance_eval, 
:==, :instance_exec, :"!=", :equal?, :__id__, :__binding__, :object_id]).each 
do |method|
+            undef_method method
+          end
+        end
+      end
+
       # @private
       # Delegates messages to each of the given targets in order to
       # provide the fluent interface that is available off of message
@@ -91,12 +100,12 @@
       # `targets` will typically contain 1 of the `AnyInstance::Recorder`
       # return values and N `MessageExpectation` instances (one per instance
       # of the `any_instance` klass).
-      class FluentInterfaceProxy
+      class FluentInterfaceProxy < BasicObject
         def initialize(targets)
           @targets = targets
         end
 
-        if RUBY_VERSION.to_f > 1.8
+        if ::RUBY_VERSION.to_f > 1.8
           def respond_to_missing?(method_name, include_private=false)
             super || @targets.first.respond_to?(method_name, include_private)
           end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/mocks/matchers/receive.rb 
new/lib/rspec/mocks/matchers/receive.rb
--- old/lib/rspec/mocks/matchers/receive.rb     2023-01-17 01:38:02.000000000 
+0100
+++ new/lib/rspec/mocks/matchers/receive.rb     2023-07-12 00:33:33.000000000 
+0200
@@ -55,8 +55,9 @@
           setup_any_instance_method_substitute(subject, :stub, block)
         end
 
+        own_methods = (instance_methods - superclass.instance_methods)
         MessageExpectation.public_instance_methods(false).each do |method|
-          next if method_defined?(method)
+          next if own_methods.include?(method)
 
           define_method(method) do |*args, &block|
             @recorded_customizations << ExpectationCustomization.new(method, 
args, block)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/mocks/method_double.rb 
new/lib/rspec/mocks/method_double.rb
--- old/lib/rspec/mocks/method_double.rb        2023-01-17 01:38:02.000000000 
+0100
+++ new/lib/rspec/mocks/method_double.rb        2023-07-12 00:33:33.000000000 
+0200
@@ -26,10 +26,7 @@
         # handler of the object. This accounts for cases where the user has not
         # correctly defined `respond_to?`, and also 1.8 which does not provide
         # method handles for missing methods even if `respond_to?` is correct.
-        @original_implementation_callable ||= original_method ||
-          Proc.new do |*args, &block|
-            @object.__send__(:method_missing, @method_name, *args, &block)
-          end
+        @original_implementation_callable ||= original_method || 
method_missing_block
       end
 
       alias_method :save_original_implementation_callable!, 
:original_implementation_callable
@@ -41,6 +38,16 @@
       end
 
       # @private
+      def method_missing_block
+        block = Proc.new do |*args, &b|
+          @object.__send__(:method_missing, @method_name, *args, &b)
+        end
+        block.ruby2_keywords if block.respond_to?(:ruby2_keywords)
+
+        block
+      end
+
+      # @private
       def visibility
         @proxy.visibility_for(@method_name)
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/mocks/space.rb new/lib/rspec/mocks/space.rb
--- old/lib/rspec/mocks/space.rb        2023-01-17 01:38:02.000000000 +0100
+++ new/lib/rspec/mocks/space.rb        2023-07-12 00:33:33.000000000 +0200
@@ -77,9 +77,9 @@
 
       def reset_all
         proxies.each_value { |proxy| proxy.reset }
-        @constant_mutators.reverse.each { |mut| mut.idempotently_reset }
         any_instance_recorders.each_value { |recorder| 
recorder.stop_all_observation! }
         any_instance_recorders.clear
+        @constant_mutators.reverse.each { |mut| mut.idempotently_reset }
       end
 
       def register_constant_mutator(mutator)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/mocks/version.rb 
new/lib/rspec/mocks/version.rb
--- old/lib/rspec/mocks/version.rb      2023-01-17 01:38:02.000000000 +0100
+++ new/lib/rspec/mocks/version.rb      2023-07-12 00:33:33.000000000 +0200
@@ -3,7 +3,7 @@
     # Version information for RSpec mocks.
     module Version
       # Version of RSpec mocks currently in use in SemVer format.
-      STRING = '3.12.3'
+      STRING = '3.12.6'
     end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2023-01-17 01:38:02.000000000 +0100
+++ new/metadata        2023-07-12 00:33:33.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: rspec-mocks
 version: !ruby/object:Gem::Version
-  version: 3.12.3
+  version: 3.12.6
 platform: ruby
 authors:
 - Steven Baker
@@ -45,7 +45,7 @@
   ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
   F3MdtaDehhjC
   -----END CERTIFICATE-----
-date: 2023-01-17 00:00:00.000000000 Z
+date: 2023-07-11 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rspec-support
@@ -115,14 +115,14 @@
     requirements:
     - - "~>"
       - !ruby/object:Gem::Version
-        version: 0.14.10
+        version: '1.1'
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - "~>"
       - !ruby/object:Gem::Version
-        version: 0.14.10
+        version: '1.1'
 - !ruby/object:Gem::Dependency
   name: minitest
   requirement: !ruby/object:Gem::Requirement
@@ -194,7 +194,7 @@
 - MIT
 metadata:
   bug_tracker_uri: https://github.com/rspec/rspec-mocks/issues
-  changelog_uri: https://github.com/rspec/rspec-mocks/blob/v3.12.3/Changelog.md
+  changelog_uri: https://github.com/rspec/rspec-mocks/blob/v3.12.6/Changelog.md
   documentation_uri: https://rspec.info/documentation/
   mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
   source_code_uri: https://github.com/rspec/rspec-mocks
@@ -214,8 +214,8 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubygems_version: 3.3.26
+rubygems_version: 3.4.1
 signing_key:
 specification_version: 4
-summary: rspec-mocks-3.12.3
+summary: rspec-mocks-3.12.6
 test_files: []
Binary files old/metadata.gz.sig and new/metadata.gz.sig differ

Reply via email to