Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow skipping of turbolinks for test dummy application for plugin/engine #28120

Merged

Conversation

vfonic
Copy link
Contributor

@vfonic vfonic commented Feb 23, 2017

NOTE: I think this should be the expected behavior. At least that's what I
expected. Let me know if you think differently. Maybe this PR should be dropped
altogether?

When rails new plugin is invoked with --skip-turbolinks, turbolinks
should be skipped in the dummy application generated by the plugin
generator.

@vfonic vfonic changed the title Allow skipping of turbolinks for test dummy application Allow skipping of turbolinks for test dummy application for plugin/engine Feb 23, 2017
:skip_active_record, :skip_action_mailer, :skip_javascript, :skip_sprockets, :database,
:javascript, :quiet, :pretend, :force, :skip
:skip_active_record, :skip_action_mailer, :skip_javascript, :skip_sprockets,
:skip_turbolinks, :database, :javascript, :quiet, :pretend, :force, :skip
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's just set it by default to true.

@vfonic
Copy link
Contributor Author

vfonic commented Feb 24, 2017

Thanks @rafaelfranca! Should I squash these commits immediately and force push or wait until the PR has been approved or you usually do it?

EDIT: rebased on top of master

@vfonic vfonic force-pushed the plugin-generator-skip-turbolinks-dummy branch from 459f17a to 33cf033 Compare February 24, 2017 01:41
Copy link
Member

@rafaelfranca rafaelfranca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Please squash the commits

@vfonic vfonic force-pushed the plugin-generator-skip-turbolinks-dummy branch from 33cf033 to 5a3d271 Compare February 24, 2017 03:00
@vfonic
Copy link
Contributor Author

vfonic commented Feb 28, 2017

Squashed

When `rails new plugin` is invoked, turbolinks should be skipped in the dummy
test application generated by the plugin generator.
@vfonic vfonic force-pushed the plugin-generator-skip-turbolinks-dummy branch from 5a3d271 to 07ccb1e Compare February 28, 2017 01:37
@rafaelfranca rafaelfranca merged commit 4b4d3f7 into rails:master Feb 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants