Hello community, here is the log from the commit of package rubygem-railties-4_2 for openSUSE:Factory checked in at 2017-03-21 22:50:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-railties-4_2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-railties-4_2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-railties-4_2" Tue Mar 21 22:50:11 2017 rev:11 rq:479670 version:4.2.8 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-railties-4_2/rubygem-railties-4_2.changes 2016-08-25 09:53:51.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-railties-4_2.new/rubygem-railties-4_2.changes 2017-03-21 22:50:13.417061310 +0100 @@ -1,0 +2,29 @@ +Wed Feb 22 05:39:59 UTC 2017 - co...@suse.com + +- updated to version 4.2.8 + see installed CHANGELOG.md + + ## Rails 4.2.8 (February 21, 2017) ## + + * Add `config/initializers/to_time_preserves_timezone.rb`, which tells + Active Support to preserve the receiver's timezone when calling `to_time`. + This matches the new behavior that will be part of Ruby 2.4. + + Fixes #24617. + + *Andrew White* + + * Reset a new session directly after its creation in ActionDispatch::IntegrationTest#open_session + + Fixes Issue #22742 + + *Tawan Sierek* + + * Run `before_configuration` callbacks as soon as application constant + inherits from `Rails::Application`. + + Fixes #19880. + + *Yuji Yaginuma* + +------------------------------------------------------------------- Old: ---- railties-4.2.7.1.gem New: ---- railties-4.2.8.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-railties-4_2.spec ++++++ --- /var/tmp/diff_new_pack.6ecoLJ/_old 2017-03-21 22:50:14.300936355 +0100 +++ /var/tmp/diff_new_pack.6ecoLJ/_new 2017-03-21 22:50:14.304935790 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-railties-4_2 # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ # Name: rubygem-railties-4_2 -Version: 4.2.7.1 +Version: 4.2.8 Release: 0 %define mod_name railties %define mod_full_name %{mod_name}-%{version} ++++++ railties-4.2.7.1.gem -> railties-4.2.8.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md 2016-08-11 00:25:30.000000000 +0200 +++ new/CHANGELOG.md 2017-02-21 17:07:02.000000000 +0100 @@ -1,3 +1,27 @@ +## Rails 4.2.8 (February 21, 2017) ## + +* Add `config/initializers/to_time_preserves_timezone.rb`, which tells + Active Support to preserve the receiver's timezone when calling `to_time`. + This matches the new behavior that will be part of Ruby 2.4. + + Fixes #24617. + + *Andrew White* + +* Reset a new session directly after its creation in ActionDispatch::IntegrationTest#open_session + + Fixes Issue #22742 + + *Tawan Sierek* + +* Run `before_configuration` callbacks as soon as application constant + inherits from `Rails::Application`. + + Fixes #19880. + + *Yuji Yaginuma* + + ## Rails 4.2.7 (July 12, 2016) ## * Do not run `bundle install` when generating a new plugin. 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 2016-08-11 00:25:30.000000000 +0200 +++ new/lib/rails/application/configuration.rb 2017-02-21 17:07:02.000000000 +0100 @@ -202,6 +202,10 @@ } end end + + def respond_to_missing?(symbol, *) + true + end end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rails/application.rb new/lib/rails/application.rb --- old/lib/rails/application.rb 2016-08-11 00:25:30.000000000 +0200 +++ new/lib/rails/application.rb 2017-02-21 17:07:02.000000000 +0100 @@ -90,6 +90,7 @@ super Rails.app_class = base add_lib_to_load_path!(find_root(base.called_from)) + ActiveSupport.run_load_hooks(:before_configuration, base) end def instance @@ -145,7 +146,6 @@ def run_load_hooks! # :nodoc: return self if @ran_load_hooks @ran_load_hooks = true - ActiveSupport.run_load_hooks(:before_configuration, self) @initial_variable_values.each do |variable_name, value| if INITIAL_VARIABLES.include?(variable_name) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rails/commands/dbconsole.rb new/lib/rails/commands/dbconsole.rb --- old/lib/rails/commands/dbconsole.rb 2016-08-11 00:25:30.000000000 +0200 +++ new/lib/rails/commands/dbconsole.rb 2017-02-21 17:07:02.000000000 +0100 @@ -178,7 +178,7 @@ found = commands.detect do |cmd| dirs_on_path.detect do |path| full_path_command = File.join(path, cmd) - File.executable? full_path_command + File.file?(full_path_command) && File.executable?(full_path_command) end end 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 2016-08-11 00:25:30.000000000 +0200 +++ new/lib/rails/gem_version.rb 2017-02-21 17:07:02.000000000 +0100 @@ -7,8 +7,8 @@ module VERSION MAJOR = 4 MINOR = 2 - TINY = 7 - PRE = "1" + TINY = 8 + PRE = nil STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".") end 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 2016-08-11 00:25:30.000000000 +0200 +++ new/lib/rails/generators/app_base.rb 2017-02-21 17:07:02.000000000 +0100 @@ -68,7 +68,7 @@ class_option :skip_test_unit, type: :boolean, aliases: '-T', default: false, desc: 'Skip Test::Unit files' - class_option :rc, type: :string, default: false, + class_option :rc, type: :string, default: nil, desc: "Path to file containing extra configuration options for rails command" class_option :no_rc, type: :boolean, default: false, 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 2016-08-11 00:25:30.000000000 +0200 +++ new/lib/rails/generators/rails/app/app_generator.rb 2017-02-21 17:07:02.000000000 +0100 @@ -88,12 +88,17 @@ def config_when_updating cookie_serializer_config_exist = File.exist?('config/initializers/cookies_serializer.rb') + to_time_preserves_timezone_config_exist = File.exist?('config/initializers/to_time_preserves_timezone.rb') config unless cookie_serializer_config_exist gsub_file 'config/initializers/cookies_serializer.rb', /json/, 'marshal' end + + unless to_time_preserves_timezone_config_exist + remove_file 'config/initializers/to_time_preserves_timezone.rb' + end end def database_yml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rails/generators/rails/app/templates/config/initializers/to_time_preserves_timezone.rb new/lib/rails/generators/rails/app/templates/config/initializers/to_time_preserves_timezone.rb --- old/lib/rails/generators/rails/app/templates/config/initializers/to_time_preserves_timezone.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/lib/rails/generators/rails/app/templates/config/initializers/to_time_preserves_timezone.rb 2017-02-21 17:07:03.000000000 +0100 @@ -0,0 +1,10 @@ +# Be sure to restart your server when you modify this file. + +# Preserve the timezone of the receiver when calling to `to_time`. +# Ruby 2.4 will change the behavior of `to_time` to preserve the timezone +# when converting to an instance of `Time` instead of the previous behavior +# of converting to the local system timezone. +# +# Rails 5.0 introduced this config option so that apps made with earlier +# versions of Rails are not affected when upgrading. +ActiveSupport.to_time_preserves_timezone = true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2016-08-11 00:25:30.000000000 +0200 +++ new/metadata 2017-02-21 17:07:02.000000000 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: railties version: !ruby/object:Gem::Version - version: 4.2.7.1 + version: 4.2.8 platform: ruby authors: - David Heinemeier Hansson autorequire: bindir: bin cert_chain: [] -date: 2016-08-10 00:00:00.000000000 Z +date: 2017-02-21 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: activesupport @@ -16,28 +16,28 @@ requirements: - - '=' - !ruby/object:Gem::Version - version: 4.2.7.1 + version: 4.2.8 type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - '=' - !ruby/object:Gem::Version - version: 4.2.7.1 + version: 4.2.8 - !ruby/object:Gem::Dependency name: actionpack requirement: !ruby/object:Gem::Requirement requirements: - - '=' - !ruby/object:Gem::Version - version: 4.2.7.1 + version: 4.2.8 type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - '=' - !ruby/object:Gem::Version - version: 4.2.7.1 + version: 4.2.8 - !ruby/object:Gem::Dependency name: rake requirement: !ruby/object:Gem::Requirement @@ -78,14 +78,14 @@ requirements: - - '=' - !ruby/object:Gem::Version - version: 4.2.7.1 + version: 4.2.8 type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - '=' - !ruby/object:Gem::Version - version: 4.2.7.1 + version: 4.2.8 description: 'Rails internals: application bootup, plugins, generators, and rake tasks.' email: da...@loudthinking.com executables: @@ -199,6 +199,7 @@ - lib/rails/generators/rails/app/templates/config/initializers/inflections.rb - lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb - lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt +- lib/rails/generators/rails/app/templates/config/initializers/to_time_preserves_timezone.rb - lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt - lib/rails/generators/rails/app/templates/config/locales/en.yml - lib/rails/generators/rails/app/templates/config/routes.rb @@ -357,9 +358,8 @@ version: '0' requirements: [] rubyforge_project: -rubygems_version: 2.6.6 +rubygems_version: 2.6.10 signing_key: specification_version: 4 summary: Tools for creating, working with, and running Rails applications. test_files: [] -has_rdoc: