Skip to content

Commit 5fc9706

Browse files
feat: Update minimum Ruby to v3.2 and support v4.0 (googleapis#33811)
Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
1 parent 5c6584e commit 5fc9706

10 files changed

Lines changed: 36 additions & 24 deletions

File tree

google-cloud-bigquery/Gemfile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,17 @@ gem "csv"
2424
gem "google-cloud-bigquery-connection-v1", ">= 1.3.0", "< 1.5"
2525
gem "google-cloud-data_catalog", path: "../google-cloud-data_catalog"
2626
gem "google-cloud-storage", path: "../google-cloud-storage"
27-
gem "google-style", "~> 1.30.1"
28-
gem "minitest", "~> 5.16"
27+
gem "google-style", "~> 1.32.0"
28+
gem "irb", "~> 1.17"
29+
gem "minitest", "~> 6.0.2"
2930
gem "minitest-autotest", "~> 1.0"
30-
gem "minitest-focus", "~> 1.1"
31+
gem "minitest-focus", "~> 1.4"
32+
gem "minitest-mock", "~> 5.27"
3133
gem "minitest-reporters", "~> 1.5.0", require: false
32-
gem "minitest-rg", "~> 5.2"
34+
gem "minitest-rg", "~> 5.3"
35+
gem "ostruct", "~> 0.5.5"
3336
gem "rake"
34-
gem "redcarpet", "~> 3.0"
35-
gem "simplecov", "~> 0.18"
37+
gem "redcarpet", "~> 3.6"
38+
gem "simplecov", "~> 0.22"
3639
gem "yard", "~> 0.9"
3740
gem "yard-doctest", "~> 0.1.13"

google-cloud-bigquery/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Google::Apis.logger = my_logger
7070

7171
## Supported Ruby Versions
7272

73-
This library is supported on Ruby 3.1+.
73+
This library is supported on Ruby 3.2+.
7474

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

google-cloud-bigquery/google-cloud-bigquery.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
1616
"CHANGELOG.md", "CODE_OF_CONDUCT.md", "LICENSE", ".yardopts"]
1717
gem.require_paths = ["lib"]
1818

19-
gem.required_ruby_version = ">= 3.1"
19+
gem.required_ruby_version = ">= 3.2"
2020

2121
gem.add_dependency "bigdecimal", "~> 3.0"
2222
gem.add_dependency "concurrent-ruby", "~> 1.0"

google-cloud-bigquery/test/helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
gem "minitest"
1818
require "minitest/autorun"
1919
require "minitest/focus"
20+
require "minitest/mock"
2021
require "minitest/rg"
2122
require "ostruct"
2223
require "json"

google-cloud-dns/Gemfile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,16 @@ local_dependencies.each do |name|
2020
end
2121

2222
gem "autotest-suffix", "~> 1.1"
23-
gem "google-style", "~> 1.30.1"
24-
gem "minitest", "~> 5.16"
23+
gem "google-style", "~> 1.32.0"
24+
gem "irb", "~> 1.17"
25+
gem "minitest", "~> 6.0.2"
2526
gem "minitest-autotest", "~> 1.0"
26-
gem "minitest-focus", "~> 1.1"
27-
gem "minitest-rg", "~> 5.2"
27+
gem "minitest-focus", "~> 1.4"
28+
gem "minitest-mock", "~> 5.27"
29+
gem "minitest-rg", "~> 5.3"
30+
gem "ostruct", "~> 0.5.5"
2831
gem "rake"
29-
gem "redcarpet", "~> 3.0"
30-
gem "simplecov", "~> 0.9"
32+
gem "redcarpet", "~> 3.6"
33+
gem "simplecov", "~> 0.22"
3134
gem "yard", "~> 0.9"
3235
gem "yard-doctest", "~> 0.1.13"

google-cloud-dns/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Google::Apis.logger = my_logger
6161

6262
## Supported Ruby Versions
6363

64-
This library is supported on Ruby 3.0+.
64+
This library is supported on Ruby 3.2+.
6565

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

google-cloud-dns/google-cloud-dns.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
1616
["OVERVIEW.md", "AUTHENTICATION.md", "LOGGING.md", "CONTRIBUTING.md", "TROUBLESHOOTING.md", "CHANGELOG.md", "CODE_OF_CONDUCT.md", "LICENSE", ".yardopts"]
1717
gem.require_paths = ["lib"]
1818

19-
gem.required_ruby_version = ">= 3.0"
19+
gem.required_ruby_version = ">= 3.2"
2020

2121
gem.add_dependency "google-cloud-core", "~> 1.6"
2222
gem.add_dependency "google-apis-dns_v1", "~> 0.1"

google-cloud-logging/Gemfile

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,24 @@ local_dependencies.each do |name|
2020
end
2121

2222
gem "autotest-suffix", "~> 1.1"
23+
gem "benchmark", "~> 0.5.0"
24+
gem "cgi", "~> 0.5.1"
2325
gem "google-cloud-error_reporting", path: "../google-cloud-error_reporting"
2426
gem "google-cloud-storage", path: "../google-cloud-storage"
25-
gem "google-style", "~> 1.30.1"
26-
gem "minitest", "~> 5.16"
27+
gem "google-style", "~> 1.32.0"
28+
gem "irb", "~> 1.17"
29+
gem "minitest", "~> 6.0.2"
2730
gem "minitest-autotest", "~> 1.0"
28-
gem "minitest-focus", "~> 1.1"
31+
gem "minitest-focus", "~> 1.4"
32+
gem "minitest-mock", "~> 5.27"
2933
gem "minitest-reporters", "~> 1.5.0", require: false
30-
gem "minitest-rg", "~> 5.2"
34+
gem "minitest-rg", "~> 5.3"
35+
gem "ostruct", "~> 0.5.5"
3136
gem "rack", ">= 0.1"
3237
gem "railties", ">= 5.0", "< 7.1.4"
3338
gem "rake"
34-
gem "redcarpet", "~> 3.0"
35-
gem "simplecov", "~> 0.9"
39+
gem "redcarpet", "~> 3.6"
40+
gem "simplecov", "~> 0.22"
3641
gem "stackdriver-core", path: "../stackdriver-core"
3742
gem "yard", "~> 0.9"
3843
gem "yard-doctest", "~> 0.1.13"

google-cloud-logging/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ end
182182

183183
## Supported Ruby Versions
184184

185-
This library is supported on Ruby 3.0+.
185+
This library is supported on Ruby 3.2+.
186186

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

google-cloud-logging/google-cloud-logging.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
1616
["OVERVIEW.md", "AUTHENTICATION.md", "INSTRUMENTATION.md", "LOGGING.md", "CONTRIBUTING.md", "TROUBLESHOOTING.md", "CHANGELOG.md", "CODE_OF_CONDUCT.md", "LICENSE", ".yardopts"]
1717
gem.require_paths = ["lib"]
1818

19-
gem.required_ruby_version = ">= 3.0"
19+
gem.required_ruby_version = ">= 3.2"
2020

2121
gem.add_dependency "google-cloud-core", "~> 1.5"
2222
gem.add_dependency "google-cloud-logging-v2", ">= 0.0", "< 2.a"

0 commit comments

Comments
 (0)