aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/app_generator_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Makes test use the new config.action_view.javascript_expansions[:defaults] ↵Santiago Pastorino2010-07-171-1/+1
| | | | initialization syntax
* Adds application.js when app is generated with -J and clear ↵Santiago Pastorino2010-07-171-1/+6
| | | | javascript_expansions[:defaults]
* Test create mailers folder when starting a new appDamien Mathieu2010-06-121-0/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* layout 'application' is not anymore on application_controllerSantiago Pastorino2010-06-101-2/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix generator test broken when rails new was added.José Valim2010-06-081-3/+1
|
* Tests for new reserved words [#4602 state:resolved]Simon Jefford2010-05-161-2/+7
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Expand paths to app builders relative to the working directoryCarl Lerche2010-05-061-0/+8
|
* Provide a mechanism for overriding the entire generator via a class that ↵Carlhuda2010-04-301-38/+96
| | | | handles the individual elements of generating a new Rails application
* Set up app generator class to make it easier to for alt-stacks to override ↵Carlhuda2010-04-301-0/+4
| | | | targeted areas
* Update thor dependency to 0.13.5José Valim2010-04-291-1/+1
|
* warn user if options are given before application name [#3435 state:resolved]Ravinder Singh2010-04-291-0/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Include app name in layout titleJeremy Kemper2010-04-091-2/+2
|
* A new application now comes with a layout and a stylesheet.José Valim2010-04-061-0/+7
|
* Load generators from both lib/rails/generators and lib/generators. Using the ↵José Valim2010-03-231-1/+1
| | | | former since it's less obstrusive.
* In app_generator, fix hardcoded `bundle` call to derive the bundle ↵Caio Chassot2010-03-121-2/+3
| | | | | | | | executable name from Thor::Util.ruby_command. This ensures that eg. when `rails` is called from `ruby1.9`, `bundle1.9` is called. Signed-off-by: José Valim <jose.valim@gmail.com>
* Add a check to ensure that the application name does not already exist, i.e. ↵Kieran Pilkington2010-03-121-0/+7
| | | | | | String or Module are part of ruby [#3872 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* the folder public/javascripts should be created by default [#4027 ↵Ramon Soares2010-02-261-0/+1
| | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Invalid namespace on app generation raises an errorKyle Maxwell2010-02-171-0/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix a couple failing tests.José Valim2010-02-101-4/+2
|
* Debrittlize tests somewhat - fix for CI buildMikel Lindsaar2010-02-101-5/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fixes test failYehuda Katz2010-02-051-1/+1
|
* Move framework requires and Bundler.require from boot.rb to app.rb. Cut down ↵Jeremy Kemper2010-02-041-1/+1
| | | | the list of railtie choices to those that make sense.
* Update Gemfile to use latest bundler config.José Valim2010-02-041-0/+7
|
* Updating index.html to remove script/generate and making railties tests pass ↵Mikel Lindsaar2010-02-021-24/+4
| | | | again
* Fixed --dev flag for new bundlerMikel Lindsaar2010-02-021-3/+3
|
* Revert "Drop JS scripts from core"Joshua Peek2010-01-301-3/+5
| | | | This reverts commit a06c47a52b90a5d812e64309488ad5926dc583ca.
* Drop JS scripts from coreJoshua Peek2010-01-291-5/+3
|
* 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-1/+1
| | | | rspec:install generator, you need generators/rspec/install_generator in your load path.
* Automatically remove :generators: from namespaces.José Valim2010-01-181-1/+1
|
* Take --skip-activerecord into account boot.rb requires. [#3711 status:resolved]Rizwan Reza2010-01-171-5/+4
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Bundle automatically if --dev or --edge is given as option.José Valim2010-01-151-3/+5
|
* Ensure application names are not singularized.José Valim2010-01-071-2/+7
|
* Ensure config/application.rb also uses app_const instead of app_name.classify.José Valim2010-01-071-1/+2
|
* Fix failing app generator test when using the --dev optionJeffrey Hardy2010-01-061-1/+1
|
* Move all generators tests to use new test case syntax.José Valim2010-01-031-18/+11
|
* Assert for valid application names. [#3556 status:resolved]José Valim2010-01-031-0/+10
|
* Fully remove config.frameworks in favor of requires in boot.rbCarl Lerche2009-12-311-4/+5
|
* Add rails app --edge and rails app --devJosé Valim2009-12-291-0/+13
|
* Remove --freeze (since Rails will come bundled in all new apps) and update ↵José Valim2009-11-031-14/+0
| | | | | | gem action to change Gemfile instead of config.environment. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* CI breakageYehuda Katz2009-11-021-2/+2
| | | | This reverts commit a288b74f1c75c6f100de7611a5093a421f1ad6d1.
* Generators should use Rails.root instead of Dir.pwd [#3408 status:resolved]José Valim2009-10-281-2/+2
| | | | Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Make app generatoor specs green once again.José Valim2009-10-171-2/+9
|
* Have config/application.rb contain the application definition and require ↵Carl Lerche2009-10-151-1/+1
| | | | that file instead of config/boot.rb or config/environment.rb in script/*.
* Yank FCGI Handler from coreJoshua Peek2009-10-051-12/+0
| | | http://github.com/rails/fcgi_handler
* Remove config.ru generation from --with-dispatchers optionJoshua Peek2009-09-251-2/+0
|
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-1/+1
|
* Allow rails templates relative to the current path to be given.José Valim2009-08-071-0/+5
|
* Change false to :verbose => false as in new Thor version.José Valim2009-07-151-1/+2
|
* Updated vendored Thor to 0.11.1 and update Rails::Generators.José Valim2009-07-141-1/+1
|