Hello community,
here is the log from the commit of package rubygem-actionpack-4_2 for
openSUSE:Factory checked in at 2016-03-18 21:40:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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
2016-03-07 13:27:55.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-actionpack-4_2.new/rubygem-actionpack-4_2.changes
2016-03-18 21:40:58.000000000 +0100
@@ -1,0 +2,10 @@
+Tue Mar 8 05:29:36 UTC 2016 - [email protected]
+
+- updated to version 4.2.6
+ see installed CHANGELOG.md
+
+ ## Rails 4.2.6 (March 07, 2016) ##
+
+ * No changes.
+
+-------------------------------------------------------------------
Old:
----
actionpack-4.2.5.2.gem
New:
----
actionpack-4.2.6.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-actionpack-4_2.spec ++++++
--- /var/tmp/diff_new_pack.lGaWkh/_old 2016-03-18 21:40:59.000000000 +0100
+++ /var/tmp/diff_new_pack.lGaWkh/_new 2016-03-18 21:40:59.000000000 +0100
@@ -24,7 +24,7 @@
#
Name: rubygem-actionpack-4_2
-Version: 4.2.5.2
+Version: 4.2.6
Release: 0
%define mod_name actionpack
%define mod_full_name %{mod_name}-%{version}
++++++ actionpack-4.2.5.2.gem -> actionpack-4.2.6.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2016-02-29 20:16:20.000000000 +0100
+++ new/CHANGELOG.md 2016-03-07 23:31:31.000000000 +0100
@@ -1,3 +1,8 @@
+## Rails 4.2.6 (March 07, 2016) ##
+
+* No changes.
+
+
## Rails 4.2.5.2 (February 26, 2016) ##
* Do not allow render with unpermitted parameter.
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/middleware/static.rb
new/lib/action_dispatch/middleware/static.rb
--- old/lib/action_dispatch/middleware/static.rb 2016-02-29
20:16:20.000000000 +0100
+++ new/lib/action_dispatch/middleware/static.rb 2016-03-07
23:31:31.000000000 +0100
@@ -22,7 +22,7 @@
def match?(path)
path = URI.parser.unescape(path)
- return false unless path.valid_encoding?
+ return false unless valid_path?(path)
paths = [path, "#{path}#{ext}", "#{path}/index#{ext}"].map { |v|
Rack::Utils.clean_path_info v
@@ -86,6 +86,10 @@
false
end
end
+
+ def valid_path?(path)
+ path.valid_encoding? && !path.include?("\0")
+ end
end
# This middleware will attempt to return the contents of a file's body from
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 2016-02-29
20:16:20.000000000 +0100
+++ new/lib/action_dispatch/routing/route_set.rb 2016-03-07
23:31:31.000000000 +0100
@@ -469,9 +469,11 @@
return if MountedHelpers.method_defined?(name)
routes = self
+ helpers = routes.url_helpers
+
MountedHelpers.class_eval do
define_method "_#{name}" do
- RoutesProxy.new(routes, _routes_context)
+ RoutesProxy.new(routes, _routes_context, helpers)
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_dispatch/routing/routes_proxy.rb
new/lib/action_dispatch/routing/routes_proxy.rb
--- old/lib/action_dispatch/routing/routes_proxy.rb 2016-02-29
20:16:20.000000000 +0100
+++ new/lib/action_dispatch/routing/routes_proxy.rb 2016-03-07
23:31:31.000000000 +0100
@@ -8,8 +8,9 @@
attr_accessor :scope, :routes
alias :_routes :routes
- def initialize(routes, scope)
+ def initialize(routes, scope, helpers)
@routes, @scope = routes, scope
+ @helpers = helpers
end
def url_options
@@ -19,16 +20,16 @@
end
def respond_to?(method, include_private = false)
- super || routes.url_helpers.respond_to?(method)
+ super || @helpers.respond_to?(method)
end
def method_missing(method, *args)
- if routes.url_helpers.respond_to?(method)
+ if @helpers.respond_to?(method)
self.class.class_eval <<-RUBY, __FILE__, __LINE__ + 1
def #{method}(*args)
options = args.extract_options!
args << url_options.merge((options || {}).symbolize_keys)
- routes.url_helpers.#{method}(*args)
+ @helpers.#{method}(*args)
end
RUBY
send(method, *args)
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 2016-02-29 20:16:20.000000000 +0100
+++ new/lib/action_pack/gem_version.rb 2016-03-07 23:31:31.000000000 +0100
@@ -7,8 +7,8 @@
module VERSION
MAJOR = 4
MINOR = 2
- TINY = 5
- PRE = "2"
+ TINY = 6
+ PRE = nil
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2016-02-29 20:16:20.000000000 +0100
+++ new/metadata 2016-03-07 23:31:31.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: actionpack
version: !ruby/object:Gem::Version
- version: 4.2.5.2
+ version: 4.2.6
platform: ruby
authors:
- David Heinemeier Hansson
autorequire:
bindir: bin
cert_chain: []
-date: 2016-02-29 00:00:00.000000000 Z
+date: 2016-03-07 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: activesupport
@@ -16,14 +16,14 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.5.2
+ version: 4.2.6
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.5.2
+ version: 4.2.6
- !ruby/object:Gem::Dependency
name: rack
requirement: !ruby/object:Gem::Requirement
@@ -98,28 +98,28 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.5.2
+ version: 4.2.6
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.5.2
+ version: 4.2.6
- !ruby/object:Gem::Dependency
name: activemodel
requirement: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.5.2
+ version: 4.2.6
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 4.2.5.2
+ version: 4.2.6
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]