File tree Expand file tree Collapse file tree 10 files changed +27
-27
lines changed
Expand file tree Collapse file tree 10 files changed +27
-27
lines changed Original file line number Diff line number Diff line change 2020 - name : Install Ruby
2121 uses : ruby/setup-ruby@v1
2222 with :
23- ruby-version : " 3.1 "
23+ ruby-version : " 3.2 "
2424 - name : Checkout repo
2525 uses : actions/checkout@v4
2626 - name : Checkout submodules
Original file line number Diff line number Diff line change 5555 grpc-tools (1.60.2 )
5656 i18n (1.14.7 )
5757 concurrent-ruby (~> 1.0 )
58- json (2.11.2 )
58+ json (2.11.3 )
5959 language_server-protocol (3.17.0.4 )
6060 lint_roller (1.1.0 )
6161 loofah (2.24.0 )
9696 rainbow (3.1.1 )
9797 redcarpet (3.6.1 )
9898 regexp_parser (2.10.0 )
99- rubocop (1.75.3 )
99+ rubocop (1.75.4 )
100100 json (~> 2.3 )
101101 language_server-protocol (~> 3.17.0.2 )
102102 lint_roller (~> 1.1.0 )
@@ -134,4 +134,4 @@ DEPENDENCIES
134134 yard (~> 0.9 )
135135
136136BUNDLED WITH
137- 2.5.22
137+ 2.4.19
Original file line number Diff line number Diff line change 5555 grpc-tools (1.60.2 )
5656 i18n (1.14.7 )
5757 concurrent-ruby (~> 1.0 )
58- json (2.11.2 )
58+ json (2.11.3 )
5959 language_server-protocol (3.17.0.4 )
6060 lint_roller (1.1.0 )
6161 loofah (2.24.0 )
9696 rainbow (3.1.1 )
9797 redcarpet (3.6.1 )
9898 regexp_parser (2.10.0 )
99- rubocop (1.75.3 )
99+ rubocop (1.75.4 )
100100 json (~> 2.3 )
101101 language_server-protocol (~> 3.17.0.2 )
102102 lint_roller (~> 1.1.0 )
@@ -134,4 +134,4 @@ DEPENDENCIES
134134 yard (~> 0.9 )
135135
136136BUNDLED WITH
137- 2.5.22
137+ 2.4.19
Original file line number Diff line number Diff line change 4949 grpc-tools (1.60.2 )
5050 i18n (1.14.7 )
5151 concurrent-ruby (~> 1.0 )
52- json (2.11.2 )
52+ json (2.11.3 )
5353 language_server-protocol (3.17.0.4 )
5454 lint_roller (1.1.0 )
5555 loofah (2.24.0 )
9090 rainbow (3.1.1 )
9191 redcarpet (3.6.1 )
9292 regexp_parser (2.10.0 )
93- rubocop (1.75.3 )
93+ rubocop (1.75.4 )
9494 json (~> 2.3 )
9595 language_server-protocol (~> 3.17.0.2 )
9696 lint_roller (~> 1.1.0 )
@@ -127,4 +127,4 @@ DEPENDENCIES
127127 yard (~> 0.9 )
128128
129129BUNDLED WITH
130- 2.5.22
130+ 2.4.19
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ def gapic_generator_ads_repositories():
2626 # Create the ruby runtime
2727 ruby_runtime (
2828 name = "gapic_generator_ads_ruby_runtime" ,
29- urls = ["https://cache.ruby-lang.org/pub/ruby/3.1 /ruby-3.1.3 .tar.gz" ],
30- strip_prefix = "ruby-3.1.3 " ,
29+ urls = ["https://cache.ruby-lang.org/pub/ruby/3.2 /ruby-3.2.8 .tar.gz" ],
30+ strip_prefix = "ruby-3.2.8 " ,
3131 prebuilt_rubys = [
32- "@gapic_generator_ruby//rules_ruby_gapic:prebuilt/ruby-3.1.3_glinux_x86_64 .tar.gz" ,
32+ "@gapic_generator_ruby//rules_ruby_gapic:prebuilt/ruby-3.2.8_glinux_x86_64 .tar.gz" ,
3333 ],
3434 gemfile_lock = "@gapic_generator_ruby//:gapic-generator-ads/Gemfile.lock" ,
3535 gems_to_install = {},
Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ def gapic_generator_cloud_repositories():
2222 # Create the ruby runtime
2323 ruby_runtime (
2424 name = "gapic_generator_cloud_ruby_runtime" ,
25- urls = ["https://cache.ruby-lang.org/pub/ruby/3.1 /ruby-3.1.3 .tar.gz" ],
26- strip_prefix = "ruby-3.1.3 " ,
25+ urls = ["https://cache.ruby-lang.org/pub/ruby/3.2 /ruby-3.2.8 .tar.gz" ],
26+ strip_prefix = "ruby-3.2.8 " ,
2727 prebuilt_rubys = [
28- "@gapic_generator_ruby//rules_ruby_gapic:prebuilt/ruby-3.1.3_glinux_x86_64 .tar.gz" ,
28+ "@gapic_generator_ruby//rules_ruby_gapic:prebuilt/ruby-3.2.8_glinux_x86_64 .tar.gz" ,
2929 ],
3030 gemfile_lock = "@gapic_generator_ruby//:gapic-generator-cloud/Gemfile.lock" ,
3131 gems_to_install = {},
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ def gapic_generator_repositories():
2626 # Create the ruby runtime
2727 ruby_runtime (
2828 name = "gapic_generator_ruby_runtime" ,
29- urls = ["https://cache.ruby-lang.org/pub/ruby/3.1 /ruby-3.1.3 .tar.gz" ],
30- strip_prefix = "ruby-3.1.3 " ,
29+ urls = ["https://cache.ruby-lang.org/pub/ruby/3.2 /ruby-3.2.8 .tar.gz" ],
30+ strip_prefix = "ruby-3.2.8 " ,
3131 prebuilt_rubys = [
32- "@gapic_generator_ruby//rules_ruby_gapic:prebuilt/ruby-3.1.3_glinux_x86_64 .tar.gz" ,
32+ "@gapic_generator_ruby//rules_ruby_gapic:prebuilt/ruby-3.2.8_glinux_x86_64 .tar.gz" ,
3333 ],
3434 gemfile_lock = "@gapic_generator_ruby//:gapic-generator/Gemfile.lock" ,
3535 gems_to_install = {},
Original file line number Diff line number Diff line change 1515# limitations under the License.
1616
1717# A script demonstrating how to pack a ruby_runtime prebuild
18- VERSION=" 3.1.3 "
18+ VERSION=" 3.2.8 "
1919
2020mkdir -p /tmp/pack_prebuilt_ruby/ruby-${VERSION}
2121rm -rf /tmp/pack_prebuilt_ruby/ruby-${VERSION} /*
@@ -26,6 +26,6 @@ cp -r ~/src/gapic-generator-ruby/bazel-gapic-generator-ruby/external/ruby_runtim
2626# alternative location -- from the bazel_example sub-workspace
2727# cp -r ~/src/gapic-generator-ruby/bazel_example/bazel-bazel_example/external/ruby_runtime/* ./ruby-${VERSION}/
2828
29- tar -czf ruby-${VERSION} _linux_x86_64 .tar.gz ruby-${VERSION} /bin ruby-${VERSION} /lib ruby-${VERSION} /include
30- cp ./ruby-${VERSION} _linux_x86_64 .tar.gz ~ /src/gapic-generator-ruby/rules_ruby_gapic/prebuilt/
29+ tar -czf ruby-${VERSION} _glinux_x86_64 .tar.gz ruby-${VERSION} /bin ruby-${VERSION} /lib ruby-${VERSION} /include
30+ cp ./ruby-${VERSION} _glinux_x86_64 .tar.gz ~ /src/gapic-generator-ruby/rules_ruby_gapic/prebuilt/
3131popd
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def gapic_generator_ruby_repositories():
3434# list_of_gems: a dictionary of gem name -> version strings to be loaded when the ruby_runtime dependency builds
3535#
3636def gapic_generator_ruby_customgems (list_of_gems ):
37- _protobuf_version = "3.13.0 "
37+ _protobuf_version = "3.25.6 "
3838 _protobuf_version_in_link = "v%s" % _protobuf_version
3939 _maybe (
4040 http_archive ,
@@ -62,12 +62,12 @@ def gapic_generator_ruby_customgems(list_of_gems):
6262 # Create the common ruby runtime used for checks
6363 ruby_runtime (
6464 name = "ruby_runtime" ,
65- urls = ["https://cache.ruby-lang.org/pub/ruby/3.1 /ruby-3.1.3 .tar.gz" ],
66- strip_prefix = "ruby-3.1.3 " ,
65+ urls = ["https://cache.ruby-lang.org/pub/ruby/3.2 /ruby-3.2.8 .tar.gz" ],
66+ strip_prefix = "ruby-3.2.8 " ,
6767 prebuilt_rubys = [
68- "@gapic_generator_ruby//rules_ruby_gapic:prebuilt/ruby-3.1.3_glinux_x86_64 .tar.gz" ,
68+ "@gapic_generator_ruby//rules_ruby_gapic:prebuilt/ruby-3.2.8_glinux_x86_64 .tar.gz" ,
6969 ],
70- bundler_version_to_install = "2.4.4 " ,
70+ bundler_version_to_install = "2.6.8 " ,
7171 gems_to_install = list_of_gems ,
7272 )
7373
You can’t perform that action at this time.
0 commit comments