railties 5.2.3.rc1 → 6.0.0.beta1
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 +190 -130
- data/MIT-LICENSE +1 -1
- data/RDOC_MAIN.rdoc +35 -28
- data/README.rdoc +1 -1
- data/lib/minitest/rails_plugin.rb +6 -10
- data/lib/rails/all.rb +4 -0
- data/lib/rails/api/generator.rb +2 -1
- data/lib/rails/api/task.rb +16 -0
- data/lib/rails/app_loader.rb +1 -1
- data/lib/rails/app_updater.rb +3 -1
- data/lib/rails/application.rb +21 -45
- data/lib/rails/application/configuration.rb +54 -12
- data/lib/rails/application/default_middleware_stack.rb +2 -0
- data/lib/rails/backtrace_cleaner.rb +5 -17
- data/lib/rails/code_statistics.rb +3 -3
- data/lib/rails/command.rb +11 -10
- data/lib/rails/command/actions.rb +0 -10
- data/lib/rails/command/base.rb +1 -1
- data/lib/rails/command/behavior.rb +4 -46
- data/lib/rails/command/environment_argument.rb +1 -11
- data/lib/rails/command/spellchecker.rb +58 -0
- data/lib/rails/commands/credentials/USAGE +19 -1
- data/lib/rails/commands/credentials/credentials_command.rb +42 -23
- data/lib/rails/commands/db/system/change/change_command.rb +20 -0
- data/lib/rails/commands/dbconsole/dbconsole_command.rb +2 -2
- data/lib/rails/commands/dev/dev_command.rb +17 -0
- data/lib/rails/commands/encrypted/encrypted_command.rb +2 -3
- data/lib/rails/commands/help/help_command.rb +1 -1
- data/lib/rails/commands/initializers/initializers_command.rb +16 -0
- data/lib/rails/commands/new/new_command.rb +2 -2
- data/lib/rails/commands/notes/notes_command.rb +39 -0
- data/lib/rails/commands/plugin/plugin_command.rb +1 -1
- data/lib/rails/commands/routes/routes_command.rb +37 -0
- data/lib/rails/commands/runner/runner_command.rb +6 -6
- data/lib/rails/commands/secrets/USAGE +3 -3
- data/lib/rails/commands/secrets/secrets_command.rb +3 -3
- data/lib/rails/commands/server/server_command.rb +109 -48
- data/lib/rails/configuration.rb +1 -7
- data/lib/rails/engine/configuration.rb +3 -1
- data/lib/rails/gem_version.rb +4 -4
- data/lib/rails/generators.rb +11 -12
- data/lib/rails/generators/actions.rb +48 -37
- data/lib/rails/generators/app_base.rb +56 -94
- data/lib/rails/generators/app_name.rb +50 -0
- data/lib/rails/generators/database.rb +57 -0
- data/lib/rails/generators/erb/mailer/mailer_generator.rb +1 -1
- data/lib/rails/generators/erb/scaffold/templates/index.html.erb.tt +1 -1
- data/lib/rails/generators/erb/scaffold/templates/show.html.erb.tt +1 -1
- data/lib/rails/generators/generated_attribute.rb +17 -17
- data/lib/rails/generators/model_helpers.rb +8 -1
- data/lib/rails/generators/named_base.rb +1 -5
- data/lib/rails/generators/rails/app/app_generator.rb +37 -71
- data/lib/rails/generators/rails/app/templates/Gemfile.tt +3 -6
- data/lib/rails/generators/rails/app/templates/app/assets/config/manifest.js.tt +0 -3
- data/lib/rails/generators/rails/app/templates/app/{assets/javascripts/cable.js.tt → javascript/channels/consumer.js} +2 -9
- data/lib/rails/generators/rails/app/templates/app/javascript/channels/index.js +5 -0
- data/lib/rails/generators/rails/app/templates/app/javascript/packs/application.js.tt +15 -0
- data/lib/rails/generators/rails/app/templates/app/jobs/application_job.rb.tt +5 -0
- data/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt +4 -4
- data/lib/rails/generators/rails/app/templates/bin/setup.tt +4 -5
- data/lib/rails/generators/rails/app/templates/bin/update.tt +6 -7
- data/lib/rails/generators/rails/app/templates/config/application.rb.tt +2 -0
- data/lib/rails/generators/rails/app/templates/config/cable.yml.tt +1 -1
- data/lib/rails/generators/rails/app/templates/config/databases/frontbase.yml.tt +2 -2
- data/lib/rails/generators/rails/app/templates/config/databases/ibm_db.yml.tt +2 -2
- data/lib/rails/generators/rails/app/templates/config/databases/jdbc.yml.tt +2 -2
- data/lib/rails/generators/rails/app/templates/config/databases/jdbcmysql.yml.tt +3 -3
- data/lib/rails/generators/rails/app/templates/config/databases/jdbcpostgresql.yml.tt +3 -3
- data/lib/rails/generators/rails/app/templates/config/databases/mysql.yml.tt +4 -4
- data/lib/rails/generators/rails/app/templates/config/databases/oracle.yml.tt +2 -2
- data/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml.tt +6 -6
- data/lib/rails/generators/rails/app/templates/config/databases/sqlserver.yml.tt +2 -2
- data/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +3 -2
- data/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +5 -12
- data/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +6 -2
- data/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt +1 -1
- data/lib/rails/generators/rails/app/templates/config/initializers/content_security_policy.rb.tt +4 -0
- data/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_6_0.rb.tt +33 -0
- data/lib/rails/generators/rails/app/templates/config/locales/en.yml +1 -1
- data/lib/rails/generators/rails/app/templates/config/puma.rb.tt +3 -2
- data/lib/rails/generators/rails/app/templates/config/routes.rb.tt +1 -1
- data/lib/rails/generators/rails/app/templates/config/spring.rb.tt +6 -6
- data/lib/rails/generators/rails/app/templates/gitignore.tt +2 -7
- data/lib/rails/generators/rails/app/templates/package.json.tt +7 -1
- data/lib/rails/generators/rails/app/templates/ruby-version.tt +1 -1
- data/lib/rails/generators/rails/app/templates/test/channels/application_cable/connection_test.rb.tt +11 -0
- data/lib/rails/generators/rails/app/templates/test/test_helper.rb.tt +7 -0
- data/lib/rails/generators/rails/assets/USAGE +1 -4
- data/lib/rails/generators/rails/assets/assets_generator.rb +0 -8
- data/lib/rails/generators/rails/controller/controller_generator.rb +11 -1
- data/lib/rails/generators/rails/credentials/credentials_generator.rb +7 -8
- data/lib/rails/generators/rails/db/system/change/change_generator.rb +55 -0
- data/lib/rails/generators/rails/encrypted_file/encrypted_file_generator.rb +4 -5
- data/lib/rails/generators/rails/helper/helper_generator.rb +5 -0
- data/lib/rails/generators/rails/plugin/plugin_generator.rb +9 -18
- data/lib/rails/generators/rails/plugin/templates/app/controllers/%namespaced_name%/application_controller.rb.tt +1 -1
- data/lib/rails/generators/rails/plugin/templates/app/helpers/%namespaced_name%/application_helper.rb.tt +1 -1
- data/lib/rails/generators/rails/plugin/templates/app/jobs/%namespaced_name%/application_job.rb.tt +1 -1
- data/lib/rails/generators/rails/plugin/templates/app/mailers/%namespaced_name%/application_mailer.rb.tt +1 -1
- data/lib/rails/generators/rails/plugin/templates/app/models/%namespaced_name%/application_record.rb.tt +1 -1
- data/lib/rails/generators/rails/plugin/templates/gitignore.tt +1 -1
- data/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/engine.rb.tt +1 -1
- data/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/railtie.rb.tt +1 -1
- data/lib/rails/generators/rails/plugin/templates/test/test_helper.rb.tt +1 -2
- data/lib/rails/generators/resource_helpers.rb +1 -6
- data/lib/rails/generators/test_unit/integration/integration_generator.rb +6 -0
- data/lib/rails/generators/test_unit/job/job_generator.rb +5 -0
- data/lib/rails/generators/test_unit/mailer/mailer_generator.rb +1 -1
- data/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb +1 -1
- data/lib/rails/generators/test_unit/system/system_generator.rb +5 -0
- data/lib/rails/generators/testing/behaviour.rb +3 -0
- data/lib/rails/info.rb +2 -2
- data/lib/rails/info_controller.rb +1 -1
- data/lib/rails/mailers_controller.rb +1 -1
- data/lib/rails/paths.rb +19 -9
- data/lib/rails/railtie.rb +1 -1
- data/lib/rails/ruby_version_check.rb +3 -3
- data/lib/rails/secrets.rb +0 -1
- data/lib/rails/source_annotation_extractor.rb +125 -117
- data/lib/rails/tasks/annotations.rake +9 -9
- data/lib/rails/tasks/dev.rake +5 -4
- data/lib/rails/tasks/framework.rake +5 -1
- data/lib/rails/tasks/initializers.rake +5 -4
- data/lib/rails/tasks/log.rake +0 -1
- data/lib/rails/tasks/routes.rake +4 -26
- data/lib/rails/tasks/statistics.rake +1 -0
- data/lib/rails/tasks/yarn.rake +1 -1
- data/lib/rails/templates/rails/welcome/index.html.erb +2 -2
- data/lib/rails/test_help.rb +11 -9
- data/lib/rails/test_unit/reporter.rb +1 -1
- data/lib/rails/test_unit/runner.rb +5 -5
- data/lib/rails/test_unit/testing.rake +1 -1
- metadata +27 -21
- data/lib/rails/commands/encrypted/USAGE +0 -28
- data/lib/rails/generators/js/assets/assets_generator.rb +0 -15
- data/lib/rails/generators/js/assets/templates/javascript.js +0 -2
- data/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt +0 -22
- data/lib/rails/generators/rails/app/templates/bin/bundle.tt +0 -2
- data/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_5_2.rb.tt +0 -38
- data/lib/rails/generators/rails/assets/templates/javascript.js +0 -2
@@ -2,21 +2,21 @@
|
|
2
2
|
|
3
3
|
require "rails/source_annotation_extractor"
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
task notes: :environment do
|
6
|
+
Rails::SourceAnnotationExtractor::Annotation.notes_task_deprecation_warning
|
7
|
+
Rails::Command.invoke :notes
|
8
8
|
end
|
9
9
|
|
10
10
|
namespace :notes do
|
11
11
|
["OPTIMIZE", "FIXME", "TODO"].each do |annotation|
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
task annotation.downcase.intern => :environment do
|
13
|
+
Rails::SourceAnnotationExtractor::Annotation.notes_task_deprecation_warning
|
14
|
+
Rails::Command.invoke :notes, ["--annotations", annotation]
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
18
|
+
task custom: :environment do
|
19
|
+
Rails::SourceAnnotationExtractor::Annotation.notes_task_deprecation_warning
|
20
|
+
Rails::Command.invoke :notes, ["--annotations", ENV["ANNOTATION"]]
|
21
21
|
end
|
22
22
|
end
|
data/lib/rails/tasks/dev.rake
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "rails/
|
3
|
+
require "rails/command"
|
4
|
+
require "active_support/deprecation"
|
4
5
|
|
5
6
|
namespace :dev do
|
6
|
-
|
7
|
-
|
8
|
-
Rails::
|
7
|
+
task cache: :environment do
|
8
|
+
ActiveSupport::Deprecation.warn("Using `bin/rake dev:cache` is deprecated and will be removed in Rails 6.1. Use `bin/rails dev:cache` instead.\n")
|
9
|
+
Rails::Command.invoke "dev:cache"
|
9
10
|
end
|
10
11
|
end
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
namespace :app do
|
4
4
|
desc "Update configs and some other initially generated files (or use just update:configs or update:bin)"
|
5
|
-
task update: [ "update:configs", "update:bin", "update:upgrade_guide_info" ]
|
5
|
+
task update: [ "update:configs", "update:bin", "update:active_storage", "update:upgrade_guide_info" ]
|
6
6
|
|
7
7
|
desc "Applies the template supplied by LOCATION=(/path/to/template) or URL"
|
8
8
|
task template: :environment do
|
@@ -51,6 +51,10 @@ namespace :app do
|
|
51
51
|
Rails::AppUpdater.invoke_from_app_generator :update_bin_files
|
52
52
|
end
|
53
53
|
|
54
|
+
task :active_storage do
|
55
|
+
Rails::AppUpdater.invoke_from_app_generator :update_active_storage
|
56
|
+
end
|
57
|
+
|
54
58
|
task :upgrade_guide_info do
|
55
59
|
Rails::AppUpdater.invoke_from_app_generator :display_upgrade_guide_info
|
56
60
|
end
|
@@ -1,8 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
require "rails/command"
|
4
|
+
require "active_support/deprecation"
|
5
|
+
|
4
6
|
task initializers: :environment do
|
5
|
-
Rails.
|
6
|
-
|
7
|
-
end
|
7
|
+
ActiveSupport::Deprecation.warn("Using `bin/rake initializers` is deprecated and will be removed in Rails 6.1. Use `bin/rails initializers` instead.\n")
|
8
|
+
Rails::Command.invoke "initializers"
|
8
9
|
end
|
data/lib/rails/tasks/log.rake
CHANGED
data/lib/rails/tasks/routes.rake
CHANGED
@@ -1,31 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
3
|
+
require "rails/command"
|
4
|
+
require "active_support/deprecation"
|
4
5
|
|
5
|
-
desc "Print out all defined routes in match order, with names. Target specific controller with -c option, or grep routes using -g option"
|
6
6
|
task routes: :environment do
|
7
|
-
|
8
|
-
|
9
|
-
inspector = ActionDispatch::Routing::RoutesInspector.new(all_routes)
|
10
|
-
|
11
|
-
routes_filter = nil
|
12
|
-
|
13
|
-
OptionParser.new do |opts|
|
14
|
-
opts.banner = "Usage: rails routes [options]"
|
15
|
-
|
16
|
-
Rake.application.standard_rake_options.each { |args| opts.on(*args) }
|
17
|
-
|
18
|
-
opts.on("-c CONTROLLER") do |controller|
|
19
|
-
routes_filter = { controller: controller }
|
20
|
-
end
|
21
|
-
|
22
|
-
opts.on("-g PATTERN") do |pattern|
|
23
|
-
routes_filter = pattern
|
24
|
-
end
|
25
|
-
|
26
|
-
end.parse!(ARGV.reject { |x| x == "routes" })
|
27
|
-
|
28
|
-
puts inspector.format(ActionDispatch::Routing::ConsoleFormatter.new, routes_filter)
|
29
|
-
|
30
|
-
exit 0 # ensure extra arguments aren't interpreted as Rake tasks
|
7
|
+
ActiveSupport::Deprecation.warn("Using `bin/rake routes` is deprecated and will be removed in Rails 6.1. Use `bin/rails routes` instead.\n")
|
8
|
+
Rails::Command.invoke "routes"
|
31
9
|
end
|
data/lib/rails/tasks/yarn.rake
CHANGED
@@ -8,7 +8,7 @@ namespace :yarn do
|
|
8
8
|
node_env = ENV.fetch("NODE_ENV") do
|
9
9
|
valid_node_envs.include?(Rails.env) ? Rails.env : "production"
|
10
10
|
end
|
11
|
-
system({ "NODE_ENV" => node_env }, "
|
11
|
+
system({ "NODE_ENV" => node_env }, "#{Rails.root}/bin/yarn install --no-progress --frozen-lockfile")
|
12
12
|
end
|
13
13
|
end
|
14
14
|
|
@@ -62,11 +62,11 @@
|
|
62
62
|
|
63
63
|
<h1>Yay! You’re on Rails!</h1>
|
64
64
|
|
65
|
-
|
65
|
+
|
66
66
|
|
67
67
|
<p class="version">
|
68
68
|
<strong>Rails version:</strong> <%= Rails.version %><br />
|
69
|
-
<strong>Ruby version:</strong> <%=
|
69
|
+
<strong>Ruby version:</strong> <%= RUBY_DESCRIPTION %>
|
70
70
|
</p>
|
71
71
|
</section>
|
72
72
|
</div>
|
data/lib/rails/test_help.rb
CHANGED
@@ -20,27 +20,29 @@ if defined?(ActiveRecord::Base)
|
|
20
20
|
exit 1
|
21
21
|
end
|
22
22
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
23
|
+
ActiveSupport.on_load(:active_support_test_case) do
|
24
|
+
include ActiveRecord::TestDatabases
|
25
|
+
include ActiveRecord::TestFixtures
|
26
|
+
|
27
|
+
self.fixture_path = "#{Rails.root}/test/fixtures/"
|
28
|
+
self.file_fixture_path = fixture_path + "files"
|
29
29
|
end
|
30
30
|
|
31
|
-
|
31
|
+
ActiveSupport.on_load(:action_dispatch_integration_test) do
|
32
|
+
self.fixture_path = ActiveSupport::TestCase.fixture_path
|
33
|
+
end
|
32
34
|
end
|
33
35
|
|
34
36
|
# :enddoc:
|
35
37
|
|
36
|
-
|
38
|
+
ActiveSupport.on_load(:action_controller_test_case) do
|
37
39
|
def before_setup # :nodoc:
|
38
40
|
@routes = Rails.application.routes
|
39
41
|
super
|
40
42
|
end
|
41
43
|
end
|
42
44
|
|
43
|
-
|
45
|
+
ActiveSupport.on_load(:action_dispatch_integration_test) do
|
44
46
|
def before_setup # :nodoc:
|
45
47
|
@routes = Rails.application.routes
|
46
48
|
super
|
@@ -12,8 +12,8 @@ module Rails
|
|
12
12
|
|
13
13
|
class << self
|
14
14
|
def attach_before_load_options(opts)
|
15
|
-
opts.on("--warnings", "-w", "Run with Ruby warnings enabled") {}
|
16
|
-
opts.on("-e", "--environment ENV", "Run tests in the ENV environment") {}
|
15
|
+
opts.on("--warnings", "-w", "Run with Ruby warnings enabled") { }
|
16
|
+
opts.on("-e", "--environment ENV", "Run tests in the ENV environment") { }
|
17
17
|
end
|
18
18
|
|
19
19
|
def parse_options(argv)
|
@@ -63,7 +63,7 @@ module Rails
|
|
63
63
|
# Extract absolute and relative paths but skip -n /.*/ regexp filters.
|
64
64
|
argv.select { |arg| arg =~ %r%^/?\w+/% && !arg.end_with?("/") }.map do |path|
|
65
65
|
case
|
66
|
-
when
|
66
|
+
when /(:\d+)+$/.match?(path)
|
67
67
|
file, *lines = path.split(":")
|
68
68
|
filters << [ file, lines ]
|
69
69
|
file
|
@@ -87,7 +87,7 @@ module Rails
|
|
87
87
|
@filters = [ @named_filter, *derive_line_filters(patterns) ].compact
|
88
88
|
end
|
89
89
|
|
90
|
-
#
|
90
|
+
# minitest uses === to find matching filters.
|
91
91
|
def ===(method)
|
92
92
|
@filters.any? { |filter| filter === method }
|
93
93
|
end
|
@@ -96,7 +96,7 @@ module Rails
|
|
96
96
|
def derive_named_filter(filter)
|
97
97
|
if filter.respond_to?(:named_filter)
|
98
98
|
filter.named_filter
|
99
|
-
elsif filter =~ %r%/(.*)/% # Regexp filtering copied from
|
99
|
+
elsif filter =~ %r%/(.*)/% # Regexp filtering copied from minitest.
|
100
100
|
Regexp.new $1
|
101
101
|
elsif filter.is_a?(String)
|
102
102
|
filter
|
@@ -28,7 +28,7 @@ namespace :test do
|
|
28
28
|
desc "Run tests quickly, but also reset db"
|
29
29
|
task db: %w[db:test:prepare test]
|
30
30
|
|
31
|
-
["models", "helpers", "controllers", "mailers", "integration", "jobs"].each do |name|
|
31
|
+
["models", "helpers", "channels", "controllers", "mailers", "integration", "jobs", "mailboxes"].each do |name|
|
32
32
|
task name => "test:prepare" do
|
33
33
|
$: << "test"
|
34
34
|
Rails::TestUnit::Runner.rake_run(["test/#{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:
|
4
|
+
version: 6.0.0.beta1
|
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-01-18 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:
|
19
|
+
version: 6.0.0.beta1
|
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:
|
26
|
+
version: 6.0.0.beta1
|
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:
|
33
|
+
version: 6.0.0.beta1
|
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:
|
40
|
+
version: 6.0.0.beta1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,7 +58,7 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.20.3
|
62
62
|
- - "<"
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: '2.0'
|
@@ -68,7 +68,7 @@ dependencies:
|
|
68
68
|
requirements:
|
69
69
|
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: 0.
|
71
|
+
version: 0.20.3
|
72
72
|
- - "<"
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '2.0'
|
@@ -92,14 +92,14 @@ dependencies:
|
|
92
92
|
requirements:
|
93
93
|
- - '='
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version:
|
95
|
+
version: 6.0.0.beta1
|
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:
|
102
|
+
version: 6.0.0.beta1
|
103
103
|
description: 'Rails internals: application bootup, plugins, generators, and rake tasks.'
|
104
104
|
email: david@loudthinking.com
|
105
105
|
executables:
|
@@ -136,21 +136,26 @@ files:
|
|
136
136
|
- lib/rails/command/behavior.rb
|
137
137
|
- lib/rails/command/environment_argument.rb
|
138
138
|
- lib/rails/command/helpers/editor.rb
|
139
|
+
- lib/rails/command/spellchecker.rb
|
139
140
|
- lib/rails/commands.rb
|
140
141
|
- lib/rails/commands/application/application_command.rb
|
141
142
|
- lib/rails/commands/console/console_command.rb
|
142
143
|
- lib/rails/commands/credentials/USAGE
|
143
144
|
- lib/rails/commands/credentials/credentials_command.rb
|
145
|
+
- lib/rails/commands/db/system/change/change_command.rb
|
144
146
|
- lib/rails/commands/dbconsole/dbconsole_command.rb
|
145
147
|
- lib/rails/commands/destroy/destroy_command.rb
|
146
|
-
- lib/rails/commands/
|
148
|
+
- lib/rails/commands/dev/dev_command.rb
|
147
149
|
- lib/rails/commands/encrypted/encrypted_command.rb
|
148
150
|
- lib/rails/commands/generate/generate_command.rb
|
149
151
|
- lib/rails/commands/help/USAGE
|
150
152
|
- lib/rails/commands/help/help_command.rb
|
153
|
+
- lib/rails/commands/initializers/initializers_command.rb
|
151
154
|
- lib/rails/commands/new/new_command.rb
|
155
|
+
- lib/rails/commands/notes/notes_command.rb
|
152
156
|
- lib/rails/commands/plugin/plugin_command.rb
|
153
157
|
- lib/rails/commands/rake/rake_command.rb
|
158
|
+
- lib/rails/commands/routes/routes_command.rb
|
154
159
|
- lib/rails/commands/runner/USAGE
|
155
160
|
- lib/rails/commands/runner/runner_command.rb
|
156
161
|
- lib/rails/commands/secrets/USAGE
|
@@ -173,10 +178,12 @@ files:
|
|
173
178
|
- lib/rails/generators/actions/create_migration.rb
|
174
179
|
- lib/rails/generators/active_model.rb
|
175
180
|
- lib/rails/generators/app_base.rb
|
181
|
+
- lib/rails/generators/app_name.rb
|
176
182
|
- lib/rails/generators/base.rb
|
177
183
|
- lib/rails/generators/css/assets/assets_generator.rb
|
178
184
|
- lib/rails/generators/css/assets/templates/stylesheet.css
|
179
185
|
- lib/rails/generators/css/scaffold/scaffold_generator.rb
|
186
|
+
- lib/rails/generators/database.rb
|
180
187
|
- lib/rails/generators/erb.rb
|
181
188
|
- lib/rails/generators/erb/controller/controller_generator.rb
|
182
189
|
- lib/rails/generators/erb/controller/templates/view.html.erb.tt
|
@@ -192,8 +199,6 @@ files:
|
|
192
199
|
- lib/rails/generators/erb/scaffold/templates/new.html.erb.tt
|
193
200
|
- lib/rails/generators/erb/scaffold/templates/show.html.erb.tt
|
194
201
|
- lib/rails/generators/generated_attribute.rb
|
195
|
-
- lib/rails/generators/js/assets/assets_generator.rb
|
196
|
-
- lib/rails/generators/js/assets/templates/javascript.js
|
197
202
|
- lib/rails/generators/migration.rb
|
198
203
|
- lib/rails/generators/model_helpers.rb
|
199
204
|
- lib/rails/generators/named_base.rb
|
@@ -203,20 +208,20 @@ files:
|
|
203
208
|
- lib/rails/generators/rails/app/templates/README.md.tt
|
204
209
|
- lib/rails/generators/rails/app/templates/Rakefile.tt
|
205
210
|
- lib/rails/generators/rails/app/templates/app/assets/config/manifest.js.tt
|
206
|
-
- lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt
|
207
|
-
- lib/rails/generators/rails/app/templates/app/assets/javascripts/cable.js.tt
|
208
211
|
- lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css.tt
|
209
212
|
- lib/rails/generators/rails/app/templates/app/channels/application_cable/channel.rb.tt
|
210
213
|
- lib/rails/generators/rails/app/templates/app/channels/application_cable/connection.rb.tt
|
211
214
|
- lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
|
212
215
|
- lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb.tt
|
216
|
+
- lib/rails/generators/rails/app/templates/app/javascript/channels/consumer.js
|
217
|
+
- lib/rails/generators/rails/app/templates/app/javascript/channels/index.js
|
218
|
+
- lib/rails/generators/rails/app/templates/app/javascript/packs/application.js.tt
|
213
219
|
- lib/rails/generators/rails/app/templates/app/jobs/application_job.rb.tt
|
214
220
|
- lib/rails/generators/rails/app/templates/app/mailers/application_mailer.rb.tt
|
215
221
|
- lib/rails/generators/rails/app/templates/app/models/application_record.rb.tt
|
216
222
|
- lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt
|
217
223
|
- lib/rails/generators/rails/app/templates/app/views/layouts/mailer.html.erb.tt
|
218
224
|
- lib/rails/generators/rails/app/templates/app/views/layouts/mailer.text.erb.tt
|
219
|
-
- lib/rails/generators/rails/app/templates/bin/bundle.tt
|
220
225
|
- lib/rails/generators/rails/app/templates/bin/rails.tt
|
221
226
|
- lib/rails/generators/rails/app/templates/bin/rake.tt
|
222
227
|
- lib/rails/generators/rails/app/templates/bin/setup.tt
|
@@ -250,7 +255,7 @@ files:
|
|
250
255
|
- lib/rails/generators/rails/app/templates/config/initializers/filter_parameter_logging.rb.tt
|
251
256
|
- lib/rails/generators/rails/app/templates/config/initializers/inflections.rb.tt
|
252
257
|
- lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb.tt
|
253
|
-
- lib/rails/generators/rails/app/templates/config/initializers/
|
258
|
+
- lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_6_0.rb.tt
|
254
259
|
- lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt
|
255
260
|
- lib/rails/generators/rails/app/templates/config/locales/en.yml
|
256
261
|
- lib/rails/generators/rails/app/templates/config/puma.rb.tt
|
@@ -269,16 +274,17 @@ files:
|
|
269
274
|
- lib/rails/generators/rails/app/templates/public/robots.txt
|
270
275
|
- lib/rails/generators/rails/app/templates/ruby-version.tt
|
271
276
|
- lib/rails/generators/rails/app/templates/test/application_system_test_case.rb.tt
|
277
|
+
- lib/rails/generators/rails/app/templates/test/channels/application_cable/connection_test.rb.tt
|
272
278
|
- lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
|
273
279
|
- lib/rails/generators/rails/application_record/application_record_generator.rb
|
274
280
|
- lib/rails/generators/rails/assets/USAGE
|
275
281
|
- lib/rails/generators/rails/assets/assets_generator.rb
|
276
|
-
- lib/rails/generators/rails/assets/templates/javascript.js
|
277
282
|
- lib/rails/generators/rails/assets/templates/stylesheet.css
|
278
283
|
- lib/rails/generators/rails/controller/USAGE
|
279
284
|
- lib/rails/generators/rails/controller/controller_generator.rb
|
280
285
|
- lib/rails/generators/rails/controller/templates/controller.rb.tt
|
281
286
|
- lib/rails/generators/rails/credentials/credentials_generator.rb
|
287
|
+
- lib/rails/generators/rails/db/system/change/change_generator.rb
|
282
288
|
- lib/rails/generators/rails/encrypted_file/encrypted_file_generator.rb
|
283
289
|
- lib/rails/generators/rails/encryption_key_file/encryption_key_file_generator.rb
|
284
290
|
- lib/rails/generators/rails/generator/USAGE
|
@@ -422,8 +428,8 @@ homepage: http://rubyonrails.org
|
|
422
428
|
licenses:
|
423
429
|
- MIT
|
424
430
|
metadata:
|
425
|
-
source_code_uri: https://github.com/rails/rails/tree/
|
426
|
-
changelog_uri: https://github.com/rails/rails/blob/
|
431
|
+
source_code_uri: https://github.com/rails/rails/tree/v6.0.0.beta1/railties
|
432
|
+
changelog_uri: https://github.com/rails/rails/blob/v6.0.0.beta1/railties/CHANGELOG.md
|
427
433
|
post_install_message:
|
428
434
|
rdoc_options:
|
429
435
|
- "--exclude"
|
@@ -434,7 +440,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
434
440
|
requirements:
|
435
441
|
- - ">="
|
436
442
|
- !ruby/object:Gem::Version
|
437
|
-
version: 2.
|
443
|
+
version: 2.5.0
|
438
444
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
439
445
|
requirements:
|
440
446
|
- - ">"
|