Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add back --skip-turbolinks and remove --skip-gems | Rafael Mendonça França | 2014-10-26 | 1 | -3/+2 |
| | | | | | | | For the most part of cases --skip-gems option just remove one line in the Gemfile. This is not worth for the complexity it adds. Closes #17196 | ||||
* | test, `Generators::GeneratedAttribute` with references, required, index. | Yves Senn | 2014-10-16 | 1 | -0/+8 |
| | | | | | | | | | | | | | Closes #17197. Closes #17207. `{required}` is a type modifier so it should be: user:references{required}:index and not: user:references:index{required} | ||||
* | fix test_helper for mountable plugin | masarakki | 2014-10-13 | 1 | -0/+4 |
| | |||||
* | Remove --skip-action-view option from application generator | Dan Olson | 2014-09-24 | 1 | -5/+0 |
| | |||||
* | 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 |
| | |||||
* | Rails.root should be a Pathname | Akira Matsuda | 2014-08-28 | 1 | -1/+1 |
| | |||||
* | fix broken `gem` method with non-String arguments. Closes #16709. | Yves Senn | 2014-08-27 | 1 | -0/+10 |
| | | | | This was caused by #15327. | ||||
* | Require ActiveJob in case a skip_xxx option is given | slainer68 | 2014-08-20 | 1 | -0/+1 |
| | | | | Change position of require active_job | ||||
* | Merge pull request #16062 from sgrif/sg-required-generators | Rafael Mendonça França | 2014-08-17 | 2 | -0/+56 |
|\ | | | | | Add a `required` option to the model generator | ||||
| * | Add a `required` option to the model generator | Sean Griffin | 2014-08-08 | 2 | -0/+56 |
| | | | | | | | | | | | | | | | | | | | | | | Syntax was chosen to follow the passing of multiple options to decimal/numeric types. Curly braces, and allowing any of `,`, `.`, or `-` to be used as a separator to avoid the need for shell quoting. (I'm intending to expand this to all columns, but that's another PR. The `required` option will cause 2 things to change. `required: true` will be added to the association. `null: false` will be added to the column in the migration. | ||||
* | | Change the default `null` value for timestamps | Sean Griffin | 2014-08-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | As per discussion, this changes the model generators to specify `null: false` for timestamp columns. A warning is now emitted if `timestamps` is called without a `null` option specified, so we can safely change the behavior when no option is specified in Rails 5. | ||||
* | | 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 |
| |