Skip to content

Commit

Permalink
Simplify excluded Rails versions
Browse files Browse the repository at this point in the history
  • Loading branch information
julik committed Mar 28, 2024
1 parent 09b764b commit c07b387
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rails_twirp.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ Gem::Specification.new do |spec|

spec.files = `git ls-files`.split("\n")

# Rails has shipped an incompatible change in ActiveView, that was reverted in later versions.
# Rails has shipped an incompatible change in ActiveView, that was reverted in later versions
# but at this time has not been released as a 7.x version
# @see https://github.com/rails/rails/pull/51023
excluded_versions = ["7.1.0", "7.1.1", "7.1.2", "7.1.3"].map { |v| "!= #{v}" }
spec.add_runtime_dependency "rails", ">= 6.1.3", *excluded_versions
spec.add_runtime_dependency "rails", ">= 6.1.3", " < 7.1"
spec.add_runtime_dependency "twirp", ">= 1.9", "< 1.11"
spec.required_ruby_version = ">= 3"
end

0 comments on commit c07b387

Please sign in to comment.