diff options
author | Xavier Noria <fxn@hashref.com> | 2016-08-06 19:38:55 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2016-08-06 19:38:55 +0200 |
commit | 477568ee33bee0dc5e57b9df624142296e3951a4 (patch) | |
tree | 674f9c7bea422c5502d1c4a69c8ffc6483512a35 /railties/lib/rails/api | |
parent | 5c315a8fa6296904f5e0ba8da919fc395548cf98 (diff) | |
download | rails-477568ee33bee0dc5e57b9df624142296e3951a4.tar.gz rails-477568ee33bee0dc5e57b9df624142296e3951a4.tar.bz2 rails-477568ee33bee0dc5e57b9df624142296e3951a4.zip |
modernizes hash syntax in railties
Diffstat (limited to 'railties/lib/rails/api')
-rw-r--r-- | railties/lib/rails/api/task.rb | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/railties/lib/rails/api/task.rb b/railties/lib/rails/api/task.rb index fac8155579..bc670b1d75 100644 --- a/railties/lib/rails/api/task.rb +++ b/railties/lib/rails/api/task.rb @@ -5,29 +5,29 @@ module Rails class Task < RDoc::Task RDOC_FILES = { "activesupport" => { - :include => %w( + include: %w( README.rdoc lib/active_support/**/*.rb ), - :exclude => "lib/active_support/vendor/*" + exclude: "lib/active_support/vendor/*" }, "activerecord" => { - :include => %w( + include: %w( README.rdoc lib/active_record/**/*.rb ) }, "activemodel" => { - :include => %w( + include: %w( README.rdoc lib/active_model/**/*.rb ) }, "actionpack" => { - :include => %w( + include: %w( README.rdoc lib/abstract_controller/**/*.rb lib/action_controller/**/*.rb @@ -36,40 +36,40 @@ module Rails }, "actionview" => { - :include => %w( + include: %w( README.rdoc lib/action_view/**/*.rb ), - :exclude => "lib/action_view/vendor/*" + exclude: "lib/action_view/vendor/*" }, "actionmailer" => { - :include => %w( + include: %w( README.rdoc lib/action_mailer/**/*.rb ) }, "activejob" => { - :include => %w( + include: %w( README.md lib/active_job/**/*.rb ) }, "actioncable" => { - :include => %w( + include: %w( README.md lib/action_cable/**/*.rb ) }, "railties" => { - :include => %w( + include: %w( README.rdoc lib/**/*.rb ), - :exclude => "lib/rails/generators/rails/**/templates/**/*.rb" + exclude: "lib/rails/generators/rails/**/templates/**/*.rb" } } |