Skip to content

Commit

Permalink
Minimum Ruby version is non-EOL per https://www.ruby-lang.org/en/down…
Browse files Browse the repository at this point in the history
  • Loading branch information
joelhawksley committed Sep 3, 2024
1 parent 19884a9 commit 328903f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
fail-fast: false
matrix:
include:
- ruby_version: "3.0"
- ruby_version: "3.1"
rails_version: "6.1"
mode: "capture_patch_enabled"
- ruby_version: "3.0"
- ruby_version: "3.1"
rails_version: "6.1"
mode: "capture_patch_disabled"
- ruby_version: "3.1"
Expand Down
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ nav_order: 5

## 4.0.0

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

* Joel Hawksley*

* Add Kicksite to list of companies using ViewComponent.

*Adil Lari*
Expand Down
10 changes: 4 additions & 6 deletions view_component.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
spec.files = Dir["LICENSE.txt", "README.md", "app/**/*", "docs/CHANGELOG.md", "lib/**/*"]
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.7.0"
spec.required_ruby_version = ">= 3.1.0"

spec.add_runtime_dependency "activesupport", [">= 5.2.0", "< 8.0"]
spec.add_runtime_dependency "method_source", "~> 1.0"
Expand Down Expand Up @@ -60,9 +60,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "yard", "~> 0.9.34"
spec.add_development_dependency "yard-activesupport-concern", "~> 0.0.1"

if RUBY_VERSION >= "3.1"
spec.add_development_dependency "net-imap"
spec.add_development_dependency "net-pop"
spec.add_development_dependency "net-smtp"
end
spec.add_development_dependency "net-imap"
spec.add_development_dependency "net-pop"
spec.add_development_dependency "net-smtp"
end

0 comments on commit 328903f

Please sign in to comment.