Hello community,
here is the log from the commit of package rubygem-railties-5.2 for
openSUSE:Factory checked in at 2019-01-21 10:52:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-railties-5.2 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-railties-5.2.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-railties-5.2"
Mon Jan 21 10:52:37 2019 rev:4 rq:665729 version:5.2.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-railties-5.2/rubygem-railties-5.2.changes
2018-12-06 12:17:43.477493537 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-railties-5.2.new.28833/rubygem-railties-5.2.changes
2019-01-21 10:52:41.303849403 +0100
@@ -1,0 +2,16 @@
+Sat Dec 8 16:29:36 UTC 2018 - Stephan Kulow <[email protected]>
+
+- updated to version 5.2.2
+ see installed CHANGELOG.md
+
+ ## Rails 5.2.2 (December 04, 2018) ##
+
+ * Disable content security policy for mailer previews.
+
+ *Dylan Reile*
+
+ * Log the remote IP address of clients behind a proxy.
+
+ *Atul Bhosale*
+
+-------------------------------------------------------------------
Old:
----
railties-5.2.1.1.gem
New:
----
railties-5.2.2.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-railties-5.2.spec ++++++
--- /var/tmp/diff_new_pack.NoXU8O/_old 2019-01-21 10:52:43.899846261 +0100
+++ /var/tmp/diff_new_pack.NoXU8O/_new 2019-01-21 10:52:43.907846251 +0100
@@ -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-railties-5.2
-Version: 5.2.1.1
+Version: 5.2.2
Release: 0
%define mod_name railties
%define mod_full_name %{mod_name}-%{version}
@@ -36,10 +36,10 @@
%endif
# /MANUAL
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: ruby-macros >= 5
BuildRequires: %{ruby >= 2.2.2}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{rubygem rdoc > 3.10}
+BuildRequires: ruby-macros >= 5
BuildRequires: update-alternatives
Url: http://rubyonrails.org
Source: https://rubygems.org/gems/%{mod_full_name}.gem
++++++ railties-5.2.1.1.gem -> railties-5.2.2.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2018-11-27 21:12:30.000000000 +0100
+++ new/CHANGELOG.md 2018-12-04 19:12:15.000000000 +0100
@@ -1,3 +1,14 @@
+## Rails 5.2.2 (December 04, 2018) ##
+
+* Disable content security policy for mailer previews.
+
+ *Dylan Reile*
+
+* Log the remote IP address of clients behind a proxy.
+
+ *Atul Bhosale*
+
+
## Rails 5.2.1.1 (November 27, 2018) ##
* 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/rails/application/configuration.rb
new/lib/rails/application/configuration.rb
--- old/lib/rails/application/configuration.rb 2018-11-27 21:12:30.000000000
+0100
+++ new/lib/rails/application/configuration.rb 2018-12-04 19:12:15.000000000
+0100
@@ -191,7 +191,7 @@
"Please note that YAML must be consistently indented using
spaces. Tabs are not allowed. " \
"Error: #{e.message}"
rescue => e
- raise e, "Cannot load
`Rails.application.database_configuration`:\n#{e.message}", e.backtrace
+ raise e, "Cannot load database configuration:\n#{e.message}",
e.backtrace
end
def colorize_logging
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rails/gem_version.rb new/lib/rails/gem_version.rb
--- old/lib/rails/gem_version.rb 2018-11-27 21:12:30.000000000 +0100
+++ new/lib/rails/gem_version.rb 2018-12-04 19:12:15.000000000 +0100
@@ -9,8 +9,8 @@
module VERSION
MAJOR = 5
MINOR = 2
- TINY = 1
- PRE = "1"
+ TINY = 2
+ PRE = nil
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/lib/rails/generators/rails/plugin/templates/%name%.gemspec.tt
new/lib/rails/generators/rails/plugin/templates/%name%.gemspec.tt
--- old/lib/rails/generators/rails/plugin/templates/%name%.gemspec.tt
2018-11-27 21:12:30.000000000 +0100
+++ new/lib/rails/generators/rails/plugin/templates/%name%.gemspec.tt
2018-12-04 19:12:15.000000000 +0100
@@ -4,21 +4,30 @@
require "<%= namespaced_name %>/version"
# Describe your gem and declare its dependencies:
-Gem::Specification.new do |s|
- s.name = "<%= name %>"
- s.version = <%= camelized_modules %>::VERSION
- s.authors = ["<%= author %>"]
- s.email = ["<%= email %>"]
- s.homepage = "TODO"
- s.summary = "TODO: Summary of <%= camelized_modules %>."
- s.description = "TODO: Description of <%= camelized_modules %>."
- s.license = "MIT"
+Gem::Specification.new do |spec|
+ spec.name = "<%= name %>"
+ spec.version = <%= camelized_modules %>::VERSION
+ spec.authors = ["<%= author %>"]
+ spec.email = ["<%= email %>"]
+ spec.homepage = "TODO"
+ spec.summary = "TODO: Summary of <%= camelized_modules %>."
+ spec.description = "TODO: Description of <%= camelized_modules %>."
+ spec.license = "MIT"
- s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile",
"README.md"]
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the
'allowed_push_host'
+ # to allow pushing to a single host or delete this section to allow pushing
to any host.
+ if spec.respond_to?(:metadata)
+ spec.metadata["allowed_push_host"] = "TODO: Set to
'http://mygemserver.com'"
+ else
+ raise "RubyGems 2.0 or newer is required to protect against " \
+ "public gem pushes."
+ end
- <%= '# ' if options.dev? || options.edge? -%>s.add_dependency "rails", "<%=
Array(rails_version_specifier).join('", "') %>"
+ spec.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile",
"README.md"]
+
+ <%= '# ' if options.dev? || options.edge? -%>spec.add_dependency "rails",
"<%= Array(rails_version_specifier).join('", "') %>"
<% unless options[:skip_active_record] -%>
- s.add_development_dependency "<%= gem_for_database[0] %>"
+ spec.add_development_dependency "<%= gem_for_database[0] %>"
<% end -%>
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/lib/rails/generators/test_unit/scaffold/templates/system_test.rb.tt
new/lib/rails/generators/test_unit/scaffold/templates/system_test.rb.tt
--- old/lib/rails/generators/test_unit/scaffold/templates/system_test.rb.tt
2018-11-27 21:12:30.000000000 +0100
+++ new/lib/rails/generators/test_unit/scaffold/templates/system_test.rb.tt
2018-12-04 19:12:15.000000000 +0100
@@ -16,7 +16,7 @@
click_on "New <%= class_name.titleize %>"
<%- attributes_hash.each do |attr, value| -%>
- fill_in "<%= attr.humanize.titleize %>", with: <%= value %>
+ fill_in "<%= attr.humanize %>", with: <%= value %>
<%- end -%>
click_on "Create <%= human_name %>"
@@ -29,7 +29,7 @@
click_on "Edit", match: :first
<%- attributes_hash.each do |attr, value| -%>
- fill_in "<%= attr.humanize.titleize %>", with: <%= value %>
+ fill_in "<%= attr.humanize %>", with: <%= value %>
<%- end -%>
click_on "Update <%= human_name %>"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rails/mailers_controller.rb
new/lib/rails/mailers_controller.rb
--- old/lib/rails/mailers_controller.rb 2018-11-27 21:12:30.000000000 +0100
+++ new/lib/rails/mailers_controller.rb 2018-12-04 19:12:15.000000000 +0100
@@ -10,6 +10,8 @@
helper_method :part_query, :locale_query
+ content_security_policy(false)
+
def index
@previews = ActionMailer::Preview.all
@page_title = "Mailer Previews"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rails/rack/logger.rb new/lib/rails/rack/logger.rb
--- old/lib/rails/rack/logger.rb 2018-11-27 21:12:30.000000000 +0100
+++ new/lib/rails/rack/logger.rb 2018-12-04 19:12:15.000000000 +0100
@@ -50,7 +50,7 @@
'Started %s "%s" for %s at %s' % [
request.request_method,
request.filtered_path,
- request.ip,
+ request.remote_ip,
Time.now.to_default_s ]
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2018-11-27 21:12:30.000000000 +0100
+++ new/metadata 2018-12-04 19:12:15.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: railties
version: !ruby/object:Gem::Version
- version: 5.2.1.1
+ version: 5.2.2
platform: ruby
authors:
- David Heinemeier Hansson
autorequire:
bindir: exe
cert_chain: []
-date: 2018-11-27 00:00:00.000000000 Z
+date: 2018-12-04 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: activesupport
@@ -16,28 +16,28 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.1.1
+ version: 5.2.2
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.1.1
+ version: 5.2.2
- !ruby/object:Gem::Dependency
name: actionpack
requirement: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.1.1
+ version: 5.2.2
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.1.1
+ version: 5.2.2
- !ruby/object:Gem::Dependency
name: rake
requirement: !ruby/object:Gem::Requirement
@@ -92,14 +92,14 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.1.1
+ version: 5.2.2
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.1.1
+ version: 5.2.2
description: 'Rails internals: application bootup, plugins, generators, and
rake tasks.'
email: [email protected]
executables:
@@ -421,8 +421,8 @@
licenses:
- MIT
metadata:
- source_code_uri: https://github.com/rails/rails/tree/v5.2.1.1/railties
- changelog_uri:
https://github.com/rails/rails/blob/v5.2.1.1/railties/CHANGELOG.md
+ source_code_uri: https://github.com/rails/rails/tree/v5.2.2/railties
+ changelog_uri:
https://github.com/rails/rails/blob/v5.2.2/railties/CHANGELOG.md
post_install_message:
rdoc_options:
- "--exclude"