Hello community,
here is the log from the commit of package rubygem-rspec-support for
openSUSE:Factory checked in at 2020-01-30 09:35:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rspec-support (Old)
and /work/SRC/openSUSE:Factory/.rubygem-rspec-support.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rspec-support"
Thu Jan 30 09:35:00 2020 rev:12 rq:767647 version:3.9.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-rspec-support/rubygem-rspec-support.changes
2019-12-28 13:40:13.098923883 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-rspec-support.new.26092/rubygem-rspec-support.changes
2020-01-30 09:35:13.641291880 +0100
@@ -1,0 +2,7 @@
+Mon Jan 27 11:01:58 UTC 2020 - Manuel Schnitzer <[email protected]>
+
+- updated to version 3.9.2
+
+ * Remove unneeded eval. (Matijs van Zuijlen, #394)
+
+-------------------------------------------------------------------
Old:
----
rspec-support-3.9.0.gem
New:
----
rspec-support-3.9.2.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rspec-support.spec ++++++
--- /var/tmp/diff_new_pack.gRmG7F/_old 2020-01-30 09:35:14.441292308 +0100
+++ /var/tmp/diff_new_pack.gRmG7F/_new 2020-01-30 09:35:14.445292309 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-rspec-support
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
#
Name: rubygem-rspec-support
-Version: 3.9.0
+Version: 3.9.2
Release: 0
%define mod_name rspec-support
%define mod_full_name %{mod_name}-%{version}
++++++ rspec-support-3.9.0.gem -> rspec-support-3.9.2.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Changelog.md new/Changelog.md
--- old/Changelog.md 2019-10-07 23:34:56.000000000 +0200
+++ new/Changelog.md 2019-12-30 11:45:17.000000000 +0100
@@ -1,10 +1,27 @@
+### 3.9.2 / 2019-12-30
+[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.9.1...v3.9.2)
+
+Bug Fixes:
+
+* Remove unneeded eval. (Matijs van Zuijlen, #394)
+
+### 3.9.1 / 2019-12-28
+[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.9.0...v3.9.1)
+
+Bug Fixes:
+
+* Remove warning caused by keyword arguments on Ruby 2.7.0.
+ (Jon Rowe, #392)
+
### 3.9.0 / 2019-10-07
+[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.
### 3.8.3 / 2019-10-02
+[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.8.2...v3.8.3)
Bug Fixes:
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/encoded_string.rb
new/lib/rspec/support/encoded_string.rb
--- old/lib/rspec/support/encoded_string.rb 2019-10-07 23:34:56.000000000
+0200
+++ new/lib/rspec/support/encoded_string.rb 2019-12-30 11:45:17.000000000
+0100
@@ -5,31 +5,11 @@
# Reduce allocations by storing constants.
UTF_8 = "UTF-8"
US_ASCII = "US-ASCII"
- #
- # In MRI 2.1 'invalid: :replace' changed to also replace an invalid byte
sequence
- # see https://github.com/ruby/ruby/blob/v2_1_0/NEWS#L176
- # https://www.ruby-forum.com/topic/6861247
- # https://twitter.com/nalsh/status/553413844685438976
- #
- # For example, given:
- # "\x80".force_encoding("Emacs-Mule").encode(:invalid =>
:replace).bytes.to_a
- #
- # On MRI 2.1 or above: 63 # '?'
- # else : 128 # "\x80"
- #
+
# Ruby's default replacement string is:
# U+FFFD ("\xEF\xBF\xBD"), for Unicode encoding forms, else
# ? ("\x3F")
REPLACE = "?"
- ENCODE_UNCONVERTABLE_BYTES = {
- :invalid => :replace,
- :undef => :replace,
- :replace => REPLACE
- }
- ENCODE_NO_CONVERTER = {
- :invalid => :replace,
- :replace => REPLACE
- }
def initialize(string, encoding=nil)
@encoding = encoding
@@ -112,9 +92,25 @@
string = remove_invalid_bytes(string)
string.encode(@encoding)
rescue Encoding::UndefinedConversionError,
Encoding::InvalidByteSequenceError
- string.encode(@encoding, ENCODE_UNCONVERTABLE_BYTES)
+ # Originally defined as a constant to avoid uneeded allocations,
this hash must
+ # be defined inline (without {}) to avoid warnings on Ruby 2.7
+ #
+ # In MRI 2.1 'invalid: :replace' changed to also replace an invalid
byte sequence
+ # see https://github.com/ruby/ruby/blob/v2_1_0/NEWS#L176
+ # https://www.ruby-forum.com/topic/6861247
+ # https://twitter.com/nalsh/status/553413844685438976
+ #
+ # For example, given:
+ # "\x80".force_encoding("Emacs-Mule").encode(:invalid =>
:replace).bytes.to_a
+ #
+ # On MRI 2.1 or above: 63 # '?'
+ # else : 128 # "\x80"
+ #
+ string.encode(@encoding, :invalid => :replace, :undef => :replace,
:replace => REPLACE)
rescue Encoding::ConverterNotFoundError
- string.dup.force_encoding(@encoding).encode(ENCODE_NO_CONVERTER)
+ # Originally defined as a constant to avoid uneeded allocations,
this hash must
+ # be defined inline (without {}) to avoid warnings on Ruby 2.7
+ string.dup.force_encoding(@encoding).encode(:invalid => :replace,
:replace => REPLACE)
end
# Prevents raising ArgumentError
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rspec/support/ruby_features.rb
new/lib/rspec/support/ruby_features.rb
--- old/lib/rspec/support/ruby_features.rb 2019-10-07 23:34:56.000000000
+0200
+++ new/lib/rspec/support/ruby_features.rb 2019-12-30 11:45:17.000000000
+0100
@@ -90,6 +90,15 @@
end
end
+ if RUBY_VERSION.to_f >= 2.7
+ def supports_taint?
+ false
+ end
+ else
+ def supports_taint?
+ true
+ end
+ end
ripper_requirements = [ComparableVersion.new(RUBY_VERSION) >= '1.9.2']
ripper_requirements.push(false) if Ruby.rbx?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rspec/support/spec/stderr_splitter.rb
new/lib/rspec/support/spec/stderr_splitter.rb
--- old/lib/rspec/support/spec/stderr_splitter.rb 2019-10-07
23:34:56.000000000 +0200
+++ new/lib/rspec/support/spec/stderr_splitter.rb 2019-12-30
11:45:17.000000000 +0100
@@ -38,6 +38,10 @@
def write(line)
return if line =~ %r{^\S+/gems/\S+:\d+: warning:} #
http://rubular.com/r/kqeUIZOfPG
+ # Ruby 2.7.0 complains about hashes used in place of keyword arguments
+ # Aruba 0.14.2 uses this internally triggering that here
+ return if line =~ %r{lib/ruby/2\.7\.0/fileutils\.rb:622: warning:}
+
@orig_stderr.write(line)
@output_tracker.write(line)
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-10-07 23:34:56.000000000 +0200
+++ new/lib/rspec/support/version.rb 2019-12-30 11:45:17.000000000 +0100
@@ -1,7 +1,7 @@
module RSpec
module Support
module Version
- STRING = '3.9.0'
+ STRING = '3.9.2'
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2019-10-07 23:34:56.000000000 +0200
+++ new/metadata 2019-12-30 11:45:17.000000000 +0100
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: rspec-support
version: !ruby/object:Gem::Version
- version: 3.9.0
+ version: 3.9.2
platform: ruby
authors:
- David Chelimsky
@@ -48,7 +48,7 @@
ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
F3MdtaDehhjC
-----END CERTIFICATE-----
-date: 2019-10-07 00:00:00.000000000 Z
+date: 2019-12-30 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.9.0/Changelog.md
+ changelog_uri:
https://github.com/rspec/rspec-support/blob/v3.9.2/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.6
+rubygems_version: 3.1.2
signing_key:
specification_version: 4
-summary: rspec-support-3.9.0
+summary: rspec-support-3.9.2
test_files: []
Binary files old/metadata.gz.sig and new/metadata.gz.sig differ