Skip to content

Commit dca0f17

Browse files
authored
Drop Ruby 2.4 and 2.5 (#2951)
1 parent 9934e39 commit dca0f17

File tree

28 files changed

+41
-32
lines changed

28 files changed

+41
-32
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,8 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
ruby: [2.3, 2.4, 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, jruby-9.1, jruby-9.2, jruby-9.3, jruby-9.4]
21+
ruby: [2.5, 2.6, 2.7, '3.0', 3.1, 3.2, jruby-9.2, jruby-9.3, jruby-9.4]
2222
env: [KITCHEN_SINK, CRT]
23-
exclude:
24-
# CRT supports Ruby >= 2.5
25-
- ruby: 2.3
26-
env: CRT
27-
- ruby: 2.4
28-
env: CRT
29-
- ruby: jruby-9.1
30-
env: CRT
3123

3224
steps:
3325
- name: Setup Ruby

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
AllCops:
2-
TargetRubyVersion: 2.3
2+
TargetRubyVersion: 2.5

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ group :repl do
5151
end
5252

5353
group :development do
54-
gem 'rubocop', '0.81.0'
54+
gem 'rubocop', '1.28.0'
5555
end
5656

5757
group :benchmark do

build_tools/aws-sdk-code-generator/templates/gemspec.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
2727
spec.add_dependency('{{gem}}', '{{&version}}')
2828
{{/dependencies}}
2929

30-
spec.required_ruby_version = '>= 2.3'
30+
spec.required_ruby_version = '>= 2.5'
3131
{{#deprecated?}}
3232
spec.post_install_message = '*** {{gem_name}} is deprecated ***'
3333
{{/deprecated?}}

build_tools/services.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ class ServiceEnumerator
1010
MANIFEST_PATH = File.expand_path('../../services.json', __FILE__)
1111

1212
# Minimum `aws-sdk-core` version for new gem builds
13-
MINIMUM_CORE_VERSION = "3.184.0"
13+
MINIMUM_CORE_VERSION = "3.188.0"
1414

1515
# Minimum `aws-sdk-core` version for new S3 gem builds
16-
MINIMUM_CORE_VERSION_S3 = "3.181.0"
16+
MINIMUM_CORE_VERSION_S3 = "3.188.0"
1717

1818
EVENTSTREAM_PLUGIN = "Aws::Plugins::EventStreamConfiguration"
1919

gems/aws-eventstream/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Unreleased Changes
22
------------------
33

4+
* Feature - AWS SDK for Ruby no longer supports Ruby runtime versions 2.3 and 2.4.
5+
46
1.2.0 (2021-09-01)
57
------------------
68

gems/aws-eventstream/aws-eventstream.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ Gem::Specification.new do |spec|
1515
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-eventstream/CHANGELOG.md'
1616
}
1717

18-
spec.required_ruby_version = '>= 2.3'
18+
spec.required_ruby_version = '>= 2.5'
1919
end

gems/aws-partitions/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Unreleased Changes
22
------------------
33

4+
* Feature - AWS SDK for Ruby no longer supports Ruby runtime versions 2.3 and 2.4.
5+
46
1.855.0 (2023-11-21)
57
------------------
68

gems/aws-partitions/aws-partitions.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ Gem::Specification.new do |spec|
1515
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-partitions/CHANGELOG.md',
1616
}
1717

18-
spec.required_ruby_version = '>= 2.3'
18+
spec.required_ruby_version = '>= 2.5'
1919
end

gems/aws-sdk-core/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Unreleased Changes
22
------------------
33

4+
* Feature - AWS SDK for Ruby no longer supports Ruby runtime versions 2.3 and 2.4.
5+
46
* Feature - Support `AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE` in `ECSCredentials` and also allow for ECS and EKS link-local http addresses.
57

68
3.187.1 (2023-11-20)

0 commit comments

Comments
 (0)