aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/plugin_new_generator_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* s/plugin_new/pluginschneems2013-06-301-350/+0
| | | | | There are historical reasons that the `plugin` command was `plugin_new`, now those are no longer applicable, we should remove the naming edge case from the project. This PR is based off of comments from #11176 ATP Railties
* Updates to make rails 4 happy with minitest 5:Ryan Davis2013-05-061-2/+2
| | | | | | | | | | + Namespace changes, overhaul of runners. + Internal ivar name changes - Removed a logger globally applied to tests that spew everywhere?!? + Override Minitest#__run to sort tests by name. + Reworked testing isolation to work with the new cleaner architecture. - Removed a bunch of tests that just test minitest straight up. I think these changes were all merged to minitest 4 a long time ago. - Minor report output differences.
* Fix some railties test warningsVipul A M2013-04-031-1/+1
|
* remove references to *::VERSION, replace with *.versionCharlie Somerville2013-03-211-2/+2
|
* Ensure plugins generated with plugin new can boot the dummy applicationJosé Valim2013-02-281-39/+16
|
* Remove `--builder` option from `rails` commandPrem Sichanugrist2013-02-241-35/+0
| | | | | | | Ability to use a custom builder by passing `--builder` (or `-b`) has been removed. Consider using application template instead. See this guide for more detail: http://guides.rubyonrails.org/rails_application_templates.html
* Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. ↵Jeremy Kemper2013-01-061-6/+6
| | | | Executable scripts are versioned code like the rest of your app. To generate a stub for a bundled gem: 'bundle binstubs unicorn' and 'git add bin/unicorn'
* `plugin new` adds dummy app tasks when necessary.Yves Senn2012-11-081-0/+6
| | | | | | | Closes #8121 The `plugin new` generator always adds the dummy app rake tasks, when a dummy app was created.
* Use Ruby 1.9 Hash syntax in railtiesRobin Dupret2012-10-141-1/+1
|
* Remove .rb from require sentencesJosé Corcuera Z2012-09-211-1/+1
|
* Revert "Revert changes related to `bundle install` fixes in `rails new`"Piotr Sarnacki2012-08-311-2/+7
| | | | | | | | The cause of the previous revert was bug in bundler that made it hard to make railties test work. Fix for bundler was recently pushed to github, so now we can safely get back to the original commit. This reverts commit 0f5cc34ab58cda99d1401ecc82e1ebb873838dd7.
* remove test/dummy from gitignore when "plugin new -T"Francesco Rodriguez2012-07-031-1/+7
|
* Merge pull request #6681 from arunagw/plugin_gen_fixRafael Mendonça França2012-06-081-2/+8
|\ | | | | Plugin gen fix
| * We should not include engine.rake file into rakeArun Agrawal2012-06-081-0/+8
| | | | | | | | | | | | | | | | | | | | | | if we are passing -T which is skip_test_unit See issue #6673 for more details. I saw that we are not creating dummy app even if we do skip_test_unit. Fixes #6673
| * Removed protected as we already doing it above.Arun Agrawal2012-06-081-2/+0
| |
* | Don't add sqlite3 to gemspec with -O on rails plugin newPiotr Sarnacki2012-06-081-0/+8
|/ | | | (closes #6672)
* Fixed the Gemfile when gemspec is skipped in the 'rails plugin new' commandFred Wu2012-06-051-0/+26
|
* Use new hash syntax for generators gem methodAlexey Vakhov2012-05-221-2/+2
| | | | | | The Gemfile of new application uses ruby 1.9 hashes. Gem method of generators should use them too. It prevents from mixing two kinds of syntax in one file.
* Revert changes related to `bundle install` fixes in `rails new`Piotr Sarnacki2012-05-171-7/+2
| | | | | | | | | | | Reverted changes: f3482a9 Fix tests in railties 5904295 improve #6318 aed906a prevent using already loaded Gemfile for 'bundle install' In order to fix this, we need a fix in bundler related to GEM_PATH, which will allow to run tests properly. I will get this changes back when it happens.
* Fix tests in railtiesPiotr Sarnacki2012-05-151-1/+1
| | | | | | | | Since `bundle install` was fixed in `rails plugin new`, it now requires `rails 4.0.0.beta` version in filesystem when running tests. Instead of providing it, we can run tested command with `--dev` option, to use rails from the local directory.
* improve #6318Michal Papis2012-05-151-1/+6
|
* Failing test for #6251Piotr Sarnacki2012-05-101-0/+7
|
* Build fix for plugin new generator changeCarlos Antonio da Silva2012-05-011-2/+2
| | | | Related to a06a84bf77082a7435973fa1b6c8254fb410f243
* Fix GH #4737. Missing helper file (LoadError) in mountable plugin.kennyj2012-02-021-7/+8
|
* Fix tests, ./ is not needed for relative entries in Gemfile in newest ↵Piotr Sarnacki2012-01-071-2/+2
| | | | bundler version
* Add Gemfile entry when creating a plugin in application's directoryPiotr Sarnacki2012-01-071-1/+32
| | | | | | | | | | | | After vendor/plugins were removed from rails, the new method to create plugins is to create gem plugins. Most of the time if you create a new plugin in rails application's directory, you want to extract something from that application and use it immediately, ie. add such line to Gemfile: gem 'foo', :path => './vendor/foo' This commit makes plugin new generator to add such line automatically.
* No need 'abstract_unit' here. It's already in 'generators_test_helper'Arun Agrawal2011-12-181-1/+0
|
* fix rails plugin new CamelCasedName buglest2011-11-191-0/+6
| | | | refs #3684
* Fixed error with 'rails generate new plugin' where the .gitignore was not ↵Tyler Coville2011-11-091-0/+8
| | | | properly generated if --dummy-path was used and added test case
* Warnings removed for "assert_match /" Please doArun Agrawal2011-09-041-3/+3
| | | | not add more.!
* Covering more files in test for plugin new generator. Vishnu Atrai2011-07-291-0/+2
|
* Test add for plugin new generator generate mailerArun Agrawal2011-07-291-4/+5
|
* pluging generator test fixVishnu Atrai2011-07-281-8/+8
|
* As we are adding db folder in it. Required in test also.Arun Agrawal2011-07-171-1/+1
|
* fix engines rake tasksJake Varghese2011-07-041-0/+8
|
* 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-091-3/+10
|\ | | | | Fix engine's generator
| * Generate script/rails only if --full is givenStefan Sprenger2011-05-271-3/+3
| |
| * 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
| |