Skip to content

Commit cbe5826

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 cbe5826

File tree

6 files changed

+7
-0
lines changed

6 files changed

+7
-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

docs/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ nav_order: 6
1313
* Add Carwow to list of companies using ViewComponent.
1414

1515
*Tom Lord*
16+
* Declare `actionview` as a `view_component` gem dependency.
17+
*Michal Cichra*
1618

1719
## 4.0.2
1820

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)