Skip to content

Commit

Permalink
Drop end-of-life Ruby and Rails versions
Browse files Browse the repository at this point in the history
Drop end-of-life Ruby versions 2.7 and 3.0. Drop end-of-life Rails
versions 6.1 and 7.0.
  • Loading branch information
seanpdoyle committed Oct 24, 2024
1 parent a32ad59 commit 26a0249
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,17 @@ jobs:
- true
- false
ruby-version:
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- "3.3"
rails-version:
- "6.1"
- "7.0"
- "7.1"
- "7.2"
- "main"
selenium-browser:
- "headless_chrome"
- "headless_firefox"
exclude:
- { ruby-version: "2.7", rails-version: "7.2" }
- { ruby-version: "2.7", rails-version: "main" }
- { ruby-version: "3.0", rails-version: "7.2" }
- { ruby-version: "3.0", rails-version: "main" }
- { ruby-version: "3.1", rails-version: "main" }

env:
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

* Drop [end-of-life Ruby][] versions 2.7 and 3.0.

*Sean Doyle*

[end-of-life Ruby]: https://www.ruby-lang.org/en/downloads/branches/

* Drop [end-of-life Rails][] versions 6.1 and 7.0

*Sean Doyle*

[end-of-life Rails]: https://rubyonrails.org/maintenance

# 0.1.2 - 2024-10-08

* Use `Set.add` correctly
Expand Down
6 changes: 4 additions & 2 deletions constraint_validations.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ Gem::Specification.new do |spec|
spec.description = ""
spec.license = "MIT"

spec.required_ruby_version = ">= 3.1.0"

spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/seanpdoyle/constraint_validations"
spec.metadata["changelog_uri"] = "https://github.com/seanpdoyle/constraint_validations/blob/main/CHANGELOG.md"

spec.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]

spec.add_dependency "actionview", ">= 4.2.0"
spec.add_dependency "railties", ">= 4.2.0"
spec.add_dependency "actionview", ">= 7.1.0"
spec.add_dependency "railties", ">= 7.1.0"
spec.add_dependency "html5_validators"
end

0 comments on commit 26a0249

Please sign in to comment.