Skip to content

Commit eeb4072

Browse files
authored
feat: Upgrade dependencies for Ruby 4.0 (#1258)
1 parent 2888c1e commit eeb4072

File tree

62 files changed

+183
-100
lines changed

Some content is hidden

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

62 files changed

+183
-100
lines changed

gapic-generator-ads/Gemfile.lock

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ PATH
66
bigdecimal (~> 3.0)
77
google-cloud-common (~> 1.2)
88
google-protobuf (~> 4.30)
9-
google-style (~> 1.31.1)
9+
google-style (~> 1.32.0)
1010
googleapis-common-protos-types (~> 1.9)
1111

1212
PATH
@@ -47,6 +47,8 @@ GEM
4747
securerandom (>= 0.3)
4848
tzinfo (~> 2.0, >= 2.0.5)
4949
uri (>= 0.13.1)
50+
addressable (2.8.9)
51+
public_suffix (>= 2.0.2, < 8.0)
5052
ast (2.4.3)
5153
base64 (0.3.0)
5254
bigdecimal (3.3.1)
@@ -60,24 +62,29 @@ GEM
6062
google-cloud-common (1.9.0)
6163
google-protobuf (>= 3.18, < 5.a)
6264
googleapis-common-protos-types (~> 1.20)
63-
google-protobuf (4.33.5-x86_64-linux-gnu)
65+
google-protobuf (4.34.0-x86_64-linux-gnu)
6466
bigdecimal
65-
rake (>= 13)
66-
google-style (1.31.1)
67+
rake (~> 13.3)
68+
google-style (1.32.0)
6769
rubocop (~> 1.76)
6870
googleapis-common-protos-types (1.22.0)
6971
google-protobuf (~> 4.26)
7072
grpc-tools (1.75.0)
7173
i18n (1.14.8)
7274
concurrent-ruby (~> 1.0)
7375
io-console (0.8.2)
74-
json (2.18.1)
76+
json (2.19.1)
77+
json-schema (6.2.0)
78+
addressable (~> 2.8)
79+
bigdecimal (>= 3.1, < 5)
7580
language_server-protocol (3.17.0.5)
7681
lint_roller (1.1.0)
7782
logger (1.7.0)
7883
loofah (2.25.0)
7984
crass (~> 1.0.2)
8085
nokogiri (>= 1.12.0)
86+
mcp (0.8.0)
87+
json-schema (>= 4.1)
8188
method_source (1.1.0)
8289
minitest (5.27.0)
8390
minitest-autotest (1.2.0)
@@ -88,10 +95,10 @@ GEM
8895
minitest-server (1.0.10)
8996
drb (~> 2.0)
9097
minitest (~> 5.16)
91-
nokogiri (1.19.0-x86_64-linux-gnu)
98+
nokogiri (1.19.1-x86_64-linux-gnu)
9299
racc (~> 1.4)
93100
parallel (1.27.0)
94-
parser (3.3.10.1)
101+
parser (3.3.10.2)
95102
ast (~> 2.4.1)
96103
racc
97104
path_expander (2.0.1)
@@ -100,8 +107,9 @@ GEM
100107
coderay (~> 1.1)
101108
method_source (~> 1.0)
102109
reline (>= 0.6.0)
110+
public_suffix (7.0.5)
103111
racc (1.8.1)
104-
rack (3.2.4)
112+
rack (3.2.5)
105113
rack-session (2.1.1)
106114
base64 (>= 0.1.0)
107115
rack (>= 3.0.0)
@@ -111,27 +119,28 @@ GEM
111119
activesupport (>= 5.0.0)
112120
minitest
113121
nokogiri (>= 1.6)
114-
rails-html-sanitizer (1.6.2)
115-
loofah (~> 2.21)
122+
rails-html-sanitizer (1.7.0)
123+
loofah (~> 2.25)
116124
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
117125
rainbow (3.1.1)
118126
rake (13.3.1)
119127
redcarpet (3.6.1)
120128
regexp_parser (2.11.3)
121129
reline (0.6.3)
122130
io-console (~> 0.5)
123-
rubocop (1.84.1)
131+
rubocop (1.85.1)
124132
json (~> 2.3)
125133
language_server-protocol (~> 3.17.0.2)
126134
lint_roller (~> 1.1.0)
135+
mcp (~> 0.6)
127136
parallel (~> 1.10)
128137
parser (>= 3.3.0.2)
129138
rainbow (>= 2.2.2, < 4.0)
130139
regexp_parser (>= 2.9.3, < 3.0)
131140
rubocop-ast (>= 1.49.0, < 2.0)
132141
ruby-progressbar (~> 1.7)
133142
unicode-display_width (>= 2.4.0, < 4.0)
134-
rubocop-ast (1.49.0)
143+
rubocop-ast (1.49.1)
135144
parser (>= 3.3.7.2)
136145
prism (~> 1.7)
137146
ruby-progressbar (1.13.0)
@@ -160,4 +169,4 @@ DEPENDENCIES
160169
yard (~> 0.9)
161170

162171
BUNDLED WITH
163-
2.6.9
172+
4.0.3

gapic-generator-ads/gapic-generator-ads.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Gem::Specification.new do |spec|
3939
spec.executables = ["protoc-gen-ruby_ads"]
4040
spec.require_paths = ["lib"]
4141

42-
spec.required_ruby_version = ">= 3.1"
42+
spec.required_ruby_version = ">= 3.2"
4343

4444
spec.add_dependency "gapic-generator", "= #{Gapic::Generator::Ads::VERSION}"
4545
end

gapic-generator-cloud/Gemfile.lock

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ PATH
66
bigdecimal (~> 3.0)
77
google-cloud-common (~> 1.2)
88
google-protobuf (~> 4.30)
9-
google-style (~> 1.31.1)
9+
google-style (~> 1.32.0)
1010
googleapis-common-protos-types (~> 1.9)
1111

1212
PATH
@@ -47,6 +47,8 @@ GEM
4747
securerandom (>= 0.3)
4848
tzinfo (~> 2.0, >= 2.0.5)
4949
uri (>= 0.13.1)
50+
addressable (2.8.9)
51+
public_suffix (>= 2.0.2, < 8.0)
5052
ast (2.4.3)
5153
base64 (0.3.0)
5254
bigdecimal (3.3.1)
@@ -60,24 +62,29 @@ GEM
6062
google-cloud-common (1.9.0)
6163
google-protobuf (>= 3.18, < 5.a)
6264
googleapis-common-protos-types (~> 1.20)
63-
google-protobuf (4.33.5-x86_64-linux-gnu)
65+
google-protobuf (4.34.0-x86_64-linux-gnu)
6466
bigdecimal
65-
rake (>= 13)
66-
google-style (1.31.1)
67+
rake (~> 13.3)
68+
google-style (1.32.0)
6769
rubocop (~> 1.76)
6870
googleapis-common-protos-types (1.22.0)
6971
google-protobuf (~> 4.26)
7072
grpc-tools (1.75.0)
7173
i18n (1.14.8)
7274
concurrent-ruby (~> 1.0)
7375
io-console (0.8.2)
74-
json (2.18.1)
76+
json (2.19.1)
77+
json-schema (6.2.0)
78+
addressable (~> 2.8)
79+
bigdecimal (>= 3.1, < 5)
7580
language_server-protocol (3.17.0.5)
7681
lint_roller (1.1.0)
7782
logger (1.7.0)
7883
loofah (2.25.0)
7984
crass (~> 1.0.2)
8085
nokogiri (>= 1.12.0)
86+
mcp (0.8.0)
87+
json-schema (>= 4.1)
8188
method_source (1.1.0)
8289
minitest (5.27.0)
8390
minitest-autotest (1.2.0)
@@ -88,10 +95,10 @@ GEM
8895
minitest-server (1.0.10)
8996
drb (~> 2.0)
9097
minitest (~> 5.16)
91-
nokogiri (1.19.0-x86_64-linux-gnu)
98+
nokogiri (1.19.1-x86_64-linux-gnu)
9299
racc (~> 1.4)
93100
parallel (1.27.0)
94-
parser (3.3.10.1)
101+
parser (3.3.10.2)
95102
ast (~> 2.4.1)
96103
racc
97104
path_expander (2.0.1)
@@ -100,8 +107,9 @@ GEM
100107
coderay (~> 1.1)
101108
method_source (~> 1.0)
102109
reline (>= 0.6.0)
110+
public_suffix (7.0.5)
103111
racc (1.8.1)
104-
rack (3.2.4)
112+
rack (3.2.5)
105113
rack-session (2.1.1)
106114
base64 (>= 0.1.0)
107115
rack (>= 3.0.0)
@@ -111,27 +119,28 @@ GEM
111119
activesupport (>= 5.0.0)
112120
minitest
113121
nokogiri (>= 1.6)
114-
rails-html-sanitizer (1.6.2)
115-
loofah (~> 2.21)
122+
rails-html-sanitizer (1.7.0)
123+
loofah (~> 2.25)
116124
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
117125
rainbow (3.1.1)
118126
rake (13.3.1)
119127
redcarpet (3.6.1)
120128
regexp_parser (2.11.3)
121129
reline (0.6.3)
122130
io-console (~> 0.5)
123-
rubocop (1.84.1)
131+
rubocop (1.85.1)
124132
json (~> 2.3)
125133
language_server-protocol (~> 3.17.0.2)
126134
lint_roller (~> 1.1.0)
135+
mcp (~> 0.6)
127136
parallel (~> 1.10)
128137
parser (>= 3.3.0.2)
129138
rainbow (>= 2.2.2, < 4.0)
130139
regexp_parser (>= 2.9.3, < 3.0)
131140
rubocop-ast (>= 1.49.0, < 2.0)
132141
ruby-progressbar (~> 1.7)
133142
unicode-display_width (>= 2.4.0, < 4.0)
134-
rubocop-ast (1.49.0)
143+
rubocop-ast (1.49.1)
135144
parser (>= 3.3.7.2)
136145
prism (~> 1.7)
137146
ruby-progressbar (1.13.0)
@@ -160,4 +169,4 @@ DEPENDENCIES
160169
yard (~> 0.9)
161170

162171
BUNDLED WITH
163-
2.6.9
172+
4.0.3

gapic-generator-cloud/gapic-generator-cloud.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Gem::Specification.new do |spec|
3838
spec.executables = ["protoc-gen-ruby_cloud", "ruby-cloud-docker-entrypoint"]
3939
spec.require_paths = ["lib"]
4040

41-
spec.required_ruby_version = ">= 3.1"
41+
spec.required_ruby_version = ">= 3.2"
4242

4343
spec.add_dependency "gapic-generator", "= #{Gapic::Generator::Cloud::VERSION}"
4444
end

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ local_dependencies.each do |name|
2020
gem name, path: "../#{name}"
2121
end
2222

23-
gem "google-style", "~> 1.30.1"
24-
gem "minitest", "~> 5.22"
23+
gem "google-style", "~> 1.32.0"
24+
gem "minitest", "~> 6.0.2"
2525
gem "minitest-focus", "~> 1.4"
26+
gem "minitest-mock", "~> 5.27"
2627
gem "minitest-rg", "~> 5.3"
28+
gem "ostruct", "~> 0.5.5"
2729
gem "rake", ">= 13.0"
2830
gem "redcarpet", "~> 3.6"
2931
gem "yard", "~> 0.9"

gapic-generator-cloud/templates/cloud/wrapper_gem/gemspec.text.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 = ">= 3.0"
24+
gem.required_ruby_version = ">= 3.2"
2525
2626
<%- gem.dependency_list.each do |name, requirements| -%>
2727
gem.add_dependency <%= name.inspect %>, <%= requirements.map { |v| v.inspect }.join ", " %>

gapic-generator/Gemfile.lock

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ PATH
66
bigdecimal (~> 3.0)
77
google-cloud-common (~> 1.2)
88
google-protobuf (~> 4.30)
9-
google-style (~> 1.31.1)
9+
google-style (~> 1.32.0)
1010
googleapis-common-protos-types (~> 1.9)
1111

1212
GEM
@@ -41,6 +41,8 @@ GEM
4141
securerandom (>= 0.3)
4242
tzinfo (~> 2.0, >= 2.0.5)
4343
uri (>= 0.13.1)
44+
addressable (2.8.9)
45+
public_suffix (>= 2.0.2, < 8.0)
4446
ast (2.4.3)
4547
base64 (0.3.0)
4648
bigdecimal (3.3.1)
@@ -54,24 +56,29 @@ GEM
5456
google-cloud-common (1.9.0)
5557
google-protobuf (>= 3.18, < 5.a)
5658
googleapis-common-protos-types (~> 1.20)
57-
google-protobuf (4.33.5-x86_64-linux-gnu)
59+
google-protobuf (4.34.0-x86_64-linux-gnu)
5860
bigdecimal
59-
rake (>= 13)
60-
google-style (1.31.1)
61+
rake (~> 13.3)
62+
google-style (1.32.0)
6163
rubocop (~> 1.76)
6264
googleapis-common-protos-types (1.22.0)
6365
google-protobuf (~> 4.26)
6466
grpc-tools (1.75.0)
6567
i18n (1.14.8)
6668
concurrent-ruby (~> 1.0)
6769
io-console (0.8.2)
68-
json (2.18.1)
70+
json (2.19.1)
71+
json-schema (6.2.0)
72+
addressable (~> 2.8)
73+
bigdecimal (>= 3.1, < 5)
6974
language_server-protocol (3.17.0.5)
7075
lint_roller (1.1.0)
7176
logger (1.7.0)
7277
loofah (2.25.0)
7378
crass (~> 1.0.2)
7479
nokogiri (>= 1.12.0)
80+
mcp (0.8.0)
81+
json-schema (>= 4.1)
7582
method_source (1.1.0)
7683
minitest (5.27.0)
7784
minitest-autotest (1.2.0)
@@ -82,10 +89,10 @@ GEM
8289
minitest-server (1.0.10)
8390
drb (~> 2.0)
8491
minitest (~> 5.16)
85-
nokogiri (1.19.0-x86_64-linux-gnu)
92+
nokogiri (1.19.1-x86_64-linux-gnu)
8693
racc (~> 1.4)
8794
parallel (1.27.0)
88-
parser (3.3.10.1)
95+
parser (3.3.10.2)
8996
ast (~> 2.4.1)
9097
racc
9198
path_expander (2.0.1)
@@ -94,8 +101,9 @@ GEM
94101
coderay (~> 1.1)
95102
method_source (~> 1.0)
96103
reline (>= 0.6.0)
104+
public_suffix (7.0.5)
97105
racc (1.8.1)
98-
rack (3.2.4)
106+
rack (3.2.5)
99107
rack-session (2.1.1)
100108
base64 (>= 0.1.0)
101109
rack (>= 3.0.0)
@@ -105,27 +113,28 @@ GEM
105113
activesupport (>= 5.0.0)
106114
minitest
107115
nokogiri (>= 1.6)
108-
rails-html-sanitizer (1.6.2)
109-
loofah (~> 2.21)
116+
rails-html-sanitizer (1.7.0)
117+
loofah (~> 2.25)
110118
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
111119
rainbow (3.1.1)
112120
rake (13.3.1)
113121
redcarpet (3.6.1)
114122
regexp_parser (2.11.3)
115123
reline (0.6.3)
116124
io-console (~> 0.5)
117-
rubocop (1.84.1)
125+
rubocop (1.85.1)
118126
json (~> 2.3)
119127
language_server-protocol (~> 3.17.0.2)
120128
lint_roller (~> 1.1.0)
129+
mcp (~> 0.6)
121130
parallel (~> 1.10)
122131
parser (>= 3.3.0.2)
123132
rainbow (>= 2.2.2, < 4.0)
124133
regexp_parser (>= 2.9.3, < 3.0)
125134
rubocop-ast (>= 1.49.0, < 2.0)
126135
ruby-progressbar (~> 1.7)
127136
unicode-display_width (>= 2.4.0, < 4.0)
128-
rubocop-ast (1.49.0)
137+
rubocop-ast (1.49.1)
129138
parser (>= 3.3.7.2)
130139
prism (~> 1.7)
131140
ruby-progressbar (1.13.0)
@@ -153,4 +162,4 @@ DEPENDENCIES
153162
yard (~> 0.9)
154163

155164
BUNDLED WITH
156-
2.6.9
165+
4.0.3

0 commit comments

Comments
 (0)