aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/app_updater.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove `--skip-yarn` in favor of `--skip-javascript`bogdanvlviv2018-10-221-1/+1
| | | | | | Since #33079 Webpacker the default JavaScript compiler for Rails. Webpacker uses `yarn` so seems like it doesn't make sense for Rails to keep `--skip-yarn` option.
* Don't generate yarn's contents in `app:update` task if it's skippedTsukuru Tanimichi2018-05-161-0/+1
|
* Don't generate `config/spring.rb` in `app:update` task when spring isn't loadedTsukuru Tanimichi2018-05-131-0/+1
|
* Skip `bootsnap` contents in `app:update` task if `bootsnap` is not usedyuuji.yaginuma2018-05-071-0/+1
|
* Add --skip-active-storage and do so automatically when --skip-active-record ↵bogdanvlviv2017-11-061-5/+6
| | | | | | | | | | | | is used Closes #30102 Revert part 787fe90dc0a7c5b91bb5af51f2858ea8c4676268 --skip-active-storage pass throughs `rails plugin new` Add changelog entry about default initialization of Active Storage
* Adding frozen_string_literal pragma to Railties.Pat Allan2017-08-141-0/+2
|
* Do not generate unused components contents in `app:update` taskyuuji.yaginuma2017-07-161-0/+31
Currently, `app:update` generates all contents regardless of the component using in application. For example, even if not using Action Cable, `app:update` will generate a contents related to Action Cable. This is a little inconvenient. This PR checks the existence of the component and does not generate unnecessary contents. Can not check all options in this way. However, it will be able to prevent the generation of unnecessary files.