Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ PATH
specs:
view_component (4.1.0)
activesupport (>= 7.1.0, < 8.2)
actionview (>= 7.1.0, < 8.2)
concurrent-ruby (~> 1)

GEM
Expand Down
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ nav_order: 6

*Tom Lord*

* Declare `actionview` as a `view_component` gem dependency.

*Michal Cichra*

## 4.0.2

* Share the view context in tests to prevent out-of-order rendering issues for certain advanced use-cases, eg. testing instances of Rails' `FormBuilder`.
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_7.1.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ PATH
remote: ..
specs:
view_component (4.1.0)
actionview (>= 7.1.0, < 8.2)
activesupport (>= 7.1.0, < 8.2)
concurrent-ruby (~> 1)

Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_7.2.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ PATH
remote: ..
specs:
view_component (4.1.0)
actionview (>= 7.1.0, < 8.2)
activesupport (>= 7.1.0, < 8.2)
concurrent-ruby (~> 1)

Expand Down
3 changes: 2 additions & 1 deletion gemfiles/rails_8.0.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
PATH
remote: ..
specs:
view_component (4.0.2)
view_component (4.1.0)
actionview (>= 7.1.0, < 8.2)
activesupport (>= 7.1.0, < 8.2)
concurrent-ruby (~> 1)

Expand Down
3 changes: 2 additions & 1 deletion gemfiles/rails_8.1.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
PATH
remote: ..
specs:
view_component (4.0.2)
view_component (4.1.0)
actionview (>= 7.1.0, < 8.2)
activesupport (>= 7.1.0, < 8.2)
concurrent-ruby (~> 1)

Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_main.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ PATH
remote: ..
specs:
view_component (4.1.0)
actionview (>= 7.1.0, < 8.2)
activesupport (>= 7.1.0, < 8.2)
concurrent-ruby (~> 1)

Expand Down
4 changes: 3 additions & 1 deletion view_component.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Gem::Specification.new do |spec|

spec.required_ruby_version = ">= 3.2.0"

spec.add_runtime_dependency "activesupport", [">= 7.1.0", "< 8.2"]
supported_rails_version = [">= 7.1.0", "< 8.2"]
spec.add_runtime_dependency "activesupport", supported_rails_version
spec.add_runtime_dependency "actionview", supported_rails_version
spec.add_runtime_dependency "concurrent-ruby", "~> 1"
end
Loading