aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/shared_generator_tests.rb
Commit message (Collapse)AuthorAgeFilesLines
* Swallow bundler exceptions when running testsRobin Dupret2014-04-271-5/+8
| | | | Let's avoid useless output when testing stuff related to Bundler.
* Install Spring preloader when generating new applicationsJon Leighton2013-12-031-6/+10
|
* Don't require using application_name before optionsPiotr Sarnacki2013-09-131-5/+0
| | | | | | | | | | | | Before this commit options for `rails new` and `rails plugin new` had to be passed in a strict order, trying to execute a following command: rails new -J path/to/app resulted in an error. This commit fixes the situation and allows to pass path to app anywhere after `new`
* Fix Typo existant -> existent [ci skip]Prathamesh Sonpatki2013-05-081-2/+2
|
* Remove `--builder` option from `rails` commandPrem Sichanugrist2013-02-241-58/+0
| | | | | | | Ability to use a custom builder by passing `--builder` (or `-b`) has been removed. Consider using application template instead. See this guide for more detail: http://guides.rubyonrails.org/rails_application_templates.html
* Gist URLs are now namespacedAkira Matsuda2013-02-181-3/+3
| | | | see: https://github.com/blog/1406-namespaced-gists
* Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. ↵Jeremy Kemper2013-01-061-2/+2
| | | | 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'
* fix failing test broken in 15fb7889c5566ddade1d8f74f49bbbc1c0be6057Akira Matsuda2013-01-051-1/+1
|
* Revert "Install binstubs by default"Jeremy Kemper2012-12-281-3/+3
| | | | | | This reverts commit f34c27a452418d8aa17f92bb0fd7ae97b5f7e252. We'll be taking a different tack on this with new `bundle binstubs <gem>` support.
* Revert "Detect rbenv and update the shebang"Jeremy Kemper2012-12-281-10/+0
| | | | | This reverts commit 7173c4f931c9026bd3bc0b644d93dae744433f09. This reverts commit a562f9fa09967eba26dff1c3bc8aa85b6f0a72ff.
* Detect rbenv and update the shebangYehuda Katz2012-12-221-0/+10
|
* Install binstubs by defaultYehuda Katz2012-12-221-3/+3
|
* Use Ruby 1.9 Hash syntax in railtiesRobin Dupret2012-10-141-7/+7
|
* change app/plugin generators to be more SCM agnosticDerek Prior2012-09-121-0/+12
| | | | | | | | | | | | | | | | | Users of other SCM's can now generate rails apps that will add the "empty" directories to source control, but will not have a useless .gitignore or mis-named .gitkeep files. * Change `rails new` and `rails plugin new` generators to name the `.gitkeep` as `.keep` in a more SCM-agnostic way. * Change `--skip-git` option to only skip the `.gitignore` file and still generate the `.keep` files. * Add `--skip-keeps` option to skip the `.keep` files. It closes #2800.
* Fix build for railties generators Arun Agrawal2012-05-021-2/+2
|
* build fix for SharedGeneratorTestsArun Agrawal2012-05-021-2/+2
|
* Fix testsPiotr Sarnacki2012-05-011-1/+1
|
* Remove duplicated tests from shared generatorCarlos Antonio da Silva2012-03-141-15/+0
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Depend on 4.0.0.beta gems. Use https for github urls.Jeremy Kemper2011-12-221-1/+1
|
* Warnings removed for using shadow variable.Arun Agrawal2011-09-041-2/+2
|
* Generate script/rails only if --full is givenStefan Sprenger2011-05-271-2/+2
|
* application and plugin generation run bundle install unless --skip-gemfile ↵Xavier Noria2011-05-141-2/+11
| | | | or --skip-bundle
* use #quietly in a few places, and s/silence/capture/ where intention is captureXavier Noria2011-05-131-8/+8
|
* say silence when you mean silenceXavier Noria2011-05-131-1/+1
|
* application and plugin generation run bundle check unless --skip-gemfileXavier Noria2011-05-131-7/+16
| | | | | | | The purpose of this feature is that the user knows whether dependencies are satisfied. In particular, if they are not he will be warned upfront, rather than finding out himself in an abrupt way by trying to run something.
* removes duplicate testsXavier Noria2011-05-131-13/+0
|
* adds comments clarifying the role of SharedGeneratorTestsXavier Noria2011-05-071-0/+3
|
* Fix test for prepend giving a false positive. [#5716 state:resolved]Aditya Sanghi2011-03-231-2/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* use parens and silence ambiguous args warningsJack Dempsey2011-03-141-12/+12
|
* Application templates should work with HTTPS tooMikel Lindsaar2010-11-271-0/+9
|
* Properly skip test unit in 'plugin new' generatorPiotr Sarnacki2010-11-021-0/+5
|
* Properly handle other databases in 'plugin new' generatorPiotr Sarnacki2010-11-021-0/+5
|
* Make tests for app and plugin generators more DRYPiotr Sarnacki2010-11-021-0/+177