Skip to content

Declare actionview as explicit gem dependency - #2461

Merged
Spone merged 2 commits into
ViewComponent:mainfrom
mikz:patch-1
Oct 27, 2025
Merged

Spone merged 2 commits into
ViewComponent:mainfrom
mikz:patch-1

Conversation

@mikz

@mikz mikz commented Oct 17, 2025

Copy link
Copy Markdown
Contributor

lib/view_component.rb has require "action_view", yet this gem did not have actionview declared as a dependency.

What are you trying to accomplish?

Gems depending on view_component would need to declare own dependency on actionview and copy the required version.
This PR tries to reduce the work and duplication by gem maintainers by delegating the responsibility here.

@mikz
mikz force-pushed the patch-1 branch 2 times, most recently from 27bd6b5 to a855b91 Compare October 17, 2025 09:10
@mikz
mikz force-pushed the patch-1 branch 2 times, most recently from cbe5826 to 61f920e Compare October 18, 2025 05:26
Comment thread docs/CHANGELOG.md
@Spone
Spone requested a review from camertron October 22, 2025 22:36
@mikz

mikz commented Oct 23, 2025

Copy link
Copy Markdown
Contributor Author

I’ll resolve the conflict later today and use a variable for the shared version constraint with activesupport.

@mikz

mikz commented Oct 24, 2025

Copy link
Copy Markdown
Contributor Author

I see some issues with the lock files. Will regenerate then later today.

lib/view_component.rb has `require "action_view"`, yet this gem did not have actionview declared as a dependency.
@Spone
Spone merged commit f76831e into ViewComponent:main Oct 27, 2025
12 of 14 checks passed
@mikz
mikz deleted the patch-1 branch January 9, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants