railties 5.2.1.1 → 5.2.2.rc1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of railties might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/lib/rails/application/configuration.rb +1 -1
- data/lib/rails/gem_version.rb +2 -2
- data/lib/rails/generators/rails/plugin/templates/%name%.gemspec.tt +21 -12
- data/lib/rails/generators/test_unit/scaffold/templates/system_test.rb.tt +2 -2
- data/lib/rails/mailers_controller.rb +2 -0
- data/lib/rails/rack/logger.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c34627f125262fd15127828e898af27ae9557e58fb259a1fc0ed01a654f56fa
|
4
|
+
data.tar.gz: dee100a04377ea9ee39d4046fe70c32b1836b6b0b68943069361faf6cccb8178
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76ac1795e1f8236d7a9e7a53a0bd22d27f5c0c4d8aacf073892bc80faeb25a272ef121a6372207c49b109765854cabb1d01bde339d308925e51a055d3d2cef82
|
7
|
+
data.tar.gz: 24072b84aecf7c54244cf4f4a6c4075cb8dfcfcc5d15b672a6237c20400d8a9226c6152529459c626a3158314a86794d667d878bec17f05957d605f121d1ab5f
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
## Rails 5.2.2.rc1 (November 28, 2018) ##
|
2
|
+
|
3
|
+
* Disable content security policy for mailer previews.
|
4
|
+
|
5
|
+
*Dylan Reile*
|
6
|
+
|
7
|
+
* Log the remote IP address of clients behind a proxy.
|
8
|
+
|
9
|
+
*Atul Bhosale*
|
10
|
+
|
11
|
+
|
1
12
|
## Rails 5.2.1.1 (November 27, 2018) ##
|
2
13
|
|
3
14
|
* No changes.
|
@@ -191,7 +191,7 @@ module Rails
|
|
191
191
|
"Please note that YAML must be consistently indented using spaces. Tabs are not allowed. " \
|
192
192
|
"Error: #{e.message}"
|
193
193
|
rescue => e
|
194
|
-
raise e, "Cannot load
|
194
|
+
raise e, "Cannot load database configuration:\n#{e.message}", e.backtrace
|
195
195
|
end
|
196
196
|
|
197
197
|
def colorize_logging
|
data/lib/rails/gem_version.rb
CHANGED
@@ -4,21 +4,30 @@ $:.push File.expand_path("lib", __dir__)
|
|
4
4
|
require "<%= namespaced_name %>/version"
|
5
5
|
|
6
6
|
# Describe your gem and declare its dependencies:
|
7
|
-
Gem::Specification.new do |
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = "<%= name %>"
|
9
|
+
spec.version = <%= camelized_modules %>::VERSION
|
10
|
+
spec.authors = ["<%= author %>"]
|
11
|
+
spec.email = ["<%= email %>"]
|
12
|
+
spec.homepage = "TODO"
|
13
|
+
spec.summary = "TODO: Summary of <%= camelized_modules %>."
|
14
|
+
spec.description = "TODO: Description of <%= camelized_modules %>."
|
15
|
+
spec.license = "MIT"
|
16
16
|
|
17
|
-
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
if spec.respond_to?(:metadata)
|
20
|
+
spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
|
21
|
+
else
|
22
|
+
raise "RubyGems 2.0 or newer is required to protect against " \
|
23
|
+
"public gem pushes."
|
24
|
+
end
|
18
25
|
|
19
|
-
|
26
|
+
spec.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
|
27
|
+
|
28
|
+
<%= '# ' if options.dev? || options.edge? -%>spec.add_dependency "rails", "<%= Array(rails_version_specifier).join('", "') %>"
|
20
29
|
<% unless options[:skip_active_record] -%>
|
21
30
|
|
22
|
-
|
31
|
+
spec.add_development_dependency "<%= gem_for_database[0] %>"
|
23
32
|
<% end -%>
|
24
33
|
end
|
@@ -16,7 +16,7 @@ class <%= class_name.pluralize %>Test < ApplicationSystemTestCase
|
|
16
16
|
click_on "New <%= class_name.titleize %>"
|
17
17
|
|
18
18
|
<%- attributes_hash.each do |attr, value| -%>
|
19
|
-
fill_in "<%= attr.humanize
|
19
|
+
fill_in "<%= attr.humanize %>", with: <%= value %>
|
20
20
|
<%- end -%>
|
21
21
|
click_on "Create <%= human_name %>"
|
22
22
|
|
@@ -29,7 +29,7 @@ class <%= class_name.pluralize %>Test < ApplicationSystemTestCase
|
|
29
29
|
click_on "Edit", match: :first
|
30
30
|
|
31
31
|
<%- attributes_hash.each do |attr, value| -%>
|
32
|
-
fill_in "<%= attr.humanize
|
32
|
+
fill_in "<%= attr.humanize %>", with: <%= value %>
|
33
33
|
<%- end -%>
|
34
34
|
click_on "Update <%= human_name %>"
|
35
35
|
|
data/lib/rails/rack/logger.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: railties
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.2.
|
4
|
+
version: 5.2.2.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 5.2.
|
19
|
+
version: 5.2.2.rc1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 5.2.
|
26
|
+
version: 5.2.2.rc1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: actionpack
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 5.2.
|
33
|
+
version: 5.2.2.rc1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 5.2.
|
40
|
+
version: 5.2.2.rc1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -92,14 +92,14 @@ dependencies:
|
|
92
92
|
requirements:
|
93
93
|
- - '='
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: 5.2.
|
95
|
+
version: 5.2.2.rc1
|
96
96
|
type: :development
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
100
|
- - '='
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: 5.2.
|
102
|
+
version: 5.2.2.rc1
|
103
103
|
description: 'Rails internals: application bootup, plugins, generators, and rake tasks.'
|
104
104
|
email: david@loudthinking.com
|
105
105
|
executables:
|
@@ -421,8 +421,8 @@ homepage: http://rubyonrails.org
|
|
421
421
|
licenses:
|
422
422
|
- MIT
|
423
423
|
metadata:
|
424
|
-
source_code_uri: https://github.com/rails/rails/tree/v5.2.
|
425
|
-
changelog_uri: https://github.com/rails/rails/blob/v5.2.
|
424
|
+
source_code_uri: https://github.com/rails/rails/tree/v5.2.2.rc1/railties
|
425
|
+
changelog_uri: https://github.com/rails/rails/blob/v5.2.2.rc1/railties/CHANGELOG.md
|
426
426
|
post_install_message:
|
427
427
|
rdoc_options:
|
428
428
|
- "--exclude"
|
@@ -436,9 +436,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
436
436
|
version: 2.2.2
|
437
437
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
438
438
|
requirements:
|
439
|
-
- - "
|
439
|
+
- - ">"
|
440
440
|
- !ruby/object:Gem::Version
|
441
|
-
version:
|
441
|
+
version: 1.3.1
|
442
442
|
requirements: []
|
443
443
|
rubyforge_project:
|
444
444
|
rubygems_version: 2.7.6
|