Skip to content

Commit

Permalink
lock aws-sdk gems to support EOL ruby versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kumar Abhijeet committed Nov 24, 2023
1 parent 8abf840 commit 1040e09
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion vault.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.0"
spec.add_runtime_dependency "aws-sigv4"
if Gem::Version.new(RUBY_VERSION) <= Gem::Version.new("2.4.0")
spec.add_runtime_dependency "aws-sigv4", "= 1.6.0"
spec.add_runtime_dependency "aws-eventstream", "= 1.2.0"
else
spec.add_runtime_dependency "aws-sigv4"
end

spec.add_development_dependency "bundler", "~> 2"
spec.add_development_dependency "pry", "~> 0.13.1"
Expand Down

0 comments on commit 1040e09

Please sign in to comment.