aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/actions_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Rails::Plugin has goneSantiago Pastorino2012-01-031-37/+0
|
* Add the .rdoc extension to the README that Rails generates for a new applicationSteve Richert2011-12-091-3/+3
|
* Updating newline fix to maintain existing linebreaks and indentation and ↵John Donahue2011-11-251-4/+6
| | | | test for b/eol on inserts
* Added tests for #3751ganesh2011-11-251-1/+1
|
* Isolate rake action tests that should be run under default envGuillermo Iguaran2011-10-081-4/+8
|
* The generator invokes rake with either the :env option, ENV['RAILS_ENV'], or ↵Jeremy Kemper2011-10-081-3/+5
| | | | development. So if Travis has exported RAILS_ENV=test, it'll be used instead of development, breaking these brittle expectations.
* Honour RAILS_ENV environment variable when running rake.Dmitriy Kiriyenko2011-09-291-0/+16
|
* Add gem_group support to generatorsWojciech Mach2011-09-041-0/+14
|
* fix indent for generator environment methodAlexey Vakhov2011-09-021-1/+1
|
* Fix Rails::Generators::Actions#environment when env is passed. Closes #2110Guillermo Iguaran2011-07-181-0/+7
|
* be sure to parenthesize the arguments when the first one is a RegExp literalAkira Matsuda2011-05-181-2/+2
| | | | | | this fixes: "warning: ambiguous first argument; put parentheses or even spaces" because: you need this to tell the parser that you're not calling :/ method (division) details (Japanese!): http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-dev/42445?42370-43277
* log and readme should respect --quietJosé Valim2011-03-041-0/+25
|
* Fix app and actions generators testsPiotr Sarnacki2010-09-251-0/+5
| | | | | | | Normally Rails.application is an instance, but for those tests Rails.application needs to be class. Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove deprecation warnings in railtiesCarlos Antonio da Silva2010-09-061-37/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-2/+2
| | | | 's/[ \t]*$//' -i {} \;)
* renames load_(once_)paths to autoload_(once_)paths in dependencies and configXavier Noria2010-06-241-3/+3
|
* Bundler deprecated options in Gemfile with application template using method ↵Adrian Sanchez2010-05-151-2/+12
| | | | | | "gem" [#4534 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Update generators to use thor 0.13.6 with simpler source_root handling.José Valim2010-04-301-1/+1
|
* Load generators from both lib/rails/generators and lib/generators. Using the ↵José Valim2010-03-231-1/+1
| | | | former since it's less obstrusive.
* removed useless require lineSebastian Martinez2010-03-191-3/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add readme as method in Rails::Generators::Actions (as we had in 2.3)José Valim2010-02-171-0/+6
|
* Fixes unescaped version passthrough of generator 'gem' command. [#3901 ↵Michael Bleigh2010-02-101-0/+18
| | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* fix usage examples and more to use new invocationsRomD2010-02-061-5/+5
| | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Get generators tests running on Ruby 1.9.1José Valim2010-01-191-1/+2
|
* Generators load path now will be Ruby load path. If you want to use ↵José Valim2010-01-181-2/+2
| | | | rspec:install generator, you need generators/rspec/install_generator in your load path.
* Automatically remove :generators: from namespaces.José Valim2010-01-181-1/+1
|
* Ensure generators can be invoked by their shortcut and remove attr_reader tasks.José Valim2010-01-181-0/+13
|
* Move all generators tests to use new test case syntax.José Valim2010-01-031-9/+3
|
* Scaffolding generates new routing dsl examplesJoshua Peek2009-12-091-1/+1
|
* Remove --freeze (since Rails will come bundled in all new apps) and update ↵José Valim2009-11-031-23/+24
| | | | | | gem action to change Gemfile instead of config.environment. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* CI breakageYehuda Katz2009-11-021-1/+1
| | | | This reverts commit a288b74f1c75c6f100de7611a5093a421f1ad6d1.
* Generators should use Rails.root instead of Dir.pwd [#3408 status:resolved]José Valim2009-10-281-1/+1
| | | | Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Use Rails.root in railties testsJoshua Peek2009-10-181-1/+1
|
* Have config/application.rb contain the application definition and require ↵Carl Lerche2009-10-151-5/+5
| | | | that file instead of config/boot.rb or config/environment.rb in script/*.
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-1/+1
|
* Users can now pass :branch for git plugins and :revision for subversion pluginsMatt Duncan2009-08-081-0/+15
| | | | | | [#2352 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Updated vendored thor to 0.11.3.José Valim2009-07-231-35/+0
|
* Modified rake tasks to use new app generator structure and updated Thor version.José Valim2009-07-161-0/+13
|
* Change false to :verbose => false as in new Thor version.José Valim2009-07-151-9/+20
|
* Updated vendored Thor to 0.11.1 and update Rails::Generators.José Valim2009-07-141-1/+1
|
* Make specs pass on Ruby 1.9.José Valim2009-07-061-19/+4
|
* Ensure that rails templates methods are invoked with the proper extensions ↵José Valim2009-07-041-0/+18
| | | | [#2531 status:resolved]
* Make generators test pass with latest Thor versionJosé Valim2009-07-041-3/+3
|
* Move file action only to app generator.José Valim2009-06-281-4/+4
|
* Tests for plugin generator.José Valim2009-06-251-2/+3
|
* Change current sstructure.José Valim2009-06-231-0/+184