Hello community,
here is the log from the commit of package rubygem-railties-5_1 for
openSUSE:Factory checked in at 2017-09-13 22:34:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-railties-5_1 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-railties-5_1.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-railties-5_1"
Wed Sep 13 22:34:39 2017 rev:2 rq:523497 version:5.1.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-railties-5_1/rubygem-railties-5_1.changes
2017-09-04 12:36:59.093920346 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-railties-5_1.new/rubygem-railties-5_1.changes
2017-09-13 22:36:05.798940732 +0200
@@ -1,0 +2,5 @@
+Mon Sep 11 09:38:23 UTC 2017 - [email protected]
+
+- Update to version 5.1.4
+
+-------------------------------------------------------------------
Old:
----
railties-5.1.3.gem
New:
----
railties-5.1.4.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-railties-5_1.spec ++++++
--- /var/tmp/diff_new_pack.WJKdZx/_old 2017-09-13 22:36:06.214882168 +0200
+++ /var/tmp/diff_new_pack.WJKdZx/_new 2017-09-13 22:36:06.218881605 +0200
@@ -24,7 +24,7 @@
#
Name: rubygem-railties-5_1
-Version: 5.1.3
+Version: 5.1.4
Release: 0
%define mod_name railties
%define mod_full_name %{mod_name}-%{version}
++++++ railties-5.1.3.gem -> railties-5.1.4.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2017-08-03 21:13:09.000000000 +0200
+++ new/CHANGELOG.md 2017-09-08 02:49:08.000000000 +0200
@@ -1,3 +1,16 @@
+## Rails 5.1.4 (September 07, 2017) ##
+
+* No changes.
+
+
+## Rails 5.1.4.rc1 (August 24, 2017) ##
+
+* Allow irb options to be passed from `rails console` command.
+
+ Fixes #28988.
+
+ *Yuji Yaginuma*
+
## Rails 5.1.3 (August 03, 2017) ##
* No changes.
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
Binary files old/lib/rails/.DS_Store and new/lib/rails/.DS_Store differ
Binary files old/lib/rails/command/.DS_Store and
new/lib/rails/command/.DS_Store differ
Binary files old/lib/rails/commands/.DS_Store and
new/lib/rails/commands/.DS_Store differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rails/commands/console/console_command.rb
new/lib/rails/commands/console/console_command.rb
--- old/lib/rails/commands/console/console_command.rb 2017-08-03
21:13:09.000000000 +0200
+++ new/lib/rails/commands/console/console_command.rb 2017-09-08
02:49:08.000000000 +0200
@@ -73,14 +73,26 @@
class_option :environment, aliases: "-e", type: :string,
desc: "Specifies the environment to run this console under
(test/development/production)."
+ def initialize(args = [], local_options = {}, config = {})
+ console_options = []
+
+ # For the same behavior as OptionParser, leave only options after "--"
in ARGV.
+ termination = local_options.find_index("--")
+ if termination
+ console_options = local_options[termination + 1..-1]
+ local_options = local_options[0...termination]
+ end
+
+ ARGV.replace(console_options)
+ super(args, local_options, config)
+ end
+
def perform
extract_environment_option_from_argument
# RAILS_ENV needs to be set before config/application is required.
ENV["RAILS_ENV"] = options[:environment]
- ARGV.clear # Clear ARGV so IRB doesn't freak.
-
require_application_and_environment!
Rails::Console.start(Rails.application, options)
end
Binary files old/lib/rails/commands/generate/.DS_Store and
new/lib/rails/commands/generate/.DS_Store differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rails/commands/server/server_command.rb
new/lib/rails/commands/server/server_command.rb
--- old/lib/rails/commands/server/server_command.rb 2017-08-03
21:13:09.000000000 +0200
+++ new/lib/rails/commands/server/server_command.rb 2017-09-08
02:49:08.000000000 +0200
@@ -64,9 +64,9 @@
end
def print_boot_information
- url = "#{options[:SSLEnable] ? 'https' :
'http'}://#{options[:Host]}:#{options[:Port]}"
+ url = "on #{options[:SSLEnable] ? 'https' :
'http'}://#{options[:Host]}:#{options[:Port]}" unless use_puma?
puts "=> Booting #{ActiveSupport::Inflector.demodulize(server)}"
- puts "=> Rails #{Rails.version} application starting in #{Rails.env}
on #{url}"
+ puts "=> Rails #{Rails.version} application starting in #{Rails.env}
#{url}"
puts "=> Run `rails server -h` for more startup options"
end
@@ -91,6 +91,10 @@
def restart_command
"bin/rails server #{ARGV.join(' ')}"
end
+
+ def use_puma?
+ server.to_s == "Rack::Handler::Puma"
+ end
end
module Command
Binary files old/lib/rails/engine/.DS_Store and new/lib/rails/engine/.DS_Store
differ
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 2017-08-03 21:13:09.000000000 +0200
+++ new/lib/rails/gem_version.rb 2017-09-08 02:49:08.000000000 +0200
@@ -7,7 +7,7 @@
module VERSION
MAJOR = 5
MINOR = 1
- 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/rails/app/templates/config/initializers/application_controller_renderer.rb
new/lib/rails/generators/rails/app/templates/config/initializers/application_controller_renderer.rb
---
old/lib/rails/generators/rails/app/templates/config/initializers/application_controller_renderer.rb
2017-08-03 21:13:09.000000000 +0200
+++
new/lib/rails/generators/rails/app/templates/config/initializers/application_controller_renderer.rb
2017-09-08 02:49:08.000000000 +0200
@@ -1,6 +1,8 @@
# Be sure to restart your server when you modify this file.
-# ApplicationController.renderer.defaults.merge!(
-# http_host: 'example.org',
-# https: false
-# )
+# ActiveSupport::Reloader.to_prepare do
+# ApplicationController.renderer.defaults.merge!(
+# http_host: 'example.org',
+# https: false
+# )
+# end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2017-08-03 21:13:09.000000000 +0200
+++ new/metadata 2017-09-08 02:49:08.000000000 +0200
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: railties
version: !ruby/object:Gem::Version
- version: 5.1.3
+ version: 5.1.4
platform: ruby
authors:
- David Heinemeier Hansson
autorequire:
bindir: exe
cert_chain: []
-date: 2017-08-03 00:00:00.000000000 Z
+date: 2017-09-08 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: activesupport
@@ -16,28 +16,28 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.3
+ version: 5.1.4
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.3
+ version: 5.1.4
- !ruby/object:Gem::Dependency
name: actionpack
requirement: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.3
+ version: 5.1.4
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.3
+ version: 5.1.4
- !ruby/object:Gem::Dependency
name: rake
requirement: !ruby/object:Gem::Requirement
@@ -92,14 +92,14 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.3
+ version: 5.1.4
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.1.3
+ version: 5.1.4
description: 'Rails internals: application bootup, plugins, generators, and
rake tasks.'
email: [email protected]
executables:
@@ -114,7 +114,6 @@
- exe/rails
- lib/minitest/rails_plugin.rb
- lib/rails.rb
-- lib/rails/.DS_Store
- lib/rails/all.rb
- lib/rails/api/generator.rb
- lib/rails/api/task.rb
@@ -131,18 +130,15 @@
- lib/rails/code_statistics.rb
- lib/rails/code_statistics_calculator.rb
- lib/rails/command.rb
-- lib/rails/command/.DS_Store
- lib/rails/command/actions.rb
- lib/rails/command/base.rb
- lib/rails/command/behavior.rb
- lib/rails/command/environment_argument.rb
- lib/rails/commands.rb
-- lib/rails/commands/.DS_Store
- lib/rails/commands/application/application_command.rb
- lib/rails/commands/console/console_command.rb
- lib/rails/commands/dbconsole/dbconsole_command.rb
- lib/rails/commands/destroy/destroy_command.rb
-- lib/rails/commands/generate/.DS_Store
- lib/rails/commands/generate/generate_command.rb
- lib/rails/commands/help/USAGE
- lib/rails/commands/help/help_command.rb
@@ -161,7 +157,6 @@
- lib/rails/console/helpers.rb
- lib/rails/dev_caching.rb
- lib/rails/engine.rb
-- lib/rails/engine/.DS_Store
- lib/rails/engine/commands.rb
- lib/rails/engine/configuration.rb
- lib/rails/engine/railties.rb
@@ -431,7 +426,7 @@
version: '0'
requirements: []
rubyforge_project:
-rubygems_version: 2.6.12
+rubygems_version: 2.6.13
signing_key:
specification_version: 4
summary: Tools for creating, working with, and running Rails applications.