1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

18 commits

Author SHA1 Message Date
Matthew Draper
87b3e226d6 Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
This reverts commit 3420a14590, reversing
changes made to afb66a5a59.
2017-07-02 02:15:17 +09:30
Kir Shatrov
cfade1ec7e Enforce frozen string in Rubocop 2017-07-01 02:11:03 +03:00
Ryuta Kamizono
8ace8c76a4 DEFAULT_ENV falls back to default_env when RAILS_ENV or RACK_ENV is an empty string
Follow up of #27399.
2017-05-25 00:00:08 +09:00
yuuji.yaginuma
e69a0e3449 Make help short-cut alias to work 2017-02-24 09:17:13 +09:00
yuuji.yaginuma
08d4aaae0c Make version short-cut alias to work 2017-02-24 09:13:44 +09:00
Kasper Timm Hansen
1c897f500e Fix test:units not hitting rake task.
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.
2017-02-23 18:30:49 +01:00
Kasper Timm Hansen
fbee4e3ce3 Revert "Revert "Add encrypted secrets"" 2017-02-23 18:15:28 +01:00
David Heinemeier Hansson
039380e3ee Revert "Add encrypted secrets" (#28127) 2017-02-23 15:55:15 +01:00
Kasper Timm Hansen
1166094569 Add encrypted secrets (#28038) 2017-02-23 15:01:02 +01:00
yuuji.yaginuma
073f4ecb14 allow to pass describe option to rake
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.
2017-01-17 14:14:59 +09:00
Vijay Dev
8898a0ae2a Merge branch 'master' of github.com:rails/docrails
Conflicts:
	railties/lib/rails/generators.rb
2017-01-11 15:15:13 +00:00
Akira Matsuda
d1daf4c313 Privatize unneededly protected methods in Railties 2016-12-25 02:11:40 +09:00
Jon Moss
bebc744081 Capitalize Thor gem name
[ci skip]
2016-12-19 20:20:10 -05:00
Kasper Timm Hansen
4e106ee08b Per Dr. Eileen's orders :)
Prescribed some review fixes for myself!
2016-09-25 21:31:36 +02:00
Kasper Timm Hansen
6813edc7d9 Initial command structure. 2016-09-25 21:31:35 +02:00
Kasper Timm Hansen
264222bc44 Remove unfinished command infrastructure.
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.
2016-03-10 21:34:34 +01:00
Kasper Timm Hansen
d8f993fa7d Nodoc Rails command.
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.
2015-12-13 20:22:38 +01:00
Kasper Timm Hansen
5da05c3e6b Ditch Commands namespace for base command.
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.
2015-12-06 14:23:28 +01:00