aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/app_base.rb
Commit message (Collapse)AuthorAgeFilesLines
* Generators, remove leftover variable assignment. refs #14877Yves Senn2014-04-271-1/+0
| | | | | The last uses of this variable was removed with the `--builder` option. 2da5ea1c9feb4a7b491bd00bd6ffd931b9203da8
* Revert "Edge Rails applications doesn't need to use arel master"Aaron Patterson2014-04-231-1/+2
| | | | This reverts commit 7f62f30f58fe5f2955e3292ab1f01aa2c9a8f0ee.
* Use sass-rails 4.0.3Rafael Mendonça França2014-04-041-1/+1
|
* Edge Rails applications doesn't need to use arel masterRafael Mendonça França2014-03-261-2/+1
|
* Remove sqlite3 lines from .gitignore if the application is not using sqlite3.Dmitrii Golub2014-03-241-0/+4
|
* Force sass-rails ~> 4.0.2 to avoid sprockets compatibility errorRafael Mendonça França2014-03-141-1/+1
| | | | See https://github.com/rails/sass-rails/issues/191 for more information
* Remove inclusion of rubysl gem for rbx on generated GemfileCarlos Antonio da Silva2014-02-251-9/+0
| | | | | | | | | | | | | From #14026: Specific rbx-2 to limit testing on Rubinius 2.x (since there will be other versions of Rubinius > 2.x soon). Also, as of Rubinius 2.2.5, it is no longer necessary to bundle the rubysl gem. This is what Rails master/4.1 supports, so we don't need to add rubysl to gemfiles anymore.
* remove railties changes. fixes #14054Aaron Patterson2014-02-141-87/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit 96991e8e919edfb20cc4120bca4e36ed51175d57 Author: Aaron Patterson <aaron.patterson@gmail.com> Date: Fri Feb 14 11:29:24 2014 -0800 Revert "gems can be added or skipped from the template" This reverts commit 8beb42cfbc41753ae4dbb91e16abcd1fb7d00356. Conflicts: railties/lib/rails/generators/rails/app/app_generator.rb railties/test/generators/app_generator_test.rb commit 35599c0e657245ef14ac0f28c9189ad16acf40e6 Author: Aaron Patterson <aaron.patterson@gmail.com> Date: Fri Feb 14 11:26:53 2014 -0800 Revert "oops, template replay needs to happen after bundle. :orz:" This reverts commit 9104702be61253f9448ca070a22fc86bb4299555. Conflicts: railties/lib/rails/generators/rails/app/app_generator.rb commit f519c3902c313db8e906a49251c91643b8e6499e Author: Aaron Patterson <aaron.patterson@gmail.com> Date: Fri Feb 14 11:25:51 2014 -0800 Revert "only ask for these ivars if the target responds to them" This reverts commit 656d412546cd97d5660c634c2a41c799d3f9e211. commit aa524a9428e3e4c45fe221f10a66a08efb827ab5 Author: Aaron Patterson <aaron.patterson@gmail.com> Date: Fri Feb 14 11:25:39 2014 -0800 Revert "refactor generator tests to use block form of Tempfile" This reverts commit 65251820ef0ab7f3cffb38130de3dd41af8d72be. commit 7d3740549fa4dfa62e3761f8d4bc6d6d441256e7 Author: Aaron Patterson <aaron.patterson@gmail.com> Date: Fri Feb 14 11:25:25 2014 -0800 Revert "add a more restricted codepath for templates fixes #13390" This reverts commit 2875b4a66e38e4333da887a4afbed33358999298. commit 525df0af1001918986cdfce59539fd2d52c4f32c Author: Aaron Patterson <aaron.patterson@gmail.com> Date: Fri Feb 14 11:25:11 2014 -0800 Revert "add a send so `apply` can be called. Fixes #13510" This reverts commit c5034d60dba0cd31a6a8c612ee35d63b8127793a.
* Hide bundler output for `rails new` if quiet option is specified.Christian Wesselhoeft2014-02-111-1/+2
|
* spring gem moved to rails/springWashington Luiz2014-01-181-1/+1
|
* upgrade SDocXavier Noria2014-01-121-1/+1
| | | | Kudos to @zzak for taking over SDoc and make it work with RDoc 4.
* add a more restricted codepath for templates fixes #13390Aaron Patterson2014-01-081-8/+26
|
* Bump Jbuilder version to 2.0.0Pavel Pravosud2013-12-201-1/+1
|
* Use sass-rails 4.0.1Takayuki Matsubara2013-12-201-1/+1
|
* Install Spring preloader when generating new applicationsJon Leighton2013-12-031-1/+25
|
* Remove turbolinks when generating a new application based on a templateLauro Caetano2013-11-211-1/+1
| | | | | | that skips it. It can be skipped adding `add_gem_entry_filter { |gem| gem.name != "turbolinks" }` to the template.
* Require the top file and autoload Base classRafael Mendonça França2013-11-091-1/+1
| | | | | | | The generators entry point file is rails/generators so we need to make sure uers will be able to use the generators when requiring that file. Fixes #12802
* Removed unused requireArun Agrawal2013-11-081-2/+0
|
* Added platform dependent gemsArun Agrawal2013-11-071-0/+9
| | | | | | See #12475 If people are on rbx they will get the desired gem
* only ask for these ivars if the target responds to themAaron Patterson2013-11-061-3/+3
|
* gems can be added or skipped from the templateAaron Patterson2013-11-041-1/+62
|
* No web-console for nowArun Agrawal2013-11-031-6/+0
|
* :bomb:Rafael Mendonça França2013-11-011-1/+1
|
* Use consistent order of the argumentsRafael Mendonça França2013-11-011-9/+9
|
* Passing args for gemfile entryArun Agrawal2013-11-011-1/+7
| | | | Fixing build
* gemfile entries can be added to the app builderAaron Patterson2013-10-311-3/+16
|
* add filters for gemfile entriesAaron Patterson2013-10-311-3/+9
|
* We need to fix Sam Ruby's tests.Aaron Patterson2013-10-301-1/+0
| | | | | | Revert "always call set_default_accessors from create_root" This reverts commit faa1b82bf2ae5d33bfa1ee5552878d5ca69607b0.
* rename AppPreparerAaron Patterson2013-10-301-0/+1
| | | | | AppPreparer doesn't actually prepare applications, it scrubs ARGV. Let's also get the class under test while we're at it
* fix template GemfilesAaron Patterson2013-10-281-0/+11
|
* always call set_default_accessors from create_rootAaron Patterson2013-10-281-0/+1
|
* Fix indentation [ci skip]Carlos Antonio da Silva2013-10-271-2/+2
|
* Fixed tests for app_generatorArun Agrawal2013-10-271-5/+5
| | | | | | Added test for jbuilder and web-console inclusion. Added README.rdoc for test default files
* Remove dead code after the skip_jbuilder option removalRafael Mendonça França2013-10-271-1/+0
|
* remove the skip_jbuilder option, just rm it from the GemfileAaron Patterson2013-10-271-3/+0
|
* remove unused methodsAaron Patterson2013-10-271-4/+0
|
* Merge remote-tracking branch 'origin/master'Aaron Patterson2013-10-271-5/+0
|\ | | | | | | | | | | | | | | * origin/master: Removal of javascript related gems when creating an app Conflicts: railties/lib/rails/generators/app_base.rb
| * Merge pull request #12657 from robin850/skip-javascriptGuillermo Iguaran2013-10-271-7/+0
| |\ | | | | | | Removal of javascript related files when creating an app
| | * Removal of javascript related gems when creating an appRobin Dupret2013-10-271-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 0417bc8 add the coffee-rails and javascript runtime gems even when passing the --skip-javascript option but this is not the desired behavior. Also remove all javascript related stuff in the generated application such as the vendor/assets/javascripts folder.
* | | add an option to skip jbuilderAaron Patterson2013-10-271-0/+4
| | |
* | | add jbuilder web-console and sdoc to the GemEntry listAaron Patterson2013-10-271-13/+24
| | |
* | | fix the class nameAaron Patterson2013-10-271-17/+17
| | |
* | | use the GemfileGem object for more entriesAaron Patterson2013-10-271-52/+49
| | |
* | | add the database gemAaron Patterson2013-10-271-5/+3
| | |
* | | get a list of gems when filling out the gemfileAaron Patterson2013-10-271-12/+25
|/ /
* / set accessors in the set_accessors! methodAaron Patterson2013-10-271-2/+1
|/
* Don't require using application_name before optionsPiotr Sarnacki2013-09-131-0/+4
| | | | | | | | | | | | 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`
* Add --skip-action-view to app generatorŁukasz Strzałkowski2013-08-251-1/+4
|
* restore whitespace in Gemfile between sqlite3 and sprocketsSam Ruby2013-05-161-1/+1
|
* Minor code duplication removedArun Agrawal2013-04-291-6/+6
|