railties 6.0.1.rc1 → 6.0.2.rc1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6572c25a1151fa7278fbf9a16f9a74550fa0a9ddc415ccfc79a1974a75ed96f
4
- data.tar.gz: d689161b04f03c42b54b544cd70aa50c66d7977f928956d8a85d6de7f12652f5
3
+ metadata.gz: e53c51805ad9598e809632f5a35694017eb3645b5336f995221397f9598cd286
4
+ data.tar.gz: 7b93225441e1614af60280d10e506ce4497a6cf7b356b1598c13fe3f7224d335
5
5
  SHA512:
6
- metadata.gz: 94e43137bb2e2bc8bc71e960f25850cb04d67ae61ca5bb298f11319be5b48e10b5c0e84f6235be55e03c228026b59e4d2e182fe1e6abfdc51e1ed2511e363eb7
7
- data.tar.gz: cacc3d9e85bca3b48590429d72f58c0c1be2c6050a2d726512e5a967c61ab8027fc6ff2da6fd0e6d0d796d5910194ffcbb8fe270cb31859eaaa4e6ca55d04940
6
+ metadata.gz: 0c191ad259fc9ba7231edbf23c1381a270972b3b337355079200b19a7ba2399c7801a0db92bb8c286130c6c9f3ef0b19840a5a8aef1f7a8cf58f086e0421fd99
7
+ data.tar.gz: b00314a37fd0c76357e5c5bf5cc1306bb146f8a7944b65ca1f56a4beda0b30a42a0c42219f3dc12411a585e87fb4bf34d79d3662045b74185de5a8000f3bf943
@@ -1,4 +1,17 @@
1
- ## Rails 6.0.1.rc1 (October 31, 2019) ##
1
+ ## Rails 6.0.2.rc1 (November 27, 2019) ##
2
+
3
+ * Fix the collision check for the scaffold generator.
4
+
5
+ *Ryan Robeson*
6
+
7
+ * Configuration files for environments (`config/environments/*.rb`) are
8
+ now able to modify `autoload_paths`, `autoload_once_paths`, and
9
+ `eager_load_paths`.
10
+
11
+ *Allen Hsu* & *Xavier Noria*
12
+
13
+
14
+ ## Rails 6.0.1 (November 5, 2019) ##
2
15
 
3
16
  * The `zeitwerk:check` Rake task reports files outside the app's root
4
17
  directory, as in engines loaded from gems.
@@ -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"
@@ -17,6 +17,10 @@ module Rails
17
17
  include Actions
18
18
 
19
19
  class << self
20
+ def exit_on_failure? # :nodoc:
21
+ false
22
+ end
23
+
20
24
  # Returns true when the app is a Rails engine.
21
25
  def engine?
22
26
  defined?(ENGINE_ROOT)
@@ -559,6 +559,12 @@ module Rails
559
559
  end
560
560
  end
561
561
 
562
+ initializer :load_environment_config, before: :load_environment_hook, group: :all do
563
+ paths["config/environments"].existent.each do |environment|
564
+ require environment
565
+ end
566
+ end
567
+
562
568
  initializer :set_load_path, before: :bootstrap_hook do |app|
563
569
  _all_load_paths(app.config.add_autoload_paths_to_load_path).reverse_each do |path|
564
570
  $LOAD_PATH.unshift(path) if File.directory?(path)
@@ -607,12 +613,6 @@ module Rails
607
613
  end
608
614
  end
609
615
 
610
- initializer :load_environment_config, before: :load_environment_hook, group: :all do
611
- paths["config/environments"].existent.each do |environment|
612
- require environment
613
- end
614
- end
615
-
616
616
  initializer :prepend_helpers_path do |app|
617
617
  if !isolated? || (app == self)
618
618
  app.config.helpers_paths.unshift(*paths["app/helpers"].existent)
@@ -9,7 +9,7 @@ module Rails
9
9
  module VERSION
10
10
  MAJOR = 6
11
11
  MINOR = 0
12
- TINY = 1
12
+ TINY = 2
13
13
  PRE = "rc1"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
@@ -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
@@ -5,7 +5,8 @@
5
5
 
6
6
  Rails.application.configure do
7
7
  # Settings specified here will take precedence over those in config/application.rb.
8
- <%# Spring executes the reloaders when files change. %>
8
+
9
+ <%-# Spring executes the reloaders when files change. %>
9
10
  <%- if spring_install? -%>
10
11
  config.cache_classes = false
11
12
  <%- else -%>
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.1.rc1
4
+ version: 6.0.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: 2019-10-31 00:00:00.000000000 Z
11
+ date: 2019-11-27 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.1.rc1
19
+ version: 6.0.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: 6.0.1.rc1
26
+ version: 6.0.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: 6.0.1.rc1
33
+ version: 6.0.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: 6.0.1.rc1
40
+ version: 6.0.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: 6.0.1.rc1
95
+ version: 6.0.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: 6.0.1.rc1
102
+ version: 6.0.2.rc1
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.1.rc1/railties/CHANGELOG.md
436
- documentation_uri: https://api.rubyonrails.org/v6.0.1.rc1/
435
+ changelog_uri: https://github.com/rails/rails/blob/v6.0.2.rc1/railties/CHANGELOG.md
436
+ documentation_uri: https://api.rubyonrails.org/v6.0.2.rc1/
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.1.rc1/railties
438
+ source_code_uri: https://github.com/rails/rails/tree/v6.0.2.rc1/railties
439
439
  post_install_message:
440
440
  rdoc_options:
441
441
  - "--exclude"