Skip to content

Commit dbfb39d

Browse files
authored
feat: Change minimum Ruby version to 3.0 (#1150)
1 parent 080a59c commit dbfb39d

55 files changed

Lines changed: 55 additions & 55 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

gapic-generator-cloud/templates/cloud/gem/readme.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
117117

118118
## Supported Ruby Versions
119119

120-
This library is supported on Ruby 2.7+.
120+
This library is supported on Ruby 3.0+.
121121

122122
Google provides official support for Ruby versions that are actively supported
123123
by Ruby Core—that is, Ruby versions that are either in normal maintenance or

gapic-generator-cloud/templates/cloud/wrapper_gem/gemfile.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ gemspec
77
gem "<%= name %>", path: "../<%= name %>"
88
<%- end -%>
99

10-
gem "google-style", "~> 1.27.1"
10+
gem "google-style", "~> 1.30.1"
1111
gem "minitest", "~> 5.22"
1212
gem "minitest-focus", "~> 1.4"
1313
gem "minitest-rg", "~> 5.3"

gapic-generator-cloud/templates/cloud/wrapper_gem/gemspec.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Gem::Specification.new do |gem|
2121
<%= gem.extra_files.inspect %>
2222
gem.require_paths = ["lib"]
2323
24-
gem.required_ruby_version = ">= 2.7"
24+
gem.required_ruby_version = ">= 3.0"
2525
2626
<%- gem.dependency_list.each do |name, requirements| -%>
2727
gem.add_dependency <%= name.inspect %>, <%= requirements.map { |v| v.inspect }.join ", " %>

gapic-generator-cloud/templates/cloud/wrapper_gem/readme.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ working, try updating the versioned clients in your bundle or installed gems:
9898

9999
## Supported Ruby Versions
100100

101-
This library is supported on Ruby 2.7+.
101+
This library is supported on Ruby 3.0+.
102102

103103
Google provides official support for Ruby versions that are actively supported
104104
by Ruby Core—that is, Ruby versions that are either in normal maintenance or

gapic-generator/templates/default/gem/gemfile.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ source "https://rubygems.org"
33

44
gemspec
55

6-
gem "google-style", "~> 1.27.1"
6+
gem "google-style", "~> 1.30.1"
77
gem "minitest", "~> 5.22"
88
gem "minitest-focus", "~> 1.4"
99
gem "minitest-rg", "~> 5.3"

gapic-generator/templates/default/gem/gemspec.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Gem::Specification.new do |gem|
2222
<%= gem.extra_files.inspect %>
2323
gem.require_paths = ["lib"]
2424
25-
gem.required_ruby_version = ">= 2.7"
25+
gem.required_ruby_version = ">= 3.0"
2626
2727
<%- gem.dependency_list.each do |name, requirements| -%>
2828
gem.add_dependency <%= name.inspect %>, <%= requirements.map { |v| v.inspect }.join ", " %>

gapic-generator/templates/default/gem/readme.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ response = client.<%= method.name %> request
3232

3333
## Supported Ruby Versions
3434

35-
This library is supported on Ruby 2.7+.
35+
This library is supported on Ruby 3.0+.
3636

3737
Google provides official support for Ruby versions that are actively supported
3838
by Ruby Core—that is, Ruby versions that are either in normal maintenance or

shared/output/cloud/compute_small/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ source "https://rubygems.org"
22

33
gemspec
44

5-
gem "google-style", "~> 1.27.1"
5+
gem "google-style", "~> 1.30.1"
66
gem "minitest", "~> 5.22"
77
gem "minitest-focus", "~> 1.4"
88
gem "minitest-rg", "~> 5.3"

shared/output/cloud/compute_small/README.md

Lines changed: 1 addition & 1 deletion

shared/output/cloud/compute_small/google-cloud-compute-v1.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Gem::Specification.new do |gem|
2121
["README.md", "LICENSE.md", "AUTHENTICATION.md", ".yardopts"]
2222
gem.require_paths = ["lib"]
2323

24-
gem.required_ruby_version = ">= 2.7"
24+
gem.required_ruby_version = ">= 3.0"
2525

2626
gem.add_dependency "gapic-common", ">= 0.6", "< 2.a"
2727
gem.add_dependency "google-cloud-common", "~> 1.0"

0 commit comments

Comments
 (0)