Skip to content

Commit e85be2a

Browse files
committed
[GR-36454] Update to Ruby 3.0.3
PullRequest: truffleruby/3245
2 parents c1f3f64 + 4a8628d commit e85be2a

File tree

1,223 files changed

+35798
-11147
lines changed

Some content is hidden

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

1,223 files changed

+35798
-11147
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.2
1+
3.0.3

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Bug fixes:
1111

1212
Compatibility:
1313

14+
* Updated to Ruby 3.0.3. The 3 CVEs did not affect TruffleRuby, this is to bring the stdlib and gem updates (@eregon).
1415
* Fix `Marshal.dump` to raise an error when an object has singleton methods (@bjfish).
1516
* `Exception#full_message` now defaults the order to `:top` like CRuby 3+ (@eregon).
1617
* Fix `Process.wait2` to return `nil` when the `WNOHANG` flag is given and the child process is still running (@bjfish).

doc/contributor/updating-ruby.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ In a separate commit, update all of these:
149149
* Update `doc/legal/legal.md`
150150
* Update method lists - see `spec/truffle/methods_spec.rb`
151151
* Run `jt test gems default-bundled-gems`
152-
* Grep for the old version with `git grep -F x.y.z`
152+
* Grep for the old Ruby version with `git grep -F x.y.z`
153+
* Grep for the old Bundler version with `git grep -F x.y.z`
153154
* If `tool/id.def` or `lib/cext/include/truffleruby/internal/id.h` has changed, `jt build core-symbols` and check for correctness.
154155

155156
For a new major version:

doc/legal/legal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ See `epl-2.0.txt`, `gpl-2.txt`, `lgpl-2.1.txt`.
1919
## MRI
2020

2121
The standard implementation of Ruby is MRI. TruffleRuby contains code from MRI
22-
version 3.0.2, including:
22+
version 3.0.3, including:
2323

2424
* the standard library in `lib/mri`,
2525
* Ruby C extension API in `lib/cext/include` and `src/main/c/cext`,

doc/user/compatibility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ permalink: /reference-manual/ruby/Compatibility/
77
# Compatibility
88

99
TruffleRuby aims to be fully compatible with the standard implementation of
10-
Ruby, MRI, version 3.0.2, [including C extensions](#c-extension-compatibility).
10+
Ruby, MRI, version 3.0.3, [including C extensions](#c-extension-compatibility).
1111
TruffleRuby is still in development, so it is not 100% compatible yet.
1212

1313
TruffleRuby can run Rails and is compatible with many gems, including C extensions.

exe/rake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ exec "$(dirname $SELF_PATH)/ruby" "$SELF_PATH" "$@"
2727

2828
require 'rubygems'
2929

30+
Gem.use_gemdeps
31+
3032
version = ">= 0.a"
3133

3234
str = ARGV.first

exe/rbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ exec "$(dirname $SELF_PATH)/ruby" "$SELF_PATH" "$@"
2727

2828
require 'rubygems'
2929

30+
Gem.use_gemdeps
31+
3032
version = ">= 0.a"
3133

3234
str = ARGV.first

exe/typeprof

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ exec "$(dirname $SELF_PATH)/ruby" "$SELF_PATH" "$@"
2727

2828
require 'rubygems'
2929

30+
Gem.use_gemdeps
31+
3032
version = ">= 0.a"
3133

3234
str = ARGV.first

lib/cext/ABI_check.txt

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

lib/cext/ABI_version.txt

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

0 commit comments

Comments
 (0)