Hello community,
here is the log from the commit of package rubygem-actionpack-4_2 for
openSUSE:Factory checked in at 2015-12-14 10:13:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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"
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-actionpack-4_2/rubygem-actionpack-4_2.changes
2015-08-27 08:57:43.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-actionpack-4_2.new/rubygem-actionpack-4_2.changes
2015-12-14 10:13:30.000000000 +0100
@@ -1,0 +2,34 @@
+Fri Nov 13 05:29:06 UTC 2015 - [email protected]
+
+- updated to version 4.2.5
+ see installed CHANGELOG.md
+
+ ## Rails 4.2.5 (November 12, 2015) ##
+
+ * `ActionController::TestCase` can teardown gracefully if an error is
raised
+ early in the `setup` chain.
+
+ *Yves Senn*
+
+ * Parse RSS/ATOM responses as XML, not HTML.
+
+ *Alexander Kaupanin*
+
+ * Fix regression in mounted engine named routes generation for app
deployed to
+ a subdirectory. `relative_url_root` was prepended to the path twice (e.g.
+ "/subdir/subdir/engine_path" instead of "/subdir/engine_path")
+
+ Fixes #20920. Fixes #21459.
+
+ *Matthew Erhard*
+
+ * `url_for` does not modify its arguments when generating polymorphic URLs.
+
+ *Bernerd Schaefer*
+
+ * Update `ActionController::TestSession#fetch` to behave more like
+ `ActionDispatch::Request::Session#fetch` when using non-string keys.
+
+ *Jeremy Friesen*
+
+-------------------------------------------------------------------
Old:
----
actionpack-4.2.4.gem
New:
----
actionpack-4.2.5.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-actionpack-4_2.spec ++++++
--- /var/tmp/diff_new_pack.f30csc/_old 2015-12-14 10:13:31.000000000 +0100
+++ /var/tmp/diff_new_pack.f30csc/_new 2015-12-14 10:13:31.000000000 +0100
@@ -24,7 +24,7 @@
#
Name: rubygem-actionpack-4_2
-Version: 4.2.4
+Version: 4.2.5
Release: 0
%define mod_name actionpack
%define mod_full_name %{mod_name}-%{version}
++++++ actionpack-4.2.4.gem -> actionpack-4.2.5.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2015-08-24 20:23:16.000000000 +0200
+++ new/CHANGELOG.md 2015-11-12 18:06:04.000000000 +0100
@@ -1,3 +1,32 @@
+## Rails 4.2.5 (November 12, 2015) ##
+
+* `ActionController::TestCase` can teardown gracefully if an error is raised
+ early in the `setup` chain.
+
+ *Yves Senn*
+
+* Parse RSS/ATOM responses as XML, not HTML.
+
+ *Alexander Kaupanin*
+
+* Fix regression in mounted engine named routes generation for app deployed
to
+ a subdirectory. `relative_url_root` was prepended to the path twice (e.g.
+ "/subdir/subdir/engine_path" instead of "/subdir/engine_path")
+
+ Fixes #20920. Fixes #21459.
+
+ *Matthew Erhard*
+
+* `url_for` does not modify its arguments when generating polymorphic URLs.
+
+ *Bernerd Schaefer*
+
+* Update `ActionController::TestSession#fetch` to behave more like
+ `ActionDispatch::Request::Session#fetch` when using non-string keys.
+
+ *Jeremy Friesen*
+
+
## Rails 4.2.4 (August 24, 2015) ##
* ActionController::TestSession now accepts a default value as well as
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_controller/test_case.rb
new/lib/action_controller/test_case.rb
--- old/lib/action_controller/test_case.rb 2015-08-24 20:23:16.000000000
+0200
+++ new/lib/action_controller/test_case.rb 2015-11-12 18:06:04.000000000
+0100
@@ -55,6 +55,8 @@
end
def teardown_subscriptions
+ return unless defined?(@_subscribers)
+
@_subscribers.each do |subscriber|
ActiveSupport::Notifications.unsubscribe(subscriber)
end
@@ -327,8 +329,8 @@
clear
end
- def fetch(*args, &block)
- @data.fetch(*args, &block)
+ def fetch(key, *args, &block)
+ @data.fetch(key.to_s, *args, &block)
end
private
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_dispatch/http/url.rb
new/lib/action_dispatch/http/url.rb
--- old/lib/action_dispatch/http/url.rb 2015-08-24 20:23:16.000000000 +0200
+++ new/lib/action_dispatch/http/url.rb 2015-11-12 18:06:04.000000000 +0100
@@ -5,7 +5,7 @@
module Http
module URL
IP_HOST_REGEXP = /\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/
- HOST_REGEXP = /(^[^:]+:\/\/)?([^:]+)(?::(\d+$))?/
+ HOST_REGEXP = /(^[^:]+:\/\/)?(\[[^\]]+\]|[^:]+)(?::(\d+$))?/
PROTOCOL_REGEXP = /^([^:]+)(:)?(\/\/)?$/
mattr_accessor :tld_length
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_dispatch/routing/mapper.rb
new/lib/action_dispatch/routing/mapper.rb
--- old/lib/action_dispatch/routing/mapper.rb 2015-08-24 20:23:16.000000000
+0200
+++ new/lib/action_dispatch/routing/mapper.rb 2015-11-12 18:06:04.000000000
+0100
@@ -632,6 +632,7 @@
super(options)
else
prefix_options = options.slice(*_route.segment_keys)
+ prefix_options[:relative_url_root] = ''.freeze
# we must actually delete prefix segment keys to avoid
passing them to next url_for
_route.segment_keys.each { |k| options.delete(k) }
_routes.url_helpers.send("#{name}_path", prefix_options)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_dispatch/routing/route_set.rb
new/lib/action_dispatch/routing/route_set.rb
--- old/lib/action_dispatch/routing/route_set.rb 2015-08-24
20:23:16.000000000 +0200
+++ new/lib/action_dispatch/routing/route_set.rb 2015-11-12
18:06:04.000000000 +0100
@@ -485,14 +485,6 @@
end
def url_helpers(supports_path = true)
- if supports_path
- @url_helpers_with_paths ||= generate_url_helpers(supports_path)
- else
- @url_helpers_without_paths ||= generate_url_helpers(supports_path)
- end
- end
-
- def generate_url_helpers(supports_path)
routes = self
Module.new do
@@ -763,14 +755,18 @@
RESERVED_OPTIONS = [:host, :protocol, :port, :subdomain, :domain,
:tld_length,
:trailing_slash, :anchor, :params, :only_path,
:script_name,
- :original_script_name]
+ :original_script_name, :relative_url_root]
def optimize_routes_generation?
default_url_options.empty?
end
def find_script_name(options)
- options.delete(:script_name) || relative_url_root || ''
+ options.delete(:script_name) || find_relative_url_root(options) || ''
+ end
+
+ def find_relative_url_root(options)
+ options.delete(:relative_url_root) || relative_url_root
end
def path_for(options, route_name = nil)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_dispatch/routing/url_for.rb
new/lib/action_dispatch/routing/url_for.rb
--- old/lib/action_dispatch/routing/url_for.rb 2015-08-24 20:23:16.000000000
+0200
+++ new/lib/action_dispatch/routing/url_for.rb 2015-11-12 18:06:04.000000000
+0100
@@ -160,7 +160,8 @@
when Symbol
HelperMethodBuilder.url.handle_string_call self, options
when Array
- polymorphic_url(options, options.extract_options!)
+ components = options.dup
+ polymorphic_url(components, components.extract_options!)
when Class
HelperMethodBuilder.url.handle_class_call self, options
else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_dispatch/testing/assertions.rb
new/lib/action_dispatch/testing/assertions.rb
--- old/lib/action_dispatch/testing/assertions.rb 2015-08-24
20:23:16.000000000 +0200
+++ new/lib/action_dispatch/testing/assertions.rb 2015-11-12
18:06:04.000000000 +0100
@@ -12,7 +12,7 @@
include Rails::Dom::Testing::Assertions
def html_document
- @html_document ||= if @response.content_type === Mime::XML
+ @html_document ||= if @response.content_type.to_s =~ /xml$/
Nokogiri::XML::Document.parse(@response.body)
else
Nokogiri::HTML::Document.parse(@response.body)
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 2015-08-24 20:23:16.000000000 +0200
+++ new/lib/action_pack/gem_version.rb 2015-11-12 18:06:04.000000000 +0100
@@ -7,7 +7,7 @@
module VERSION
MAJOR = 4
MINOR = 2
- TINY = 4
+ TINY = 5
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 2015-08-24 20:23:16.000000000 +0200
+++ new/metadata 2015-11-12 18:06:04.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: actionpack
version: !ruby/object:Gem::Version
- version: 4.2.4
+ version: 4.2.5
platform: ruby
authors:
- David Heinemeier Hansson
autorequire:
bindir: bin
cert_chain: []
-date: 2015-08-24 00:00:00.000000000 Z
+date: 2015-11-12 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: activesupport
@@ -16,14 +16,14 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.4
+ version: 4.2.5
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.4
+ version: 4.2.5
- !ruby/object:Gem::Dependency
name: rack
requirement: !ruby/object:Gem::Requirement
@@ -98,28 +98,28 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.4
+ version: 4.2.5
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.4
+ version: 4.2.5
- !ruby/object:Gem::Dependency
name: activemodel
requirement: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.4
+ version: 4.2.5
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.4
+ version: 4.2.5
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,9 +300,8 @@
requirements:
- none
rubyforge_project:
-rubygems_version: 2.4.7
+rubygems_version: 2.4.5.1
signing_key:
specification_version: 4
summary: Web-flow and rendering framework putting the VC in MVC (part of
Rails).
test_files: []
-has_rdoc: