aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/app_base.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add assets_gemfile_entry.José Valim2011-07-011-0/+10
|
* [IMPORTANT] Make "sprockets/railtie" require explicit.José Valim2011-06-291-1/+4
| | | | | | | | | | 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.
* Convert database names to ones appropriate for JRubyNick Sieger2011-06-211-1/+12
|
* Add generic 'jdbc' database optionNick Sieger2011-06-211-4/+5
|
* Create an :assets group in the Gemfile.José Valim2011-06-211-3/+3
| | | | | | | | | 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.
* s/Bundle/Bundler/Xavier Noria2011-06-111-1/+1
|
* shell out to run bundler on app generation, see rationale in the commentXavier Noria2011-06-101-6/+12
|
* Added a space to the comment_if helper for formatting purposesAndrew Davis2011-05-251-1/+1
|
* Removed ActiveSupport::SecureRandom in favour of SecureRandom from the ↵Jon Leighton2011-05-231-1/+1
| | | | standard library. (It has been deprecated in the 3-1-stable branch.)
* don't include 'turn' gem in Gemfile if test unit is skipped.Teng Siong Ong2011-05-181-1/+1
|
* add tests for ruby-debug gem in Gemfile and make sure that ruby-debug19 is ↵Teng Siong Ong2011-05-181-1/+1
| | | | used as long as RUBY_VERSION > '1.9'.
* asking the user whether he is "offline" rather than "online" seems more ↵Xavier Noria2011-05-141-1/+1
| | | | natural as reaction to a potential missing network connection
* removes now unused method Rails::Generators::AppBase#dev_or_edge?Xavier Noria2011-05-141-4/+0
|
* application and plugin generation run bundle install unless --skip-gemfile ↵Xavier Noria2011-05-141-4/+6
| | | | or --skip-bundle
* move bundler loading down to #bundle_commandXavier Noria2011-05-131-2/+3
|
* run bundler programmatically rather than shelling outXavier Noria2011-05-131-7/+3
|
* say something when running bundle commandsXavier Noria2011-05-131-0/+2
| | | | | | This is convenient because we buffer stdout. In particular bundle install takes a while and generation just hangs there with no indication of what's going on otherwise.
* application and plugin generation run bundle check unless --skip-gemfileXavier Noria2011-05-131-3/+14
| | | | | | | 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.
* review fixesAditya Sanghi2011-05-061-0/+8
|
* No longer need to reference mysql2 from gitDavid Heinemeier Hansson2011-05-041-9/+1
|
* restores the -j option, but now it accepts the name of any libraryXavier Noria2011-05-041-1/+7
| | | | | | If passed "foo", a gem "foo-rails" is added to the Gemfile and "foo" and "foo_ujs" are required in the application JavaScript manifest.
* We no longer depend on those git repos.José Valim2011-05-031-6/+0
|
* Use sprockets beta gemJoshua Peek2011-05-011-7/+4
|
* Prototype and Scriptaculous are no longer vendored, but provided by ↵Xavier Noria2011-04-301-3/+0
| | | | prototype-rails from now on, also the -j option of the application generator is removed
* minor git sources formatting change in railties app_base.rbJosh Kalderimis2011-04-271-3/+3
|
* jdbcpostgresql support added into template.Vishnu Atrai2011-04-261-2/+3
|
* Adding jdbcsqlite3 name in comment.Arun Agrawal2011-04-241-1/+1
|
* Looks more friendly. Arun Agrawal2011-04-241-1/+2
|
* jdbcsqlite3 support added into template. #jrubyArun Agrawal2011-04-231-1/+3
|
* Start Adding jdbcmysql support to new rails template.Arun Agrawal2011-04-231-2/+3
| | | More will come for jruby app.
* Cleanup the Gemfile and compute whats needed depending on whether we are on ↵David Heinemeier Hansson2011-04-131-1/+20
| | | | 1.8 or 1.9
* Move json requirement to user Gemfile -- still need to do better than this, ↵David Heinemeier Hansson2011-04-131-3/+0
| | | | though
* Move the asset template engines to the user-generated GemfileDavid Heinemeier Hansson2011-04-131-2/+0
|
* Include CoffeeScript in GemfileJoshua Peek2011-04-131-2/+4
|
* Fix tripletsDavid Heinemeier Hansson2011-04-131-397/+1
|
* Clean up the generator, switch to assets usage, use vendor/assets for the ↵David Heinemeier Hansson2011-04-131-0/+403
| | | | default scripts, and more
* Until the latest sprockets gem is released, we need new apps to reference it ↵David Heinemeier Hansson2011-04-131-9/+12
| | | | directly
* jQuery is the new defaultXavier Noria2011-04-131-4/+4
|
* Add --old-style-hash option to force creating old style hash on Ruby 1.9Prem Sichanugrist2011-04-101-1/+4
| | | | That means if you don't like the new syntax, you can pass --old-style-hash to force Rails to generate code with hash rockets.
* Rails will now generate Ruby 1.9 style hash when running app generator on ↵Prem Sichanugrist2011-04-101-0/+9
| | | | | | Ruby 1.9.x The new hash syntax of Ruby 1.9 looks more superior, so we decide to switch to it in the places that appropriate.
* let these heredocs flow with the codeXavier Noria2011-03-281-14/+15
|
* Make edge and dev options use edge mysql2Santiago Pastorino2011-03-271-6/+14
|
* change sqlite3-ruby => sqlite3 in the generatorsAaron Patterson2011-01-161-13/+1
|
* Generate javascripts in engine with --mountable optionPiotr Sarnacki2010-12-161-0/+6
|
* Allow http templates again, fix the broken testXavier Shay2010-11-271-1/+1
| | | | | | [#5926 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Application templates should work with HTTPS tooMikel Lindsaar2010-11-271-1/+1
|
* Properly skip test unit in 'plugin new' generatorPiotr Sarnacki2010-11-021-0/+3
|
* Properly handle other databases in 'plugin new' generatorPiotr Sarnacki2010-11-021-0/+27
|
* Pass more options to test/dummy in 'plugin new' generatorPiotr Sarnacki2010-11-021-3/+13
|
* Add --full option to 'plugin new' generator, which generates rails enginePiotr Sarnacki2010-11-021-0/+5
|