Skip to content

Commit d8d9b97

Browse files
committed
Upgrade Ruby to 3.4.2
1 parent 7323e6c commit d8d9b97

File tree

16 files changed

+760
-704
lines changed

16 files changed

+760
-704
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"ghcr.io/devcontainers/features/github-cli": "latest",
2424
"ghcr.io/devcontainers/features/node": "lts",
2525
"ghcr.io/devcontainers/features/go": "latest",
26-
"ghcr.io/devcontainers/features/ruby": "3.3.6",
26+
"ghcr.io/devcontainers/features/ruby": "3.4.2",
2727
"ghcr.io/devcontainers/features/rust": "latest",
2828
"ghcr.io/devcontainers/features/dotnet": "latest",
2929
"ghcr.io/devcontainers/features/sshd:1": {

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
BUNDLE_GEMFILE: updater/Gemfile
9393
steps:
9494
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
95-
- uses: ruby/setup-ruby@2a18b06812b0e15bb916e1df298d3e740422c47e # v1.203.0
95+
- uses: ruby/setup-ruby@32110d4e311bd8996b2a82bf2a43b714ccc91777 # v1.221.0
9696
with:
9797
bundler-cache: true
9898
- run: ./bin/lint

.github/workflows/gems-bump-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
ref: "main"
3232

3333
# bump-version.rb needs bundler
34-
- uses: ruby/setup-ruby@2a18b06812b0e15bb916e1df298d3e740422c47e # v1.203.0
34+
- uses: ruby/setup-ruby@32110d4e311bd8996b2a82bf2a43b714ccc91777 # v1.221.0
3535
with:
3636
# Use the version of bundler specified in `updater/Gemfile.lock`.
3737
# Otherwise the generated PR will change `BUNDLED WITH` in

.github/workflows/gems-release-to-rubygems.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19-
- uses: ruby/setup-ruby@2a18b06812b0e15bb916e1df298d3e740422c47e # v1.203.0
19+
- uses: ruby/setup-ruby@32110d4e311bd8996b2a82bf2a43b714ccc91777 # v1.221.0
2020
- run: |
2121
[ -d ~/.gem ] || mkdir ~/.gem
2222
echo "---" > ~/.gem/credentials

.github/workflows/sorbet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1818

19-
- uses: ruby/setup-ruby@2a18b06812b0e15bb916e1df298d3e740422c47e # v1.203.0
19+
- uses: ruby/setup-ruby@32110d4e311bd8996b2a82bf2a43b714ccc91777 # v1.221.0
2020
with:
2121
bundler-cache: true
2222

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.3.6
1+
3.4.2

Dockerfile.updater-core

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ COPY --chown=dependabot:dependabot LICENSE $DEPENDABOT_HOME
5656

5757
# Install Ruby from official Docker image
5858
# When bumping Ruby minor, need to also add the previous version to `bundler/helpers/v2/monkey_patches/definition_ruby_version_patch.rb`
59-
COPY --from=docker.io/library/ruby:3.3.6-bookworm --chown=dependabot:dependabot /usr/local /usr/local
59+
COPY --from=docker.io/library/ruby:3.4.2-bookworm --chown=dependabot:dependabot /usr/local /usr/local
6060

6161
# We had to explicitly bump this as the bundled version `0.2.2` in ubuntu 22.04 has a bug.
6262
# Once Ubuntu base image pulls in a new enough yaml version, we may not need to
@@ -123,7 +123,7 @@ WORKDIR $DEPENDABOT_HOME/dependabot-updater
123123
# Note that RubyGems & Bundler versions are currently released in sync, but
124124
# RubyGems version is one major ahead. So when bumping to RubyGems 3.y.z, Bundler
125125
# version will jump to 2.y.z
126-
ARG RUBYGEMS_VERSION=3.6.3
126+
ARG RUBYGEMS_VERSION=3.6.5
127127
RUN gem update --system $RUBYGEMS_VERSION
128128

129129
RUN bundle config set --global build.psych --with-libyaml-source-dir=$DEPENDABOT_HOME/src/libyaml/yaml-$LIBYAML_VERSION && \

Gemfile.lock

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ GEM
251251
parallel_tests (4.4.0)
252252
parallel
253253
parseconfig (1.0.8)
254-
parser (3.3.6.0)
254+
parser (3.3.7.1)
255255
ast (~> 2.4.1)
256256
racc
257257
prism (1.3.0)
@@ -274,8 +274,7 @@ GEM
274274
http-cookie (>= 1.0.2, < 2.0)
275275
mime-types (>= 1.16, < 4.0)
276276
netrc (~> 0.8)
277-
rexml (3.2.8)
278-
strscan (>= 3.0.9)
277+
rexml (3.4.1)
279278
rspec (3.12.0)
280279
rspec-core (~> 3.12.0)
281280
rspec-expectations (~> 3.12.0)
@@ -350,7 +349,6 @@ GEM
350349
thor (>= 0.19.2)
351350
stackprof (0.2.25)
352351
stringio (3.1.0)
353-
strscan (3.1.0)
354352
tapioca (0.16.6)
355353
bundler (>= 2.2.25)
356354
netrc (>= 0.11.0)
@@ -432,4 +430,4 @@ DEPENDENCIES
432430
zeitwerk (~> 2.7)
433431

434432
BUNDLED WITH
435-
2.6.3
433+
2.6.5

bundler/helpers/v2/monkey_patches/definition_ruby_version_patch.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def source_requirements
2626
Gem::Specification.new("Ruby\0", requested_version)
2727
end
2828

29-
%w(2.5.3 2.6.10 2.7.8 3.0.7 3.1.6 3.2.4).each do |version|
29+
%w(2.5.3 2.6.10 2.7.8 3.0.7 3.1.6 3.2.7 3.3.7).each do |version|
3030
sources.metadata_source.specs << Gem::Specification.new("Ruby\0", version)
3131
end
3232

bundler/lib/dependabot/bundler/file_updater/ruby_requirement_setter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module Bundler
1010
class FileUpdater
1111
class RubyRequirementSetter
1212
RUBY_VERSIONS = %w(
13-
1.8.7 1.9.3 2.0.0 2.1.10 2.2.10 2.3.8 2.4.10 2.5.9 2.6.9 2.7.6 3.0.6 3.1.6 3.2.4 3.3.6
13+
1.8.7 1.9.3 2.0.0 2.1.10 2.2.10 2.3.8 2.4.10 2.5.9 2.6.9 2.7.6 3.0.6 3.1.6 3.2.7 3.3.7 3.4.2
1414
).freeze
1515

1616
LANGUAGE = "ruby"

0 commit comments

Comments
 (0)