Skip to content

Commit a855b91

Browse files
committed
Declare actionview as explicit gem dependency
lib/view_component.rb has `require "action_view"`, yet this gem did not have actionview declared as a dependency.
1 parent e63ef0e commit a855b91

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

Gemfile.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ PATH
22
remote: .
33
specs:
44
view_component (4.0.2)
5+
actionview (>= 7.1.0, < 8.1)
56
activesupport (>= 7.1.0, < 8.1)
67
concurrent-ruby (~> 1)
78

gemfiles/rails_7.1.gemfile.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ PATH
22
remote: ..
33
specs:
44
view_component (4.0.2)
5+
actionview (>= 7.1.0, < 8.1)
56
activesupport (>= 7.1.0, < 8.1)
67
concurrent-ruby (~> 1)
78

gemfiles/rails_7.2.gemfile.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ PATH
22
remote: ..
33
specs:
44
view_component (4.0.2)
5+
actionview (>= 7.1.0, < 8.1)
56
activesupport (>= 7.1.0, < 8.1)
67
concurrent-ruby (~> 1)
78

gemfiles/rails_8.0.gemfile.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ PATH
22
remote: ..
33
specs:
44
view_component (4.0.2)
5+
actionview (>= 7.1.0, < 8.1)
56
activesupport (>= 7.1.0, < 8.1)
67
concurrent-ruby (~> 1)
78

view_component.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,6 @@ Gem::Specification.new do |spec|
3333
spec.required_ruby_version = ">= 3.2.0"
3434

3535
spec.add_runtime_dependency "activesupport", [">= 7.1.0", "< 8.1"]
36+
spec.add_runtime_dependency "actionview", [">= 7.1.0", "< 8.1"]
3637
spec.add_runtime_dependency "concurrent-ruby", "~> 1"
3738
end

0 commit comments

Comments
 (0)