Script 'mail_helper' called by obssrc
Hello community,

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

Package is "rubygem-rspec-expectations"

Wed Nov 15 21:06:52 2023 rev:26 rq:1126300 version:3.12.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-rspec-expectations/rubygem-rspec-expectations.changes
    2022-12-04 14:58:01.424155979 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rspec-expectations.new.17445/rubygem-rspec-expectations.changes
 2023-11-15 21:07:17.541385649 +0100
@@ -1,0 +2,5 @@
+Tue Nov 14 15:33:19 UTC 2023 - Dan Čermák <[email protected]>
+
+- New upstream release 3.12.3, see bundled Changelog.md
+
+-------------------------------------------------------------------

Old:
----
  rspec-expectations-3.12.0.gem

New:
----
  rspec-expectations-3.12.3.gem

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

Other differences:
------------------
++++++ rubygem-rspec-expectations.spec ++++++
--- /var/tmp/diff_new_pack.hz9Aat/_old  2023-11-15 21:07:18.533422250 +0100
+++ /var/tmp/diff_new_pack.hz9Aat/_new  2023-11-15 21:07:18.533422250 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-rspec-expectations
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,11 +24,10 @@
 #
 
 Name:           rubygem-rspec-expectations
-Version:        3.12.0
+Version:        3.12.3
 Release:        0
 %define mod_name rspec-expectations
 %define mod_full_name %{mod_name}-%{version}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  %{ruby >= 1.8.7}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  %{rubygem rdoc > 3.10}
@@ -38,7 +37,6 @@
 Source1:        gem2rpm.yml
 Summary:        API to express expected outcomes of a code example
 License:        MIT
-Group:          Development/Languages/Ruby
 
 %description
 rspec-expectations provides a simple, readable API to express expected

++++++ rspec-expectations-3.12.0.gem -> rspec-expectations-3.12.3.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Changelog.md new/Changelog.md
--- old/Changelog.md    2022-10-26 21:13:26.000000000 +0200
+++ new/Changelog.md    2023-04-20 09:31:54.000000000 +0200
@@ -1,5 +1,31 @@
 ### Development
-[Full 
Changelog](http://github.com/rspec/rspec-expectations/compare/v3.12.0...3-12-maintenance)
+[Full 
Changelog](http://github.com/rspec/rspec-expectations/compare/v3.12.3...3-12-maintenance)
+
+### 3.12.3 / 2023-04-20
+[Full 
Changelog](http://github.com/rspec/rspec-expectations/compare/v3.12.2...v3.12.3)
+
+Bug Fixes:
+
+* Fix `include` matcher when fuzzy matching on keys with a hash-like actual 
which
+  has a non standard `key?` method which may raise.
+  (Jon Rowe, #1416)
+
+### 3.12.2 / 2023-01-07
+[Full 
Changelog](http://github.com/rspec/rspec-expectations/compare/v3.12.1...v3.12.2)
+
+Bug Fixes:
+
+* Prevent deprecation warning when using the `exist` matcher with `Dir`.
+  (Steve Dierker, #1398)
+
+### 3.12.1 / 2022-12-16
+[Full 
Changelog](http://github.com/rspec/rspec-expectations/compare/v3.12.0...v3.12.1)
+
+Bug Fixes:
+
+* Pass keyword arguments through to aliased (and thus negated) matchers. (Jon 
Rowe, #1394)
+* When handling failures in an aggregated_failures block (or example) prevent
+  the failure list leaking out. (Maciek Rząsa, #1392)
 
 ### 3.12.0 / 2022-10-26
 [Full 
Changelog](http://github.com/rspec/rspec-expectations/compare/v3.11.1...v3.12.0)
@@ -314,10 +340,8 @@
   can cause uses of `super` to trigger infinite recursion. (Myron Marston, 
#816)
 * Stop rescuing `NoMemoryError`, `SignalExcepetion`, `Interrupt` and
   `SystemExit`. It is dangerous to interfere with these. (Myron Marston, #845)
-* Add `#with_captures` to the
-  [match 
matcher](https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers/match-matcher)
-  which allows a user to specify expected captures when matching a regex
-  against a string. (Sam Phippen, #848)
+* Add `#with_captures` to the match matcher which allows a user to specify 
expected
+  captures when matching a regex against a string. (Sam Phippen, #848)
 * Always print compound failure messages in the multi-line form. Trying
   to print it all on a single line didn't read very well. (Myron Marston, #859)
 
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/expectations/failure_aggregator.rb 
new/lib/rspec/expectations/failure_aggregator.rb
--- old/lib/rspec/expectations/failure_aggregator.rb    2022-10-26 
21:13:26.000000000 +0200
+++ new/lib/rspec/expectations/failure_aggregator.rb    2023-04-20 
09:31:54.000000000 +0200
@@ -4,6 +4,21 @@
     class FailureAggregator
       attr_reader :block_label, :metadata
 
+      # @private
+      class AggregatedFailure
+        # @private
+        MESSAGE =
+          'AggregatedFailure: This method caused a failure which has been ' \
+          'suppressed to be aggregated into our failure report by returning ' \
+          'this value, further errors can be ignored.'
+
+        def inspect
+          MESSAGE
+        end
+      end
+
+      AGGREGATED_FAILURE = AggregatedFailure.new
+
       def aggregate
         RSpec::Support.with_failure_notifier(self) do
           begin
@@ -48,6 +63,8 @@
         @seen_source_ids[source_id] = true
         assign_backtrace(failure) unless failure.backtrace
         failures << failure
+
+        AGGREGATED_FAILURE
       end
 
     private
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       2022-10-26 21:13:26.000000000 
+0200
+++ new/lib/rspec/expectations/version.rb       2023-04-20 09:31:54.000000000 
+0200
@@ -2,7 +2,7 @@
   module Expectations
     # @private
     module Version
-      STRING = '3.12.0'
+      STRING = '3.12.3'
     end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/matchers/aliased_matcher.rb 
new/lib/rspec/matchers/aliased_matcher.rb
--- old/lib/rspec/matchers/aliased_matcher.rb   2022-10-26 21:13:26.000000000 
+0200
+++ new/lib/rspec/matchers/aliased_matcher.rb   2023-04-20 09:31:54.000000000 
+0200
@@ -99,14 +99,14 @@
       # by going through the effort of defining a negated matcher.
       #
       # However, if the override didn't actually change anything, then we
-      # should return the opposite failure message instead -- the overriden
+      # should return the opposite failure message instead -- the overridden
       # message is going to be confusing if we return it as-is, as it 
represents
       # the non-negated failure message for a negated match (or vice versa).
       def optimal_failure_message(same, inverted)
         if DefaultFailureMessages.has_default_failure_messages?(@base_matcher)
           base_message = @base_matcher.__send__(same)
-          overriden    = @description_block.call(base_message)
-          return overriden if overriden != base_message
+          overridden    = @description_block.call(base_message)
+          return overridden if overridden != base_message
         end
 
         @base_matcher.__send__(inverted)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/matchers/built_in/compound.rb 
new/lib/rspec/matchers/built_in/compound.rb
--- old/lib/rspec/matchers/built_in/compound.rb 2022-10-26 21:13:26.000000000 
+0200
+++ new/lib/rspec/matchers/built_in/compound.rb 2023-04-20 09:31:54.000000000 
+0200
@@ -171,7 +171,7 @@
             @match_results.fetch(matcher) do
               raise ArgumentError, "Your #{matcher.description} has no match " 
\
                "results, this can occur when an unexpected call stack or " \
-               "local jump occurs. Prehaps one of your matchers needs to " \
+               "local jump occurs. Perhaps one of your matchers needs to " \
                "declare `expects_call_stack_jump?` as `true`?"
             end
           end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/matchers/built_in/exist.rb 
new/lib/rspec/matchers/built_in/exist.rb
--- old/lib/rspec/matchers/built_in/exist.rb    2022-10-26 21:13:26.000000000 
+0200
+++ new/lib/rspec/matchers/built_in/exist.rb    2023-04-20 09:31:54.000000000 
+0200
@@ -81,7 +81,7 @@
           end
 
           def deprecated(predicate, actual)
-            predicate == :exists? && (File == actual || FileTest == actual)
+            predicate == :exists? && (File == actual || FileTest == actual || 
Dir == actual)
           end
         end
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/matchers/built_in/include.rb 
new/lib/rspec/matchers/built_in/include.rb
--- old/lib/rspec/matchers/built_in/include.rb  2022-10-26 21:13:26.000000000 
+0200
+++ new/lib/rspec/matchers/built_in/include.rb  2023-04-20 09:31:54.000000000 
+0200
@@ -153,8 +153,15 @@
         def actual_hash_has_key?(expected_key)
           # We check `key?` first for perf:
           # `key?` is O(1), but `any?` is O(N).
-          actual.key?(expected_key) ||
-          actual.keys.any? { |key| values_match?(expected_key, key) }
+
+          has_exact_key =
+            begin
+              actual.key?(expected_key)
+            rescue
+              false
+            end
+
+          has_exact_key || actual.keys.any? { |key| 
values_match?(expected_key, key) }
         end
 
         def actual_collection_includes?(expected_item)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/matchers/composable.rb 
new/lib/rspec/matchers/composable.rb
--- old/lib/rspec/matchers/composable.rb        2022-10-26 21:13:26.000000000 
+0200
+++ new/lib/rspec/matchers/composable.rb        2023-04-20 09:31:54.000000000 
+0200
@@ -83,7 +83,7 @@
         RSpec::Support::ObjectFormatter.format(object)
       end
 
-      # Transforms the given data structue (typically a hash or array)
+      # Transforms the given data structure (typically a hash or array)
       # into a new data structure that, when `#inspect` is called on it,
       # will provide descriptions of any contained matchers rather than
       # the normal `#inspect` output.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/matchers/dsl.rb 
new/lib/rspec/matchers/dsl.rb
--- old/lib/rspec/matchers/dsl.rb       2022-10-26 21:13:26.000000000 +0200
+++ new/lib/rspec/matchers/dsl.rb       2023-04-20 09:31:54.000000000 +0200
@@ -4,7 +4,7 @@
   module Matchers
     # Defines the custom matcher DSL.
     module DSL
-      # Defines a matcher alias. The returned matcher's `description` will be 
overriden
+      # Defines a matcher alias. The returned matcher's `description` will be 
overridden
       # to reflect the phrasing of the new name, which will be used in failure 
messages
       # when passed as an argument to another matcher in a composed matcher 
expression.
       #
@@ -25,7 +25,7 @@
       # @param old_name [Symbol] the original name for the matcher
       # @param options  [Hash] options for the aliased matcher
       # @option options [Class] :klass the ruby class to use as the decorator. 
(Not normally used).
-      # @yield [String] optional block that, when given, is used to define the 
overriden
+      # @yield [String] optional block that, when given, is used to define the 
overridden
       #   logic. The yielded arg is the original description or failure 
message. If no
       #   block is provided, a default override is used based on the old and 
new names.
       # @see RSpec::Matchers
@@ -40,10 +40,11 @@
           matcher.matcher_name = new_name if 
matcher.respond_to?(:matcher_name=)
           klass.new(matcher, description_override)
         end
+        ruby2_keywords new_name if respond_to?(:ruby2_keywords, true)
       end
 
       # Defines a negated matcher. The returned matcher's `description` and 
`failure_message`
-      # will be overriden to reflect the phrasing of the new name, and the 
match logic will
+      # will be overridden to reflect the phrasing of the new name, and the 
match logic will
       # be based on the original matcher but negated.
       #
       # @example
@@ -53,7 +54,7 @@
       #
       # @param negated_name [Symbol] the name for the negated matcher
       # @param base_name [Symbol] the name of the original matcher that will 
be negated
-      # @yield [String] optional block that, when given, is used to define the 
overriden
+      # @yield [String] optional block that, when given, is used to define the 
overridden
       #   logic. The yielded arg is the original description or failure 
message. If no
       #   block is provided, a default override is used based on the old and 
new names.
       # @see RSpec::Matchers
@@ -197,7 +198,7 @@
           end
         end
 
-        # Customizes the failure messsage to use when this matcher is
+        # Customizes the failure message to use when this matcher is
         # asked to positively match. Only use this when the message
         # generated by default doesn't suit your needs.
         #
@@ -216,7 +217,7 @@
           define_user_override(__method__, definition)
         end
 
-        # Customize the failure messsage to use when this matcher is asked
+        # Customize the failure message to use when this matcher is asked
         # to negatively match. Only use this when the message generated by
         # default doesn't suit your needs.
         #
@@ -330,7 +331,7 @@
         # - Defines the named method using a user-provided block
         #   in @user_method_defs, which is included as an ancestor
         #   in the singleton class in which we eval the `define` block.
-        # - Defines an overriden definition for the same method
+        # - Defines an overridden definition for the same method
         #   usign the provided `our_def` block.
         # - Provides a default `our_def` block for the common case
         #   of needing to call the user's definition with `@actual`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/matchers.rb new/lib/rspec/matchers.rb
--- old/lib/rspec/matchers.rb   2022-10-26 21:13:26.000000000 +0200
+++ new/lib/rspec/matchers.rb   2023-04-20 09:31:54.000000000 +0200
@@ -704,7 +704,7 @@
 
     # An alternate form of `contain_exactly` that accepts
     # the expected contents as a single array arg rather
-    # that splatted out as individual items.
+    # than splatted out as individual items.
     #
     # @example
     #   expect(results).to contain_exactly(1, 2)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2022-10-26 21:13:26.000000000 +0200
+++ new/metadata        2023-04-20 09:31:54.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: rspec-expectations
 version: !ruby/object:Gem::Version
-  version: 3.12.0
+  version: 3.12.3
 platform: ruby
 authors:
 - Steven Baker
@@ -45,7 +45,7 @@
   ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
   F3MdtaDehhjC
   -----END CERTIFICATE-----
-date: 2022-10-26 00:00:00.000000000 Z
+date: 2023-04-20 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rspec-support
@@ -203,7 +203,7 @@
 - MIT
 metadata:
   bug_tracker_uri: https://github.com/rspec/rspec-expectations/issues
-  changelog_uri: 
https://github.com/rspec/rspec-expectations/blob/v3.12.0/Changelog.md
+  changelog_uri: 
https://github.com/rspec/rspec-expectations/blob/v3.12.3/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-expectations
@@ -223,8 +223,8 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubygems_version: 3.3.3
+rubygems_version: 3.3.26
 signing_key:
 specification_version: 4
-summary: rspec-expectations-3.12.0
+summary: rspec-expectations-3.12.3
 test_files: []
Binary files old/metadata.gz.sig and new/metadata.gz.sig differ

Reply via email to