Skip to content

Commit

Permalink
Actually bump minimum Rails version
Browse files Browse the repository at this point in the history
  • Loading branch information
Tabby committed Apr 17, 2024
1 parent b53522d commit b67f255
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 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 Down Expand Up @@ -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

0 comments on commit b67f255

Please sign in to comment.