Hello community,
here is the log from the commit of package rubygem-railties-5.2 for openSUSE:Factory checked in at 2019-11-30 10:38:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-railties-5.2 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-railties-5.2.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-railties-5.2"
Sat Nov 30 10:38:35 2019 rev:7 rq:751744 version:5.2.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-railties-5.2/rubygem-railties-5.2.changes 2019-04-01 12:36:31.117860854 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-railties-5.2.new.26869/rubygem-railties-5.2.changes 2019-11-30 10:40:32.920149363 +0100
@@ -1,0 +2,19 @@
+Thu Nov 28 13:08:44 UTC 2019 - Manuel Schnitzer
+
+- updated to version 5.2.4
+
+ * Use original `bundler` environment variables during the process of generating a new rails project.
+
+ *Marco Costa*
+
+ * Allow loading seeds without ActiveJob.
+
+ Fixes #35782
+
+ *Jeremy Weathers*
+
+ * Only force `:async` ActiveJob adapter to `:inline` during seeding.
+
+ *BatedUrGonnaDie*
+
+-------------------------------------------------------------------
Old:
----
railties-5.2.3.gem
New:
----
railties-5.2.4.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-railties-5.2.spec ++++++
--- /var/tmp/diff_new_pack.TJ8LIA/_old 2019-11-30 10:40:33.916149243 +0100
+++ /var/tmp/diff_new_pack.TJ8LIA/_new 2019-11-30 10:40:33.932149241 +0100
@@ -24,7 +24,7 @@
#
Name: rubygem-railties-5.2
-Version: 5.2.3
+Version: 5.2.4
Release: 0
%define mod_name railties
%define mod_full_name %{mod_name}-%{version}
++++++ railties-5.2.3.gem -> railties-5.2.4.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2019-03-28 04:02:35.000000000 +0100
+++ new/CHANGELOG.md 2019-11-27 16:40:23.000000000 +0100
@@ -1,3 +1,20 @@
+## Rails 5.2.4 (November 27, 2019) ##
+
+* Use original `bundler` environment variables during the process of generating a new rails project.
+
+ *Marco Costa*
+
+* Allow loading seeds without ActiveJob.
+
+ Fixes #35782
+
+ *Jeremy Weathers*
+
+* Only force `:async` ActiveJob adapter to `:inline` during seeding.
+
+ *BatedUrGonnaDie*
+
+
## Rails 5.2.3 (March 27, 2019) ##
* Seed database with inline ActiveJob job adapter.
@@ -11,7 +28,16 @@
## Rails 5.2.2.1 (March 11, 2019) ##
-* No changes.
+* Generate random development secrets
+
+ A random development secret is now generated to tmp/development_secret.txt
+
+ This avoids an issue where development mode servers were vulnerable to
+ remote code execution.
+
+ Fixes CVE-2019-5420
+
+ *Eileen M. Uchitelle*, *Aaron Patterson*, *John Hawthorn*
## Rails 5.2.2 (December 04, 2018) ##
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/command/base.rb new/lib/rails/command/base.rb
--- old/lib/rails/command/base.rb 2019-03-28 04:02:35.000000000 +0100
+++ new/lib/rails/command/base.rb 2019-11-27 16:40:23.000000000 +0100
@@ -17,6 +17,10 @@
include Actions
class << self
+ def exit_on_failure? # :nodoc:
+ false
+ end
+
# Returns true when the app is a Rails engine.
def engine?
defined?(ENGINE_ROOT)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rails/engine.rb new/lib/rails/engine.rb
--- old/lib/rails/engine.rb 2019-03-28 04:02:35.000000000 +0100
+++ new/lib/rails/engine.rb 2019-11-27 16:40:23.000000000 +0100
@@ -531,9 +531,9 @@
# Defines the routes for this engine. If a block is given to
# routes, it is appended to the engine.
- def routes
+ def routes(&block)
@routes ||= ActionDispatch::Routing::RouteSet.new_with_config(config)
- @routes.append(&Proc.new) if block_given?
+ @routes.append(&block) if block_given?
@routes
end
@@ -548,7 +548,13 @@
# Blog::Engine.load_seed
def load_seed
seed_file = paths["db/seeds.rb"].existent.first
- with_inline_jobs { load(seed_file) } if seed_file
+ return unless seed_file
+
+ if config.try(:active_job).try!(:queue_adapter) == :async
+ with_inline_jobs { load(seed_file) }
+ else
+ load(seed_file)
+ end
end
# Add configured load paths to Ruby's load path, and remove duplicate entries.
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 2019-03-28 04:02:35.000000000 +0100
+++ new/lib/rails/gem_version.rb 2019-11-27 16:40:23.000000000 +0100
@@ -9,7 +9,7 @@
module VERSION
MAJOR = 5
MINOR = 2
- TINY = 3
+ TINY = 4
PRE = nil
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rails/generators/app_base.rb new/lib/rails/generators/app_base.rb
--- old/lib/rails/generators/app_base.rb 2019-03-28 04:02:35.000000000 +0100
+++ new/lib/rails/generators/app_base.rb 2019-11-27 16:40:23.000000000 +0100
@@ -408,19 +408,21 @@
# its own vendored Thor, which could be a different version. Running both
# things in the same process is a recipe for a night with paracetamol.
#
- # We unset temporary bundler variables to load proper bundler and Gemfile.
- #
# Thanks to James Tucker for the Gem tricks involved in this call.
_bundle_command = Gem.bin_path("bundler", "bundle")
require "bundler"
- Bundler.with_clean_env do
- full_command = %Q["#{Gem.ruby}" "#{_bundle_command}" #{command}]
- if options[:quiet]
- system(full_command, out: File::NULL)
- else
- system(full_command)
- end
+ Bundler.with_original_env do
+ exec_bundle_command(_bundle_command, command)
+ end
+ end
+
+ def exec_bundle_command(bundle_command, command)
+ full_command = %Q["#{Gem.ruby}" "#{bundle_command}" #{command}]
+ if options[:quiet]
+ system(full_command, out: File::NULL)
+ else
+ system(full_command)
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rails/generators/base.rb new/lib/rails/generators/base.rb
--- old/lib/rails/generators/base.rb 2019-03-28 04:02:35.000000000 +0100
+++ new/lib/rails/generators/base.rb 2019-11-27 16:40:23.000000000 +0100
@@ -24,6 +24,10 @@
add_runtime_options!
strict_args_position!
+ def self.exit_on_failure? # :nodoc:
+ false
+ end
+
# Returns the source root for this generator using default_source_root as default.
def self.source_root(path = nil)
@_source_root = path if path
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rails/generators/rails/app/app_generator.rb new/lib/rails/generators/rails/app/app_generator.rb
--- old/lib/rails/generators/rails/app/app_generator.rb 2019-03-28 04:02:35.000000000 +0100
+++ new/lib/rails/generators/rails/app/app_generator.rb 2019-11-27 16:40:23.000000000 +0100
@@ -232,6 +232,7 @@
def tmp
empty_directory_with_keep_file "tmp"
+ empty_directory_with_keep_file "tmp/pids"
empty_directory "tmp/cache"
empty_directory "tmp/cache/assets"
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rails/generators/rails/app/templates/config/puma.rb.tt new/lib/rails/generators/rails/app/templates/config/puma.rb.tt
--- old/lib/rails/generators/rails/app/templates/config/puma.rb.tt 2019-03-28 04:02:35.000000000 +0100
+++ new/lib/rails/generators/rails/app/templates/config/puma.rb.tt 2019-11-27 16:40:23.000000000 +0100
@@ -15,6 +15,9 @@
#
environment ENV.fetch("RAILS_ENV") { "development" }
+# Specifies the `pidfile` that Puma will use.
+pidfile ENV.fetch("PIDFILE") { "tmp/pids/server.pid" }
+
# Specifies the number of `workers` to boot in clustered mode.
# Workers are forked webserver processes. If using threads and workers together
# the concurrency of the application would be max `threads` * `workers`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2019-03-28 04:02:35.000000000 +0100
+++ new/metadata 2019-11-27 16:40:23.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: railties
version: !ruby/object:Gem::Version
- version: 5.2.3
+ version: 5.2.4
platform: ruby
authors:
- David Heinemeier Hansson
autorequire:
bindir: exe
cert_chain: []
-date: 2019-03-28 00:00:00.000000000 Z
+date: 2019-11-27 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: activesupport
@@ -16,28 +16,28 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.3
+ version: 5.2.4
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.3
+ version: 5.2.4
- !ruby/object:Gem::Dependency
name: actionpack
requirement: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.3
+ version: 5.2.4
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.3
+ version: 5.2.4
- !ruby/object:Gem::Dependency
name: rake
requirement: !ruby/object:Gem::Requirement
@@ -92,14 +92,14 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.3
+ version: 5.2.4
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.2.3
+ version: 5.2.4
description: 'Rails internals: application bootup, plugins, generators, and rake tasks.'
email: david@loudthinking.com
executables:
@@ -422,8 +422,8 @@
licenses:
- MIT
metadata:
- source_code_uri: https://github.com/rails/rails/tree/v5.2.3/railties
- changelog_uri: https://github.com/rails/rails/blob/v5.2.3/railties/CHANGELOG.md
+ source_code_uri: https://github.com/rails/rails/tree/v5.2.4/railties
+ changelog_uri: https://github.com/rails/rails/blob/v5.2.4/railties/CHANGELOG.md
post_install_message:
rdoc_options:
- "--exclude"
@@ -441,7 +441,7 @@
- !ruby/object:Gem::Version
version: '0'
requirements: []
-rubygems_version: 3.0.1
+rubygems_version: 3.0.3
signing_key:
specification_version: 4
summary: Tools for creating, working with, and running Rails applications.