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 2022-10-12 18:22:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rspec-expectations (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-rspec-expectations.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-rspec-expectations"

Wed Oct 12 18:22:36 2022 rev:24 rq:1010071 version:3.11.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-rspec-expectations/rubygem-rspec-expectations.changes
    2022-02-28 19:43:12.949933366 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rspec-expectations.new.2275/rubygem-rspec-expectations.changes
  2022-10-12 18:22:41.665365109 +0200
@@ -1,0 +2,7 @@
+Mon Oct 10 13:19:18 UTC 2022 - Stephan Kulow <co...@suse.com>
+
+updated to version 3.11.1
+ see installed Changelog.md
+
+
+-------------------------------------------------------------------

Old:
----
  rspec-expectations-3.11.0.gem

New:
----
  rspec-expectations-3.11.1.gem

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

Other differences:
------------------
++++++ rubygem-rspec-expectations.spec ++++++
--- /var/tmp/diff_new_pack.lL89dV/_old  2022-10-12 18:22:42.001365949 +0200
+++ /var/tmp/diff_new_pack.lL89dV/_new  2022-10-12 18:22:42.005365959 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-rspec-expectations
-Version:        3.11.0
+Version:        3.11.1
 Release:        0
 %define mod_name rspec-expectations
 %define mod_full_name %{mod_name}-%{version}

++++++ rspec-expectations-3.11.0.gem -> rspec-expectations-3.11.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Changelog.md new/Changelog.md
--- old/Changelog.md    2022-02-09 12:17:08.000000000 +0100
+++ new/Changelog.md    2022-09-12 12:12:30.000000000 +0200
@@ -1,5 +1,15 @@
 ### Development
-[Full 
Changelog](http://github.com/rspec/rspec-expectations/compare/v3.11.0...3-11-maintenance)
+[Full 
Changelog](http://github.com/rspec/rspec-expectations/compare/v3.11.1...3-11-maintenance)
+
+### 3.11.1 / 2022-09-12
+[Full 
Changelog](http://github.com/rspec/rspec-expectations/compare/v3.11.0...v3.11.1)
+
+Bug Fixes:
+
+* Allow the `contain_exactly` matcher to be reused by resetting its
+  internals on `matches?` (@bclayman-sq, #1326)
+* Using the exist matcher on `FileTest` no longer produces a deprecation 
warning.
+  (Ryo Nakamura, #1383)
 
 ### 3.11.0 / 2022-02-09
 [Full 
Changelog](http://github.com/rspec/rspec-expectations/compare/v3.10.2...v3.11.0)
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/version.rb 
new/lib/rspec/expectations/version.rb
--- old/lib/rspec/expectations/version.rb       2022-02-09 12:17:08.000000000 
+0100
+++ new/lib/rspec/expectations/version.rb       2022-09-12 12:12:30.000000000 
+0200
@@ -2,7 +2,7 @@
   module Expectations
     # @private
     module Version
-      STRING = '3.11.0'
+      STRING = '3.11.1'
     end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/matchers/built_in/contain_exactly.rb 
new/lib/rspec/matchers/built_in/contain_exactly.rb
--- old/lib/rspec/matchers/built_in/contain_exactly.rb  2022-02-09 
12:17:08.000000000 +0100
+++ new/lib/rspec/matchers/built_in/contain_exactly.rb  2022-09-12 
12:12:30.000000000 +0200
@@ -1,7 +1,7 @@
 module RSpec
   module Matchers
     module BuiltIn
-      # rubocop:disable ClassLength
+      # rubocop:disable Metrics/ClassLength
       # @api private
       # Provides the implementation for `contain_exactly` and `match_array`.
       # Not intended to be instantiated directly.
@@ -31,6 +31,14 @@
           "contain exactly#{list}"
         end
 
+        def matches?(actual)
+          @pairings_maximizer = nil
+          @best_solution = nil
+          @extra_items = nil
+          @missing_items = nil
+          super(actual)
+        end
+
       private
 
         def generate_failure_message
@@ -296,7 +304,7 @@
           end
         end
       end
-      # rubocop:enable ClassLength
+      # rubocop:enable Metrics/ClassLength
     end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/matchers/built_in/count_expectation.rb 
new/lib/rspec/matchers/built_in/count_expectation.rb
--- old/lib/rspec/matchers/built_in/count_expectation.rb        2022-02-09 
12:17:08.000000000 +0100
+++ new/lib/rspec/matchers/built_in/count_expectation.rb        2022-09-12 
12:12:30.000000000 +0200
@@ -2,7 +2,7 @@
   module Matchers
     module BuiltIn
       # @api private
-      # Asbtract class to implement `once`, `at_least` and other
+      # Abstract class to implement `once`, `at_least` and other
       # count constraints.
       module CountExpectation
         # @api public
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-02-09 12:17:08.000000000 
+0100
+++ new/lib/rspec/matchers/built_in/exist.rb    2022-09-12 12:12:30.000000000 
+0200
@@ -81,7 +81,7 @@
           end
 
           def deprecated(predicate, actual)
-            predicate == :exists? && File == actual
+            predicate == :exists? && (File == actual || FileTest == actual)
           end
         end
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/matchers/built_in/raise_error.rb 
new/lib/rspec/matchers/built_in/raise_error.rb
--- old/lib/rspec/matchers/built_in/raise_error.rb      2022-02-09 
12:17:08.000000000 +0100
+++ new/lib/rspec/matchers/built_in/raise_error.rb      2022-09-12 
12:12:30.000000000 +0200
@@ -4,8 +4,8 @@
       # @api private
       # Provides the implementation for `raise_error`.
       # Not intended to be instantiated directly.
-      # rubocop:disable ClassLength
-      # rubocop:disable RescueException
+      # rubocop:disable Metrics/ClassLength
+      # rubocop:disable Lint/RescueException
       class RaiseError
         include Composable
 
@@ -43,7 +43,7 @@
           self
         end
 
-        # rubocop:disable MethodLength
+        # rubocop:disable Metrics/MethodLength
         # @private
         def matches?(given_proc, negative_expectation=false, &block)
           @given_proc = given_proc
@@ -73,7 +73,7 @@
 
           expectation_matched?
         end
-        # rubocop:enable MethodLength
+        # rubocop:enable Metrics/MethodLength
 
         # @private
         def does_not_match?(given_proc)
@@ -264,8 +264,8 @@
           warning if @actual_error
         end
       end
-      # rubocop:enable RescueException
-      # rubocop:enable ClassLength
+      # rubocop:enable Lint/RescueException
+      # rubocop:enable Metrics/ClassLength
     end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/matchers/built_in/throw_symbol.rb 
new/lib/rspec/matchers/built_in/throw_symbol.rb
--- old/lib/rspec/matchers/built_in/throw_symbol.rb     2022-02-09 
12:17:08.000000000 +0100
+++ new/lib/rspec/matchers/built_in/throw_symbol.rb     2022-09-12 
12:12:30.000000000 +0200
@@ -13,7 +13,7 @@
           @caught_symbol = @caught_arg = nil
         end
 
-        # rubocop:disable MethodLength
+        # rubocop:disable Metrics/MethodLength
         # @private
         def matches?(given_proc)
           @block = given_proc
@@ -48,7 +48,7 @@
           rescue => other_exception
             raise
           ensure
-            # rubocop:disable EnsureReturn
+            # rubocop:disable Lint/EnsureReturn
             unless other_exception
               if @expected_symbol.nil?
                 return !!@caught_symbol
@@ -60,10 +60,10 @@
                 end
               end
             end
-            # rubocop:enable EnsureReturn
+            # rubocop:enable Lint/EnsureReturn
           end
         end
-        # rubocop:enable MethodLength
+        # rubocop:enable Metrics/MethodLength
 
         def does_not_match?(given_proc)
           !matches?(given_proc) && Proc === given_proc
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-02-09 12:17:08.000000000 +0100
+++ new/lib/rspec/matchers/dsl.rb       2022-09-12 12:12:30.000000000 +0200
@@ -122,7 +122,7 @@
         #
         # By default the match block will swallow expectation errors (e.g.
         # caused by using an expectation such as `expect(1).to eq 2`), if you
-        # with to allow these to bubble up, pass in the option
+        # wish to allow these to bubble up, pass in the option
         # `:notify_expectation_failures => true`.
         #
         # @param [Hash] options for defining the behavior of the match block.
@@ -151,7 +151,7 @@
         #
         # By default the match block will swallow expectation errors (e.g.
         # caused by using an expectation such as `expect(1).to eq 2`), if you
-        # with to allow these to bubble up, pass in the option
+        # wish to allow these to bubble up, pass in the option
         # `:notify_expectation_failures => true`.
         #
         # @param [Hash] options for defining the behavior of the match block.
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-02-09 12:17:08.000000000 +0100
+++ new/lib/rspec/matchers.rb   2022-09-12 12:12:30.000000000 +0200
@@ -36,7 +36,7 @@
   #     expect([]).to be_empty     # => [].empty?() | passes
   #     expect([]).not_to be_empty # => [].empty?() | fails
   #
-  # In addtion to prefixing the predicate matchers with "be_", you can also 
use "be_a_"
+  # In addition to prefixing the predicate matchers with "be_", you can also 
use "be_a_"
   # and "be_an_", making your specs read much more naturally:
   #
   #     expect("a string").to be_an_instance_of(String) # =>"a 
string".instance_of?(String) # passes
@@ -753,8 +753,8 @@
 
     # With no args, matches if any error is raised.
     # With a named error, matches only if that specific error is raised.
-    # With a named error and messsage specified as a String, matches only if 
both match.
-    # With a named error and messsage specified as a Regexp, matches only if 
both match.
+    # With a named error and message specified as a String, matches only if 
both match.
+    # With a named error and message specified as a Regexp, matches only if 
both match.
     # Pass an optional block to perform extra verifications on the exception 
matched
     #
     # @example
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2022-02-09 12:17:08.000000000 +0100
+++ new/metadata        2022-09-12 12:12:30.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: rspec-expectations
 version: !ruby/object:Gem::Version
-  version: 3.11.0
+  version: 3.11.1
 platform: ruby
 authors:
 - Steven Baker
@@ -45,7 +45,7 @@
   ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
   F3MdtaDehhjC
   -----END CERTIFICATE-----
-date: 2022-02-09 00:00:00.000000000 Z
+date: 2022-09-12 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.11.0/Changelog.md
+  changelog_uri: 
https://github.com/rspec/rspec-expectations/blob/v3.11.1/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
@@ -226,5 +226,5 @@
 rubygems_version: 3.3.3
 signing_key:
 specification_version: 4
-summary: rspec-expectations-3.11.0
+summary: rspec-expectations-3.11.1
 test_files: []
Binary files old/metadata.gz.sig and new/metadata.gz.sig differ

Reply via email to