Hello community, here is the log from the commit of package rubygem-rspec-support for openSUSE:Factory checked in at 2019-12-28 13:40:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-rspec-support (Old) and /work/SRC/openSUSE:Factory/.rubygem-rspec-support.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rspec-support" Sat Dec 28 13:40:05 2019 rev:11 rq:747741 version:3.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-rspec-support/rubygem-rspec-support.changes 2019-07-22 12:16:34.659725068 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-rspec-support.new.6675/rubygem-rspec-support.changes 2019-12-28 13:40:13.098923883 +0100 @@ -1,0 +2,11 @@ +Tue Nov 12 14:48:40 UTC 2019 - Manuel Schnitzer <mschnit...@suse.com> + +- updated to version 3.9.0 + + [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.8.3...v3.9.0) + + *NO CHANGES* + + Version 3.9.0 was released to allow other RSpec gems to release 3.9.0. + +------------------------------------------------------------------- Old: ---- rspec-support-3.8.2.gem New: ---- rspec-support-3.9.0.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-rspec-support.spec ++++++ --- /var/tmp/diff_new_pack.cYjC8s/_old 2019-12-28 13:40:13.490924080 +0100 +++ /var/tmp/diff_new_pack.cYjC8s/_new 2019-12-28 13:40:13.494924082 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-rspec-support -Version: 3.8.2 +Version: 3.9.0 Release: 0 %define mod_name rspec-support %define mod_full_name %{mod_name}-%{version} ++++++ rspec-support-3.8.2.gem -> rspec-support-3.9.0.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Changelog.md new/Changelog.md --- old/Changelog.md 2019-06-10 22:04:21.000000000 +0200 +++ new/Changelog.md 2019-10-07 23:34:56.000000000 +0200 @@ -1,10 +1,23 @@ -### 3.8.2 / 2019-06-10 -[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.8.1...v3.8.2) +### 3.9.0 / 2019-10-07 + +*NO CHANGES* + +Version 3.9.0 was released to allow other RSpec gems to release 3.9.0. + +### 3.8.3 / 2019-10-02 Bug Fixes: +* Escape \r when outputting strings inside arrays. + (Tomita Masahiro, Jon Rowe, #378) * Ensure that optional hash arguments are recognised correctly vs keyword arguments. (Evgeni Dzhelyov, #366) + +### 3.8.2 / 2019-06-10 +[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.8.1...v3.8.2) + +Bug Fixes: + * Ensure that an empty hash is recognised as empty keyword arguments when applicable. (Thomas Walpole, #375) * Ensure that diffing truthy values produce diffs consistently. 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/support/differ.rb new/lib/rspec/support/differ.rb --- old/lib/rspec/support/differ.rb 2019-06-10 22:04:21.000000000 +0200 +++ new/lib/rspec/support/differ.rb 2019-10-07 23:34:56.000000000 +0200 @@ -97,7 +97,7 @@ if Array === entry entry.inspect else - entry.to_s.gsub("\n", "\\n") + entry.to_s.gsub("\n", "\\n").gsub("\r", "\\r") end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/support/method_signature_verifier.rb new/lib/rspec/support/method_signature_verifier.rb --- old/lib/rspec/support/method_signature_verifier.rb 2019-06-10 22:04:21.000000000 +0200 +++ new/lib/rspec/support/method_signature_verifier.rb 2019-10-07 23:34:56.000000000 +0200 @@ -77,6 +77,8 @@ given_kw_args - @allowed_kw_args end + # If the last argument is Hash, Ruby will treat only symbol keys as keyword arguments + # the rest will be grouped in another Hash and passed as positional argument. def has_kw_args_in?(args) Hash === args.last && could_contain_kw_args?(args) && @@ -87,6 +89,7 @@ # contain keyword arguments? def could_contain_kw_args?(args) return false if args.count <= min_non_kw_args + @allows_any_kw_args || @allowed_kw_args.any? end @@ -359,7 +362,14 @@ def split_args(*args) kw_args = if @signature.has_kw_args_in?(args) - args.pop.keys + last = args.pop + non_kw_args = last.reject { |k, _| k.is_a?(Symbol) } + if non_kw_args.empty? + last.keys + else + args << non_kw_args + last.select { |k, _| k.is_a?(Symbol) }.keys + end else [] end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/support/version.rb new/lib/rspec/support/version.rb --- old/lib/rspec/support/version.rb 2019-06-10 22:04:21.000000000 +0200 +++ new/lib/rspec/support/version.rb 2019-10-07 23:34:56.000000000 +0200 @@ -1,7 +1,7 @@ module RSpec module Support module Version - STRING = '3.8.2' + STRING = '3.9.0' end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/support.rb new/lib/rspec/support.rb --- old/lib/rspec/support.rb 2019-06-10 22:04:21.000000000 +0200 +++ new/lib/rspec/support.rb 2019-10-07 23:34:56.000000000 +0200 @@ -139,7 +139,7 @@ end end - # The Differ is only needed when a a spec fails with a diffable failure. + # The Differ is only needed when a spec fails with a diffable failure. # In the more common case of all specs passing or the only failures being # non-diffable, we can avoid the extra cost of loading the differ, diff-lcs, # pp, etc by avoiding an unnecessary require. Instead, autoload will take diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2019-06-10 22:04:21.000000000 +0200 +++ new/metadata 2019-10-07 23:34:56.000000000 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: rspec-support version: !ruby/object:Gem::Version - version: 3.8.2 + version: 3.9.0 platform: ruby authors: - David Chelimsky @@ -48,7 +48,7 @@ ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ F3MdtaDehhjC -----END CERTIFICATE----- -date: 2019-06-10 00:00:00.000000000 Z +date: 2019-10-07 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rake @@ -123,7 +123,7 @@ - MIT metadata: bug_tracker_uri: https://github.com/rspec/rspec-support/issues - changelog_uri: https://github.com/rspec/rspec-support/blob/v3.8.2/Changelog.md + changelog_uri: https://github.com/rspec/rspec-support/blob/v3.9.0/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-support @@ -143,8 +143,8 @@ - !ruby/object:Gem::Version version: '0' requirements: [] -rubygems_version: 3.0.3 +rubygems_version: 3.0.6 signing_key: specification_version: 4 -summary: rspec-support-3.8.2 +summary: rspec-support-3.9.0 test_files: [] Binary files old/metadata.gz.sig and new/metadata.gz.sig differ