railties 5.1.7 → 5.2.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +77 -241
- data/RDOC_MAIN.rdoc +61 -43
- data/README.rdoc +1 -2
- data/exe/rails +3 -2
- data/lib/minitest/rails_plugin.rb +9 -13
- data/lib/rails.rb +4 -2
- data/lib/rails/all.rb +3 -0
- data/lib/rails/api/generator.rb +10 -1
- data/lib/rails/api/task.rb +11 -1
- data/lib/rails/app_loader.rb +18 -5
- data/lib/rails/app_updater.rb +34 -0
- data/lib/rails/application.rb +90 -18
- data/lib/rails/application/bootstrap.rb +2 -0
- data/lib/rails/application/configuration.rb +79 -36
- data/lib/rails/application/default_middleware_stack.rb +7 -1
- data/lib/rails/application/finisher.rb +3 -1
- data/lib/rails/application/routes_reloader.rb +21 -3
- data/lib/rails/application_controller.rb +3 -1
- data/lib/rails/backtrace_cleaner.rb +3 -1
- data/lib/rails/cli.rb +2 -0
- data/lib/rails/code_statistics.rb +2 -0
- data/lib/rails/code_statistics_calculator.rb +2 -0
- data/lib/rails/command.rb +3 -1
- data/lib/rails/command/actions.rb +6 -4
- data/lib/rails/command/base.rb +5 -3
- data/lib/rails/command/behavior.rb +2 -0
- data/lib/rails/command/environment_argument.rb +14 -1
- data/lib/rails/command/helpers/editor.rb +35 -0
- data/lib/rails/commands.rb +2 -0
- data/lib/rails/commands/application/application_command.rb +2 -0
- data/lib/rails/commands/console/console_command.rb +2 -3
- data/lib/rails/commands/credentials/USAGE +40 -0
- data/lib/rails/commands/credentials/credentials_command.rb +72 -0
- data/lib/rails/commands/dbconsole/dbconsole_command.rb +18 -7
- data/lib/rails/commands/destroy/destroy_command.rb +2 -0
- data/lib/rails/commands/encrypted/encrypted_command.rb +77 -0
- data/lib/rails/commands/generate/generate_command.rb +2 -0
- data/lib/rails/commands/help/help_command.rb +2 -0
- data/lib/rails/commands/new/new_command.rb +2 -0
- data/lib/rails/commands/plugin/plugin_command.rb +2 -0
- data/lib/rails/commands/rake/rake_command.rb +2 -0
- data/lib/rails/commands/runner/USAGE +3 -0
- data/lib/rails/commands/runner/runner_command.rb +7 -3
- data/lib/rails/commands/secrets/secrets_command.rb +15 -10
- data/lib/rails/commands/server/server_command.rb +24 -3
- data/lib/rails/commands/test/test_command.rb +18 -23
- data/lib/rails/commands/version/version_command.rb +2 -0
- data/lib/rails/configuration.rb +2 -0
- data/lib/rails/console/app.rb +2 -0
- data/lib/rails/console/helpers.rb +2 -0
- data/lib/rails/dev_caching.rb +2 -1
- data/lib/rails/engine.rb +3 -1
- data/lib/rails/engine/commands.rb +2 -0
- data/lib/rails/engine/configuration.rb +2 -0
- data/lib/rails/engine/railties.rb +2 -0
- data/lib/rails/engine/updater.rb +3 -1
- data/lib/rails/gem_version.rb +5 -3
- data/lib/rails/generators.rb +8 -3
- data/lib/rails/generators/actions.rb +53 -24
- data/lib/rails/generators/actions/create_migration.rb +2 -0
- data/lib/rails/generators/active_model.rb +2 -0
- data/lib/rails/generators/app_base.rb +94 -57
- data/lib/rails/generators/base.rb +40 -1
- data/lib/rails/generators/css/assets/assets_generator.rb +3 -1
- data/lib/rails/generators/css/scaffold/scaffold_generator.rb +5 -3
- data/lib/rails/generators/erb.rb +2 -0
- data/lib/rails/generators/erb/controller/controller_generator.rb +2 -0
- data/lib/rails/generators/erb/controller/templates/{view.html.erb → view.html.erb.tt} +0 -0
- data/lib/rails/generators/erb/mailer/mailer_generator.rb +2 -0
- data/lib/rails/generators/erb/mailer/templates/{view.html.erb → view.html.erb.tt} +0 -0
- data/lib/rails/generators/erb/mailer/templates/{view.text.erb → view.text.erb.tt} +0 -0
- data/lib/rails/generators/erb/scaffold/scaffold_generator.rb +2 -0
- data/lib/rails/generators/erb/scaffold/templates/{_form.html.erb → _form.html.erb.tt} +4 -4
- data/lib/rails/generators/erb/scaffold/templates/{edit.html.erb → edit.html.erb.tt} +0 -0
- data/lib/rails/generators/erb/scaffold/templates/{index.html.erb → index.html.erb.tt} +4 -4
- data/lib/rails/generators/erb/scaffold/templates/{new.html.erb → new.html.erb.tt} +0 -0
- data/lib/rails/generators/erb/scaffold/templates/{show.html.erb → show.html.erb.tt} +0 -0
- data/lib/rails/generators/generated_attribute.rb +3 -1
- data/lib/rails/generators/js/assets/assets_generator.rb +3 -1
- data/lib/rails/generators/migration.rb +2 -0
- data/lib/rails/generators/model_helpers.rb +2 -0
- data/lib/rails/generators/named_base.rb +35 -45
- data/lib/rails/generators/rails/app/app_generator.rb +64 -23
- data/lib/rails/generators/rails/app/templates/{Gemfile → Gemfile.tt} +17 -6
- data/lib/rails/generators/rails/app/templates/{README.md → README.md.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/{Rakefile → Rakefile.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt +3 -0
- data/lib/rails/generators/rails/app/templates/app/assets/javascripts/{cable.js → cable.js.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/app/assets/stylesheets/{application.css → application.css.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/app/channels/application_cable/{channel.rb → channel.rb.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/app/channels/application_cable/{connection.rb → connection.rb.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt +1 -4
- data/lib/rails/generators/rails/app/templates/app/helpers/{application_helper.rb → application_helper.rb.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/app/jobs/{application_job.rb → application_job.rb.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/app/mailers/{application_mailer.rb → application_mailer.rb.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/app/models/{application_record.rb → application_record.rb.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/bin/bundle.tt +2 -0
- data/lib/rails/generators/rails/app/templates/bin/{rails → rails.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/bin/{rake → rake.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/bin/setup.tt +5 -5
- data/lib/rails/generators/rails/app/templates/bin/update.tt +7 -3
- data/lib/rails/generators/rails/app/templates/bin/{yarn → yarn.tt} +3 -3
- data/lib/rails/generators/rails/app/templates/{config.ru → config.ru.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/config/{application.rb → application.rb.tt} +2 -1
- data/lib/rails/generators/rails/app/templates/config/{boot.rb → boot.rb.tt} +1 -0
- data/lib/rails/generators/rails/app/templates/config/{cable.yml → cable.yml.tt} +1 -1
- data/lib/rails/generators/rails/app/templates/config/databases/{frontbase.yml → frontbase.yml.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/config/databases/{ibm_db.yml → ibm_db.yml.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/config/databases/{jdbc.yml → jdbc.yml.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/config/databases/{jdbcmysql.yml → jdbcmysql.yml.tt} +1 -1
- data/lib/rails/generators/rails/app/templates/config/databases/{jdbcpostgresql.yml → jdbcpostgresql.yml.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/config/databases/{jdbcsqlite3.yml → jdbcsqlite3.yml.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/config/databases/{mysql.yml → mysql.yml.tt} +1 -1
- data/lib/rails/generators/rails/app/templates/config/databases/{oracle.yml → oracle.yml.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/config/databases/{postgresql.yml → postgresql.yml.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/config/databases/{sqlite3.yml → sqlite3.yml.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/config/databases/{sqlserver.yml → sqlserver.yml.tt} +2 -2
- data/lib/rails/generators/rails/app/templates/config/{environment.rb → environment.rb.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +7 -1
- data/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +12 -7
- data/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +8 -2
- data/lib/rails/generators/rails/app/templates/config/initializers/{application_controller_renderer.rb → application_controller_renderer.rb.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/config/initializers/{backtrace_silencers.rb → backtrace_silencers.rb.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/config/initializers/content_security_policy.rb.tt +20 -0
- data/lib/rails/generators/rails/app/templates/config/initializers/{cookies_serializer.rb → cookies_serializer.rb.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/config/initializers/{cors.rb → cors.rb.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/config/initializers/{filter_parameter_logging.rb → filter_parameter_logging.rb.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/config/initializers/{inflections.rb → inflections.rb.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/config/initializers/{mime_types.rb → mime_types.rb.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_5_2.rb.tt +27 -0
- data/lib/rails/generators/rails/app/templates/config/{puma.rb → puma.rb.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/config/{routes.rb → routes.rb.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/config/{spring.rb → spring.rb.tt} +2 -2
- data/lib/rails/generators/rails/app/templates/config/storage.yml.tt +35 -0
- data/lib/rails/generators/rails/app/templates/{gitignore → gitignore.tt} +9 -1
- data/lib/rails/generators/rails/app/templates/{package.json → package.json.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/ruby-version.tt +1 -0
- data/lib/rails/generators/rails/app/templates/test/{application_system_test_case.rb → application_system_test_case.rb.tt} +0 -0
- data/lib/rails/generators/rails/app/templates/test/{test_helper.rb → test_helper.rb.tt} +1 -2
- data/lib/rails/generators/rails/application_record/application_record_generator.rb +9 -0
- data/lib/rails/generators/rails/assets/assets_generator.rb +2 -0
- data/lib/rails/generators/rails/assets/templates/stylesheet.css +1 -1
- data/lib/rails/generators/rails/controller/controller_generator.rb +11 -9
- data/lib/rails/generators/rails/controller/templates/{controller.rb → controller.rb.tt} +0 -0
- data/lib/rails/generators/rails/credentials/credentials_generator.rb +48 -0
- data/lib/rails/generators/rails/encrypted_file/encrypted_file_generator.rb +38 -0
- data/lib/rails/generators/rails/encryption_key_file/encryption_key_file_generator.rb +57 -0
- data/lib/rails/generators/rails/generator/generator_generator.rb +2 -0
- data/lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt +1 -1
- data/lib/rails/generators/rails/helper/helper_generator.rb +2 -0
- data/lib/rails/generators/rails/helper/templates/{helper.rb → helper.rb.tt} +0 -0
- data/lib/rails/generators/rails/integration_test/integration_test_generator.rb +2 -0
- data/lib/rails/generators/rails/master_key/master_key_generator.rb +51 -0
- data/lib/rails/generators/rails/migration/migration_generator.rb +2 -0
- data/lib/rails/generators/rails/model/model_generator.rb +2 -0
- data/lib/rails/generators/rails/plugin/plugin_generator.rb +18 -9
- data/lib/rails/generators/rails/plugin/templates/%name%.gemspec.tt +24 -0
- data/lib/rails/generators/rails/plugin/templates/{Gemfile → Gemfile.tt} +1 -0
- data/lib/rails/generators/rails/plugin/templates/{MIT-LICENSE → MIT-LICENSE.tt} +0 -0
- data/lib/rails/generators/rails/plugin/templates/{README.md → README.md.tt} +1 -1
- data/lib/rails/generators/rails/plugin/templates/{Rakefile → Rakefile.tt} +6 -7
- data/lib/rails/generators/rails/plugin/templates/bin/rails.tt +21 -4
- data/lib/rails/generators/rails/plugin/templates/bin/test.tt +1 -1
- data/lib/rails/generators/rails/plugin/templates/config/{routes.rb → routes.rb.tt} +0 -0
- data/lib/rails/generators/rails/plugin/templates/gitignore.tt +18 -0
- data/lib/rails/generators/rails/plugin/templates/lib/{%namespaced_name%.rb → %namespaced_name%.rb.tt} +3 -1
- data/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/{engine.rb → engine.rb.tt} +0 -0
- data/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/railtie.rb.tt +5 -0
- data/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/{version.rb → version.rb.tt} +0 -0
- data/lib/rails/generators/rails/plugin/templates/lib/tasks/{%namespaced_name%_tasks.rake → %namespaced_name%_tasks.rake.tt} +0 -0
- data/lib/rails/generators/rails/plugin/templates/rails/{application.rb → application.rb.tt} +6 -3
- data/lib/rails/generators/rails/plugin/templates/rails/{boot.rb → boot.rb.tt} +0 -0
- data/lib/rails/generators/rails/plugin/templates/rails/{dummy_manifest.js → dummy_manifest.js.tt} +0 -1
- data/lib/rails/generators/rails/plugin/templates/rails/{engine_manifest.js → engine_manifest.js.tt} +0 -0
- data/lib/rails/generators/rails/plugin/templates/rails/{javascripts.js → javascripts.js.tt} +3 -0
- data/lib/rails/generators/rails/plugin/templates/rails/{routes.rb → routes.rb.tt} +0 -0
- data/lib/rails/generators/rails/plugin/templates/test/{%namespaced_name%_test.rb → %namespaced_name%_test.rb.tt} +0 -0
- data/lib/rails/generators/rails/plugin/templates/test/{application_system_test_case.rb → application_system_test_case.rb.tt} +0 -0
- data/lib/rails/generators/rails/plugin/templates/test/integration/{navigation_test.rb → navigation_test.rb.tt} +0 -1
- data/lib/rails/generators/rails/plugin/templates/test/{test_helper.rb → test_helper.rb.tt} +7 -6
- data/lib/rails/generators/rails/resource/USAGE +1 -1
- data/lib/rails/generators/rails/resource/resource_generator.rb +2 -0
- data/lib/rails/generators/rails/resource_route/resource_route_generator.rb +21 -24
- data/lib/rails/generators/rails/scaffold/scaffold_generator.rb +2 -3
- data/lib/rails/generators/rails/scaffold_controller/USAGE +1 -1
- data/lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb +2 -0
- data/lib/rails/generators/rails/scaffold_controller/templates/{api_controller.rb → api_controller.rb.tt} +0 -0
- data/lib/rails/generators/rails/scaffold_controller/templates/{controller.rb → controller.rb.tt} +2 -2
- data/lib/rails/generators/rails/system_test/system_test_generator.rb +2 -0
- data/lib/rails/generators/rails/task/task_generator.rb +2 -0
- data/lib/rails/generators/rails/task/templates/{task.rb → task.rb.tt} +0 -0
- data/lib/rails/generators/resource_helpers.rb +2 -0
- data/lib/rails/generators/test_case.rb +4 -2
- data/lib/rails/generators/test_unit.rb +2 -0
- data/lib/rails/generators/test_unit/controller/controller_generator.rb +2 -0
- data/lib/rails/generators/test_unit/controller/templates/{functional_test.rb → functional_test.rb.tt} +0 -0
- data/lib/rails/generators/test_unit/generator/generator_generator.rb +2 -0
- data/lib/rails/generators/test_unit/generator/templates/{generator_test.rb → generator_test.rb.tt} +0 -0
- data/lib/rails/generators/test_unit/helper/helper_generator.rb +2 -0
- data/lib/rails/generators/test_unit/integration/integration_generator.rb +2 -0
- data/lib/rails/generators/test_unit/integration/templates/{integration_test.rb → integration_test.rb.tt} +0 -0
- data/lib/rails/generators/test_unit/job/job_generator.rb +3 -1
- data/lib/rails/generators/test_unit/job/templates/{unit_test.rb.erb → unit_test.rb.tt} +0 -0
- data/lib/rails/generators/test_unit/mailer/mailer_generator.rb +2 -0
- data/lib/rails/generators/test_unit/mailer/templates/{functional_test.rb → functional_test.rb.tt} +0 -0
- data/lib/rails/generators/test_unit/mailer/templates/{preview.rb → preview.rb.tt} +0 -0
- data/lib/rails/generators/test_unit/model/model_generator.rb +2 -0
- data/lib/rails/generators/test_unit/model/templates/{fixtures.yml → fixtures.yml.tt} +0 -0
- data/lib/rails/generators/test_unit/model/templates/{unit_test.rb → unit_test.rb.tt} +0 -0
- data/lib/rails/generators/test_unit/plugin/plugin_generator.rb +2 -0
- data/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb +17 -4
- data/lib/rails/generators/test_unit/scaffold/templates/{api_functional_test.rb → api_functional_test.rb.tt} +2 -2
- data/lib/rails/generators/test_unit/scaffold/templates/{functional_test.rb → functional_test.rb.tt} +2 -2
- data/lib/rails/generators/test_unit/scaffold/templates/system_test.rb.tt +49 -0
- data/lib/rails/generators/test_unit/system/system_generator.rb +3 -1
- data/lib/rails/generators/test_unit/system/templates/{application_system_test_case.rb → application_system_test_case.rb.tt} +0 -0
- data/lib/rails/generators/test_unit/system/templates/{system_test.rb → system_test.rb.tt} +0 -0
- data/lib/rails/generators/testing/assertions.rb +7 -1
- data/lib/rails/generators/testing/behaviour.rb +8 -6
- data/lib/rails/generators/testing/setup_and_teardown.rb +2 -0
- data/lib/rails/info.rb +6 -3
- data/lib/rails/info_controller.rb +2 -0
- data/lib/rails/initializable.rb +2 -0
- data/lib/rails/mailers_controller.rb +9 -1
- data/lib/rails/paths.rb +2 -0
- data/lib/rails/plugin/test.rb +4 -2
- data/lib/rails/rack.rb +2 -0
- data/lib/rails/rack/logger.rb +5 -3
- data/lib/rails/railtie.rb +9 -4
- data/lib/rails/railtie/configurable.rb +2 -0
- data/lib/rails/railtie/configuration.rb +2 -0
- data/lib/rails/ruby_version_check.rb +3 -1
- data/lib/rails/secrets.rb +2 -17
- data/lib/rails/source_annotation_extractor.rb +4 -2
- data/lib/rails/tasks.rb +2 -0
- data/lib/rails/tasks/annotations.rake +2 -0
- data/lib/rails/tasks/dev.rake +2 -0
- data/lib/rails/tasks/engine.rake +7 -2
- data/lib/rails/tasks/framework.rake +9 -24
- data/lib/rails/tasks/initializers.rake +2 -0
- data/lib/rails/tasks/log.rake +2 -0
- data/lib/rails/tasks/middleware.rake +2 -0
- data/lib/rails/tasks/misc.rake +2 -0
- data/lib/rails/tasks/restart.rake +2 -1
- data/lib/rails/tasks/routes.rake +2 -0
- data/lib/rails/tasks/statistics.rake +2 -0
- data/lib/rails/tasks/tmp.rake +11 -2
- data/lib/rails/tasks/yarn.rake +3 -1
- data/lib/rails/templates/rails/mailers/email.html.erb +3 -3
- data/lib/rails/templates/rails/welcome/index.html.erb +14 -4
- data/lib/rails/test_help.rb +2 -0
- data/lib/rails/test_unit/line_filtering.rb +2 -1
- data/lib/rails/test_unit/railtie.rb +2 -0
- data/lib/rails/test_unit/reporter.rb +5 -10
- data/lib/rails/test_unit/runner.rb +3 -3
- data/lib/rails/test_unit/testing.rake +3 -1
- data/lib/rails/version.rb +2 -0
- data/lib/rails/welcome_controller.rb +2 -0
- metadata +121 -107
- data/lib/rails/generators/rails/app/templates/bin/bundle +0 -2
- data/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_5_1.rb.tt +0 -16
- data/lib/rails/generators/rails/app/templates/config/secrets.yml +0 -32
- data/lib/rails/generators/rails/encrypted_secrets/encrypted_secrets_generator.rb +0 -70
- data/lib/rails/generators/rails/plugin/templates/%name%.gemspec +0 -33
- data/lib/rails/generators/rails/plugin/templates/gitignore +0 -9
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.
|
4
|
+
version: 5.2.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:
|
11
|
+
date: 2017-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: 5.
|
19
|
+
version: 5.2.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: 5.
|
26
|
+
version: 5.2.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: 5.
|
33
|
+
version: 5.2.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: 5.
|
40
|
+
version: 5.2.0.beta1
|
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.
|
95
|
+
version: 5.2.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: 5.
|
102
|
+
version: 5.2.0.beta1
|
103
103
|
description: 'Rails internals: application bootup, plugins, generators, and rake tasks.'
|
104
104
|
email: david@loudthinking.com
|
105
105
|
executables:
|
@@ -118,6 +118,7 @@ files:
|
|
118
118
|
- lib/rails/api/generator.rb
|
119
119
|
- lib/rails/api/task.rb
|
120
120
|
- lib/rails/app_loader.rb
|
121
|
+
- lib/rails/app_updater.rb
|
121
122
|
- lib/rails/application.rb
|
122
123
|
- lib/rails/application/bootstrap.rb
|
123
124
|
- lib/rails/application/configuration.rb
|
@@ -134,11 +135,15 @@ files:
|
|
134
135
|
- lib/rails/command/base.rb
|
135
136
|
- lib/rails/command/behavior.rb
|
136
137
|
- lib/rails/command/environment_argument.rb
|
138
|
+
- lib/rails/command/helpers/editor.rb
|
137
139
|
- lib/rails/commands.rb
|
138
140
|
- lib/rails/commands/application/application_command.rb
|
139
141
|
- lib/rails/commands/console/console_command.rb
|
142
|
+
- lib/rails/commands/credentials/USAGE
|
143
|
+
- lib/rails/commands/credentials/credentials_command.rb
|
140
144
|
- lib/rails/commands/dbconsole/dbconsole_command.rb
|
141
145
|
- lib/rails/commands/destroy/destroy_command.rb
|
146
|
+
- lib/rails/commands/encrypted/encrypted_command.rb
|
142
147
|
- lib/rails/commands/generate/generate_command.rb
|
143
148
|
- lib/rails/commands/help/USAGE
|
144
149
|
- lib/rails/commands/help/help_command.rb
|
@@ -173,18 +178,18 @@ files:
|
|
173
178
|
- lib/rails/generators/css/scaffold/scaffold_generator.rb
|
174
179
|
- lib/rails/generators/erb.rb
|
175
180
|
- lib/rails/generators/erb/controller/controller_generator.rb
|
176
|
-
- lib/rails/generators/erb/controller/templates/view.html.erb
|
181
|
+
- lib/rails/generators/erb/controller/templates/view.html.erb.tt
|
177
182
|
- lib/rails/generators/erb/mailer/mailer_generator.rb
|
178
183
|
- lib/rails/generators/erb/mailer/templates/layout.html.erb.tt
|
179
184
|
- lib/rails/generators/erb/mailer/templates/layout.text.erb.tt
|
180
|
-
- lib/rails/generators/erb/mailer/templates/view.html.erb
|
181
|
-
- lib/rails/generators/erb/mailer/templates/view.text.erb
|
185
|
+
- lib/rails/generators/erb/mailer/templates/view.html.erb.tt
|
186
|
+
- lib/rails/generators/erb/mailer/templates/view.text.erb.tt
|
182
187
|
- lib/rails/generators/erb/scaffold/scaffold_generator.rb
|
183
|
-
- lib/rails/generators/erb/scaffold/templates/_form.html.erb
|
184
|
-
- lib/rails/generators/erb/scaffold/templates/edit.html.erb
|
185
|
-
- lib/rails/generators/erb/scaffold/templates/index.html.erb
|
186
|
-
- lib/rails/generators/erb/scaffold/templates/new.html.erb
|
187
|
-
- lib/rails/generators/erb/scaffold/templates/show.html.erb
|
188
|
+
- lib/rails/generators/erb/scaffold/templates/_form.html.erb.tt
|
189
|
+
- lib/rails/generators/erb/scaffold/templates/edit.html.erb.tt
|
190
|
+
- lib/rails/generators/erb/scaffold/templates/index.html.erb.tt
|
191
|
+
- lib/rails/generators/erb/scaffold/templates/new.html.erb.tt
|
192
|
+
- lib/rails/generators/erb/scaffold/templates/show.html.erb.tt
|
188
193
|
- lib/rails/generators/generated_attribute.rb
|
189
194
|
- lib/rails/generators/js/assets/assets_generator.rb
|
190
195
|
- lib/rails/generators/js/assets/templates/javascript.js
|
@@ -193,66 +198,67 @@ files:
|
|
193
198
|
- lib/rails/generators/named_base.rb
|
194
199
|
- lib/rails/generators/rails/app/USAGE
|
195
200
|
- lib/rails/generators/rails/app/app_generator.rb
|
196
|
-
- lib/rails/generators/rails/app/templates/Gemfile
|
197
|
-
- lib/rails/generators/rails/app/templates/README.md
|
198
|
-
- lib/rails/generators/rails/app/templates/Rakefile
|
201
|
+
- lib/rails/generators/rails/app/templates/Gemfile.tt
|
202
|
+
- lib/rails/generators/rails/app/templates/README.md.tt
|
203
|
+
- lib/rails/generators/rails/app/templates/Rakefile.tt
|
199
204
|
- lib/rails/generators/rails/app/templates/app/assets/config/manifest.js.tt
|
200
205
|
- lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt
|
201
|
-
- lib/rails/generators/rails/app/templates/app/assets/javascripts/cable.js
|
202
|
-
- lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css
|
203
|
-
- lib/rails/generators/rails/app/templates/app/channels/application_cable/channel.rb
|
204
|
-
- lib/rails/generators/rails/app/templates/app/channels/application_cable/connection.rb
|
206
|
+
- lib/rails/generators/rails/app/templates/app/assets/javascripts/cable.js.tt
|
207
|
+
- lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css.tt
|
208
|
+
- lib/rails/generators/rails/app/templates/app/channels/application_cable/channel.rb.tt
|
209
|
+
- lib/rails/generators/rails/app/templates/app/channels/application_cable/connection.rb.tt
|
205
210
|
- lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
|
206
|
-
- lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb
|
207
|
-
- lib/rails/generators/rails/app/templates/app/jobs/application_job.rb
|
208
|
-
- lib/rails/generators/rails/app/templates/app/mailers/application_mailer.rb
|
209
|
-
- lib/rails/generators/rails/app/templates/app/models/application_record.rb
|
211
|
+
- lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb.tt
|
212
|
+
- lib/rails/generators/rails/app/templates/app/jobs/application_job.rb.tt
|
213
|
+
- lib/rails/generators/rails/app/templates/app/mailers/application_mailer.rb.tt
|
214
|
+
- lib/rails/generators/rails/app/templates/app/models/application_record.rb.tt
|
210
215
|
- lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt
|
211
216
|
- lib/rails/generators/rails/app/templates/app/views/layouts/mailer.html.erb.tt
|
212
217
|
- lib/rails/generators/rails/app/templates/app/views/layouts/mailer.text.erb.tt
|
213
|
-
- lib/rails/generators/rails/app/templates/bin/bundle
|
214
|
-
- lib/rails/generators/rails/app/templates/bin/rails
|
215
|
-
- lib/rails/generators/rails/app/templates/bin/rake
|
218
|
+
- lib/rails/generators/rails/app/templates/bin/bundle.tt
|
219
|
+
- lib/rails/generators/rails/app/templates/bin/rails.tt
|
220
|
+
- lib/rails/generators/rails/app/templates/bin/rake.tt
|
216
221
|
- lib/rails/generators/rails/app/templates/bin/setup.tt
|
217
222
|
- lib/rails/generators/rails/app/templates/bin/update.tt
|
218
|
-
- lib/rails/generators/rails/app/templates/bin/yarn
|
219
|
-
- lib/rails/generators/rails/app/templates/config.ru
|
220
|
-
- lib/rails/generators/rails/app/templates/config/application.rb
|
221
|
-
- lib/rails/generators/rails/app/templates/config/boot.rb
|
222
|
-
- lib/rails/generators/rails/app/templates/config/cable.yml
|
223
|
-
- lib/rails/generators/rails/app/templates/config/databases/frontbase.yml
|
224
|
-
- lib/rails/generators/rails/app/templates/config/databases/ibm_db.yml
|
225
|
-
- lib/rails/generators/rails/app/templates/config/databases/jdbc.yml
|
226
|
-
- lib/rails/generators/rails/app/templates/config/databases/jdbcmysql.yml
|
227
|
-
- lib/rails/generators/rails/app/templates/config/databases/jdbcpostgresql.yml
|
228
|
-
- lib/rails/generators/rails/app/templates/config/databases/jdbcsqlite3.yml
|
229
|
-
- lib/rails/generators/rails/app/templates/config/databases/mysql.yml
|
230
|
-
- lib/rails/generators/rails/app/templates/config/databases/oracle.yml
|
231
|
-
- lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
|
232
|
-
- lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml
|
233
|
-
- lib/rails/generators/rails/app/templates/config/databases/sqlserver.yml
|
234
|
-
- lib/rails/generators/rails/app/templates/config/environment.rb
|
223
|
+
- lib/rails/generators/rails/app/templates/bin/yarn.tt
|
224
|
+
- lib/rails/generators/rails/app/templates/config.ru.tt
|
225
|
+
- lib/rails/generators/rails/app/templates/config/application.rb.tt
|
226
|
+
- lib/rails/generators/rails/app/templates/config/boot.rb.tt
|
227
|
+
- lib/rails/generators/rails/app/templates/config/cable.yml.tt
|
228
|
+
- lib/rails/generators/rails/app/templates/config/databases/frontbase.yml.tt
|
229
|
+
- lib/rails/generators/rails/app/templates/config/databases/ibm_db.yml.tt
|
230
|
+
- lib/rails/generators/rails/app/templates/config/databases/jdbc.yml.tt
|
231
|
+
- lib/rails/generators/rails/app/templates/config/databases/jdbcmysql.yml.tt
|
232
|
+
- lib/rails/generators/rails/app/templates/config/databases/jdbcpostgresql.yml.tt
|
233
|
+
- lib/rails/generators/rails/app/templates/config/databases/jdbcsqlite3.yml.tt
|
234
|
+
- lib/rails/generators/rails/app/templates/config/databases/mysql.yml.tt
|
235
|
+
- lib/rails/generators/rails/app/templates/config/databases/oracle.yml.tt
|
236
|
+
- lib/rails/generators/rails/app/templates/config/databases/postgresql.yml.tt
|
237
|
+
- lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml.tt
|
238
|
+
- lib/rails/generators/rails/app/templates/config/databases/sqlserver.yml.tt
|
239
|
+
- lib/rails/generators/rails/app/templates/config/environment.rb.tt
|
235
240
|
- lib/rails/generators/rails/app/templates/config/environments/development.rb.tt
|
236
241
|
- lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
|
237
242
|
- lib/rails/generators/rails/app/templates/config/environments/test.rb.tt
|
238
|
-
- lib/rails/generators/rails/app/templates/config/initializers/application_controller_renderer.rb
|
243
|
+
- lib/rails/generators/rails/app/templates/config/initializers/application_controller_renderer.rb.tt
|
239
244
|
- lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt
|
240
|
-
- lib/rails/generators/rails/app/templates/config/initializers/backtrace_silencers.rb
|
241
|
-
- lib/rails/generators/rails/app/templates/config/initializers/
|
242
|
-
- lib/rails/generators/rails/app/templates/config/initializers/
|
243
|
-
- lib/rails/generators/rails/app/templates/config/initializers/
|
244
|
-
- lib/rails/generators/rails/app/templates/config/initializers/
|
245
|
-
- lib/rails/generators/rails/app/templates/config/initializers/
|
246
|
-
- lib/rails/generators/rails/app/templates/config/initializers/
|
245
|
+
- lib/rails/generators/rails/app/templates/config/initializers/backtrace_silencers.rb.tt
|
246
|
+
- lib/rails/generators/rails/app/templates/config/initializers/content_security_policy.rb.tt
|
247
|
+
- lib/rails/generators/rails/app/templates/config/initializers/cookies_serializer.rb.tt
|
248
|
+
- lib/rails/generators/rails/app/templates/config/initializers/cors.rb.tt
|
249
|
+
- lib/rails/generators/rails/app/templates/config/initializers/filter_parameter_logging.rb.tt
|
250
|
+
- lib/rails/generators/rails/app/templates/config/initializers/inflections.rb.tt
|
251
|
+
- lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb.tt
|
252
|
+
- lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_5_2.rb.tt
|
247
253
|
- lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt
|
248
254
|
- lib/rails/generators/rails/app/templates/config/locales/en.yml
|
249
|
-
- lib/rails/generators/rails/app/templates/config/puma.rb
|
250
|
-
- lib/rails/generators/rails/app/templates/config/routes.rb
|
251
|
-
- lib/rails/generators/rails/app/templates/config/
|
252
|
-
- lib/rails/generators/rails/app/templates/config/
|
255
|
+
- lib/rails/generators/rails/app/templates/config/puma.rb.tt
|
256
|
+
- lib/rails/generators/rails/app/templates/config/routes.rb.tt
|
257
|
+
- lib/rails/generators/rails/app/templates/config/spring.rb.tt
|
258
|
+
- lib/rails/generators/rails/app/templates/config/storage.yml.tt
|
253
259
|
- lib/rails/generators/rails/app/templates/db/seeds.rb.tt
|
254
|
-
- lib/rails/generators/rails/app/templates/gitignore
|
255
|
-
- lib/rails/generators/rails/app/templates/package.json
|
260
|
+
- lib/rails/generators/rails/app/templates/gitignore.tt
|
261
|
+
- lib/rails/generators/rails/app/templates/package.json.tt
|
256
262
|
- lib/rails/generators/rails/app/templates/public/404.html
|
257
263
|
- lib/rails/generators/rails/app/templates/public/422.html
|
258
264
|
- lib/rails/generators/rails/app/templates/public/500.html
|
@@ -260,16 +266,20 @@ files:
|
|
260
266
|
- lib/rails/generators/rails/app/templates/public/apple-touch-icon.png
|
261
267
|
- lib/rails/generators/rails/app/templates/public/favicon.ico
|
262
268
|
- lib/rails/generators/rails/app/templates/public/robots.txt
|
263
|
-
- lib/rails/generators/rails/app/templates/
|
264
|
-
- lib/rails/generators/rails/app/templates/test/
|
269
|
+
- lib/rails/generators/rails/app/templates/ruby-version.tt
|
270
|
+
- lib/rails/generators/rails/app/templates/test/application_system_test_case.rb.tt
|
271
|
+
- lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
|
272
|
+
- lib/rails/generators/rails/application_record/application_record_generator.rb
|
265
273
|
- lib/rails/generators/rails/assets/USAGE
|
266
274
|
- lib/rails/generators/rails/assets/assets_generator.rb
|
267
275
|
- lib/rails/generators/rails/assets/templates/javascript.js
|
268
276
|
- lib/rails/generators/rails/assets/templates/stylesheet.css
|
269
277
|
- lib/rails/generators/rails/controller/USAGE
|
270
278
|
- lib/rails/generators/rails/controller/controller_generator.rb
|
271
|
-
- lib/rails/generators/rails/controller/templates/controller.rb
|
272
|
-
- lib/rails/generators/rails/
|
279
|
+
- lib/rails/generators/rails/controller/templates/controller.rb.tt
|
280
|
+
- lib/rails/generators/rails/credentials/credentials_generator.rb
|
281
|
+
- lib/rails/generators/rails/encrypted_file/encrypted_file_generator.rb
|
282
|
+
- lib/rails/generators/rails/encryption_key_file/encryption_key_file_generator.rb
|
273
283
|
- lib/rails/generators/rails/generator/USAGE
|
274
284
|
- lib/rails/generators/rails/generator/generator_generator.rb
|
275
285
|
- lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt
|
@@ -277,20 +287,21 @@ files:
|
|
277
287
|
- lib/rails/generators/rails/generator/templates/templates/.empty_directory
|
278
288
|
- lib/rails/generators/rails/helper/USAGE
|
279
289
|
- lib/rails/generators/rails/helper/helper_generator.rb
|
280
|
-
- lib/rails/generators/rails/helper/templates/helper.rb
|
290
|
+
- lib/rails/generators/rails/helper/templates/helper.rb.tt
|
281
291
|
- lib/rails/generators/rails/integration_test/USAGE
|
282
292
|
- lib/rails/generators/rails/integration_test/integration_test_generator.rb
|
293
|
+
- lib/rails/generators/rails/master_key/master_key_generator.rb
|
283
294
|
- lib/rails/generators/rails/migration/USAGE
|
284
295
|
- lib/rails/generators/rails/migration/migration_generator.rb
|
285
296
|
- lib/rails/generators/rails/model/USAGE
|
286
297
|
- lib/rails/generators/rails/model/model_generator.rb
|
287
298
|
- lib/rails/generators/rails/plugin/USAGE
|
288
299
|
- lib/rails/generators/rails/plugin/plugin_generator.rb
|
289
|
-
- lib/rails/generators/rails/plugin/templates/%name%.gemspec
|
290
|
-
- lib/rails/generators/rails/plugin/templates/Gemfile
|
291
|
-
- lib/rails/generators/rails/plugin/templates/MIT-LICENSE
|
292
|
-
- lib/rails/generators/rails/plugin/templates/README.md
|
293
|
-
- lib/rails/generators/rails/plugin/templates/Rakefile
|
300
|
+
- lib/rails/generators/rails/plugin/templates/%name%.gemspec.tt
|
301
|
+
- lib/rails/generators/rails/plugin/templates/Gemfile.tt
|
302
|
+
- lib/rails/generators/rails/plugin/templates/MIT-LICENSE.tt
|
303
|
+
- lib/rails/generators/rails/plugin/templates/README.md.tt
|
304
|
+
- lib/rails/generators/rails/plugin/templates/Rakefile.tt
|
294
305
|
- lib/rails/generators/rails/plugin/templates/app/controllers/%namespaced_name%/application_controller.rb.tt
|
295
306
|
- lib/rails/generators/rails/plugin/templates/app/helpers/%namespaced_name%/application_helper.rb.tt
|
296
307
|
- lib/rails/generators/rails/plugin/templates/app/jobs/%namespaced_name%/application_job.rb.tt
|
@@ -299,23 +310,24 @@ files:
|
|
299
310
|
- lib/rails/generators/rails/plugin/templates/app/views/layouts/%namespaced_name%/application.html.erb.tt
|
300
311
|
- lib/rails/generators/rails/plugin/templates/bin/rails.tt
|
301
312
|
- lib/rails/generators/rails/plugin/templates/bin/test.tt
|
302
|
-
- lib/rails/generators/rails/plugin/templates/config/routes.rb
|
303
|
-
- lib/rails/generators/rails/plugin/templates/gitignore
|
304
|
-
- lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%.rb
|
305
|
-
- lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/engine.rb
|
306
|
-
- lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/
|
307
|
-
- lib/rails/generators/rails/plugin/templates/lib
|
308
|
-
- lib/rails/generators/rails/plugin/templates/
|
309
|
-
- lib/rails/generators/rails/plugin/templates/rails/
|
310
|
-
- lib/rails/generators/rails/plugin/templates/rails/
|
311
|
-
- lib/rails/generators/rails/plugin/templates/rails/
|
312
|
-
- lib/rails/generators/rails/plugin/templates/rails/
|
313
|
-
- lib/rails/generators/rails/plugin/templates/rails/
|
313
|
+
- lib/rails/generators/rails/plugin/templates/config/routes.rb.tt
|
314
|
+
- lib/rails/generators/rails/plugin/templates/gitignore.tt
|
315
|
+
- lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%.rb.tt
|
316
|
+
- lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/engine.rb.tt
|
317
|
+
- lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/railtie.rb.tt
|
318
|
+
- lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/version.rb.tt
|
319
|
+
- lib/rails/generators/rails/plugin/templates/lib/tasks/%namespaced_name%_tasks.rake.tt
|
320
|
+
- lib/rails/generators/rails/plugin/templates/rails/application.rb.tt
|
321
|
+
- lib/rails/generators/rails/plugin/templates/rails/boot.rb.tt
|
322
|
+
- lib/rails/generators/rails/plugin/templates/rails/dummy_manifest.js.tt
|
323
|
+
- lib/rails/generators/rails/plugin/templates/rails/engine_manifest.js.tt
|
324
|
+
- lib/rails/generators/rails/plugin/templates/rails/javascripts.js.tt
|
325
|
+
- lib/rails/generators/rails/plugin/templates/rails/routes.rb.tt
|
314
326
|
- lib/rails/generators/rails/plugin/templates/rails/stylesheets.css
|
315
|
-
- lib/rails/generators/rails/plugin/templates/test/%namespaced_name%_test.rb
|
316
|
-
- lib/rails/generators/rails/plugin/templates/test/application_system_test_case.rb
|
317
|
-
- lib/rails/generators/rails/plugin/templates/test/integration/navigation_test.rb
|
318
|
-
- lib/rails/generators/rails/plugin/templates/test/test_helper.rb
|
327
|
+
- lib/rails/generators/rails/plugin/templates/test/%namespaced_name%_test.rb.tt
|
328
|
+
- lib/rails/generators/rails/plugin/templates/test/application_system_test_case.rb.tt
|
329
|
+
- lib/rails/generators/rails/plugin/templates/test/integration/navigation_test.rb.tt
|
330
|
+
- lib/rails/generators/rails/plugin/templates/test/test_helper.rb.tt
|
319
331
|
- lib/rails/generators/rails/resource/USAGE
|
320
332
|
- lib/rails/generators/rails/resource/resource_generator.rb
|
321
333
|
- lib/rails/generators/rails/resource_route/resource_route_generator.rb
|
@@ -324,40 +336,41 @@ files:
|
|
324
336
|
- lib/rails/generators/rails/scaffold/templates/scaffold.css
|
325
337
|
- lib/rails/generators/rails/scaffold_controller/USAGE
|
326
338
|
- lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb
|
327
|
-
- lib/rails/generators/rails/scaffold_controller/templates/api_controller.rb
|
328
|
-
- lib/rails/generators/rails/scaffold_controller/templates/controller.rb
|
339
|
+
- lib/rails/generators/rails/scaffold_controller/templates/api_controller.rb.tt
|
340
|
+
- lib/rails/generators/rails/scaffold_controller/templates/controller.rb.tt
|
329
341
|
- lib/rails/generators/rails/system_test/USAGE
|
330
342
|
- lib/rails/generators/rails/system_test/system_test_generator.rb
|
331
343
|
- lib/rails/generators/rails/task/USAGE
|
332
344
|
- lib/rails/generators/rails/task/task_generator.rb
|
333
|
-
- lib/rails/generators/rails/task/templates/task.rb
|
345
|
+
- lib/rails/generators/rails/task/templates/task.rb.tt
|
334
346
|
- lib/rails/generators/resource_helpers.rb
|
335
347
|
- lib/rails/generators/test_case.rb
|
336
348
|
- lib/rails/generators/test_unit.rb
|
337
349
|
- lib/rails/generators/test_unit/controller/controller_generator.rb
|
338
|
-
- lib/rails/generators/test_unit/controller/templates/functional_test.rb
|
350
|
+
- lib/rails/generators/test_unit/controller/templates/functional_test.rb.tt
|
339
351
|
- lib/rails/generators/test_unit/generator/generator_generator.rb
|
340
|
-
- lib/rails/generators/test_unit/generator/templates/generator_test.rb
|
352
|
+
- lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt
|
341
353
|
- lib/rails/generators/test_unit/helper/helper_generator.rb
|
342
354
|
- lib/rails/generators/test_unit/integration/integration_generator.rb
|
343
|
-
- lib/rails/generators/test_unit/integration/templates/integration_test.rb
|
355
|
+
- lib/rails/generators/test_unit/integration/templates/integration_test.rb.tt
|
344
356
|
- lib/rails/generators/test_unit/job/job_generator.rb
|
345
|
-
- lib/rails/generators/test_unit/job/templates/unit_test.rb.
|
357
|
+
- lib/rails/generators/test_unit/job/templates/unit_test.rb.tt
|
346
358
|
- lib/rails/generators/test_unit/mailer/mailer_generator.rb
|
347
|
-
- lib/rails/generators/test_unit/mailer/templates/functional_test.rb
|
348
|
-
- lib/rails/generators/test_unit/mailer/templates/preview.rb
|
359
|
+
- lib/rails/generators/test_unit/mailer/templates/functional_test.rb.tt
|
360
|
+
- lib/rails/generators/test_unit/mailer/templates/preview.rb.tt
|
349
361
|
- lib/rails/generators/test_unit/model/model_generator.rb
|
350
|
-
- lib/rails/generators/test_unit/model/templates/fixtures.yml
|
351
|
-
- lib/rails/generators/test_unit/model/templates/unit_test.rb
|
362
|
+
- lib/rails/generators/test_unit/model/templates/fixtures.yml.tt
|
363
|
+
- lib/rails/generators/test_unit/model/templates/unit_test.rb.tt
|
352
364
|
- lib/rails/generators/test_unit/plugin/plugin_generator.rb
|
353
365
|
- lib/rails/generators/test_unit/plugin/templates/%file_name%_test.rb.tt
|
354
366
|
- lib/rails/generators/test_unit/plugin/templates/test_helper.rb
|
355
367
|
- lib/rails/generators/test_unit/scaffold/scaffold_generator.rb
|
356
|
-
- lib/rails/generators/test_unit/scaffold/templates/api_functional_test.rb
|
357
|
-
- lib/rails/generators/test_unit/scaffold/templates/functional_test.rb
|
368
|
+
- lib/rails/generators/test_unit/scaffold/templates/api_functional_test.rb.tt
|
369
|
+
- lib/rails/generators/test_unit/scaffold/templates/functional_test.rb.tt
|
370
|
+
- lib/rails/generators/test_unit/scaffold/templates/system_test.rb.tt
|
358
371
|
- lib/rails/generators/test_unit/system/system_generator.rb
|
359
|
-
- lib/rails/generators/test_unit/system/templates/application_system_test_case.rb
|
360
|
-
- lib/rails/generators/test_unit/system/templates/system_test.rb
|
372
|
+
- lib/rails/generators/test_unit/system/templates/application_system_test_case.rb.tt
|
373
|
+
- lib/rails/generators/test_unit/system/templates/system_test.rb.tt
|
361
374
|
- lib/rails/generators/testing/assertions.rb
|
362
375
|
- lib/rails/generators/testing/behaviour.rb
|
363
376
|
- lib/rails/generators/testing/setup_and_teardown.rb
|
@@ -408,8 +421,8 @@ homepage: http://rubyonrails.org
|
|
408
421
|
licenses:
|
409
422
|
- MIT
|
410
423
|
metadata:
|
411
|
-
source_code_uri: https://github.com/rails/rails/tree/v5.
|
412
|
-
changelog_uri: https://github.com/rails/rails/blob/v5.
|
424
|
+
source_code_uri: https://github.com/rails/rails/tree/v5.2.0.beta1/railties
|
425
|
+
changelog_uri: https://github.com/rails/rails/blob/v5.2.0.beta1/railties/CHANGELOG.md
|
413
426
|
post_install_message:
|
414
427
|
rdoc_options:
|
415
428
|
- "--exclude"
|
@@ -423,11 +436,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
423
436
|
version: 2.2.2
|
424
437
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
425
438
|
requirements:
|
426
|
-
- - "
|
439
|
+
- - ">"
|
427
440
|
- !ruby/object:Gem::Version
|
428
|
-
version:
|
441
|
+
version: 1.3.1
|
429
442
|
requirements: []
|
430
|
-
|
443
|
+
rubyforge_project:
|
444
|
+
rubygems_version: 2.6.12
|
431
445
|
signing_key:
|
432
446
|
specification_version: 4
|
433
447
|
summary: Tools for creating, working with, and running Rails applications.
|
data/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_5_1.rb.tt
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
#
|
3
|
-
# This file contains migration options to ease your Rails 5.1 upgrade.
|
4
|
-
#
|
5
|
-
# Once upgraded flip defaults one by one to migrate to the new default.
|
6
|
-
#
|
7
|
-
# Read the Guide for Upgrading Ruby on Rails for more info on each option.
|
8
|
-
|
9
|
-
# Make `form_with` generate non-remote forms.
|
10
|
-
Rails.application.config.action_view.form_with_generates_remote_forms = false
|
11
|
-
<%- unless options[:skip_sprockets] -%>
|
12
|
-
|
13
|
-
# Unknown asset fallback will return the path passed in when the given
|
14
|
-
# asset is not present in the asset pipeline.
|
15
|
-
# Rails.application.config.assets.unknown_asset_fallback = false
|
16
|
-
<%- end -%>
|
@@ -1,32 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
-
# If you change this key, all old signed cookies will become invalid!
|
5
|
-
|
6
|
-
# Make sure the secret is at least 30 characters and all random,
|
7
|
-
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
-
# You can use `rails secret` to generate a secure secret key.
|
9
|
-
|
10
|
-
# Make sure the secrets in this file are kept private
|
11
|
-
# if you're sharing your code publicly.
|
12
|
-
|
13
|
-
# Shared secrets are available across all environments.
|
14
|
-
|
15
|
-
# shared:
|
16
|
-
# api_key: a1B2c3D4e5F6
|
17
|
-
|
18
|
-
# Environmental secrets are only available for that specific environment.
|
19
|
-
|
20
|
-
development:
|
21
|
-
secret_key_base: <%= app_secret %>
|
22
|
-
|
23
|
-
test:
|
24
|
-
secret_key_base: <%= app_secret %>
|
25
|
-
|
26
|
-
# Do not keep production secrets in the unencrypted secrets file.
|
27
|
-
# Instead, either read values from the environment.
|
28
|
-
# Or, use `bin/rails secrets:setup` to configure encrypted secrets
|
29
|
-
# and move the `production:` environment over there.
|
30
|
-
|
31
|
-
production:
|
32
|
-
secret_key_base: <%%= ENV["SECRET_KEY_BASE"] %>
|