Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixes test for Gemfile entry changes | Arun Agrawal | 2014-08-08 | 1 | -6/+11 |
| | | | | Broken by fbe38c9e9d4fe9f82518e8ffc1d757459b0c5f1c | ||||
* | Merge pull request #16359 from skanev/after-bundle-in-rails-templates | Yves Senn | 2014-08-06 | 1 | -0/+15 |
|\ | | | | | | | | | | | | | Add an after_bundle callback in Rails templates Conflicts: railties/CHANGELOG.md | ||||
| * | Add an after_bundle callback in Rails templates | Stefan Kanev | 2014-08-03 | 1 | -0/+15 |
| | | | | | | | | | | | | The template runs before the generation of binstubs – this does not allow to write one, that makes an initial commit to version control. It is solvable by adding an after_bundle callback. | ||||
* | | Bring back the helpers tests | José Valim | 2014-08-05 | 1 | -0/+39 |
| | | | | | | | | | | Also keep the hook as other tools may rely on it, we just don't do anything by default on Rails. | ||||
* | | A few more tests asserting the presence of helper test stubs | David Heinemeier Hansson | 2014-08-03 | 4 | -12/+0 |
| | | |||||
* | | Stubs are no longer generated for helpers, so dont test for it | David Heinemeier Hansson | 2014-08-03 | 1 | -4/+0 |
| | | |||||
* | | Generating stubs for helper tests is overly specific. Most helpers should ↵ | David Heinemeier Hansson | 2014-08-03 | 1 | -54/+0 |
|/ | | | | simply be tested as part of the view thats using them. If you need something beyond that, you can add a test yourself for them | ||||
* | Avoid defining the test if it does not need to when not on JRuby | Carlos Antonio da Silva | 2014-07-30 | 1 | -2/+2 |
| | |||||
* | Use default argument when testing generators without the need for extra args | Carlos Antonio da Silva | 2014-07-30 | 2 | -7/+7 |
| | |||||
* | Simplify path setup | Carlos Antonio da Silva | 2014-07-30 | 1 | -1/+1 |
| | |||||
* | 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 | 2 | -12/+12 |
| | |||||
* | Revert "Merge pull request #15305 from tgxworld/remove_unnecessary_require" | Santiago Pastorino | 2014-07-30 | 2 | -2/+2 |
| | | | | | | | This reverts commit f632f79b8dcd144408c66a544984b2ba9cf52f87, reversing changes made to 98c7fe87690ca4de6c46e8f69806e82e3f8af42d. Closes #16343 | ||||
* | Set Psych as the YAML engine for Rubinius | Robin Dupret | 2014-07-23 | 1 | -0/+13 |
| | | | | | | | | | | Since the rubysl-yaml gem doesn't ship with Psych by default because of its dependency on libyaml, on Rubinius, the default engine is Syck. However, if we want to be able to run the application safely on different rubies, we need to make people using Rubinius rely on Psych. See http://git.io/uuLVag for further information. | ||||
* | Merge branch 'rm-remove-mocha' | Rafael Mendonça França | 2014-07-19 | 4 | -0/+4 |
|\ | | | | | | | | | Conflicts: actionpack/test/abstract_unit.rb | ||||
| * | Stop requiring mocha automatically | Rafael Mendonça França | 2014-07-19 | 4 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | Keep quietly and capture undeprecated on your suite | Rafael Mendonça França | 2014-07-15 | 3 | -2/+10 |
|/ | |||||
* | Display notice in index.html pages in scaffolded generated views | Arun Agrawal | 2014-07-04 | 2 | -1/+9 |
| | | | | | | | | | As we are setting notice in destroy action we should display that For more information see https://github.com/rails/rails/pull/14044 And https://github.com/rails/jbuilder/pull/191 closes #14044 | ||||
* | Add a '--skip-routes' flag for the Controller generator. | Lucas Mazza | 2014-06-24 | 1 | -0/+7 |
| | | | | | This way it is possible to skip the addition of the 'get "foo/bar"' routes when generating a controller. | ||||
* | Add a generic --skip-gems options to generator | Rafael Mendonça França | 2014-06-17 | 1 | -2/+3 |
| | | | | | | | | | | Also remove --skip-turbolinks. This option is useful if users want to remove some gems like jbuilder, turbolinks, coffee-rails, etc that don't have specific options on the generator. rails new my_app --skip-gems turbolinks coffee-rails | ||||
* | Add an option to skip installation of Turbolinks | Marc Schütz | 2014-06-14 | 1 | -0/+14 |
| | |||||
* | Merge pull request #14881 from robin850/patch-19 | Yves Senn | 2014-06-01 | 1 | -5/+8 |
|\ | | | | | Swallow bundler exceptions when running tests | ||||
| * | Swallow bundler exceptions when running tests | Robin Dupret | 2014-04-27 | 1 | -5/+8 |
| | | | | | | | | Let's avoid useless output when testing stuff related to Bundler. | ||||
* | | `bin/setup` script to bootstrap applications. | Yves Senn | 2014-05-30 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #15327 from alexbel/replace_double_quotes_with_single_quotes | Yves Senn | 2014-05-27 | 1 | -7/+15 |
|\ \ | | | | | | | | | | Replace double quotes with single quotes while adding an entry into Gemfile | ||||
| * | | Replace double quotes with single quotes while adding an entry into Gemfile | alexbel | 2014-05-26 | 1 | -7/+7 |
|/ / | |||||
* | | Remove unnecessary require of Minitest. | Guo Xiang Tan | 2014-05-24 | 2 | -2/+2 |
| | | | | | | | | Minitest has already been required when calling Minitest.autorun. | ||||
* | | New applications should be created with json serializer | Rafael Mendonça França | 2014-05-17 | 1 | -0/+36 |
| | | | | | | | | | | | | | | | | | | | | | | The fix introduced at 75ba7425f6d235f254c00a45a58f42e88f80301a were missing this case. To fix the original issue mentioned at that commit the correct is to remove update_config_files from the command list since we should not run both config_files command when creating a new application. Tests were added to make sure everything is working fine. | ||||
* | | Fix app generator test hanging. | Christian Wesselhoeft | 2014-05-17 | 1 | -2/+2 |
| | | |||||
* | | 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. | ||||
* | | rename `str` to `string` to fix overshadowing of variable | Vipul A M | 2014-05-07 | 1 | -1/+1 |
| | | |||||
* | | 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 |
|/ | |||||
* | Merge pull request #14646 from deivid-rodriguez/provide_byebug_by_default | Rafael Mendonça França | 2014-04-11 | 2 | -4/+10 |
|\ | | | | | Improve debugging support | ||||
| * | Update Gemfile templates to provide correct debugger | David Rodríguez de Dios | 2014-04-08 | 2 | -4/+10 |
| | | |||||
* | | Move assets precompile (and version) to an initializer | Matthew Draper | 2014-04-11 | 1 | -1/+1 |
| | | | | | | | | | | sprockets-rails 2.1 needs the precompile list to be available in all environments. | ||||
* | | Use short-form for the scaffold render calls and drop the needless test | David Heinemeier Hansson | 2014-04-08 | 1 | -7/+0 |
|/ | |||||
* | Fix build with bundler 1.6 | Rafael Mendonça França | 2014-03-26 | 1 | -1/+1 |
| | |||||
* | Fix Generation of proper migration when | Kuldeep Aggarwal | 2014-03-25 | 1 | -0/+50 |
| | | | | | | | | | | | | ActiveRecord::Base.pluralize_table_names = false. Previously, generation a migration like this: rails g migration add_column_name_to_user name would not generating the correct table name. Fixes #13426. | ||||
* | Check if any sqlite files are not included in the gitignore | Rafael Mendonça França | 2014-03-24 | 1 | -2/+2 |
| | | | | | If the sqlite file name change in future version we this regexp should catch | ||||
* | Remove sqlite3 lines from .gitignore if the application is not using sqlite3. | Dmitrii Golub | 2014-03-24 | 1 | -1/+25 |
| | |||||
* | better test error messages | schneems | 2014-03-14 | 1 | -4/+4 |
| | |||||
* | Merge pull request #14195 from robin850/issue-14079 | Guillermo Iguaran | 2014-02-28 | 1 | -0/+12 |
|\ | | | | | Avoid namespacing routes inside engines | ||||
| * | 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. | ||||
* | | Merge pull request #14174 from kuldeepaggarwal/fix-resource_generator_test | Yves Senn | 2014-02-27 | 2 | -4/+4 |
|\ \ | | | | | | | fix test cases | ||||
| * | | modify model generator warning message. refs [#174c9f0] | Kuldeep Aggarwal | 2014-02-27 | 2 | -4/+4 |
| |/ | |||||
* | | Remove inclusion of rubysl gem for rbx on generated Gemfile | Carlos Antonio da Silva | 2014-02-25 | 1 | -7/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | From #14026: Specific rbx-2 to limit testing on Rubinius 2.x (since there will be other versions of Rubinius > 2.x soon). Also, as of Rubinius 2.2.5, it is no longer necessary to bundle the rubysl gem. This is what Rails master/4.1 supports, so we don't need to add rubysl to gemfiles anymore. | ||||
* | | [skip ci] Fix test name typo in app generator tests. | Spencer Rogers | 2014-02-25 | 1 | -1/+1 |
|/ | |||||
* | build fix. follow up to 174c9f0df39cd338a4871f82794256cc64f68a81 | Yves Senn | 2014-02-24 | 1 | -1/+1 |
| | |||||
* | include names in model generator warning message. refs #13515. | Yves Senn | 2014-02-24 | 1 | -1/+1 |
| | | | | | | This is a follow up to #13515. It includes the name given and the singularized version in the warning message. This will aide the user to see wether the detected singular was right or not. |