railties 6.0.1 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/RDOC_MAIN.rdoc +0 -1
- data/lib/rails/application/configuration.rb +1 -0
- data/lib/rails/command/base.rb +4 -0
- data/lib/rails/gem_version.rb +1 -1
- data/lib/rails/generators/base.rb +4 -0
- data/lib/rails/generators/named_base.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6d6daf9b3f1b547bf223fe3590049db5c3892515b09e449db25763393cbdf26
|
4
|
+
data.tar.gz: 331197625259cb0dc0f88b6c5908e764cb18aadb9da086a63495772d1c09befa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3116c14dccf11d82ae0ab6c4ef82b62eb0ab0b141139527c9a0026429605730a5221f500229b34c1cc0eced8b42aa65689ab9449aaa415327014748ec64a188e
|
7
|
+
data.tar.gz: 76d90b6785dead03c3311820e61cb21c6918cf5c02df7e5b80d1613c2a2cefbe97a441f9974a9ee2645c74a43b7a96ef3890f0d5584bdaf24f01e34a7cc9650e
|
data/CHANGELOG.md
CHANGED
data/RDOC_MAIN.rdoc
CHANGED
@@ -80,7 +80,6 @@ and may also be used independently outside \Rails.
|
|
80
80
|
* {Getting Started with \Rails}[https://guides.rubyonrails.org/getting_started.html].
|
81
81
|
* {Ruby on \Rails Guides}[https://guides.rubyonrails.org].
|
82
82
|
* {The API Documentation}[https://api.rubyonrails.org].
|
83
|
-
* {Ruby on \Rails Tutorial}[https://www.railstutorial.org/book].
|
84
83
|
|
85
84
|
== Contributing
|
86
85
|
|
@@ -71,6 +71,7 @@ module Rails
|
|
71
71
|
@add_autoload_paths_to_load_path = true
|
72
72
|
end
|
73
73
|
|
74
|
+
# Loads default configurations. See {the result of the method for each version}[https://guides.rubyonrails.org/configuring.html#results-of-config-load-defaults].
|
74
75
|
def load_defaults(target_version)
|
75
76
|
case target_version.to_s
|
76
77
|
when "5.0"
|
data/lib/rails/command/base.rb
CHANGED
data/lib/rails/gem_version.rb
CHANGED
@@ -24,6 +24,10 @@ module Rails
|
|
24
24
|
add_runtime_options!
|
25
25
|
strict_args_position!
|
26
26
|
|
27
|
+
def self.exit_on_failure? # :nodoc:
|
28
|
+
false
|
29
|
+
end
|
30
|
+
|
27
31
|
# Returns the source root for this generator using default_source_root as default.
|
28
32
|
def self.source_root(path = nil)
|
29
33
|
@_source_root = path if path
|
@@ -213,7 +213,7 @@ module Rails
|
|
213
213
|
#
|
214
214
|
def self.check_class_collision(options = {}) # :doc:
|
215
215
|
define_method :check_class_collision do
|
216
|
-
name = if respond_to?(:controller_class_name) # for ResourceHelpers
|
216
|
+
name = if respond_to?(:controller_class_name, true) # for ResourceHelpers
|
217
217
|
controller_class_name
|
218
218
|
else
|
219
219
|
class_name
|
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: 6.0.
|
4
|
+
version: 6.0.2
|
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: 2019-
|
11
|
+
date: 2019-12-13 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: 6.0.
|
19
|
+
version: 6.0.2
|
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: 6.0.
|
26
|
+
version: 6.0.2
|
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: 6.0.
|
33
|
+
version: 6.0.2
|
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: 6.0.
|
40
|
+
version: 6.0.2
|
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: 6.0.
|
95
|
+
version: 6.0.2
|
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: 6.0.
|
102
|
+
version: 6.0.2
|
103
103
|
description: 'Rails internals: application bootup, plugins, generators, and rake tasks.'
|
104
104
|
email: david@loudthinking.com
|
105
105
|
executables:
|
@@ -432,10 +432,10 @@ licenses:
|
|
432
432
|
- MIT
|
433
433
|
metadata:
|
434
434
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
435
|
-
changelog_uri: https://github.com/rails/rails/blob/v6.0.
|
436
|
-
documentation_uri: https://api.rubyonrails.org/v6.0.
|
435
|
+
changelog_uri: https://github.com/rails/rails/blob/v6.0.2/railties/CHANGELOG.md
|
436
|
+
documentation_uri: https://api.rubyonrails.org/v6.0.2/
|
437
437
|
mailing_list_uri: https://groups.google.com/forum/#!forum/rubyonrails-talk
|
438
|
-
source_code_uri: https://github.com/rails/rails/tree/v6.0.
|
438
|
+
source_code_uri: https://github.com/rails/rails/tree/v6.0.2/railties
|
439
439
|
post_install_message:
|
440
440
|
rdoc_options:
|
441
441
|
- "--exclude"
|