Skip to content

Commit

Permalink
Drop EOL Ruby 2.6, 2.7 and Rails 6.0 support (#101)
Browse files Browse the repository at this point in the history
* Drop Ruby 2.6, 2.7 and Rails 6.0 support

These are all now EOL

* Change version bump to only be minor instead of major

* Actually bump minimum Rails version
  • Loading branch information
Tabby authored Apr 17, 2024
1 parent 455cbe8 commit e46961e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 20 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,8 @@ jobs:
tests:
strategy:
matrix:
ruby-version: [2.6, 2.7, 3.0, 3.1, 3.2, 3.3]
rails-version: [6.0, 6.1, 7.0, 7.1]
exclude:
- ruby-version: 2.6
rails-version: 7.0
- ruby-version: 2.6
rails-version: 7.1
- ruby-version: 3.0
rails-version: 6.0
- ruby-version: 3.1
rails-version: 6.0
- ruby-version: 3.2
rails-version: 6.0
- ruby-version: 3.3
rails-version: 6.0
ruby-version: [3.0, 3.1, 3.2, 3.3]
rails-version: [6.1, 7.0, 7.1]
runs-on: ubuntu-latest
env:
RAILS_VERSION: ${{ matrix.rails-version }}
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# v2.0.0
# v1.3.0

- Add support for Ruby 3.2, 3.3 and Rails 7.1
- Drop support for EOL Ruby 2.6, 2.7 and Rails 6.0

# v1.2.0

Expand Down
9 changes: 6 additions & 3 deletions anony.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "anony/version"

RAILS_VERSION_LOWER_BOUND = ">= 6.1"
RAILS_VERSION_UPPER_BOUND = "< 8"

Gem::Specification.new do |spec|
spec.name = "anony"
spec.version = Anony::VERSION
Expand All @@ -22,7 +25,7 @@ Gem::Specification.new do |spec|
end
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.6"
spec.required_ruby_version = ">= 3.0"

spec.add_development_dependency "bundler", "~> 2"
spec.add_development_dependency "gc_ruboconfig", "~> 3.6.0"
Expand All @@ -33,7 +36,7 @@ Gem::Specification.new do |spec|
# For integration testing
spec.add_development_dependency "sqlite3", "~> 1.6.1"

spec.add_dependency "activerecord", ">= 5.2", "< 8"
spec.add_dependency "activesupport", ">= 5.2", "< 8"
spec.add_dependency "activerecord", RAILS_VERSION_LOWER_BOUND, RAILS_VERSION_UPPER_BOUND
spec.add_dependency "activesupport", RAILS_VERSION_LOWER_BOUND, RAILS_VERSION_UPPER_BOUND
spec.metadata["rubygems_mfa_required"] = "true"
end
2 changes: 1 addition & 1 deletion lib/anony/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Anony
VERSION = "2.0.0"
VERSION = "1.3.0"
end

0 comments on commit e46961e

Please sign in to comment.