aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/command.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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.