aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/command.rb
Commit message (Collapse)AuthorAgeFilesLines
* active_support/dependencies/autoload is already required via active_support.rbAkira Matsuda2019-07-121-1/+0
|
* Homogenize rails help outputAlberto Almagro2018-11-191-9/+10
| | | | | | | | | In commit 6567464bedd1e39ee7390da9484ba0caa7eb3e07 we homogenized rails commands with former rake tasks. We decided to display all commands at the same level and merged the list of commands displayed by `rails help`. We however forgot to actually merge the output in the command itself. This commit fixes that.
* Extract Rails::Command::SpellcheckerGenadi Samokovarov2018-03-041-0/+1
|
* Rails 6 requires Ruby 2.4.1+Jeremy Daer2018-02-171-1/+0
| | | | | | Skipping over 2.4.0 to sidestep the `"symbol_from_string".to_sym.dup` bug. References #32028
* Adding frozen_string_literal pragma to Railties.Pat Allan2017-08-141-0/+2
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* `DEFAULT_ENV` falls back to `default_env` when `RAILS_ENV` or `RACK_ENV` is ↵Ryuta Kamizono2017-05-251-1/+1
| | | | | | an empty string Follow up of #27399.
* Make help short-cut alias to workyuuji.yaginuma2017-02-241-1/+1
|
* Make version short-cut alias to workyuuji.yaginuma2017-02-241-1/+1
|
* Fix test:units not hitting rake task.Kasper Timm Hansen2017-02-231-1/+2
| | | | | | | | By splitting the namespace test:units on :, we'd find our TestCommand, which knew nothing of a units method. So check that a found command also includes the command name we're trying to call.
* Revert "Revert "Add encrypted secrets""Kasper Timm Hansen2017-02-231-9/+18
|
* Revert "Add encrypted secrets" (#28127)David Heinemeier Hansson2017-02-231-18/+9
|
* Add encrypted secrets (#28038)Kasper Timm Hansen2017-02-231-9/+18
|
* allow to pass describe option to rakeyuuji.yaginuma2017-01-171-1/+3
| | | | | | Since `Thor::HELP_MAPPINGS` contains `-D`, so `bin/rails -D` show rails's help. But, in Rails 5.0.1, `bin/rails -D` show the description of rake task. I think that it is better to have the same behavior.
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2017-01-111-1/+1
|\ | | | | | | | | Conflicts: railties/lib/rails/generators.rb
| * Capitalize Thor gem nameJon Moss2016-12-191-1/+1
| | | | | | | | [ci skip]
* | Privatize unneededly protected methods in RailtiesAkira Matsuda2016-12-251-4/+4
|/
* Per Dr. Eileen's orders :)Kasper Timm Hansen2016-09-251-3/+6
| | | | Prescribed some review fixes for myself!
* Initial command structure.Kasper Timm Hansen2016-09-251-0/+96
|
* Remove unfinished command infrastructure.Kasper Timm Hansen2016-03-101-70/+0
| | | | | | | If we're gonna do this right, it will look mighty different from this anyway. (Looking at you, Rails 5.1). It isn't being used in any code as of now, so yanking is the best option.
* Nodoc Rails command.Kasper Timm Hansen2015-12-131-1/+1
| | | | | | | The API isn't ready yet, which means we haven't documented it. People can't make their own commands, so there's no reason to show it in generated documentation.
* Ditch `Commands` namespace for base command.Kasper Timm Hansen2015-12-061-0/+70
Reading `Rails::Commands::Command` feels excessive. Especially if users can subclass command to write their own commands — which I'd like to aim for. Switch to `Rails::Command` before we get too far into things.