aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators
Commit message (Collapse)AuthorAgeFilesLines
* fix engines rake tasksJake Varghese2011-07-041-0/+8
|
* Move Coffee generators and templates to Coffee Railtie and create ↵Santiago Pastorino2011-06-293-23/+10
| | | | javascript_engine ("js") for apps that remove Coffee gem
* [IMPORTANT] Make "sprockets/railtie" require explicit.José Valim2011-06-291-4/+10
| | | | | | | | | | 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.
* fix test when running Jruby. If Jruby Platform is available the gem will change.Arun Agrawal2011-06-291-2/+10
|
* Merge pull request #1481 from arunagw/lib_assetsDavid Heinemeier Hansson2011-06-271-1/+2
|\ | | | | Generating /lib/assets for assets
| * Using lib/assets only. Javascripts/Stylesheets people can fill later.Arun Agrawal2011-06-161-1/+2
| |
* | Tests added when no option is given with #jruby. It should generateArun Agrawal2011-06-221-0/+8
| | | | | | | | sqlite3 based app
* | Making tests according to the changes #jrubyArun Agrawal2011-06-221-3/+4
| |
* | Test added for jdbc-adapterArun Agrawal2011-06-221-0/+6
| |
* | Attributes on scaffold and model generators default to string.José Valim2011-06-173-16/+21
| | | | | | | | This allows the following: "rails g scaffold Post title body:text author"
* | Merge pull request #1676 from neerajdotname/make_test_name_meaningfulSantiago Pastorino2011-06-131-1/+1
|\ \ | | | | | | Remove "is_assed" with something more meaningful
| * | Remove "is_assed" with something more meaningfulNeeraj Singh2011-06-131-1/+1
| | |
* | | namespace engine assetsRyan Bates2011-06-121-12/+16
|/ /
* | Merge pull request #1356 from flippingbits/fix_engine_generatorJosé Valim2011-06-093-14/+13
|\ \ | |/ |/| Fix engine's generator
| * Use RAILS_ISOLATED_ENGINE and fix namespaced generators testsStefan Sprenger2011-06-071-9/+1
| |
| * Generate script/rails only if --full is givenStefan Sprenger2011-05-272-5/+5
| |
| * Fix appending 'Stefan Sprenger2011-05-271-1/+1
| |
| * Fix and test ENGINE_PATH and ENGINE_ROOTStefan Sprenger2011-05-271-0/+8
| |
| * We're now using generators directlyStefan Sprenger2011-05-261-1/+0
| |
* | properly require javascript libraries when generating mountable engineJ. Edward Dewyea2011-05-301-0/+22
|/
* Use global namespace RailsStefan Sprenger2011-05-261-1/+1
|
* Improve test assertionStefan Sprenger2011-05-251-1/+3
|
* Remove whitespaces from empty lineStefan Sprenger2011-05-251-1/+1
|
* Add test files to engine's gemspecStefan Sprenger2011-05-251-0/+7
|
* Merge pull request #1260 from flippingbits/masterJosé Valim2011-05-251-0/+5
|\ | | | | Remove shebang from the template
| * Add test for shebang in engine's script/rails fileStefan Sprenger2011-05-241-0/+5
| |
* | Using load_generatorsArun Agrawal2011-05-251-1/+1
| |
* | Remove deprecated plugin generatorGuillermo Iguaran2011-05-241-71/+0
| |
* | Streamline generators initialization flow.José Valim2011-05-251-1/+1
| |
* | Move SCSS generators and default templates from Rails to the Sass Railtie ↵tomhuda2011-05-244-24/+24
| | | | | | | | | | | | | | | | (d435726312601edb3ba6f97b34f562221f72c1f8). * Sass gem registers a compressor * Sass gem registers generators for assets and scaffold * Create a default stylesheet_engine ("css") for apps that remove the Sass gem
* | Remove asserts for js ext stuff thats not used any moreDavid Heinemeier Hansson2011-05-241-3/+0
| |
* | create the dummy app if there's no test_unit but there's a dummy_pathdmathieu2011-05-241-0/+7
|/
* Fix failing test suite (please run tests before sending pull requests :S)José Valim2011-05-241-1/+2
|
* Add test for gemspec of the generated engineStefan Sprenger2011-05-241-0/+6
|
* Let's load jruby-openssl now for all. #jrubyArun Agrawal2011-05-221-1/+3
|
* be sure to parenthesize the arguments when the first one is a RegExp literalAkira Matsuda2011-05-1813-119/+118
| | | | | | this fixes: "warning: ambiguous first argument; put parentheses or even spaces" because: you need this to tell the parser that you're not calling :/ method (division) details (Japanese!): http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-dev/42445?42370-43277
* Fixing typo in test for turn gemGuillermo Iguaran2011-05-181-1/+1
|
* don't include 'turn' gem in Gemfile if test unit is skipped.Teng Siong Ong2011-05-181-0/+7
|
* add tests for ruby-debug gem in Gemfile and make sure that ruby-debug19 is ↵Teng Siong Ong2011-05-181-0/+14
| | | | used as long as RUBY_VERSION > '1.9'.
* add test case for turn gem for testunit.siong19872011-05-181-0/+8
|
* Run bundle install once when using plugin_new --full --mountable. Closes #555Santiago Pastorino2011-05-171-0/+5
|
* generate HTML5 number_field tag for integer fieldsAkira Matsuda2011-05-161-1/+5
|
* Fixed failing tests for namespaced_generators_test. in 1.9.2Arun Agrawal2011-05-141-1/+5
|
* application and plugin generation run bundle install unless --skip-gemfile ↵Xavier Noria2011-05-141-2/+11
| | | | or --skip-bundle
* Update Mailer generator to use 1.9 styled hash when run on Ruby 1.9Prem Sichanugrist2011-05-131-3/+25
| | | | As always, you can run `--old-style-hash` to override that.
* use #quietly in a few places, and s/silence/capture/ where intention is captureXavier Noria2011-05-132-12/+12
|
* new reporting method Kernel#quietlyXavier Noria2011-05-132-3/+3
|
* silences stderr to prevent an expected error message in the test suite from ↵Xavier Noria2011-05-131-2/+1
| | | | being echoed
* say silence when you mean silenceXavier Noria2011-05-131-1/+1
|
* application and plugin generation run bundle check unless --skip-gemfileXavier Noria2011-05-132-10/+19
| | | | | | | 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.