Skip to content

Commit 56f3390

Browse files
committed
feat: Upgrade dependencies for Ruby 4.0
1 parent 2888c1e commit 56f3390

File tree

60 files changed

+426
-60
lines changed

Some content is hidden

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

60 files changed

+426
-60
lines changed

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/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/gapic-generator.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 = ["gapic-generator", "protoc-gen-ruby_gapic"]
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 "actionpack", "~> 8.0"
4444
spec.add_dependency "bigdecimal", "~> 3.0"

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ source "https://rubygems.org"
33

44
gemspec
55

6-
gem "google-style", "~> 1.31.1"
7-
gem "minitest", "~> 5.22"
6+
gem "google-style", "~> 1.32.0"
7+
gem "minitest", "~> 6.0.2"
88
gem "minitest-focus", "~> 1.4"
9+
gem "minitest-mock", "~> 5.27"
910
gem "minitest-rg", "~> 5.3"
11+
gem "ostruct", "~> 0.5.5"
1012
gem "rake", ">= 13.0"
1113
gem "redcarpet", "~> 3.6"
1214
gem "yard", "~> 0.9"

gapic-generator/templates/default/gem/gemspec.text.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 = ">= 3.1"
25+
gem.required_ruby_version = ">= 3.2"
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/test_helper.text.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
require "minitest/autorun"
55
require "minitest/focus"
6+
require "minitest/mock"
67
require "minitest/rg"
78

89
require "grpc"
Lines changed: 310 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,310 @@
1+
PATH
2+
remote: ../gapic-generator-ads
3+
specs:
4+
gapic-generator-ads (0.47.2)
5+
gapic-generator (= 0.47.2)
6+
7+
PATH
8+
remote: ../gapic-generator-cloud
9+
specs:
10+
gapic-generator-cloud (0.47.2)
11+
gapic-generator (= 0.47.2)
12+
13+
PATH
14+
remote: ../gapic-generator
15+
specs:
16+
gapic-generator (0.47.2)
17+
actionpack (~> 8.0)
18+
bigdecimal (~> 3.0)
19+
google-cloud-common (~> 1.2)
20+
google-protobuf (~> 4.30)
21+
google-style (~> 1.31.1)
22+
googleapis-common-protos-types (~> 1.9)
23+
24+
GEM
25+
remote: https://rubygems.org/
26+
specs:
27+
actionpack (8.0.3)
28+
actionview (= 8.0.3)
29+
activesupport (= 8.0.3)
30+
nokogiri (>= 1.8.5)
31+
rack (>= 2.2.4)
32+
rack-session (>= 1.0.1)
33+
rack-test (>= 0.6.3)
34+
rails-dom-testing (~> 2.2)
35+
rails-html-sanitizer (~> 1.6)
36+
useragent (~> 0.16)
37+
actionview (8.0.3)
38+
activesupport (= 8.0.3)
39+
builder (~> 3.1)
40+
erubi (~> 1.11)
41+
rails-dom-testing (~> 2.2)
42+
rails-html-sanitizer (~> 1.6)
43+
activesupport (8.0.3)
44+
base64
45+
benchmark (>= 0.3)
46+
bigdecimal
47+
concurrent-ruby (~> 1.0, >= 1.3.1)
48+
connection_pool (>= 2.2.5)
49+
drb
50+
i18n (>= 1.6, < 2)
51+
logger (>= 1.4.2)
52+
minitest (>= 5.1)
53+
securerandom (>= 0.3)
54+
tzinfo (~> 2.0, >= 2.0.5)
55+
uri (>= 0.13.1)
56+
addressable (2.8.9)
57+
public_suffix (>= 2.0.2, < 8.0)
58+
ast (2.4.3)
59+
base64 (0.3.0)
60+
benchmark (0.5.0)
61+
bigdecimal (3.3.1)
62+
builder (3.3.0)
63+
concurrent-ruby (1.3.5)
64+
connection_pool (2.5.4)
65+
crass (1.0.6)
66+
drb (2.2.3)
67+
erubi (1.13.1)
68+
faraday (2.14.1)
69+
faraday-net_http (>= 2.0, < 3.5)
70+
json
71+
logger
72+
faraday-net_http (3.4.2)
73+
net-http (~> 0.5)
74+
faraday-retry (2.4.0)
75+
faraday (~> 2.0)
76+
gapic-common (1.3.0)
77+
faraday (>= 1.9, < 3.a)
78+
faraday-retry (>= 1.0, < 3.a)
79+
google-cloud-env (~> 2.2)
80+
google-logging-utils (~> 0.1)
81+
google-protobuf (~> 4.26)
82+
googleapis-common-protos (~> 1.6)
83+
googleapis-common-protos-types (~> 1.15)
84+
googleauth (~> 1.12)
85+
grpc (~> 1.66)
86+
google-cloud-common (1.9.0)
87+
google-protobuf (>= 3.18, < 5.a)
88+
googleapis-common-protos-types (~> 1.20)
89+
google-cloud-env (2.3.1)
90+
base64 (~> 0.2)
91+
faraday (>= 1.0, < 3.a)
92+
google-cloud-errors (1.5.0)
93+
google-cloud-location (1.2.0)
94+
gapic-common (~> 1.2)
95+
google-cloud-errors (~> 1.0)
96+
google-iam-v1 (1.5.0)
97+
gapic-common (~> 1.2)
98+
google-cloud-errors (~> 1.0)
99+
grpc-google-iam-v1 (~> 1.11)
100+
google-logging-utils (0.2.0)
101+
google-protobuf (4.34.0-x86_64-linux-gnu)
102+
bigdecimal
103+
rake (~> 13.3)
104+
google-style (1.31.1)
105+
rubocop (~> 1.76)
106+
googleapis-common-protos (1.7.0)
107+
google-protobuf (>= 3.18, < 5.a)
108+
googleapis-common-protos-types (~> 1.7)
109+
grpc (~> 1.41)
110+
googleapis-common-protos-types (1.22.0)
111+
google-protobuf (~> 4.26)
112+
googleauth (1.16.2)
113+
faraday (>= 1.0, < 3.a)
114+
google-cloud-env (~> 2.2)
115+
google-logging-utils (~> 0.1)
116+
jwt (>= 1.4, < 4.0)
117+
multi_json (~> 1.11)
118+
os (>= 0.9, < 2.0)
119+
signet (>= 0.16, < 2.a)
120+
grpc (1.78.1-x86_64-linux-gnu)
121+
google-protobuf (>= 3.25, < 5.0)
122+
googleapis-common-protos-types (~> 1.0)
123+
grpc-google-iam-v1 (1.11.0)
124+
google-protobuf (>= 3.18, < 5.a)
125+
googleapis-common-protos (~> 1.7.0)
126+
grpc (~> 1.41)
127+
grpc-tools (1.75.0)
128+
i18n (1.14.7)
129+
concurrent-ruby (~> 1.0)
130+
json (2.19.1)
131+
json-schema (6.2.0)
132+
addressable (~> 2.8)
133+
bigdecimal (>= 3.1, < 5)
134+
jwt (3.1.2)
135+
base64
136+
language_server-protocol (3.17.0.5)
137+
lint_roller (1.1.0)
138+
logger (1.7.0)
139+
loofah (2.24.1)
140+
crass (~> 1.0.2)
141+
nokogiri (>= 1.12.0)
142+
mcp (0.8.0)
143+
json-schema (>= 4.1)
144+
mini_portile2 (2.8.9)
145+
minitest (5.27.0)
146+
minitest-autotest (1.1.1)
147+
minitest-server (~> 1.0)
148+
path_expander (~> 1.0)
149+
minitest-focus (1.4.1)
150+
minitest (> 5.0)
151+
minitest-server (1.0.8)
152+
drb (~> 2.0)
153+
minitest (~> 5.16)
154+
multi_json (1.19.1)
155+
net-http (0.9.1)
156+
uri (>= 0.11.1)
157+
nokogiri (1.18.10)
158+
mini_portile2 (~> 2.8.2)
159+
racc (~> 1.4)
160+
os (1.1.4)
161+
parallel (1.27.0)
162+
parser (3.3.10.2)
163+
ast (~> 2.4.1)
164+
racc
165+
path_expander (1.1.3)
166+
prism (1.9.0)
167+
public_suffix (7.0.5)
168+
racc (1.8.1)
169+
rack (3.2.2)
170+
rack-session (2.1.1)
171+
base64 (>= 0.1.0)
172+
rack (>= 3.0.0)
173+
rack-test (2.2.0)
174+
rack (>= 1.3)
175+
rails-dom-testing (2.3.0)
176+
activesupport (>= 5.0.0)
177+
minitest
178+
nokogiri (>= 1.6)
179+
rails-html-sanitizer (1.6.2)
180+
loofah (~> 2.21)
181+
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)
182+
rainbow (3.1.1)
183+
rake (13.3.1)
184+
regexp_parser (2.11.3)
185+
rubocop (1.85.1)
186+
json (~> 2.3)
187+
language_server-protocol (~> 3.17.0.2)
188+
lint_roller (~> 1.1.0)
189+
mcp (~> 0.6)
190+
parallel (~> 1.10)
191+
parser (>= 3.3.0.2)
192+
rainbow (>= 2.2.2, < 4.0)
193+
regexp_parser (>= 2.9.3, < 3.0)
194+
rubocop-ast (>= 1.49.0, < 2.0)
195+
ruby-progressbar (~> 1.7)
196+
unicode-display_width (>= 2.4.0, < 4.0)
197+
rubocop-ast (1.49.1)
198+
parser (>= 3.3.7.2)
199+
prism (~> 1.7)
200+
ruby-progressbar (1.13.0)
201+
securerandom (0.4.1)
202+
signet (0.21.0)
203+
addressable (~> 2.8)
204+
faraday (>= 0.17.5, < 3.a)
205+
jwt (>= 1.5, < 4.0)
206+
multi_json (~> 1.10)
207+
tzinfo (2.0.6)
208+
concurrent-ruby (~> 1.0)
209+
unicode-display_width (3.2.0)
210+
unicode-emoji (~> 4.1)
211+
unicode-emoji (4.2.0)
212+
uri (1.1.1)
213+
useragent (0.16.11)
214+
215+
PLATFORMS
216+
x86_64-linux-gnu
217+
218+
DEPENDENCIES
219+
gapic-generator!
220+
gapic-generator-ads!
221+
gapic-generator-cloud!
222+
google-cloud-location (>= 0.4, < 2.a)
223+
google-iam-v1 (>= 0.4, < 2.a)
224+
grpc-tools (>= 1.60.0, < 1.75.1)
225+
minitest (~> 5.16)
226+
minitest-autotest (~> 1.0)
227+
minitest-focus (~> 1.0)
228+
rake (>= 12.0)
229+
230+
CHECKSUMS
231+
actionpack (8.0.3)
232+
actionview (8.0.3)
233+
activesupport (8.0.3)
234+
addressable (2.8.9)
235+
ast (2.4.3)
236+
base64 (0.3.0)
237+
benchmark (0.5.0)
238+
bigdecimal (3.3.1)
239+
builder (3.3.0)
240+
concurrent-ruby (1.3.5)
241+
connection_pool (2.5.4)
242+
crass (1.0.6)
243+
drb (2.2.3)
244+
erubi (1.13.1)
245+
faraday (2.14.1)
246+
faraday-net_http (3.4.2)
247+
faraday-retry (2.4.0)
248+
gapic-common (1.3.0)
249+
gapic-generator (0.47.2)
250+
gapic-generator-ads (0.47.2)
251+
gapic-generator-cloud (0.47.2)
252+
google-cloud-common (1.9.0)
253+
google-cloud-env (2.3.1)
254+
google-cloud-errors (1.5.0)
255+
google-cloud-location (1.2.0)
256+
google-iam-v1 (1.5.0)
257+
google-logging-utils (0.2.0)
258+
google-protobuf (4.34.0-x86_64-linux-gnu)
259+
google-style (1.31.1)
260+
googleapis-common-protos (1.7.0)
261+
googleapis-common-protos-types (1.22.0)
262+
googleauth (1.16.2)
263+
grpc (1.78.1-x86_64-linux-gnu)
264+
grpc-google-iam-v1 (1.11.0)
265+
grpc-tools (1.75.0)
266+
i18n (1.14.7)
267+
json (2.19.1)
268+
json-schema (6.2.0)
269+
jwt (3.1.2)
270+
language_server-protocol (3.17.0.5)
271+
lint_roller (1.1.0)
272+
logger (1.7.0)
273+
loofah (2.24.1)
274+
mcp (0.8.0)
275+
mini_portile2 (2.8.9)
276+
minitest (5.27.0)
277+
minitest-autotest (1.1.1)
278+
minitest-focus (1.4.1)
279+
minitest-server (1.0.8)
280+
multi_json (1.19.1)
281+
net-http (0.9.1)
282+
nokogiri (1.18.10)
283+
os (1.1.4)
284+
parallel (1.27.0)
285+
parser (3.3.10.2)
286+
path_expander (1.1.3)
287+
prism (1.9.0)
288+
public_suffix (7.0.5)
289+
racc (1.8.1)
290+
rack (3.2.2)
291+
rack-session (2.1.1)
292+
rack-test (2.2.0)
293+
rails-dom-testing (2.3.0)
294+
rails-html-sanitizer (1.6.2)
295+
rainbow (3.1.1)
296+
rake (13.3.1)
297+
regexp_parser (2.11.3)
298+
rubocop (1.85.1)
299+
rubocop-ast (1.49.1)
300+
ruby-progressbar (1.13.0)
301+
securerandom (0.4.1)
302+
signet (0.21.0)
303+
tzinfo (2.0.6)
304+
unicode-display_width (3.2.0)
305+
unicode-emoji (4.2.0)
306+
uri (1.1.1)
307+
useragent (0.16.11)
308+
309+
BUNDLED WITH
310+
4.0.3

0 commit comments

Comments
 (0)