Skip to content

Commit 90ebd47

Browse files
Merge pull request #8347 from rubygems/release/bundler_2.6.2_rubygems_3.6.2
Prepare RubyGems 3.6.2 and Bundler 2.6.2
2 parents 00a344e + 3b30889 commit 90ebd47

31 files changed

+279
-79
lines changed

.github/workflows/install-rubygems.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- { name: "3.3", value: 3.3.6 }
2828
- { name: "3.4", value: 3.4.0-rc1 }
2929
- { name: jruby, value: jruby-9.4.9.0 }
30-
- { name: truffleruby, value: truffleruby-24.0.1 }
30+
- { name: truffleruby, value: truffleruby-24.1.1 }
3131
openssl:
3232
- { name: "openssl", value: true }
3333
- { name: "no-openssl", value: false }

.github/workflows/rubygems.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- ruby: { name: jruby, value: jruby-9.4.9.0 }
3636
os: { name: Ubuntu, value: ubuntu-24.04 }
3737

38-
- ruby: { name: truffleruby, value: truffleruby-24.0.1 }
38+
- ruby: { name: truffleruby, value: truffleruby-24.1.1 }
3939
os: { name: Ubuntu, value: ubuntu-24.04 }
4040

4141
- ruby: { name: "3.4", value: 3.4.0-rc1 }

.github/workflows/truffleruby-bundler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Setup ruby
2929
uses: ruby/setup-ruby@401c19e14f474b54450cd3905bb8b86e2c8509cf # v1.204.0
3030
with:
31-
ruby-version: truffleruby-24.0.1
31+
ruby-version: truffleruby-24.1.1
3232
bundler: none
3333
- name: Prepare dependencies
3434
run: |

.github/workflows/ubuntu-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
matrix:
2424
ruby:
2525
- { name: ruby, value: 3.4.0-rc1 }
26-
- { name: truffleruby, value: truffleruby-24.0.1 }
26+
- { name: truffleruby, value: truffleruby-24.1.1 }
2727
env:
2828
RUBYOPT: -Ilib
2929
steps:

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
# 3.6.2 / 2024-12-23
2+
3+
## Security:
4+
5+
* Fix Gem::SafeMarshal buffer overrun when given lengths larger than fit
6+
into a byte. Pull request
7+
[#8305](https://github.com/rubygems/rubygems/pull/8305) by segiddins
8+
* Improve type checking in marshal_load methods. Pull request
9+
[#8306](https://github.com/rubygems/rubygems/pull/8306) by segiddins
10+
11+
## Enhancements:
12+
13+
* Skip rdoc hooks and their tests on newer rdoc versions. Pull request
14+
[#8340](https://github.com/rubygems/rubygems/pull/8340) by
15+
deivid-rodriguez
16+
* Installs bundler 2.6.2 as a default gem.
17+
18+
## Bug fixes:
19+
20+
* Fix serialized metadata including an empty `@original_platform`
21+
attribute. Pull request
22+
[#8355](https://github.com/rubygems/rubygems/pull/8355) by
23+
deivid-rodriguez
24+
125
# 3.6.1 / 2024-12-17
226

327
## Enhancements:

bundler/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# 2.6.2 (December 23, 2024)
2+
3+
## Bug fixes:
4+
5+
- Restart using `Process.argv0` only if `$PROGRAM_NAME` is not a script [#8343](https://github.com/rubygems/rubygems/pull/8343)
6+
7+
## Documentation:
8+
9+
- Fix typo in `bundle lock` man page synopsis (`--add-checkums``--add-checksums`) [#8350](https://github.com/rubygems/rubygems/pull/8350)
10+
111
# 2.6.1 (December 17, 2024)
212

313
## Bug fixes:

bundler/lib/bundler/man/bundle-lock.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.SH "NAME"
55
\fBbundle\-lock\fR \- Creates / Updates a lockfile without installing
66
.SH "SYNOPSIS"
7-
\fBbundle lock\fR [\-\-update] [\-\-bundler[=BUNDLER]] [\-\-local] [\-\-print] [\-\-lockfile=PATH] [\-\-full\-index] [\-\-gemfile=GEMFILE] [\-\-add\-checkums] [\-\-add\-platform] [\-\-remove\-platform] [\-\-normalize\-platforms] [\-\-patch] [\-\-minor] [\-\-major] [\-\-pre] [\-\-strict] [\-\-conservative]
7+
\fBbundle lock\fR [\-\-update] [\-\-bundler[=BUNDLER]] [\-\-local] [\-\-print] [\-\-lockfile=PATH] [\-\-full\-index] [\-\-gemfile=GEMFILE] [\-\-add\-checksums] [\-\-add\-platform] [\-\-remove\-platform] [\-\-normalize\-platforms] [\-\-patch] [\-\-minor] [\-\-major] [\-\-pre] [\-\-strict] [\-\-conservative]
88
.SH "DESCRIPTION"
99
Lock the gems specified in Gemfile\.
1010
.SH "OPTIONS"

bundler/lib/bundler/man/bundle-lock.1.ronn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ bundle-lock(1) -- Creates / Updates a lockfile without installing
1010
[--lockfile=PATH]
1111
[--full-index]
1212
[--gemfile=GEMFILE]
13-
[--add-checkums]
13+
[--add-checksums]
1414
[--add-platform]
1515
[--remove-platform]
1616
[--normalize-platforms]

bundler/lib/bundler/self_manager.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@ def restart_with(version)
8484
require "shellwords"
8585
cmd = [*Shellwords.shellsplit(bundler_spec_original_cmd), *ARGV]
8686
else
87-
cmd = [Process.argv0, *ARGV]
88-
cmd.unshift(Gem.ruby) unless File.executable?(Process.argv0)
87+
argv0 = File.exist?($PROGRAM_NAME) ? $PROGRAM_NAME : Process.argv0
88+
cmd = [argv0, *ARGV]
89+
cmd.unshift(Gem.ruby) unless File.executable?(argv0)
8990
end
9091

9192
Bundler.with_original_env do

bundler/lib/bundler/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: false
22

33
module Bundler
4-
VERSION = "2.6.1".freeze
4+
VERSION = "2.6.2".freeze
55

66
def self.bundler_major_version
77
@bundler_major_version ||= VERSION.split(".").first.to_i

0 commit comments

Comments
 (0)