Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tidy up generators commits. | José Valim | 2010-11-17 | 2 | -11/+8 |
| | |||||
* | Fix generators tests on ruby 1.9 | Piotr Sarnacki | 2010-11-17 | 1 | -6/+8 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix plugin new --mountable: ActionController instead of ActiveController | Piotr Sarnacki | 2010-11-16 | 1 | -1/+1 |
| | |||||
* | Fix misspelling of 'deprecation' in plugin_generator. | Doug Ireton | 2010-11-16 | 1 | -1/+1 |
| | |||||
* | Fix failing tests. | José Valim | 2010-11-16 | 1 | -29/+7 |
| | |||||
* | Do not allow to use plugin_new generator directly, you should use Usage: | Piotr Sarnacki | 2010-11-16 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rails new APP_PATH [options] Options: -G, [--skip-git] # Skip Git ignores and keeps -r, [--ruby=PATH] # Path to the Ruby binary of your choice # Default: /Users/drogus/.rvm/rubies/ruby-1.8.7-p302/bin/ruby -b, [--builder=BUILDER] # Path to an application builder (can be a filesystem path or URL) [--edge] # Setup the application with Gemfile pointing to Rails repository [--dev] # Setup the application with Gemfile pointing to your Rails checkout [--skip-gemfile] # Don't create a Gemfile -d, [--database=DATABASE] # Preconfigure for selected database (options: mysql/oracle/postgresql/sqlite3/frontbase/ibm_db) # Default: sqlite3 -O, [--skip-active-record] # Skip Active Record files -m, [--template=TEMPLATE] # Path to an application template (can be a filesystem path or URL) -J, [--skip-prototype] # Skip Prototype files -T, [--skip-test-unit] # Skip Test::Unit files Runtime options: -s, [--skip] # Skip files that already exist -p, [--pretend] # Run but do not make any changes -f, [--force] # Overwrite files that already exist -q, [--quiet] # Supress status output Rails options: -v, [--version] # Show Rails version number and quit -h, [--help] # Show this help message and quit Description: The 'rails new' command creates a new Rails application with a default directory structure and configuration at the path you specify. Example: rails new ~/Code/Ruby/weblog This generates a skeletal Rails installation in ~/Code/Ruby/weblog. See the README in the newly created application to get going. command | ||||
* | Allow running `rails plugin new` command inside rails application | Piotr Sarnacki | 2010-11-16 | 1 | -0/+6 |
| | |||||
* | Deprecate plugin generator | Piotr Sarnacki | 2010-11-16 | 1 | -6/+12 |
| | |||||
* | Add skip-gemspec option to 'plugin new' generator | Piotr Sarnacki | 2010-11-16 | 1 | -0/+5 |
| | |||||
* | Remove whitespaces and add missing test. | José Valim | 2010-11-11 | 2 | -6/+12 |
| | |||||
* | Merge remote branch 'drogus/plugin_new' | José Valim | 2010-11-11 | 15 | -167/+614 |
|\ | | | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb | ||||
| * | Allow to set dummy application path through options | Piotr Sarnacki | 2010-11-08 | 1 | -0/+7 |
| | | |||||
| * | Fix scaffold generator to be aware of namespace in isolated engine | Piotr Sarnacki | 2010-11-03 | 1 | -0/+153 |
| | | |||||
| * | Add --mountable option to 'plugin new' generator which generates full ↵ | Piotr Sarnacki | 2010-11-02 | 1 | -0/+9 |
| | | | | | | | | mountable application (engine) | ||||
| * | Add example rake task to 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 1 | -0/+1 |
| | | |||||
| * | create_dummy_app method that allows to easily create dummy application from ↵ | Piotr Sarnacki | 2010-11-02 | 3 | -5/+19 |
| | | | | | | | | template | ||||
| * | Properly skip test unit in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 2 | -5/+5 |
| | | |||||
| * | Properly handle other databases in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 3 | -5/+22 |
| | | |||||
| * | Skip active record properly in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 1 | -0/+1 |
| | | |||||
| * | Use rails integration tests by default in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 1 | -3/+1 |
| | | |||||
| * | Make deep copy of application generators on engine initialization. | Piotr Sarnacki | 2010-11-02 | 1 | -0/+3 |
| | | | | | | | | | | 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 Sarnacki | 2010-11-02 | 1 | -0/+17 |
| | | | | | | | | to manually set it | ||||
| * | Don't be verbose while creating dummy application in plugin new generator | Piotr Sarnacki | 2010-11-02 | 1 | -0/+4 |
| | | |||||
| * | Pass more options to test/dummy in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 1 | -0/+15 |
| | | |||||
| * | Add --full option to 'plugin new' generator, which generates rails engine | Piotr Sarnacki | 2010-11-02 | 1 | -1/+27 |
| | | |||||
| * | No need for say_step in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 1 | -4/+3 |
| | | |||||
| * | Remove integration tests and ActionModel/ActiveRecord calls from 'rake ↵ | Piotr Sarnacki | 2010-11-02 | 2 | -8/+2 |
| | | | | | | | | plugin new' generator, it shouldn't be available as default option | ||||
| * | Make tests for app and plugin generators more DRY | Piotr Sarnacki | 2010-11-02 | 8 | -287/+219 |
| | | |||||
| * | Allow easy overriding of test framework in 'rake plugin new' generator, ↵ | Piotr Sarnacki | 2010-11-02 | 2 | -0/+23 |
| | | | | | | | | using PluginBuilder | ||||
| * | Ensure that tests run properly | Piotr Sarnacki | 2010-11-02 | 1 | -0/+7 |
| | | |||||
| * | Change // style regexp to %r{}, to not confuse editors code highlighting | Piotr Sarnacki | 2010-11-02 | 1 | -1/+1 |
| | | |||||
| * | Add --dev and --edge options to rails plugin new | Piotr Sarnacki | 2010-11-02 | 1 | -0/+13 |
| | | |||||
| * | Add support for templates for rails plugin new | Piotr Sarnacki | 2010-11-02 | 1 | -0/+20 |
| | | |||||
| * | Ensure that options for plugin new generator are not passed to application ↵ | Piotr Sarnacki | 2010-11-02 | 1 | -0/+6 |
| | | | | | | | | generator | ||||
| * | Added 'rails plugin new' generator which generates gem plugin skeleton. | Piotr Sarnacki | 2010-11-02 | 4 | -0/+195 |
| | | | | | | | | | | | | 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 Zolkos | 2010-11-11 | 1 | -0/+7 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | The model generator shouldn't throw warnings when using mass nouns [#5363 ↵ | Jeff Kreeftmeijer | 2010-11-11 | 1 | -0/+5 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | Strip regexp anchors from rake routes output [#5934 state:resolved] | Andrew White | 2010-11-09 | 1 | -0/+9 |
|/ | |||||
* | Remove task for creating symlinks for railties | Piotr Sarnacki | 2010-10-14 | 1 | -57/+0 |
| | |||||
* | Add task foo:install (where foo is plugin) as a shortcutinstall:migrations ↵ | Piotr Sarnacki | 2010-10-14 | 1 | -0/+24 |
| | | | | and foo:install:assets | ||||
* | Added foo:install:assets task that copies assets from plugins public ↵ | Piotr Sarnacki | 2010-10-14 | 1 | -0/+14 |
| | | | | | | | | | | | 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 Sarnacki | 2010-10-14 | 1 | -5/+5 |
| | | | | NOTEs, also puts to stdin | ||||
* | -j parameter added to rails new command. | siong1987 | 2010-10-11 | 1 | -4/+24 |
| | | | | | | | | Now you can start your apps with jquery with rails new myapp -j jquery, the default is still prototype [#5613 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Add 'foo:install:migrations' task to copy migrations from foo engine | Piotr Sarnacki | 2010-10-09 | 1 | -1/+1 |
| | |||||
* | Load rake tasks defined in superclasses in context of railties | Piotr Sarnacki | 2010-10-09 | 1 | -0/+24 |
| | |||||
* | Rename rake railties:copy_migrations to rake railties:install:migrations and ↵ | Piotr Sarnacki | 2010-10-09 | 1 | -10/+17 |
| | | | | fix it to work with new copying strategy | ||||
* | Rename namespace method to isolate_namespace. | Piotr Sarnacki | 2010-10-09 | 3 | -11/+11 |
| | | | | | | | This change caused by confusion caused by calling engine "namespaced". Stuff inside engine can be namespaced for every engine. This method is not actually namespacing anything, it's isolating engine within the given namespace. | ||||
* | This test is not only testing config/database stuff anymore | Santiago Pastorino | 2010-10-09 | 1 | -1/+1 |
| | |||||
* | test that skip active records does not load fixtures | Aditya Sanghi | 2010-10-09 | 1 | -0/+3 |
| | | | | | | [#4104 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Test if test/performance/browsing_test.rb exists when --skip-activerecord is ↵ | Santiago Pastorino | 2010-10-09 | 1 | -0/+1 |
| | | | | | | used [#4104] |