railties 6.0.0 → 6.0.1.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/rails/api/task.rb +1 -0
- data/lib/rails/application.rb +1 -1
- data/lib/rails/gem_version.rb +2 -2
- data/lib/rails/generators/app_base.rb +2 -2
- data/lib/rails/generators/rails/app/app_generator.rb +1 -0
- data/lib/rails/generators/rails/app/templates/gitignore.tt +1 -0
- data/lib/rails/generators/rails/app/templates/package.json.tt +3 -3
- data/lib/rails/generators/rails/plugin/templates/gitignore.tt +1 -0
- data/lib/rails/info.rb +1 -1
- data/lib/rails/tasks/zeitwerk.rake +2 -2
- metadata +16 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6572c25a1151fa7278fbf9a16f9a74550fa0a9ddc415ccfc79a1974a75ed96f
|
4
|
+
data.tar.gz: d689161b04f03c42b54b544cd70aa50c66d7977f928956d8a85d6de7f12652f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94e43137bb2e2bc8bc71e960f25850cb04d67ae61ca5bb298f11319be5b48e10b5c0e84f6235be55e03c228026b59e4d2e182fe1e6abfdc51e1ed2511e363eb7
|
7
|
+
data.tar.gz: cacc3d9e85bca3b48590429d72f58c0c1be2c6050a2d726512e5a967c61ab8027fc6ff2da6fd0e6d0d796d5910194ffcbb8fe270cb31859eaaa4e6ca55d04940
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,25 @@
|
|
1
|
+
## Rails 6.0.1.rc1 (October 31, 2019) ##
|
2
|
+
|
3
|
+
* The `zeitwerk:check` Rake task reports files outside the app's root
|
4
|
+
directory, as in engines loaded from gems.
|
5
|
+
|
6
|
+
*Xavier Noria*
|
7
|
+
|
8
|
+
* Fixed a possible error when using the evented file update checker.
|
9
|
+
|
10
|
+
*Yuji Yaginuma*
|
11
|
+
|
12
|
+
* The sqlite3 database files created by the parallel testing feature are
|
13
|
+
included in the default `.gitignore` file for newly-generated apps.
|
14
|
+
|
15
|
+
*Yasuo Honda*
|
16
|
+
|
17
|
+
* `rails new` generates a `.keep` file in `tmp/pids`. This fixes starting
|
18
|
+
a server via `rackup` instead of `rails server`.
|
19
|
+
|
20
|
+
*Rafael Mendonça França*
|
21
|
+
|
22
|
+
|
1
23
|
## Rails 6.0.0 (August 16, 2019) ##
|
2
24
|
|
3
25
|
* `Rails.autoloaders.log!` is a logging shortcut to get the activity of the
|
data/lib/rails/api/task.rb
CHANGED
data/lib/rails/application.rb
CHANGED
@@ -350,7 +350,7 @@ module Rails
|
|
350
350
|
files, dirs = config.watchable_files.dup, config.watchable_dirs.dup
|
351
351
|
|
352
352
|
ActiveSupport::Dependencies.autoload_paths.each do |path|
|
353
|
-
dirs[path.to_s] = [:rb]
|
353
|
+
File.file?(path) ? files << path.to_s : dirs[path.to_s] = [:rb]
|
354
354
|
end
|
355
355
|
|
356
356
|
[files, dirs]
|
data/lib/rails/gem_version.rb
CHANGED
@@ -192,7 +192,7 @@ module Rails
|
|
192
192
|
def web_server_gemfile_entry # :doc:
|
193
193
|
return [] if options[:skip_puma]
|
194
194
|
comment = "Use Puma as the app server"
|
195
|
-
GemfileEntry.new("puma", "~>
|
195
|
+
GemfileEntry.new("puma", "~> 4.1", comment)
|
196
196
|
end
|
197
197
|
|
198
198
|
def include_all_railties? # :doc:
|
@@ -307,7 +307,7 @@ module Rails
|
|
307
307
|
def assets_gemfile_entry
|
308
308
|
return [] if options[:skip_sprockets]
|
309
309
|
|
310
|
-
GemfileEntry.version("sass-rails", "
|
310
|
+
GemfileEntry.version("sass-rails", ">= 6", "Use SCSS for stylesheets")
|
311
311
|
end
|
312
312
|
|
313
313
|
def webpacker_gemfile_entry
|
@@ -2,10 +2,10 @@
|
|
2
2
|
"name": "<%= app_name %>",
|
3
3
|
"private": true,
|
4
4
|
"dependencies": {
|
5
|
-
"@rails/ujs": "^6.0.0
|
5
|
+
"@rails/ujs": "^6.0.0"<% unless options[:skip_turbolinks] %>,
|
6
6
|
"turbolinks": "^5.2.0"<% end -%><% unless skip_active_storage? %>,
|
7
|
-
"@rails/activestorage": "^6.0.0
|
8
|
-
"@rails/actioncable": "^6.0.0
|
7
|
+
"@rails/activestorage": "^6.0.0"<% end -%><% unless options[:skip_action_cable] %>,
|
8
|
+
"@rails/actioncable": "^6.0.0"<% end %>
|
9
9
|
},
|
10
10
|
"version": "0.1.0"
|
11
11
|
}
|
data/lib/rails/info.rb
CHANGED
@@ -46,8 +46,8 @@ namespace :zeitwerk do
|
|
46
46
|
begin
|
47
47
|
eager_load[]
|
48
48
|
rescue NameError => e
|
49
|
-
if e.message =~ /expected file .*? to define constant \
|
50
|
-
abort $&.sub(
|
49
|
+
if e.message =~ /expected file .*? to define constant [\w:]+/
|
50
|
+
abort $&.sub(/expected file #{Regexp.escape(Rails.root.to_s)}./, "expected file ")
|
51
51
|
else
|
52
52
|
raise
|
53
53
|
end
|
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.1.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-
|
11
|
+
date: 2019-10-31 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.1.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.
|
26
|
+
version: 6.0.1.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.
|
33
|
+
version: 6.0.1.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.
|
40
|
+
version: 6.0.1.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.
|
95
|
+
version: 6.0.1.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.
|
102
|
+
version: 6.0.1.rc1
|
103
103
|
description: 'Rails internals: application bootup, plugins, generators, and rake tasks.'
|
104
104
|
email: david@loudthinking.com
|
105
105
|
executables:
|
@@ -431,8 +431,11 @@ homepage: https://rubyonrails.org
|
|
431
431
|
licenses:
|
432
432
|
- MIT
|
433
433
|
metadata:
|
434
|
-
|
435
|
-
changelog_uri: https://github.com/rails/rails/blob/v6.0.
|
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/
|
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
|
436
439
|
post_install_message:
|
437
440
|
rdoc_options:
|
438
441
|
- "--exclude"
|
@@ -446,11 +449,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
446
449
|
version: 2.5.0
|
447
450
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
448
451
|
requirements:
|
449
|
-
- - "
|
452
|
+
- - ">"
|
450
453
|
- !ruby/object:Gem::Version
|
451
|
-
version:
|
454
|
+
version: 1.3.1
|
452
455
|
requirements: []
|
453
|
-
rubygems_version: 3.0.
|
456
|
+
rubygems_version: 3.0.3
|
454
457
|
signing_key:
|
455
458
|
specification_version: 4
|
456
459
|
summary: Tools for creating, working with, and running Rails applications.
|