Hello community,
here is the log from the commit of package rubygem-actionpack-5_1 for
openSUSE:Factory checked in at 2018-07-18 22:47:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-actionpack-5_1 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-actionpack-5_1.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-actionpack-5_1"
Wed Jul 18 22:47:54 2018 rev:4 rq:620975 version:5.1.6
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-actionpack-5_1/rubygem-actionpack-5_1.changes
2018-02-18 11:44:02.485988518 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-actionpack-5_1.new/rubygem-actionpack-5_1.changes
2018-07-18 22:47:57.836149763 +0200
@@ -1,0 +2,12 @@
+Fri Mar 30 04:29:21 UTC 2018 - [email protected]
+
+- updated to version 5.1.6
+ see installed CHANGELOG.md
+
+ ## Rails 5.1.6 (March 29, 2018) ##
+
+ * Check exclude before flagging cookies as secure.
+
+ *Catherine Khuu*
+
+-------------------------------------------------------------------
Old:
----
actionpack-5.1.5.gem
New:
----
actionpack-5.1.6.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-actionpack-5_1.spec ++++++
--- /var/tmp/diff_new_pack.X3Itli/_old 2018-07-18 22:47:59.816143199 +0200
+++ /var/tmp/diff_new_pack.X3Itli/_new 2018-07-18 22:47:59.824143172 +0200
@@ -24,7 +24,7 @@
#
Name: rubygem-actionpack-5_1
-Version: 5.1.5
+Version: 5.1.6
Release: 0
%define mod_name actionpack
%define mod_full_name %{mod_name}-%{version}
++++++ actionpack-5.1.5.gem -> actionpack-5.1.6.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2018-02-14 21:00:41.000000000 +0100
+++ new/CHANGELOG.md 2018-03-29 20:27:13.000000000 +0200
@@ -1,3 +1,10 @@
+## Rails 5.1.6 (March 29, 2018) ##
+
+* Check exclude before flagging cookies as secure.
+
+ *Catherine Khuu*
+
+
## Rails 5.1.5 (February 14, 2018) ##
* Fix optimized url helpers when using relative url root
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/middleware/ssl.rb
new/lib/action_dispatch/middleware/ssl.rb
--- old/lib/action_dispatch/middleware/ssl.rb 2018-02-14 21:00:41.000000000
+0100
+++ new/lib/action_dispatch/middleware/ssl.rb 2018-03-29 20:27:14.000000000
+0200
@@ -9,6 +9,8 @@
# (e.g. `redirect: { host: "secure.widgets.com", port: 8080 }`), or set
# `redirect: false` to disable this feature.
#
+ # Cookies will not be flagged as secure for excluded requests.
+ #
# 2. Secure cookies: Sets the `secure` flag on cookies to tell browsers
they
# mustn't be sent along with http:// requests. Enabled by default. Set
# `config.ssl_options` with `secure_cookies: false` to disable this
feature.
@@ -65,7 +67,7 @@
if request.ssl?
@app.call(env).tap do |status, headers, body|
set_hsts_header! headers
- flag_cookies_as_secure! headers if @secure_cookies
+ flag_cookies_as_secure! headers if @secure_cookies &&
[email protected](request)
end
else
return redirect_to_https request unless @exclude.call(request)
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 2018-02-14 21:00:41.000000000
+0100
+++ new/lib/action_dispatch/routing/mapper.rb 2018-03-29 20:27:14.000000000
+0200
@@ -652,6 +652,7 @@
def define_generate_prefix(app, name)
_route = @set.named_routes.get name
_routes = @set
+ _url_helpers = @set.url_helpers
script_namer = ->(options) do
prefix_options = options.slice(*_route.segment_keys)
@@ -663,7 +664,7 @@
# 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)
+ _url_helpers.send("#{name}_path", prefix_options)
end
app.routes.define_mounted_helper(name, script_namer)
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 2018-02-14 21:00:41.000000000 +0100
+++ new/lib/action_pack/gem_version.rb 2018-03-29 20:27:14.000000000 +0200
@@ -7,7 +7,7 @@
module VERSION
MAJOR = 5
MINOR = 1
- TINY = 5
+ TINY = 6
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 2018-02-14 21:00:41.000000000 +0100
+++ new/metadata 2018-03-29 20:27:13.000000000 +0200
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: actionpack
version: !ruby/object:Gem::Version
- version: 5.1.5
+ version: 5.1.6
platform: ruby
authors:
- David Heinemeier Hansson
autorequire:
bindir: bin
cert_chain: []
-date: 2018-02-14 00:00:00.000000000 Z
+date: 2018-03-29 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: activesupport
@@ -16,14 +16,14 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.5
+ version: 5.1.6
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.5
+ version: 5.1.6
- !ruby/object:Gem::Dependency
name: rack
requirement: !ruby/object:Gem::Requirement
@@ -92,28 +92,28 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.5
+ version: 5.1.6
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.5
+ version: 5.1.6
- !ruby/object:Gem::Dependency
name: activemodel
requirement: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.5
+ version: 5.1.6
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.5
+ version: 5.1.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]
@@ -287,8 +287,8 @@
licenses:
- MIT
metadata:
- source_code_uri: https://github.com/rails/rails/tree/v5.1.5/actionpack
- changelog_uri:
https://github.com/rails/rails/blob/v5.1.5/actionpack/CHANGELOG.md
+ source_code_uri: https://github.com/rails/rails/tree/v5.1.6/actionpack
+ changelog_uri:
https://github.com/rails/rails/blob/v5.1.6/actionpack/CHANGELOG.md
post_install_message:
rdoc_options: []
require_paths:
@@ -306,7 +306,7 @@
requirements:
- none
rubyforge_project:
-rubygems_version: 2.7.3
+rubygems_version: 2.6.14
signing_key:
specification_version: 4
summary: Web-flow and rendering framework putting the VC in MVC (part of
Rails).