Skip to content

Commit 4e12497

Browse files
authored
feat: ruby 3.2 minimum (googleapis#26608)
Drop support for Ruby 3.1. Update gemspecs, templates, and CI configuration. TAG=agy CONV=841e5655-150e-4109-9373-284484c1ac9e Co-authored-by: Torrey Payne <torreypayne@google.com>
1 parent 8b1a69b commit 4e12497

6 files changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ jobs:
1313
strategy:
1414
matrix:
1515
include:
16-
- os: ubuntu-latest
17-
ruby: "3.1"
18-
task: "--include-spec"
1916
- os: ubuntu-latest
2017
ruby: "3.2"
2118
task: "--include-spec"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ services.
104104

105105
## Supported Ruby versions
106106

107-
This library is supported on Ruby 3.1+.
107+
This library is supported on Ruby 3.2+.
108108

109-
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.7 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
109+
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 3.2 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
110110

111111
## License
112112

google-apis-core/google-apis-core.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
1919
gem.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md") + [".yardopts"]
2020
gem.require_paths = ["lib"]
2121

22-
gem.required_ruby_version = '>= 3.1'
22+
gem.required_ruby_version = '>= 3.2'
2323
gem.add_runtime_dependency "representable", "~> 3.0"
2424
gem.add_runtime_dependency "retriable", "~> 3.1"
2525
gem.add_runtime_dependency "addressable", "~> 2.8", ">= 2.8.7"

google-apis-generator/google-apis-generator.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Gem::Specification.new do |gem|
2020
gem.executables = ["generate-api"]
2121
gem.require_paths = ["lib"]
2222

23-
gem.required_ruby_version = ">= 3.1"
23+
gem.required_ruby_version = ">= 3.2"
2424
gem.add_runtime_dependency "activesupport", ">= 5.0"
2525
gem.add_runtime_dependency "gems", "~> 1.2"
2626
gem.add_runtime_dependency "google-apis-core", ">= 0.15.0", "< 2.a"

google-apis-generator/lib/google/apis/generator/templates/gemspec.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ Gem::Specification.new do |gem|
2828
gem.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md") + [".yardopts"]
2929
gem.require_paths = ["lib"]
3030

31-
gem.required_ruby_version = '>= 3.1'
31+
gem.required_ruby_version = '>= 3.2'
3232
gem.add_runtime_dependency "google-apis-core", ">= 0.15.0", "< 2.a"
3333
end

google-apis-generator/lib/google/apis/generator/templates/overview.md.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The [product documentation](<%= api.documentation_link %>) may provide guidance
8383

8484
## Supported Ruby versions
8585

86-
This library is supported on Ruby 3.1+.
86+
This library is supported on Ruby 3.2+.
8787

8888
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
8989

0 commit comments

Comments
 (0)