Skip to content

Commit

Permalink
only support Rails 7+ (#2089)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelhawksley authored Sep 6, 2024
1 parent 0738e1c commit da8bcc0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ jobs:
fail-fast: false
matrix:
include:
- ruby_version: "3.1"
rails_version: "6.1"
mode: "capture_patch_enabled"
- ruby_version: "3.1"
rails_version: "6.1"
mode: "capture_patch_disabled"
- ruby_version: "3.1"
rails_version: "7.0"
mode: "capture_patch_enabled"
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: .
specs:
view_component (3.14.0)
activesupport (>= 5.2.0, < 8.0)
activesupport (>= 7.0.0, < 8.0)
concurrent-ruby (~> 1.0)
method_source (~> 1.0)

Expand Down
8 changes: 6 additions & 2 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@ nav_order: 5

## 4.0.0

* BREAKING: Require [non-EOL](https://endoflife.date/rails) Rails (`>= 7.0.0`).

*Joel Hawksley*

* BREAKING: Require [non-EOL](https://www.ruby-lang.org/en/downloads/branches/) Ruby (`>= 3.1.0`).

* Joel Hawksley*
*Joel Hawksley*

* Add Kicksite to list of companies using ViewComponent.

*Adil Lari*
*Adil Lari*

* Allow overridden slot methods to use `super`.

Expand Down
2 changes: 1 addition & 1 deletion view_component.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Gem::Specification.new do |spec|

spec.required_ruby_version = ">= 3.1.0"

spec.add_runtime_dependency "activesupport", [">= 5.2.0", "< 8.0"]
spec.add_runtime_dependency "activesupport", [">= 7.0.0", "< 8.0"]
spec.add_runtime_dependency "method_source", "~> 1.0"
spec.add_runtime_dependency "concurrent-ruby", "~> 1.0"
spec.add_development_dependency "appraisal", "~> 2.4"
Expand Down

0 comments on commit da8bcc0

Please sign in to comment.