Skip to content

Commit 6ed497c

Browse files
nevanschrisarcand
authored andcommitted
Set minimum ruby version to 3.1
This drops support for all EOL ruby versions. EOL ruby versions have also been dropped from the CI matrix.
1 parent 0fd1ebd commit 6ed497c

2 files changed

Lines changed: 4 additions & 9 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
# https://endoflife.date/ruby
13-
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3", "3.4"]
13+
ruby: ["3.1", "3.2", "3.3", "3.4"]
1414
vault: ["1.16.3", "1.19.5", "1.20.4", "1.21.1"]
1515
runs-on: ubuntu-latest
1616
timeout-minutes: 5

vault.gemspec

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,9 @@ Gem::Specification.new do |spec|
2020
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
2121
spec.require_paths = ["lib"]
2222

23-
spec.required_ruby_version = ">= 2.0"
24-
if Gem::Version.new(RUBY_VERSION) <= Gem::Version.new("2.4.0")
25-
spec.add_runtime_dependency "aws-sigv4", "= 1.6.0"
26-
spec.add_runtime_dependency "aws-eventstream", "= 1.2.0"
27-
else
28-
spec.add_runtime_dependency "aws-sigv4"
29-
spec.add_runtime_dependency "base64"
30-
end
23+
spec.required_ruby_version = ">= 3.1"
24+
spec.add_runtime_dependency "aws-sigv4"
25+
spec.add_runtime_dependency "base64"
3126

3227
spec.add_development_dependency "bundler", "~> 2"
3328
spec.add_development_dependency "pry", "~> 0.13.1"

0 commit comments

Comments
 (0)