Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | list reserved words in generator error | Sean Linsley | 2015-05-05 | 1 | -1/+1 |
| | |||||
* | Dont check bundler output on plugin generator test | Arthur Neves | 2015-02-10 | 1 | -4/+2 |
| | |||||
* | Actually fix the build | Sean Griffin | 2015-02-10 | 1 | -1/+1 |
| | | | | Like for real this time. I checked. | ||||
* | Fix the build | Sean Griffin | 2015-02-10 | 1 | -1/+1 |
| | |||||
* | Fixed a few things from ee9e4c3 | Godfrey Chan | 2015-01-30 | 1 | -7/+7 |
| | | | | | Mostly cosmetics, except that `isolate_namespace` should be applied to the last module in the chain. | ||||
* | Allow hyphenated names for `rails plugin new` generator. | Robin Böning | 2015-01-30 | 1 | -4/+102 |
| | | | | | | It was not possible to create a new gem with a hyphenated name via the `rails plugin new` generator. The naming guide of rubygems clearly says dashes should be used for gems that extend other gems. http://guides.rubygems.org/name-your-gem/ | ||||
* | Change option description and update test names | Melanie Gilman | 2015-01-29 | 1 | -1/+1 |
| | |||||
* | Update option to skip test in generators | Melanie Gilman | 2015-01-27 | 1 | -4/+4 |
| | | | | Rails no longer generates Test::Unit files by default. | ||||
* | Remove debugger support | Rafael Mendonça França | 2015-01-04 | 1 | -3/+0 |
| | | | | | bebugger doesn't work with Ruby 2.2 so we don't need to support it anymore | ||||
* | Add --skip-action-mailer (or -M) to rails generate | claudiob | 2015-01-01 | 1 | -0/+28 |
| | |||||
* | Skip byebug on all non-MRI rubies, fix tests | Sean Griffin | 2014-12-22 | 1 | -1/+1 |
| | | | | | | The changes in #18149 added tests for the app generator, but only fixed it for the plugin generator (I should have let CI finish though I think it would have failed as an allowed failure). | ||||
* | Silence Minitest for plugin tests. | Guo Xiang Tan | 2014-12-02 | 1 | -0/+1 |
| | | | | | | | | Fixes https://github.com/rails/rails/issues/17340. Use Minitest::BacktraceFilter instead of removing all silencers. This will allow the backtrace for all libraries in the plugin to be shown while removing noise generated by Minitest's backtrace. | ||||
* | fix test_helper for mountable plugin | masarakki | 2014-10-13 | 1 | -0/+4 |
| | |||||
* | Specify dummy app's db migrate path in plugin's test_helper.rb | Yukio Mizuta | 2014-09-16 | 1 | -3/+12 |
| | |||||
* | Use dynamic path for dummy app location in plugin's test_helper.rb | Yukio Mizuta | 2014-09-14 | 1 | -1/+4 |
| | |||||
* | Use default argument when testing generators without the need for extra args | Carlos Antonio da Silva | 2014-07-30 | 1 | -4/+4 |
| | |||||
* | Simplify plugin tests a bit, leave the regexp work for minitest | Carlos Antonio da Silva | 2014-07-30 | 1 | -6/+6 |
| | |||||
* | Invert unless..else conditions on JRuby checks | Carlos Antonio da Silva | 2014-07-30 | 1 | -3/+3 |
| | |||||
* | Stop requiring mocha automatically | Rafael Mendonça França | 2014-07-19 | 1 | -0/+1 |
| | | | | | | | | | | | We are planning to remove mocha from our test suite because of performance problems. To make this possible we should stop require mocha on ActionSupport::TestCase. This should not affect applications since users still need to add mocha to Gemfile and this already load mocha. Added FIXME notes to place that still need mocha removal | ||||
* | Change Gemfile’s double quotes in plugin generator | Josemar Luedke | 2014-05-10 | 1 | -4/+4 |
| | | | | | Since the generated application’s Gemfile is using single quotation marks, it seems fair to use it on plugin’s Gemfile as well. | ||||
* | skip-git should not hit git commands plugin generators | Arun Agrawal | 2014-05-02 | 1 | -8/+18 |
| | |||||
* | Works correctly if git not installed | Roman Shmatov | 2014-05-02 | 1 | -0/+24 |
| | |||||
* | Update Gemfile templates to provide correct debugger | David Rodríguez de Dios | 2014-04-08 | 1 | -2/+5 |
| | |||||
* | Fix build with bundler 1.6 | Rafael Mendonça França | 2014-03-26 | 1 | -1/+1 |
| | |||||
* | better test error messages | schneems | 2014-03-14 | 1 | -4/+4 |
| | |||||
* | Avoid namespacing routes inside engines | Robin Dupret | 2014-02-26 | 1 | -0/+12 |
| | | | | | | | | | | | | Since #11544, invoking the controller generator, any generated route is namespaced according to the class_path method. Since a mountable plugin is namespaced, creating a controller inside would generate a namespaced route based on the engine's name. The controller generator now relies on regular_class_path which does not contain the class hierarchy but the given path. Fixes #14079. | ||||
* | Add missing tests for invalid names in `rails plugin new` | Robin Böning | 2014-01-06 | 1 | -0/+6 |
| | | | | | * Test for: Invalid plugin name, because of reserved rails word. * Test for: Invalid plugin name because of constant name that is already in use. | ||||
* | Skipping debugger from plugin Gemfile for JRuby | Arun Agrawal | 2013-12-06 | 1 | -0/+11 |
| | |||||
* | Typo and grammatical fixes [ci skip] | Akshay Vishnoi | 2013-12-02 | 1 | -2/+2 |
| | |||||
* | Using activerecord-jdbcsqlite3-adapter | Arun Agrawal | 2013-11-23 | 1 | -2/+10 |
| | | | | | PluginGeneratorTest needs to have activerecord-jdbcsqlite3-adapter to pass under JRuby | ||||
* | s/plugin_new/plugin | schneems | 2013-06-30 | 1 | -0/+350 |
| | | | | | 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 | ||||
* | Remove deprecated plugin generator | Guillermo Iguaran | 2011-05-24 | 1 | -71/+0 |
| | |||||
* | be sure to parenthesize the arguments when the first one is a RegExp literal | Akira Matsuda | 2011-05-18 | 1 | -3/+3 |
| | | | | | | 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 | ||||
* | Fix misspelling of 'deprecation' in plugin_generator. | Doug Ireton | 2010-11-16 | 1 | -1/+1 |
| | |||||
* | Deprecate plugin generator | Piotr Sarnacki | 2010-11-16 | 1 | -6/+12 |
| | |||||
* | Load generators from both lib/rails/generators and lib/generators. Using the ↵ | José Valim | 2010-03-23 | 1 | -1/+1 |
| | | | | former since it's less obstrusive. | ||||
* | Make plugin generator compatible with new schema. | José Valim | 2010-01-24 | 1 | -1/+1 |
| | |||||
* | I removed the rdoc task from plugin Rakefile | Joshua Peek | 2010-01-22 | 1 | -1/+1 |
| | |||||
* | Get generators tests running on Ruby 1.9.1 | José Valim | 2010-01-19 | 1 | -1/+2 |
| | |||||
* | Generators load path now will be Ruby load path. If you want to use ↵ | José Valim | 2010-01-18 | 1 | -1/+1 |
| | | | | rspec:install generator, you need generators/rspec/install_generator in your load path. | ||||
* | Plugin generator should use templates. | José Valim | 2010-01-17 | 1 | -0/+15 |
| | |||||
* | Move all generators tests to use new test case syntax. | José Valim | 2010-01-03 | 1 | -8/+1 |
| | |||||
* | CI breakage | Yehuda Katz | 2009-11-02 | 1 | -1/+1 |
| | | | | This reverts commit a288b74f1c75c6f100de7611a5093a421f1ad6d1. | ||||
* | Generators should use Rails.root instead of Dir.pwd [#3408 status:resolved] | José Valim | 2009-10-28 | 1 | -1/+1 |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Move railties/lib/* into railties/lib/* | Yehuda Katz + Carl Lerche | 2009-09-24 | 1 | -1/+1 |
| | |||||
* | Updated vendored Thor to 0.11.1 and update Rails::Generators. | José Valim | 2009-07-14 | 1 | -1/+1 |
| | |||||
* | Add the new generators environment and update commands. | José Valim | 2009-07-08 | 1 | -2/+2 |
| | |||||
* | Plugin generators now reflect new generators sutrcture. | José Valim | 2009-07-03 | 1 | -4/+3 |
| | |||||
* | Added lookup to generators. | José Valim | 2009-07-03 | 1 | -3/+2 |
| | |||||
* | Tests for scaffold generator. | José Valim | 2009-07-02 | 1 | -2/+7 |
| |