aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote branch 'drogus/plugin_new'José Valim2010-11-1138-152/+665
|\ | | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb
| * Allow to set dummy application path through optionsPiotr Sarnacki2010-11-081-1/+4
| |
| * Fix scaffold generator to be aware of namespace in isolated enginePiotr Sarnacki2010-11-0310-5/+25
| |
| * Add --mountable option to 'plugin new' generator which generates full ↵Piotr Sarnacki2010-11-026-3/+43
| | | | | | | | mountable application (engine)
| * Add example rake task to 'plugin new' generatorPiotr Sarnacki2010-11-022-0/+5
| |
| * create_dummy_app method that allows to easily create dummy application from ↵Piotr Sarnacki2010-11-023-37/+32
| | | | | | | | template
| * Properly skip test unit in 'plugin new' generatorPiotr Sarnacki2010-11-024-21/+17
| |
| * Properly handle other databases in 'plugin new' generatorPiotr Sarnacki2010-11-024-22/+29
| |
| * Skip active record properly in 'plugin new' generatorPiotr Sarnacki2010-11-021-1/+1
| |
| * Use rails integration tests by default in 'plugin new' generatorPiotr Sarnacki2010-11-025-15/+7
| |
| * We don't need to configure ActionMailer in plugin's test helper, it's ↵Piotr Sarnacki2010-11-021-4/+0
| | | | | | | | configured by dummy app
| * Refactor app and plugin generators to use new Thor APIPiotr Sarnacki2010-11-022-20/+4
| |
| * Make deep copy of application generators on engine initialization.Piotr Sarnacki2010-11-022-1/+9
| | | | | | | | | | Otherwise nested hashes will be same objects for both application and engine, which will result in overwriting each others values on changes.
| * Use application's generators defaults as engine defaults to not force users ↵Piotr Sarnacki2010-11-021-0/+1
| | | | | | | | to manually set it
| * Do not create additional newlinePiotr Sarnacki2010-11-021-1/+1
| |
| * Don't be verbose while creating dummy application in plugin new generatorPiotr Sarnacki2010-11-021-3/+13
| |
| * No need to require 'app_base', it's required in app_generatorPiotr Sarnacki2010-11-021-1/+0
| |
| * Pass more options to test/dummy in 'plugin new' generatorPiotr Sarnacki2010-11-023-16/+14
| |
| * Add --full option to 'plugin new' generator, which generates rails enginePiotr Sarnacki2010-11-0212-8/+78
| |
| * No need for say_step in 'plugin new' generatorPiotr Sarnacki2010-11-022-18/+1
| |
| * DRY up app generator and plugin new generator. Moved shared options to ↵Piotr Sarnacki2010-11-023-52/+31
| | | | | | | | AppBase generator
| * Remove integration tests and ActionModel/ActiveRecord calls from 'rake ↵Piotr Sarnacki2010-11-026-35/+5
| | | | | | | | plugin new' generator, it shouldn't be available as default option
| * We don't need gem tasks, we have a gemspecPiotr Sarnacki2010-11-021-17/+0
| |
| * Builder should not be responsible for running store_application_definition ↵Piotr Sarnacki2010-11-021-1/+1
| | | | | | | | method
| * Make tests for app and plugin generators more DRYPiotr Sarnacki2010-11-021-1/+1
| |
| * Allow easy overriding of test framework in 'rake plugin new' generator, ↵Piotr Sarnacki2010-11-023-16/+32
| | | | | | | | using PluginBuilder
| * Add --dev and --edge options to rails plugin newPiotr Sarnacki2010-11-025-25/+48
| |
| * Added USAGE for rails plugin newPiotr Sarnacki2010-11-021-0/+10
| |
| * That method is already declared at AppBasePiotr Sarnacki2010-11-021-23/+0
| |
| * Add support for templates for rails plugin newPiotr Sarnacki2010-11-023-15/+30
| |
| * Ensure that options for plugin new generator are not passed to application ↵Piotr Sarnacki2010-11-021-1/+1
| | | | | | | | generator
| * Refactored AppGenerator and PluginNewGenerator to inherit from AppBase.Piotr Sarnacki2010-11-023-57/+79
| |
| * Added 'rails plugin new' generator which generates gem plugin skeleton.Piotr Sarnacki2010-11-0217-1/+412
| | | | | | | | | | | | This command is based on enginex gem by José Valim. It generates gem structure and ads dummy application into test/dummy. This can be used to start developing any kind of extension for rails 3.
* | skip testing framework if app created with --skip-test-unit [#5796 ↵Rob Zolkos2010-11-111-0/+4
| | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | Add missing autoload.José Valim2010-11-111-0/+1
| |
* | Remove unused Configurable in Rails::Engine and Rails::Application. Remove ↵zhengjia2010-11-113-5/+0
| | | | | | | | | | | | unnecessary railties load path in cli [#5871 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | The model generator shouldn't throw warnings when using mass nouns [#5363 ↵Jeff Kreeftmeijer2010-11-111-1/+1
| | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | Remove useless cgiDenis Odorcic2010-11-101-1/+0
|/ | | | | | [#5943 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* replace if ! with unlessNeeraj Singh2010-10-172-2/+2
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* JQuery updated to 1.4.3Santiago Pastorino2010-10-161-1230/+2035
| | | | | Check out http://blog.jquery.com/2010/10/16/jquery-143-released/ for information on what's new.
* delete from :number until the endSantiago Pastorino2010-10-151-1/+1
|
* Removed duplicated method find_root_with_flagPiotr Sarnacki2010-10-151-15/+0
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* in regexps, the dot in a character class is not a metacharacterXavier Noria2010-10-152-2/+2
|
* Comment internal railties tasks.José Valim2010-10-141-1/+1
|
* Use railtie_name to correctly get name from pluginsPiotr Sarnacki2010-10-141-1/+1
|
* Remove task for creating symlinks for railtiesPiotr Sarnacki2010-10-141-19/+0
|
* Update documentation for new tasksPiotr Sarnacki2010-10-141-7/+8
|
* Add task foo:install (where foo is plugin) as a shortcutinstall:migrations ↵Piotr Sarnacki2010-10-141-0/+6
| | | | and foo:install:assets
* Added foo:install:assets task that copies assets from plugins public ↵Piotr Sarnacki2010-10-142-5/+33
| | | | | | | | | | | directory to application's public directory This is the most simple and naive approach: just copy every files from engine to app. The only exception is when file has changed, in that case developer will be asked if he wants to rename the field. There is no need to make this task more sophisticated as 3.1 will be shipped with better assets handling and it will be the default way to handle things.
* Do not treat information about skipped migrations as WARNINGs but as a ↵Piotr Sarnacki2010-10-141-0/+6
| | | | NOTEs, also puts to stdin