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.
Files changed (266) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +77 -241
  3. data/RDOC_MAIN.rdoc +61 -43
  4. data/README.rdoc +1 -2
  5. data/exe/rails +3 -2
  6. data/lib/minitest/rails_plugin.rb +9 -13
  7. data/lib/rails.rb +4 -2
  8. data/lib/rails/all.rb +3 -0
  9. data/lib/rails/api/generator.rb +10 -1
  10. data/lib/rails/api/task.rb +11 -1
  11. data/lib/rails/app_loader.rb +18 -5
  12. data/lib/rails/app_updater.rb +34 -0
  13. data/lib/rails/application.rb +90 -18
  14. data/lib/rails/application/bootstrap.rb +2 -0
  15. data/lib/rails/application/configuration.rb +79 -36
  16. data/lib/rails/application/default_middleware_stack.rb +7 -1
  17. data/lib/rails/application/finisher.rb +3 -1
  18. data/lib/rails/application/routes_reloader.rb +21 -3
  19. data/lib/rails/application_controller.rb +3 -1
  20. data/lib/rails/backtrace_cleaner.rb +3 -1
  21. data/lib/rails/cli.rb +2 -0
  22. data/lib/rails/code_statistics.rb +2 -0
  23. data/lib/rails/code_statistics_calculator.rb +2 -0
  24. data/lib/rails/command.rb +3 -1
  25. data/lib/rails/command/actions.rb +6 -4
  26. data/lib/rails/command/base.rb +5 -3
  27. data/lib/rails/command/behavior.rb +2 -0
  28. data/lib/rails/command/environment_argument.rb +14 -1
  29. data/lib/rails/command/helpers/editor.rb +35 -0
  30. data/lib/rails/commands.rb +2 -0
  31. data/lib/rails/commands/application/application_command.rb +2 -0
  32. data/lib/rails/commands/console/console_command.rb +2 -3
  33. data/lib/rails/commands/credentials/USAGE +40 -0
  34. data/lib/rails/commands/credentials/credentials_command.rb +72 -0
  35. data/lib/rails/commands/dbconsole/dbconsole_command.rb +18 -7
  36. data/lib/rails/commands/destroy/destroy_command.rb +2 -0
  37. data/lib/rails/commands/encrypted/encrypted_command.rb +77 -0
  38. data/lib/rails/commands/generate/generate_command.rb +2 -0
  39. data/lib/rails/commands/help/help_command.rb +2 -0
  40. data/lib/rails/commands/new/new_command.rb +2 -0
  41. data/lib/rails/commands/plugin/plugin_command.rb +2 -0
  42. data/lib/rails/commands/rake/rake_command.rb +2 -0
  43. data/lib/rails/commands/runner/USAGE +3 -0
  44. data/lib/rails/commands/runner/runner_command.rb +7 -3
  45. data/lib/rails/commands/secrets/secrets_command.rb +15 -10
  46. data/lib/rails/commands/server/server_command.rb +24 -3
  47. data/lib/rails/commands/test/test_command.rb +18 -23
  48. data/lib/rails/commands/version/version_command.rb +2 -0
  49. data/lib/rails/configuration.rb +2 -0
  50. data/lib/rails/console/app.rb +2 -0
  51. data/lib/rails/console/helpers.rb +2 -0
  52. data/lib/rails/dev_caching.rb +2 -1
  53. data/lib/rails/engine.rb +3 -1
  54. data/lib/rails/engine/commands.rb +2 -0
  55. data/lib/rails/engine/configuration.rb +2 -0
  56. data/lib/rails/engine/railties.rb +2 -0
  57. data/lib/rails/engine/updater.rb +3 -1
  58. data/lib/rails/gem_version.rb +5 -3
  59. data/lib/rails/generators.rb +8 -3
  60. data/lib/rails/generators/actions.rb +53 -24
  61. data/lib/rails/generators/actions/create_migration.rb +2 -0
  62. data/lib/rails/generators/active_model.rb +2 -0
  63. data/lib/rails/generators/app_base.rb +94 -57
  64. data/lib/rails/generators/base.rb +40 -1
  65. data/lib/rails/generators/css/assets/assets_generator.rb +3 -1
  66. data/lib/rails/generators/css/scaffold/scaffold_generator.rb +5 -3
  67. data/lib/rails/generators/erb.rb +2 -0
  68. data/lib/rails/generators/erb/controller/controller_generator.rb +2 -0
  69. data/lib/rails/generators/erb/controller/templates/{view.html.erb → view.html.erb.tt} +0 -0
  70. data/lib/rails/generators/erb/mailer/mailer_generator.rb +2 -0
  71. data/lib/rails/generators/erb/mailer/templates/{view.html.erb → view.html.erb.tt} +0 -0
  72. data/lib/rails/generators/erb/mailer/templates/{view.text.erb → view.text.erb.tt} +0 -0
  73. data/lib/rails/generators/erb/scaffold/scaffold_generator.rb +2 -0
  74. data/lib/rails/generators/erb/scaffold/templates/{_form.html.erb → _form.html.erb.tt} +4 -4
  75. data/lib/rails/generators/erb/scaffold/templates/{edit.html.erb → edit.html.erb.tt} +0 -0
  76. data/lib/rails/generators/erb/scaffold/templates/{index.html.erb → index.html.erb.tt} +4 -4
  77. data/lib/rails/generators/erb/scaffold/templates/{new.html.erb → new.html.erb.tt} +0 -0
  78. data/lib/rails/generators/erb/scaffold/templates/{show.html.erb → show.html.erb.tt} +0 -0
  79. data/lib/rails/generators/generated_attribute.rb +3 -1
  80. data/lib/rails/generators/js/assets/assets_generator.rb +3 -1
  81. data/lib/rails/generators/migration.rb +2 -0
  82. data/lib/rails/generators/model_helpers.rb +2 -0
  83. data/lib/rails/generators/named_base.rb +35 -45
  84. data/lib/rails/generators/rails/app/app_generator.rb +64 -23
  85. data/lib/rails/generators/rails/app/templates/{Gemfile → Gemfile.tt} +17 -6
  86. data/lib/rails/generators/rails/app/templates/{README.md → README.md.tt} +0 -0
  87. data/lib/rails/generators/rails/app/templates/{Rakefile → Rakefile.tt} +0 -0
  88. data/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt +3 -0
  89. data/lib/rails/generators/rails/app/templates/app/assets/javascripts/{cable.js → cable.js.tt} +0 -0
  90. data/lib/rails/generators/rails/app/templates/app/assets/stylesheets/{application.css → application.css.tt} +0 -0
  91. data/lib/rails/generators/rails/app/templates/app/channels/application_cable/{channel.rb → channel.rb.tt} +0 -0
  92. data/lib/rails/generators/rails/app/templates/app/channels/application_cable/{connection.rb → connection.rb.tt} +0 -0
  93. data/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt +1 -4
  94. data/lib/rails/generators/rails/app/templates/app/helpers/{application_helper.rb → application_helper.rb.tt} +0 -0
  95. data/lib/rails/generators/rails/app/templates/app/jobs/{application_job.rb → application_job.rb.tt} +0 -0
  96. data/lib/rails/generators/rails/app/templates/app/mailers/{application_mailer.rb → application_mailer.rb.tt} +0 -0
  97. data/lib/rails/generators/rails/app/templates/app/models/{application_record.rb → application_record.rb.tt} +0 -0
  98. data/lib/rails/generators/rails/app/templates/bin/bundle.tt +2 -0
  99. data/lib/rails/generators/rails/app/templates/bin/{rails → rails.tt} +0 -0
  100. data/lib/rails/generators/rails/app/templates/bin/{rake → rake.tt} +0 -0
  101. data/lib/rails/generators/rails/app/templates/bin/setup.tt +5 -5
  102. data/lib/rails/generators/rails/app/templates/bin/update.tt +7 -3
  103. data/lib/rails/generators/rails/app/templates/bin/{yarn → yarn.tt} +3 -3
  104. data/lib/rails/generators/rails/app/templates/{config.ru → config.ru.tt} +0 -0
  105. data/lib/rails/generators/rails/app/templates/config/{application.rb → application.rb.tt} +2 -1
  106. data/lib/rails/generators/rails/app/templates/config/{boot.rb → boot.rb.tt} +1 -0
  107. data/lib/rails/generators/rails/app/templates/config/{cable.yml → cable.yml.tt} +1 -1
  108. data/lib/rails/generators/rails/app/templates/config/databases/{frontbase.yml → frontbase.yml.tt} +0 -0
  109. data/lib/rails/generators/rails/app/templates/config/databases/{ibm_db.yml → ibm_db.yml.tt} +0 -0
  110. data/lib/rails/generators/rails/app/templates/config/databases/{jdbc.yml → jdbc.yml.tt} +0 -0
  111. data/lib/rails/generators/rails/app/templates/config/databases/{jdbcmysql.yml → jdbcmysql.yml.tt} +1 -1
  112. data/lib/rails/generators/rails/app/templates/config/databases/{jdbcpostgresql.yml → jdbcpostgresql.yml.tt} +0 -0
  113. data/lib/rails/generators/rails/app/templates/config/databases/{jdbcsqlite3.yml → jdbcsqlite3.yml.tt} +0 -0
  114. data/lib/rails/generators/rails/app/templates/config/databases/{mysql.yml → mysql.yml.tt} +1 -1
  115. data/lib/rails/generators/rails/app/templates/config/databases/{oracle.yml → oracle.yml.tt} +0 -0
  116. data/lib/rails/generators/rails/app/templates/config/databases/{postgresql.yml → postgresql.yml.tt} +0 -0
  117. data/lib/rails/generators/rails/app/templates/config/databases/{sqlite3.yml → sqlite3.yml.tt} +0 -0
  118. data/lib/rails/generators/rails/app/templates/config/databases/{sqlserver.yml → sqlserver.yml.tt} +2 -2
  119. data/lib/rails/generators/rails/app/templates/config/{environment.rb → environment.rb.tt} +0 -0
  120. data/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +7 -1
  121. data/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +12 -7
  122. data/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +8 -2
  123. data/lib/rails/generators/rails/app/templates/config/initializers/{application_controller_renderer.rb → application_controller_renderer.rb.tt} +0 -0
  124. data/lib/rails/generators/rails/app/templates/config/initializers/{backtrace_silencers.rb → backtrace_silencers.rb.tt} +0 -0
  125. data/lib/rails/generators/rails/app/templates/config/initializers/content_security_policy.rb.tt +20 -0
  126. data/lib/rails/generators/rails/app/templates/config/initializers/{cookies_serializer.rb → cookies_serializer.rb.tt} +0 -0
  127. data/lib/rails/generators/rails/app/templates/config/initializers/{cors.rb → cors.rb.tt} +0 -0
  128. data/lib/rails/generators/rails/app/templates/config/initializers/{filter_parameter_logging.rb → filter_parameter_logging.rb.tt} +0 -0
  129. data/lib/rails/generators/rails/app/templates/config/initializers/{inflections.rb → inflections.rb.tt} +0 -0
  130. data/lib/rails/generators/rails/app/templates/config/initializers/{mime_types.rb → mime_types.rb.tt} +0 -0
  131. data/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_5_2.rb.tt +27 -0
  132. data/lib/rails/generators/rails/app/templates/config/{puma.rb → puma.rb.tt} +0 -0
  133. data/lib/rails/generators/rails/app/templates/config/{routes.rb → routes.rb.tt} +0 -0
  134. data/lib/rails/generators/rails/app/templates/config/{spring.rb → spring.rb.tt} +2 -2
  135. data/lib/rails/generators/rails/app/templates/config/storage.yml.tt +35 -0
  136. data/lib/rails/generators/rails/app/templates/{gitignore → gitignore.tt} +9 -1
  137. data/lib/rails/generators/rails/app/templates/{package.json → package.json.tt} +0 -0
  138. data/lib/rails/generators/rails/app/templates/ruby-version.tt +1 -0
  139. data/lib/rails/generators/rails/app/templates/test/{application_system_test_case.rb → application_system_test_case.rb.tt} +0 -0
  140. data/lib/rails/generators/rails/app/templates/test/{test_helper.rb → test_helper.rb.tt} +1 -2
  141. data/lib/rails/generators/rails/application_record/application_record_generator.rb +9 -0
  142. data/lib/rails/generators/rails/assets/assets_generator.rb +2 -0
  143. data/lib/rails/generators/rails/assets/templates/stylesheet.css +1 -1
  144. data/lib/rails/generators/rails/controller/controller_generator.rb +11 -9
  145. data/lib/rails/generators/rails/controller/templates/{controller.rb → controller.rb.tt} +0 -0
  146. data/lib/rails/generators/rails/credentials/credentials_generator.rb +48 -0
  147. data/lib/rails/generators/rails/encrypted_file/encrypted_file_generator.rb +38 -0
  148. data/lib/rails/generators/rails/encryption_key_file/encryption_key_file_generator.rb +57 -0
  149. data/lib/rails/generators/rails/generator/generator_generator.rb +2 -0
  150. data/lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt +1 -1
  151. data/lib/rails/generators/rails/helper/helper_generator.rb +2 -0
  152. data/lib/rails/generators/rails/helper/templates/{helper.rb → helper.rb.tt} +0 -0
  153. data/lib/rails/generators/rails/integration_test/integration_test_generator.rb +2 -0
  154. data/lib/rails/generators/rails/master_key/master_key_generator.rb +51 -0
  155. data/lib/rails/generators/rails/migration/migration_generator.rb +2 -0
  156. data/lib/rails/generators/rails/model/model_generator.rb +2 -0
  157. data/lib/rails/generators/rails/plugin/plugin_generator.rb +18 -9
  158. data/lib/rails/generators/rails/plugin/templates/%name%.gemspec.tt +24 -0
  159. data/lib/rails/generators/rails/plugin/templates/{Gemfile → Gemfile.tt} +1 -0
  160. data/lib/rails/generators/rails/plugin/templates/{MIT-LICENSE → MIT-LICENSE.tt} +0 -0
  161. data/lib/rails/generators/rails/plugin/templates/{README.md → README.md.tt} +1 -1
  162. data/lib/rails/generators/rails/plugin/templates/{Rakefile → Rakefile.tt} +6 -7
  163. data/lib/rails/generators/rails/plugin/templates/bin/rails.tt +21 -4
  164. data/lib/rails/generators/rails/plugin/templates/bin/test.tt +1 -1
  165. data/lib/rails/generators/rails/plugin/templates/config/{routes.rb → routes.rb.tt} +0 -0
  166. data/lib/rails/generators/rails/plugin/templates/gitignore.tt +18 -0
  167. data/lib/rails/generators/rails/plugin/templates/lib/{%namespaced_name%.rb → %namespaced_name%.rb.tt} +3 -1
  168. data/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/{engine.rb → engine.rb.tt} +0 -0
  169. data/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/railtie.rb.tt +5 -0
  170. data/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/{version.rb → version.rb.tt} +0 -0
  171. data/lib/rails/generators/rails/plugin/templates/lib/tasks/{%namespaced_name%_tasks.rake → %namespaced_name%_tasks.rake.tt} +0 -0
  172. data/lib/rails/generators/rails/plugin/templates/rails/{application.rb → application.rb.tt} +6 -3
  173. data/lib/rails/generators/rails/plugin/templates/rails/{boot.rb → boot.rb.tt} +0 -0
  174. data/lib/rails/generators/rails/plugin/templates/rails/{dummy_manifest.js → dummy_manifest.js.tt} +0 -1
  175. data/lib/rails/generators/rails/plugin/templates/rails/{engine_manifest.js → engine_manifest.js.tt} +0 -0
  176. data/lib/rails/generators/rails/plugin/templates/rails/{javascripts.js → javascripts.js.tt} +3 -0
  177. data/lib/rails/generators/rails/plugin/templates/rails/{routes.rb → routes.rb.tt} +0 -0
  178. data/lib/rails/generators/rails/plugin/templates/test/{%namespaced_name%_test.rb → %namespaced_name%_test.rb.tt} +0 -0
  179. data/lib/rails/generators/rails/plugin/templates/test/{application_system_test_case.rb → application_system_test_case.rb.tt} +0 -0
  180. data/lib/rails/generators/rails/plugin/templates/test/integration/{navigation_test.rb → navigation_test.rb.tt} +0 -1
  181. data/lib/rails/generators/rails/plugin/templates/test/{test_helper.rb → test_helper.rb.tt} +7 -6
  182. data/lib/rails/generators/rails/resource/USAGE +1 -1
  183. data/lib/rails/generators/rails/resource/resource_generator.rb +2 -0
  184. data/lib/rails/generators/rails/resource_route/resource_route_generator.rb +21 -24
  185. data/lib/rails/generators/rails/scaffold/scaffold_generator.rb +2 -3
  186. data/lib/rails/generators/rails/scaffold_controller/USAGE +1 -1
  187. data/lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb +2 -0
  188. data/lib/rails/generators/rails/scaffold_controller/templates/{api_controller.rb → api_controller.rb.tt} +0 -0
  189. data/lib/rails/generators/rails/scaffold_controller/templates/{controller.rb → controller.rb.tt} +2 -2
  190. data/lib/rails/generators/rails/system_test/system_test_generator.rb +2 -0
  191. data/lib/rails/generators/rails/task/task_generator.rb +2 -0
  192. data/lib/rails/generators/rails/task/templates/{task.rb → task.rb.tt} +0 -0
  193. data/lib/rails/generators/resource_helpers.rb +2 -0
  194. data/lib/rails/generators/test_case.rb +4 -2
  195. data/lib/rails/generators/test_unit.rb +2 -0
  196. data/lib/rails/generators/test_unit/controller/controller_generator.rb +2 -0
  197. data/lib/rails/generators/test_unit/controller/templates/{functional_test.rb → functional_test.rb.tt} +0 -0
  198. data/lib/rails/generators/test_unit/generator/generator_generator.rb +2 -0
  199. data/lib/rails/generators/test_unit/generator/templates/{generator_test.rb → generator_test.rb.tt} +0 -0
  200. data/lib/rails/generators/test_unit/helper/helper_generator.rb +2 -0
  201. data/lib/rails/generators/test_unit/integration/integration_generator.rb +2 -0
  202. data/lib/rails/generators/test_unit/integration/templates/{integration_test.rb → integration_test.rb.tt} +0 -0
  203. data/lib/rails/generators/test_unit/job/job_generator.rb +3 -1
  204. data/lib/rails/generators/test_unit/job/templates/{unit_test.rb.erb → unit_test.rb.tt} +0 -0
  205. data/lib/rails/generators/test_unit/mailer/mailer_generator.rb +2 -0
  206. data/lib/rails/generators/test_unit/mailer/templates/{functional_test.rb → functional_test.rb.tt} +0 -0
  207. data/lib/rails/generators/test_unit/mailer/templates/{preview.rb → preview.rb.tt} +0 -0
  208. data/lib/rails/generators/test_unit/model/model_generator.rb +2 -0
  209. data/lib/rails/generators/test_unit/model/templates/{fixtures.yml → fixtures.yml.tt} +0 -0
  210. data/lib/rails/generators/test_unit/model/templates/{unit_test.rb → unit_test.rb.tt} +0 -0
  211. data/lib/rails/generators/test_unit/plugin/plugin_generator.rb +2 -0
  212. data/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb +17 -4
  213. data/lib/rails/generators/test_unit/scaffold/templates/{api_functional_test.rb → api_functional_test.rb.tt} +2 -2
  214. data/lib/rails/generators/test_unit/scaffold/templates/{functional_test.rb → functional_test.rb.tt} +2 -2
  215. data/lib/rails/generators/test_unit/scaffold/templates/system_test.rb.tt +49 -0
  216. data/lib/rails/generators/test_unit/system/system_generator.rb +3 -1
  217. data/lib/rails/generators/test_unit/system/templates/{application_system_test_case.rb → application_system_test_case.rb.tt} +0 -0
  218. data/lib/rails/generators/test_unit/system/templates/{system_test.rb → system_test.rb.tt} +0 -0
  219. data/lib/rails/generators/testing/assertions.rb +7 -1
  220. data/lib/rails/generators/testing/behaviour.rb +8 -6
  221. data/lib/rails/generators/testing/setup_and_teardown.rb +2 -0
  222. data/lib/rails/info.rb +6 -3
  223. data/lib/rails/info_controller.rb +2 -0
  224. data/lib/rails/initializable.rb +2 -0
  225. data/lib/rails/mailers_controller.rb +9 -1
  226. data/lib/rails/paths.rb +2 -0
  227. data/lib/rails/plugin/test.rb +4 -2
  228. data/lib/rails/rack.rb +2 -0
  229. data/lib/rails/rack/logger.rb +5 -3
  230. data/lib/rails/railtie.rb +9 -4
  231. data/lib/rails/railtie/configurable.rb +2 -0
  232. data/lib/rails/railtie/configuration.rb +2 -0
  233. data/lib/rails/ruby_version_check.rb +3 -1
  234. data/lib/rails/secrets.rb +2 -17
  235. data/lib/rails/source_annotation_extractor.rb +4 -2
  236. data/lib/rails/tasks.rb +2 -0
  237. data/lib/rails/tasks/annotations.rake +2 -0
  238. data/lib/rails/tasks/dev.rake +2 -0
  239. data/lib/rails/tasks/engine.rake +7 -2
  240. data/lib/rails/tasks/framework.rake +9 -24
  241. data/lib/rails/tasks/initializers.rake +2 -0
  242. data/lib/rails/tasks/log.rake +2 -0
  243. data/lib/rails/tasks/middleware.rake +2 -0
  244. data/lib/rails/tasks/misc.rake +2 -0
  245. data/lib/rails/tasks/restart.rake +2 -1
  246. data/lib/rails/tasks/routes.rake +2 -0
  247. data/lib/rails/tasks/statistics.rake +2 -0
  248. data/lib/rails/tasks/tmp.rake +11 -2
  249. data/lib/rails/tasks/yarn.rake +3 -1
  250. data/lib/rails/templates/rails/mailers/email.html.erb +3 -3
  251. data/lib/rails/templates/rails/welcome/index.html.erb +14 -4
  252. data/lib/rails/test_help.rb +2 -0
  253. data/lib/rails/test_unit/line_filtering.rb +2 -1
  254. data/lib/rails/test_unit/railtie.rb +2 -0
  255. data/lib/rails/test_unit/reporter.rb +5 -10
  256. data/lib/rails/test_unit/runner.rb +3 -3
  257. data/lib/rails/test_unit/testing.rake +3 -1
  258. data/lib/rails/version.rb +2 -0
  259. data/lib/rails/welcome_controller.rb +2 -0
  260. metadata +121 -107
  261. data/lib/rails/generators/rails/app/templates/bin/bundle +0 -2
  262. data/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_5_1.rb.tt +0 -16
  263. data/lib/rails/generators/rails/app/templates/config/secrets.yml +0 -32
  264. data/lib/rails/generators/rails/encrypted_secrets/encrypted_secrets_generator.rb +0 -70
  265. data/lib/rails/generators/rails/plugin/templates/%name%.gemspec +0 -33
  266. 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.1.7
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: 2019-03-28 00:00:00.000000000 Z
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.1.7
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.1.7
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.1.7
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.1.7
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.1.7
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.1.7
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/cookies_serializer.rb
242
- - lib/rails/generators/rails/app/templates/config/initializers/cors.rb
243
- - lib/rails/generators/rails/app/templates/config/initializers/filter_parameter_logging.rb
244
- - lib/rails/generators/rails/app/templates/config/initializers/inflections.rb
245
- - lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb
246
- - lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_5_1.rb.tt
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/secrets.yml
252
- - lib/rails/generators/rails/app/templates/config/spring.rb
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/test/application_system_test_case.rb
264
- - lib/rails/generators/rails/app/templates/test/test_helper.rb
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/encrypted_secrets/encrypted_secrets_generator.rb
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%/version.rb
307
- - lib/rails/generators/rails/plugin/templates/lib/tasks/%namespaced_name%_tasks.rake
308
- - lib/rails/generators/rails/plugin/templates/rails/application.rb
309
- - lib/rails/generators/rails/plugin/templates/rails/boot.rb
310
- - lib/rails/generators/rails/plugin/templates/rails/dummy_manifest.js
311
- - lib/rails/generators/rails/plugin/templates/rails/engine_manifest.js
312
- - lib/rails/generators/rails/plugin/templates/rails/javascripts.js
313
- - lib/rails/generators/rails/plugin/templates/rails/routes.rb
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.erb
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.1.7/railties
412
- changelog_uri: https://github.com/rails/rails/blob/v5.1.7/railties/CHANGELOG.md
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: '0'
441
+ version: 1.3.1
429
442
  requirements: []
430
- rubygems_version: 3.0.1
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.
@@ -1,2 +0,0 @@
1
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
2
- load Gem.bin_path('bundler', 'bundle')
@@ -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"] %>