Mailinglist Archive: opensuse-commit (1906 mails)

< Previous Next >
commit rubygem-actionpack-5.2 for openSUSE:Factory
Hello community,

here is the log from the commit of package rubygem-actionpack-5.2 for
openSUSE:Factory checked in at 2019-04-01 12:35:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-actionpack-5.2 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-actionpack-5.2.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-actionpack-5.2"

Mon Apr 1 12:35:46 2019 rev:6 rq:689677 version:5.2.3

Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-actionpack-5.2/rubygem-actionpack-5.2.changes
2019-03-14 15:03:49.235632002 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-actionpack-5.2.new.25356/rubygem-actionpack-5.2.changes
2019-04-01 12:35:47.609839570 +0200
@@ -1,0 +2,22 @@
+Fri Mar 29 05:49:58 UTC 2019 - Stephan Kulow <coolo@xxxxxxxx>
+
+- updated to version 5.2.3
+ see installed CHANGELOG.md
+
+ ## Rails 5.2.3 (March 27, 2019) ##
+
+ * Allow using combine the Cache Control `public` and `no-cache` headers.
+
+ Before this change, even if `public` was specified for Cache Control
header,
+ it was excluded when `no-cache` was included. This fixed to keep `public`
+ header as is.
+
+ Fixes #34780.
+
+ *Yuji Yaginuma*
+
+ * Allow `nil` params for `ActionController::TestCase`.
+
+ *Ryo Nakamura*
+
+-------------------------------------------------------------------

Old:
----
actionpack-5.2.2.1.gem

New:
----
actionpack-5.2.3.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-actionpack-5.2.spec ++++++
--- /var/tmp/diff_new_pack.o2hqOm/_old 2019-04-01 12:35:48.621840064 +0200
+++ /var/tmp/diff_new_pack.o2hqOm/_new 2019-04-01 12:35:48.621840064 +0200
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


@@ -24,7 +24,7 @@
#

Name: rubygem-actionpack-5.2
-Version: 5.2.2.1
+Version: 5.2.3
Release: 0
%define mod_name actionpack
%define mod_full_name %{mod_name}-%{version}
@@ -36,9 +36,9 @@
%endif
# /MANUAL
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: ruby-macros >= 5
BuildRequires: %{ruby >= 2.2.2}
BuildRequires: %{rubygem gem2rpm}
+BuildRequires: ruby-macros >= 5
Url: http://rubyonrails.org
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml

++++++ actionpack-5.2.2.1.gem -> actionpack-5.2.3.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2019-03-13 17:47:18.000000000 +0100
+++ new/CHANGELOG.md 2019-03-28 04:02:01.000000000 +0100
@@ -1,3 +1,20 @@
+## Rails 5.2.3 (March 27, 2019) ##
+
+* Allow using combine the Cache Control `public` and `no-cache` headers.
+
+ Before this change, even if `public` was specified for Cache Control
header,
+ it was excluded when `no-cache` was included. This fixed to keep `public`
+ header as is.
+
+ Fixes #34780.
+
+ *Yuji Yaginuma*
+
+* Allow `nil` params for `ActionController::TestCase`.
+
+ *Ryo Nakamura*
+
+
## Rails 5.2.2.1 (March 11, 2019) ##

* No changes.
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_controller/test_case.rb
new/lib/action_controller/test_case.rb
--- old/lib/action_controller/test_case.rb 2019-03-13 17:47:18.000000000
+0100
+++ new/lib/action_controller/test_case.rb 2019-03-28 04:02:01.000000000
+0100
@@ -457,7 +457,7 @@
# respectively which will make tests more expressive.
#
# Note that the request method is not verified.
- def process(action, method: "GET", params: {}, session: nil, body: nil,
flash: {}, format: nil, xhr: false, as: nil)
+ def process(action, method: "GET", params: nil, session: nil, body: nil,
flash: {}, format: nil, xhr: false, as: nil)
check_required_ivars

http_method = method.to_s.upcase
@@ -485,7 +485,7 @@
format ||= as
end

- parameters = params.symbolize_keys
+ parameters = (params || {}).symbolize_keys

if format
parameters[:format] = format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_dispatch/http/cache.rb
new/lib/action_dispatch/http/cache.rb
--- old/lib/action_dispatch/http/cache.rb 2019-03-13 17:47:18.000000000
+0100
+++ new/lib/action_dispatch/http/cache.rb 2019-03-28 04:02:01.000000000
+0100
@@ -197,10 +197,12 @@
if control.empty?
# Let middleware handle default behavior
elsif control[:no_cache]
- self._cache_control = NO_CACHE
- if control[:extras]
- self._cache_control = _cache_control + ",
#{control[:extras].join(', ')}"
- end
+ options = []
+ options << PUBLIC if control[:public]
+ options << NO_CACHE
+ options.concat(control[:extras]) if control[:extras]
+
+ self._cache_control = options.join(", ")
else
extras = control[:extras]
max_age = control[:max_age]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_dispatch/http/response.rb
new/lib/action_dispatch/http/response.rb
--- old/lib/action_dispatch/http/response.rb 2019-03-13 17:47:18.000000000
+0100
+++ new/lib/action_dispatch/http/response.rb 2019-03-28 04:02:01.000000000
+0100
@@ -82,6 +82,7 @@
SET_COOKIE = "Set-Cookie".freeze
LOCATION = "Location".freeze
NO_CONTENT_CODES = [100, 101, 102, 204, 205, 304]
+ CONTENT_TYPE_PARSER =
/\A(?<type>[^;\s]+)?(?:.*;\s*charset=(?<quote>"?)(?<charset>[^;\s]+)\k<quote>)?/
# :nodoc:

cattr_accessor :default_charset, default: "utf-8"
cattr_accessor :default_headers
@@ -409,10 +410,8 @@
NullContentTypeHeader = ContentTypeHeader.new nil, nil

def parse_content_type(content_type)
- if content_type
- type, charset = content_type.split(/;\s*charset=/)
- type = nil if type && type.empty?
- ContentTypeHeader.new(type, charset)
+ if content_type && match = CONTENT_TYPE_PARSER.match(content_type)
+ ContentTypeHeader.new(match[:type], match[:charset])
else
NullContentTypeHeader
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/action_dispatch/journey/path/pattern.rb
new/lib/action_dispatch/journey/path/pattern.rb
--- old/lib/action_dispatch/journey/path/pattern.rb 2019-03-13
17:47:18.000000000 +0100
+++ new/lib/action_dispatch/journey/path/pattern.rb 2019-03-28
04:02:01.000000000 +0100
@@ -119,7 +119,7 @@

class UnanchoredRegexp < AnchoredRegexp # :nodoc:
def accept(node)
- %r{\A#{visit node}}
+ %r{\A#{visit node}(?:\b|\Z)}
end
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 2019-03-13 17:47:18.000000000 +0100
+++ new/lib/action_pack/gem_version.rb 2019-03-28 04:02:01.000000000 +0100
@@ -9,8 +9,8 @@
module VERSION
MAJOR = 5
MINOR = 2
- TINY = 2
- PRE = "1"
+ TINY = 3
+ 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 2019-03-13 17:47:18.000000000 +0100
+++ new/metadata 2019-03-28 04:02:01.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: actionpack
version: !ruby/object:Gem::Version
- version: 5.2.2.1
+ version: 5.2.3
platform: ruby
authors:
- David Heinemeier Hansson
autorequire:
bindir: bin
cert_chain: []
-date: 2019-03-13 00:00:00.000000000 Z
+date: 2019-03-28 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: activesupport
@@ -16,14 +16,14 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.2.1
+ version: 5.2.3
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.2.1
+ version: 5.2.3
- !ruby/object:Gem::Dependency
name: rack
requirement: !ruby/object:Gem::Requirement
@@ -92,28 +92,28 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.2.1
+ version: 5.2.3
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.2.1
+ version: 5.2.3
- !ruby/object:Gem::Dependency
name: activemodel
requirement: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.2.1
+ version: 5.2.3
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.2.1
+ version: 5.2.3
description: Web apps on Rails. Simple, battle-tested conventions for building
and
testing MVC web applications. Works with any Rack-compatible server.
email: david@xxxxxxxxxxxxxxxx
@@ -293,8 +293,8 @@
licenses:
- MIT
metadata:
- source_code_uri: https://github.com/rails/rails/tree/v5.2.2.1/actionpack
- changelog_uri:
https://github.com/rails/rails/blob/v5.2.2.1/actionpack/CHANGELOG.md
+ source_code_uri: https://github.com/rails/rails/tree/v5.2.3/actionpack
+ changelog_uri:
https://github.com/rails/rails/blob/v5.2.3/actionpack/CHANGELOG.md
post_install_message:
rdoc_options: []
require_paths:


< Previous Next >
This Thread
  • No further messages