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

Extract ActionView from Rails #762

Merged
merged 4 commits into from Sep 3, 2019

Conversation

delner
Copy link
Contributor

@delner delner commented May 22, 2019

As a next step towards simplifying the Rails integration, this pull request extracts all the ActionView instrumentation from the Rails integration into a new action_view integration. This new integration is automatically activated by the Rails integration, so users with use :rails should see no change.

Changes in this PR are dependent on #747. After that's merged, rebase and merge this to the dev branch.

@delner delner added integrations Involves tracing integrations dev/refactor Involves refactoring existing components labels May 22, 2019
@delner delner requested a review from brettlangdon May 22, 2019 19:18
@delner delner self-assigned this May 22, 2019
@delner delner force-pushed the refactor/extract_actionview_from_rails branch 2 times, most recently from 6928012 to 75e9220 Compare May 23, 2019 16:33
@delner delner force-pushed the refactor/extract_activesupport_from_rails branch from 2224b72 to af16bae Compare May 24, 2019 20:53
@delner delner force-pushed the refactor/extract_actionview_from_rails branch from 75e9220 to 1befbc6 Compare May 24, 2019 20:54
@delner delner force-pushed the refactor/extract_activesupport_from_rails branch from af16bae to 3769229 Compare June 27, 2019 20:27
@delner delner force-pushed the refactor/extract_actionview_from_rails branch from 12c95ff to 3ca366a Compare June 27, 2019 20:28
@delner delner force-pushed the refactor/extract_activesupport_from_rails branch 3 times, most recently from e4a8967 to 2c3d927 Compare August 14, 2019 22:34
@delner delner force-pushed the refactor/extract_actionview_from_rails branch from 3ca366a to 2d893f9 Compare August 15, 2019 19:53
@delner
Copy link
Contributor Author

delner commented Aug 15, 2019

Reworked this a little bit:

  • Rebased on the latest changes for 0.27-dev (removes 1.9 support)
  • Changed the patching strategy from rewrite to prepend for Rails 3.1+

Might want to consider adding some tests for using ActionView in a standalone way in the future, but for now the existing Rails tests should be sufficient. Should be ready for review @brettlangdon

@delner delner force-pushed the refactor/extract_activesupport_from_rails branch from 2c3d927 to df6ad3d Compare August 15, 2019 20:08
@delner delner force-pushed the refactor/extract_actionview_from_rails branch from 2d893f9 to 6dcbe4c Compare August 15, 2019 20:09
@delner delner force-pushed the refactor/extract_activesupport_from_rails branch from df6ad3d to 9414b9f Compare August 16, 2019 19:04
@delner delner force-pushed the refactor/extract_actionview_from_rails branch 2 times, most recently from 7d270cb to 3ec2bde Compare August 16, 2019 19:15
@delner delner force-pushed the refactor/extract_activesupport_from_rails branch from 9414b9f to 9bd69e7 Compare August 16, 2019 19:31
@delner delner force-pushed the refactor/extract_actionview_from_rails branch 2 times, most recently from 4691e6a to 29a1054 Compare August 16, 2019 20:23
Copy link
Member

@brettlangdon brettlangdon left a comment

Choose a reason for hiding this comment

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

Still have a few open questions, but otherwise looks fine

@delner delner force-pushed the refactor/extract_actionview_from_rails branch from 29a1054 to 322086b Compare September 3, 2019 22:16
@delner delner changed the base branch from refactor/extract_activesupport_from_rails to 0.27-dev September 3, 2019 22:16
@delner delner added this to the 0.27.0 milestone Sep 3, 2019
@delner delner merged commit 33a662a into 0.27-dev Sep 3, 2019
@delner delner deleted the refactor/extract_actionview_from_rails branch September 3, 2019 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/refactor Involves refactoring existing components integrations Involves tracing integrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants