aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. ↵Jeremy Kemper2013-01-061-5/+5
| | | | Executable scripts are versioned code like the rest of your app. To generate a stub for a bundled gem: 'bundle binstubs unicorn' and 'git add bin/unicorn'
* split formatting concerns from RoutesInspectorYves Senn2013-01-051-2/+2
|
* Use Ruby 1.9 Hash syntax in railtiesRobin Dupret2012-10-146-12/+12
|
* Update test locationsMike Moore2012-10-091-2/+6
| | | | | | | | | | | | | | Change the default test locations to avoid confusion around the common testing terms "unit" and "functional". Add new rake tasks for the new locations, while maintaining backwards compatibility with the old rake tasks. New testing locations are as follows: app/models -> test/models (was test/units) app/helpers -> test/helpers (was test/units/helpers) app/controllers -> test/controllers (was test/functional) app/mailers -> test/mailers (was test/functional)
* Assets cache shouldn't be shared between different environmentsGuillermo Iguaran2012-09-281-1/+3
|
* oops, should be directoryAaron Patterson2012-08-131-1/+1
|
* speed up cache directory creationAaron Patterson2012-08-131-3/+9
| | | | | | Let Rake control the cache directories. If the directory already exists, rake will skip creating it (vs the previous task which would always try to mkdir_p)
* Remove `:rails_env` task since it is not needed anymore.Rafael Mendonça França2012-08-021-7/+0
|
* Rename RouteInspector to RoutesInspectorCarlos Antonio da Silva2012-07-081-1/+1
| | | | Follow the consistency defined in dbc43bc.
* move route_inspector to actionpack@schneems and @mattt2012-07-071-2/+2
| | | | this is so we can show route output in the development when we get a routing error. Railties can use features of ActionDispatch, but ActionDispatch should not depend on Railties.
* Rename RouteInspect to RoutesInspector for consistencyJosé Valim2012-06-291-2/+2
|
* fix stylesheet template dirSugino Yasuhiro2012-06-091-1/+1
|
* Revert "Only include Rake::DSL if it's defined."Akira Matsuda2012-06-011-1/+1
| | | | | | This reverts commit 82c3aca17e78d25f217702e530586673f2a219d7. Reason: Ruby 1.9.3 is shipped with Rake > 0.9
* Add code statistics for Javascript andArun Agrawal2012-05-311-0/+1
| | | | | | | CoffeeScript files to `rake stats` task Orignal PR was #2270 Thanks to @nfm
* remove unused route reloading codeschneems2012-05-301-2/+0
| | | Since the environment is initialized each time rake is run, routes don't need to be re-loaded. https://github.com/rails/rails/pull/6461#r869953
* do not set the ENGINE_PATH to nilAaron Patterson2012-05-241-1/+1
|
* Only include Rake::DSL if it's defined.Joe Van Dyk2012-04-231-1/+1
| | | | rake < 0.9 doesn't define Rake::DSL.
* Remove Active Resource source files from the repositoryPrem Sichanugrist2012-03-131-6/+0
| | | | | | | | | | Dear Active Resource, It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository. I will miss you, @sikachu.
* ruby19: no need to rescue when requiring 'rdoc/task' in Ruby >= 1.9Akira Matsuda2012-02-271-7/+1
|
* show stats for app/mailersAkira Matsuda2012-01-161-0/+1
|
* Rails::Plugin has goneSantiago Pastorino2012-01-031-39/+1
|
* It should be README.rdoc fixes #4067Arun Agrawal2011-12-201-1/+1
|
* I suck, forgot to also change rake's task descriptionPiotr Sarnacki2011-11-251-1/+1
|
* Allow to display engine's routes when running `rake routes ENGINES=true`Piotr Sarnacki2011-11-241-1/+1
|
* CHANGELOG => CHANGELOG.mdArun Agrawal2011-11-091-2/+2
| | | | I missed these in previous commit
* CHANGELOG to CHANGELOG.mdArun Agrawal2011-11-081-5/+5
|
* Added environment rake task to enginesSteven Anderson2011-10-181-0/+1
|
* testing.rake should set the default task, closes #2564José Valim2011-10-071-2/+0
|
* move route inspecting to an object so that we can more easily test itAaron Patterson2011-09-091-31/+3
|
* Further monkey-patching to avoid deprecation warningsPivotal Casebook2011-08-081-0/+2
|
* fixes #2368. rake about not showing the middleware, db adapter and db schema ↵Vijay Dev2011-07-311-1/+1
| | | | version
* Improve rails:template undefined LOCATION variable error message fixedRaghunadh2011-07-231-3/+3
|
* removing inline source option from rdoc task. fixes #2169Aaron Patterson2011-07-211-3/+3
|
* Improve formatting of route to Rack application in rake routes.Hendy Tanata2011-07-171-3/+3
| | | | | | | | | | This route: match 'foo/:id' => RackApp, :id => /[A-Z]\d{5}/ is shown as: /foo/:id(.:format) RackApp {:id=>/[A-Z]\d{5}/}
* Better formatting of route requirements in rake:routes.Hendy Tanata2011-07-161-1/+9
| | | | | | | | | | Previously it was: {:controller=>"photos", :action=>"show", :id=>/[A-Z]\d{5}/} Now it becomes: photos#show {:id=>/[A-Z]\d{5}/}
* Use cache/assets instead.José Valim2011-07-121-2/+1
|
* assets.cache_store now defaults to filesystem. You will want to share ↵José Valim2011-07-121-1/+2
| | | | tmp/assets_cache between deploys.
* fix engines rake tasksJake Varghese2011-07-041-0/+2
|
* [IMPORTANT] Make "sprockets/railtie" require explicit.José Valim2011-06-291-26/+0
| | | | | | | | | | This makes "sprockets/railtie" explicit. This means that sprockets will be loaded when you require "rails/all". If you are not using requiring "rails/all", you need to manually load it with all other framework railties. In order to be complete, this commit also adds --skip-sprockets to the rails generator.
* Railties: added tests for rake assets:cleanJames A. Rosen2011-06-211-2/+2
|
* rake assets:clean also removes directoriesJames A. Rosen2011-06-211-1/+1
| | | | | | See https://github.com/rails/rails/pull/1776#issuecomment-1402894, 2df2bfdb4b1165dce4b5bc3fe046147d793fead4, and 7440a254c4e724a5bbf6a0f4c8edb6d8d0432433.
* Create an :assets group in the Gemfile.José Valim2011-06-211-5/+10
| | | | | | | | | This group is required by default only on development and test (you can change it on config/application.rb). `rake assets:precompile` will automatically add the assets group to Rails.groups (and consequently Bundler.require) and should work transparently.
* assets:clean task now cleans up imagesJames A. Rosen2011-06-191-1/+1
|
* sprockets gzips assets nowXavier Noria2011-06-071-1/+4
|
* refectored assets:clean taskVishnu Atrai2011-05-301-3/+1
|
* rename task and Rake::FileList used Vishnu Atrai2011-05-271-3/+3
|
* Add rake task to implement assets:cleanup, fixes Github Issues # 1284Bhavin Kamani2011-05-271-0/+10
|
* Merge pull request #1305 from amatsuda/require_rdoc_task_fail2José Valim2011-05-251-0/+2
|\ | | | | Ensure RDoc::Task exists even if 'rdoc/task' was not required
| * Ensure RDoc::Task exists even if 'rdoc/task' was not requiredAkira Matsuda2011-05-261-0/+2
| |
* | Renaming helper in the Rake task, but why is this needed in the first place? ↵wycats2011-05-251-1/+1
|/ | | | (paging JP)