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