Hello community,
here is the log from the commit of package rubygem-actionpack-4_2 for
openSUSE:Factory checked in at 2017-12-07 13:51:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-actionpack-4_2 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-actionpack-4_2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-actionpack-4_2"
Thu Dec 7 13:51:33 2017 rev:13 rq:533905 version:4.2.10
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-actionpack-4_2/rubygem-actionpack-4_2.changes
2017-09-26 21:13:26.310697176 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-actionpack-4_2.new/rubygem-actionpack-4_2.changes
2017-12-07 13:51:39.398036680 +0100
@@ -1,0 +2,16 @@
+Wed Oct 11 05:55:59 UTC 2017 - [email protected]
+
+- updated to version 4.2.10
+ see installed CHANGELOG.md
+
+ ## Rails 4.2.10 (September 27, 2017) ##
+
+ * Fix regression in behavior of `normalize_path`.
+
+ In Rails 5 there was a change to ensure the encoding of the original
string
+ in a path was maintained. This was incorrectly backported to Rails 4.2
which
+ caused a regression.
+
+ *Eileen M. Uchitelle*
+
+-------------------------------------------------------------------
Old:
----
actionpack-4.2.9.gem
New:
----
actionpack-4.2.10.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-actionpack-4_2.spec ++++++
--- /var/tmp/diff_new_pack.rQ0fAD/_old 2017-12-07 13:51:40.006014537 +0100
+++ /var/tmp/diff_new_pack.rQ0fAD/_new 2017-12-07 13:51:40.010014392 +0100
@@ -24,7 +24,7 @@
#
Name: rubygem-actionpack-4_2
-Version: 4.2.9
+Version: 4.2.10
Release: 0
%define mod_name actionpack
%define mod_full_name %{mod_name}-%{version}
@@ -39,7 +39,7 @@
BuildRequires: %{rubygem gem2rpm}
BuildRequires: ruby-macros >= 5
Url: http://www.rubyonrails.org
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: Web-flow and rendering framework putting the VC in MVC (part of
License: MIT
++++++ actionpack-4.2.9.gem -> actionpack-4.2.10.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2017-06-26 23:29:05.000000000 +0200
+++ new/CHANGELOG.md 2017-09-27 16:28:23.000000000 +0200
@@ -1,3 +1,13 @@
+## Rails 4.2.10 (September 27, 2017) ##
+
+* Fix regression in behavior of `normalize_path`.
+
+ In Rails 5 there was a change to ensure the encoding of the original string
+ in a path was maintained. This was incorrectly backported to Rails 4.2
which
+ caused a regression.
+
+ *Eileen M. Uchitelle*
+
## Rails 4.2.9 (June 26, 2017) ##
* Use more specific check for :format in route path
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_dispatch/journey/router/utils.rb
new/lib/action_dispatch/journey/router/utils.rb
--- old/lib/action_dispatch/journey/router/utils.rb 2017-06-26
23:29:05.000000000 +0200
+++ new/lib/action_dispatch/journey/router/utils.rb 2017-09-27
16:28:24.000000000 +0200
@@ -13,13 +13,11 @@
# normalize_path("") # => "/"
# normalize_path("/%ab") # => "/%AB"
def self.normalize_path(path)
- encoding = path.encoding
- path = "/#{path}"
+ path = "/#{path}".force_encoding(Encoding::UTF_8)
path.squeeze!('/')
path.sub!(%r{/+\Z}, '')
path.gsub!(/(%[a-f0-9]{2})/) { $1.upcase }
- path = "/" if path == "".freeze
- path.force_encoding(encoding)
+ path = '/' if path == ''
path
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_pack/gem_version.rb
new/lib/action_pack/gem_version.rb
--- old/lib/action_pack/gem_version.rb 2017-06-26 23:29:05.000000000 +0200
+++ new/lib/action_pack/gem_version.rb 2017-09-27 16:28:24.000000000 +0200
@@ -7,7 +7,7 @@
module VERSION
MAJOR = 4
MINOR = 2
- TINY = 9
+ TINY = 10
PRE = nil
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2017-06-26 23:29:05.000000000 +0200
+++ new/metadata 2017-09-27 16:28:23.000000000 +0200
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: actionpack
version: !ruby/object:Gem::Version
- version: 4.2.9
+ version: 4.2.10
platform: ruby
authors:
- David Heinemeier Hansson
autorequire:
bindir: bin
cert_chain: []
-date: 2017-06-26 00:00:00.000000000 Z
+date: 2017-09-27 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: activesupport
@@ -16,14 +16,14 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.9
+ version: 4.2.10
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.9
+ version: 4.2.10
- !ruby/object:Gem::Dependency
name: rack
requirement: !ruby/object:Gem::Requirement
@@ -98,28 +98,28 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.9
+ version: 4.2.10
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.9
+ version: 4.2.10
- !ruby/object:Gem::Dependency
name: activemodel
requirement: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.9
+ version: 4.2.10
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.9
+ version: 4.2.10
description: Web apps on Rails. Simple, battle-tested conventions for building
and
testing MVC web applications. Works with any Rack-compatible server.
email: [email protected]
@@ -300,7 +300,7 @@
requirements:
- none
rubyforge_project:
-rubygems_version: 2.6.12
+rubygems_version: 2.5.2
signing_key:
specification_version: 4
summary: Web-flow and rendering framework putting the VC in MVC (part of
Rails).