Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | Fix indentation in the template for secrets | Yoshiyuki Hirano | 2017-08-23 | 1 | -2/+2 | |
| |/ / | ||||||
* / / | Remove frozen_string_literal magic comment from templates | Koichi ITO | 2017-08-22 | 1 | -2/+0 | |
|/ / | ||||||
* | | Move common tests from `AppGeneratorTest` and `PluginGeneratorTest` to ↵ | bogdanvlviv | 2017-08-17 | 3 | -200/+114 | |
| | | | | | | | | `SharedGeneratorTests` | |||||
* | | Fix RuboCop offenses | Koichi ITO | 2017-08-16 | 3 | -7/+7 | |
| | | | | | | | | And enable `context_dependent` of Style/BracesAroundHashParameters cop. | |||||
* | | Add --skip-yarn option to the plugin generator | bogdanvlviv | 2017-08-15 | 3 | -26/+34 | |
| | | | | | | | | | | Add SharedGeneratorTests#application_path This method will help to DRY in files app_generator_test.rb, plugin_generator_test.rb | |||||
* | | Fix typo for api_app_generator_test | Yoshiyuki Hirano | 2017-08-15 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #30219 from yhirano55/fix_app_generator_api_options | Rafael França | 2017-08-14 | 2 | -22/+41 | |
|\ \ | | | | | | | Refactor `--api` option of the app generator | |||||
| * | | Refactor `--api` option of the app generator | Yoshiyuki Hirano | 2017-08-13 | 2 | -22/+41 | |
| | | | | | | | | | | | | | | | It can't use JavaScript in api mode. Action cable should be disabled by default. | |||||
* | | | Merge pull request #30241 from yhirano55/optimize_routes_indentation | Rafael Mendonça França | 2017-08-14 | 1 | -0/+7 | |
|\ \ \ | | | | | | | | | | | | | Optimize routes indentation | |||||
| * | | | Optimize routes indentation | Yoshiyuki Hirano | 2017-08-14 | 1 | -0/+7 | |
| |/ / | ||||||
* | | | Add frozen string pragma to expected routes files. | Pat Allan | 2017-08-14 | 1 | -0/+2 | |
| | | | ||||||
* | | | Adding frozen_string_literal pragma to Railties. | Pat Allan | 2017-08-14 | 33 | -0/+66 | |
| | | | ||||||
* | | | Railties updates for frozen string literals. | Pat Allan | 2017-08-14 | 2 | -2/+2 | |
|/ / | ||||||
* | | Merge pull request #30166 from yhirano55/fix_generator_method_environment | Rafael Mendonça França | 2017-08-11 | 1 | -6/+66 | |
|\ \ | | | | | | | | | | Optimize indentation for generator actions | |||||
| * | | Optimize indentation for generator actions | Yoshiyuki Hirano | 2017-08-11 | 1 | -6/+66 | |
| | | | ||||||
* | | | Merge pull request #30116 from ↵ | Rafael Mendonça França | 2017-08-11 | 1 | -1/+13 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | yhirano55/skip_unused_components_when_running_rails_command_in_plugin Skip unused components when running `bin/rails` in Rails plugin | |||||
| * | | | Skip unused components when running in Rails plugin | Yoshiyuki Hirano | 2017-08-09 | 1 | -1/+13 | |
| | | | | ||||||
* | | | | Merge pull request #30110 from yhirano55/add_git_source | Rafael Mendonça França | 2017-08-11 | 1 | -0/+5 | |
|\ \ \ \ | | | | | | | | | | | | | | | | Add git_source to Gemfile for plugin generator | |||||
| * | | | | Add git_source to Gemfile for plugin generator | Yoshiyuki Hirano | 2017-08-09 | 1 | -0/+5 | |
| |/ / / | ||||||
* | / / | Refactor app_generator_test (#30192) | yhirano55 | 2017-08-11 | 1 | -1/+8 | |
| |/ / |/| | | ||||||
* | | | `--skip-action-cable` pass throughs `rails plugin new` | bogdanvlviv | 2017-08-10 | 1 | -0/+6 | |
| | | | ||||||
* | | | Improve plugin generator tests. Related to #30123. | bogdanvlviv | 2017-08-10 | 2 | -44/+74 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Improve app generator tests. Ensure that generation `config/application.rb` is correct. Ensure that generation `config/application.rb` is correct. | |||||
* | | | Merge pull request #30091 from yhirano55/fix_engine_command | Rafael França | 2017-08-08 | 1 | -0/+4 | |
|\ \ \ | | | | | | | | | Fix engine command | |||||
| * | | | Fix engine command | Yoshiyuki Hirano | 2017-08-06 | 1 | -0/+4 | |
| |/ / | ||||||
* / / | Fix escaped character | Yoshiyuki Hirano | 2017-08-06 | 1 | -1/+1 | |
|/ / | ||||||
* | | Merge pull request #30020 from rails/active-storage-import | David Heinemeier Hansson | 2017-08-04 | 2 | -1/+3 | |
|\ \ | | | | | | | Add Active Storage to Rails | |||||
| * | | Include active_storage in all generated application.rb files | David Heinemeier Hansson | 2017-08-04 | 1 | -1/+2 | |
| | | | | | | | | | | | | And deal with a temporary test fix until we allow you to skip active storage. | |||||
| * | | Merge branch 'master' into active-storage-import | David Heinemeier Hansson | 2017-08-02 | 1 | -1/+1 | |
| |\ \ | ||||||
| * \ \ | Merge branch 'master' into active-storage-import | David Heinemeier Hansson | 2017-08-01 | 2 | -1/+2 | |
| |\ \ \ | ||||||
| * | | | | Use config/storage.yml as part of the skeleton and loading | David Heinemeier Hansson | 2017-07-31 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Include default storage configuration | David Heinemeier Hansson | 2017-07-31 | 1 | -0/+1 | |
| | | | | | ||||||
* | | | | | Merge pull request #30011 from guilherme/fix-migration-generator-special-cases | Sean Griffin | 2017-08-03 | 1 | -0/+22 | |
|\ \ \ \ \ | |_|_|/ / |/| | | | | Handling add/remove to/from migration edge cases | |||||
| * | | | | Handling add/remove to/from migration edge cases | Guilherme Reis Campos | 2017-08-03 | 1 | -0/+22 | |
| | |_|/ | |/| | | | | | | | | | | Making sure the table name is parsed correctly when an add/remove column migration have 'from'/'to' in the table name. | |||||
* | | | | Merge remote-tracking branch 'origin/master' into unlock-minitest | Rafael Mendonça França | 2017-08-01 | 5 | -34/+55 | |
|\ \ \ \ | | |_|/ | |/| | | ||||||
| * | | | Merge pull request #30015 from larskanis/use-duktake-on-mingw | Guillermo Iguaran | 2017-08-01 | 1 | -0/+2 | |
| |\ \ \ | | | | | | | | | | | Use duktape gem as default JS engine on Windows-MINGW | |||||
| | * | | | Use duktape gem as default JS engine on Windows-MINGW and MS-Visual-C builds | Lars Kanis | 2017-08-01 | 1 | -0/+2 | |
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fallback javascript engine on Windows is Windows Script Host (JScript). However this engine isn't able to process the default assets, because it supports ES3 only but the coffeescript compiler requires ES5. Fixes #30014 | |||||
| * | / | Remove unnecessary `doc` directory deletion | yuuji.yaginuma | 2017-08-01 | 1 | -1/+0 | |
| | |/ | |/| | | | | | | | Since 553b695, `doc` directory is not created in application. | |||||
| * | | Set Ruby version in Gemfile and .ruby-version by default | Alberto Almagro | 2017-07-31 | 1 | -0/+12 | |
| |/ | ||||||
| * | Stop creating ApplicationRecord on model generation | Lisa Ugray | 2017-07-24 | 4 | -33/+25 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When generating models, we created ApplicationRecord in the default location if no file existed there. That was annoying for people who moved it to somewhere else in the autoload path. At this point, the vast majority of apps should have either run the upgrade script or generated a model since upgrading. For those that haven't the error message after generating a new model should be helpful: NameError: uninitialized constant ApplicationRecord To ease friction in that case, this also adds a generator for ApplicationRecord. | |||||
| * | Do not generate unused components contents in `app:update` task | yuuji.yaginuma | 2017-07-16 | 1 | -0/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Currently, `app:update` generates all contents regardless of the component using in application. For example, even if not using Action Cable, `app:update` will generate a contents related to Action Cable. This is a little inconvenient. This PR checks the existence of the component and does not generate unnecessary contents. Can not check all options in this way. However, it will be able to prevent the generation of unnecessary files. | |||||
* | | Fix test runner's output | yuuji.yaginuma | 2017-07-30 | 1 | -1/+1 | |
|/ | | | | | | | | Output changed due to specification change of `SummaryReporter#aggregated_results` in minitest 5.10.2. In my opinion, that should fix rails's test runner(proceeding with #29354). However, we still need discussion and the fix itself is minor, so I think that we can fix only the test first. | |||||
* | Update default app files in app_generator_test | Koichi ITO | 2017-07-06 | 1 | -2/+40 | |
| | ||||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 32 | -32/+0 | |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | |||||
* | Merge pull request #29540 from kirs/rubocop-frozen-string | Matthew Draper | 2017-07-02 | 32 | -0/+32 | |
|\ | | | | | | | Enforce frozen string in Rubocop | |||||
| * | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 32 | -0/+32 | |
| | | ||||||
* | | Merge pull request #29418 from dinahshi/scaffold_system_tests | Eileen M. Uchitelle | 2017-06-30 | 2 | -2/+36 | |
|\ \ | |/ |/| | Add system tests to generate scaffold | |||||
| * | Add system tests to generate scaffold | Dinah Shi | 2017-06-30 | 2 | -2/+36 | |
| | | ||||||
* | | Add `railtie.rb` to the plugin generator | Tsukuru Tanimichi | 2017-06-26 | 1 | -0/+2 | |
| | | ||||||
* | | Deprecate an `capify!` method in generators and templates | yuuji.yaginuma | 2017-06-18 | 1 | -2/+5 | |
| | | | | | | | | | | | | | | | | | | The `capify` command has been removed by Capistrano 3 and became to `cap install`. Therefore, the `capify!` method has no meaning in Capistrano 3. I think that should deprecate. Ref: https://github.com/capistrano/capistrano/commit/492793916acf32ffe1604daec6fd4892c8935018 | |||||
* | | Use `require_relative` instead of `require` with full path | bogdanvlviv | 2017-06-14 | 1 | -3/+3 | |
|/ |