Hello community,
here is the log from the commit of package rubygem-railties-5_0 for
openSUSE:Factory checked in at 2017-06-08 15:00:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-railties-5_0 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-railties-5_0.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-railties-5_0"
Thu Jun 8 15:00:42 2017 rev:5 rq:497686 version:5.0.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-railties-5_0/rubygem-railties-5_0.changes
2017-03-21 22:49:08.430248661 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-railties-5_0.new/rubygem-railties-5_0.changes
2017-06-08 15:00:43.786273662 +0200
@@ -1,0 +2,11 @@
+Tue May 23 10:14:27 UTC 2017 - [email protected]
+
+- updated to version 5.0.3
+ see installed CHANGELOG.md
+
+ * Namespace error pages' CSS selectors to stop the styles from bleeding
into other pages
+ when using Turbolinks.
+
+ *Jan Krutisch*
+
+-------------------------------------------------------------------
Old:
----
railties-5.0.2.gem
New:
----
railties-5.0.3.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-railties-5_0.spec ++++++
--- /var/tmp/diff_new_pack.4wDZrg/_old 2017-06-08 15:00:44.622155693 +0200
+++ /var/tmp/diff_new_pack.4wDZrg/_new 2017-06-08 15:00:44.626155128 +0200
@@ -24,7 +24,7 @@
#
Name: rubygem-railties-5_0
-Version: 5.0.2
+Version: 5.0.3
Release: 0
%define mod_name railties
%define mod_full_name %{mod_name}-%{version}
++++++ railties-5.0.2.gem -> railties-5.0.3.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2017-03-02 00:12:12.000000000 +0100
+++ new/CHANGELOG.md 2017-05-12 22:01:33.000000000 +0200
@@ -1,3 +1,9 @@
+* Namespace error pages' CSS selectors to stop the styles from bleeding into
other pages
+ when using Turbolinks.
+
+ *Jan Krutisch*
+
+
## Rails 5.0.2 (March 01, 2017) ##
* Fix running multiple tests in one `rake` command
@@ -58,10 +64,6 @@
*Rafael Mendonça França*
-* Ensure `/rails/info` routes match in development for apps with a catch-all
globbing route.
-
- *Nicholas Firth-McCoy*
-
## Rails 5.0.0 (June 30, 2016) ##
@@ -69,9 +71,10 @@
*Nicholas Firth-McCoy*
-* Ensure `/rails/info` routes match in development for apps with a catch-all
globbing route.
+* Default `config.assets.quiet = true` in the development environment.
Suppress
+ logging of assets requests by default.
- *Nicholas Firth-McCoy*
+ *Kevin McPhillips*
* Add `config/initializers/to_time_preserves_timezone.rb`, which tells
Active Support to preserve the receiver's timezone when calling `to_time`.
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/commands/server.rb
new/lib/rails/commands/server.rb
--- old/lib/rails/commands/server.rb 2017-03-02 00:12:12.000000000 +0100
+++ new/lib/rails/commands/server.rb 2017-05-12 22:01:33.000000000 +0200
@@ -11,9 +11,13 @@
def parse!(args)
args, options = args.dup, {}
+ options[:user_supplied_options] = []
+ options[:user_supplied_options] << :Host if ENV["Host"]
+ options[:user_supplied_options] << :Port if ENV["PORT"]
option_parser(options).parse! args
+ options[:user_supplied_options].uniq!
options[:log_stdout] = options[:daemonize].blank? &&
(options[:environment] || Rails.env) == "development"
options[:server] = args.shift
options
@@ -25,21 +29,42 @@
OptionParser.new do |opts|
opts.banner = "Usage: rails server [mongrel, thin etc] [options]"
opts.on("-p", "--port=port", Integer,
- "Runs Rails on the specified port.", "Default: 3000") { |v|
options[:Port] = v }
+ "Runs Rails on the specified port.", "Default: 3000") { |v|
+ options[:user_supplied_options] << :Port
+ options[:Port] = v
+ }
opts.on("-b", "--binding=IP", String,
- "Binds Rails to the specified IP.", "Default: localhost") {
|v| options[:Host] = v }
+ "Binds Rails to the specified IP.", "Default: localhost") {
|v|
+ options[:user_supplied_options] << :Host
+ options[:Host] = v
+ }
opts.on("-c", "--config=file", String,
- "Uses a custom rackup configuration.") { |v|
options[:config] = v }
- opts.on("-d", "--daemon", "Runs server as a Daemon.") {
options[:daemonize] = true }
+ "Uses a custom rackup configuration.") { |v|
+ options[:user_supplied_options] << :config
+ options[:config] = v
+ }
+ opts.on("-d", "--daemon", "Runs server as a Daemon.") {
+ options[:user_supplied_options] << :daemonize
+ options[:daemonize] = true
+ }
opts.on("-e", "--environment=name", String,
"Specifies the environment to run this server under
(test/development/production).",
- "Default: development") { |v| options[:environment] = v }
+ "Default: development") { |v|
+ options[:user_supplied_options] << :environment
+ options[:environment] = v
+ }
opts.on("-P", "--pid=pid", String,
"Specifies the PID file.",
- "Default: tmp/pids/server.pid") { |v| options[:pid] = v }
+ "Default: tmp/pids/server.pid") { |v|
+ options[:user_supplied_options] << :pid
+ options[:pid] = v
+ }
opts.on("-C", "--[no-]dev-caching",
"Specifies whether to perform caching in development.",
- "true or false") { |v| options[:caching] = v }
+ "true or false") { |v|
+ options[:user_supplied_options] << :caching
+ options[:caching] = v
+ }
opts.separator ""
@@ -100,7 +125,6 @@
end
private
-
def setup_dev_caching
if options[:environment] == "development"
Rails::DevCaching.enable_by_argument(options[:caching])
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-03-02 00:12:12.000000000 +0100
+++ new/lib/rails/gem_version.rb 2017-05-12 22:01:33.000000000 +0200
@@ -7,7 +7,7 @@
module VERSION
MAJOR = 5
MINOR = 0
- TINY = 2
+ TINY = 3
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/new_framework_defaults.rb.tt
new/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults.rb.tt
---
old/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults.rb.tt
2017-03-02 00:12:12.000000000 +0100
+++
new/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults.rb.tt
2017-05-12 22:01:33.000000000 +0200
@@ -7,6 +7,8 @@
#
<%- end -%>
# Read the Guide for Upgrading Ruby on Rails for more info on each option.
+
+Rails.application.config.raise_on_unfiltered_parameters = true
<%- unless options[:api] -%>
# Enable per-form CSRF tokens. Previous versions had false.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/lib/rails/generators/rails/app/templates/public/404.html
new/lib/rails/generators/rails/app/templates/public/404.html
--- old/lib/rails/generators/rails/app/templates/public/404.html
2017-03-02 00:12:12.000000000 +0100
+++ new/lib/rails/generators/rails/app/templates/public/404.html
2017-05-12 22:01:33.000000000 +0200
@@ -4,7 +4,7 @@
<title>The page you were looking for doesn't exist (404)</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
- body {
+ .rails-default-error-page {
background-color: #EFEFEF;
color: #2E2F30;
text-align: center;
@@ -12,13 +12,13 @@
margin: 0;
}
- div.dialog {
+ .rails-default-error-page div.dialog {
width: 95%;
max-width: 33em;
margin: 4em auto 0;
}
- div.dialog > div {
+ .rails-default-error-page div.dialog > div {
border: 1px solid #CCC;
border-right-color: #999;
border-left-color: #999;
@@ -31,13 +31,13 @@
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
}
- h1 {
+ .rails-default-error-page h1 {
font-size: 100%;
color: #730E15;
line-height: 1.5em;
}
- div.dialog > p {
+ .rails-default-error-page div.dialog > p {
margin: 0 0 1em;
padding: 1em;
background-color: #F7F7F7;
@@ -54,7 +54,7 @@
</style>
</head>
-<body>
+<body class="rails-default-error-page">
<!-- This file lives in public/404.html -->
<div class="dialog">
<div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/lib/rails/generators/rails/app/templates/public/422.html
new/lib/rails/generators/rails/app/templates/public/422.html
--- old/lib/rails/generators/rails/app/templates/public/422.html
2017-03-02 00:12:12.000000000 +0100
+++ new/lib/rails/generators/rails/app/templates/public/422.html
2017-05-12 22:01:33.000000000 +0200
@@ -4,7 +4,7 @@
<title>The change you wanted was rejected (422)</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
- body {
+ .rails-default-error-page {
background-color: #EFEFEF;
color: #2E2F30;
text-align: center;
@@ -12,13 +12,13 @@
margin: 0;
}
- div.dialog {
+ .rails-default-error-page div.dialog {
width: 95%;
max-width: 33em;
margin: 4em auto 0;
}
- div.dialog > div {
+ .rails-default-error-page div.dialog > div {
border: 1px solid #CCC;
border-right-color: #999;
border-left-color: #999;
@@ -31,13 +31,13 @@
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
}
- h1 {
+ .rails-default-error-page h1 {
font-size: 100%;
color: #730E15;
line-height: 1.5em;
}
- div.dialog > p {
+ .rails-default-error-page div.dialog > p {
margin: 0 0 1em;
padding: 1em;
background-color: #F7F7F7;
@@ -54,7 +54,7 @@
</style>
</head>
-<body>
+<body class="rails-default-error-page">
<!-- This file lives in public/422.html -->
<div class="dialog">
<div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/lib/rails/generators/rails/app/templates/public/500.html
new/lib/rails/generators/rails/app/templates/public/500.html
--- old/lib/rails/generators/rails/app/templates/public/500.html
2017-03-02 00:12:12.000000000 +0100
+++ new/lib/rails/generators/rails/app/templates/public/500.html
2017-05-12 22:01:33.000000000 +0200
@@ -4,7 +4,7 @@
<title>We're sorry, but something went wrong (500)</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
- body {
+ .rails-default-error-page {
background-color: #EFEFEF;
color: #2E2F30;
text-align: center;
@@ -12,13 +12,13 @@
margin: 0;
}
- div.dialog {
+ .rails-default-error-page div.dialog {
width: 95%;
max-width: 33em;
margin: 4em auto 0;
}
- div.dialog > div {
+ .rails-default-error-page div.dialog > div {
border: 1px solid #CCC;
border-right-color: #999;
border-left-color: #999;
@@ -31,13 +31,13 @@
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
}
- h1 {
+ .rails-default-error-page h1 {
font-size: 100%;
color: #730E15;
line-height: 1.5em;
}
- div.dialog > p {
+ .rails-default-error-page div.dialog > p {
margin: 0 0 1em;
padding: 1em;
background-color: #F7F7F7;
@@ -54,7 +54,7 @@
</style>
</head>
-<body>
+<body class="rails-default-error-page">
<!-- This file lives in public/500.html -->
<div class="dialog">
<div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rails/test_unit/minitest_plugin.rb
new/lib/rails/test_unit/minitest_plugin.rb
--- old/lib/rails/test_unit/minitest_plugin.rb 2017-03-02 00:12:13.000000000
+0100
+++ new/lib/rails/test_unit/minitest_plugin.rb 2017-05-12 22:01:33.000000000
+0200
@@ -6,7 +6,7 @@
module Minitest
class SuppressedSummaryReporter < SummaryReporter
# Disable extra failure output after a run if output is inline.
- def aggregated_results
+ def aggregated_results(*)
super unless options[:output_inline]
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rails/test_unit/railtie.rb
new/lib/rails/test_unit/railtie.rb
--- old/lib/rails/test_unit/railtie.rb 2017-03-02 00:12:13.000000000 +0100
+++ new/lib/rails/test_unit/railtie.rb 2017-05-12 22:01:33.000000000 +0200
@@ -1,7 +1,7 @@
require "rails/test_unit/line_filtering"
if defined?(Rake.application) &&
Rake.application.top_level_tasks.grep(/^(default$|test(:|$))/).any?
- ENV['RAILS_ENV'] ||= 'test'
+ ENV["RAILS_ENV"] ||= Rake.application.options.show_tasks ? "development" :
"test"
end
module Rails
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2017-03-02 00:12:12.000000000 +0100
+++ new/metadata 2017-05-12 22:01:33.000000000 +0200
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: railties
version: !ruby/object:Gem::Version
- version: 5.0.2
+ version: 5.0.3
platform: ruby
authors:
- David Heinemeier Hansson
autorequire:
bindir: exe
cert_chain: []
-date: 2017-03-01 00:00:00.000000000 Z
+date: 2017-05-12 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: activesupport
@@ -16,28 +16,28 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.0.2
+ version: 5.0.3
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.0.2
+ version: 5.0.3
- !ruby/object:Gem::Dependency
name: actionpack
requirement: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.0.2
+ version: 5.0.3
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.0.2
+ version: 5.0.3
- !ruby/object:Gem::Dependency
name: rake
requirement: !ruby/object:Gem::Requirement
@@ -92,14 +92,14 @@
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.0.2
+ version: 5.0.3
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - '='
- !ruby/object:Gem::Version
- version: 5.0.2
+ version: 5.0.3
description: 'Rails internals: application bootup, plugins, generators, and
rake tasks.'
email: [email protected]
executables:
@@ -409,3 +409,4 @@
specification_version: 4
summary: Tools for creating, working with, and running Rails applications.
test_files: []
+has_rdoc: