Skip to content

Commit ed796f7

Browse files
committed
[GR-14460] Update to Ruby 2.6.2
PullRequest: truffleruby/701
2 parents 8518e42 + 69af745 commit ed796f7

File tree

21 files changed

+289
-100
lines changed

21 files changed

+289
-100
lines changed

.ruby-version

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

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 1.0 RC 14
22

3-
Updated to Ruby 2.6.1, with the RubyGems 3.0.3 security patch.
3+
Updated to Ruby 2.6.2.
44

55
Bug fixes:
66

doc/contributor/updating-ruby.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ old patches using the old reference branch.
3535

3636
```
3737
tool/import-mri-files.sh
38-
git diff vNN this-branch | git apply -3
38+
git diff vNN master | git apply -3
3939
```
4040

4141
You'll usually get some conflicts to work out.
4242

4343
## Make other changes
4444

45-
* Update `versions.json`
45+
* Update `versions.json` and `.ruby-version`
4646
* Copy and paste `-h` and `--help` output to `RubyLauncher`
4747
* Copy and paste the TruffleRuby `--help` output to `doc/user/options.md`
4848
* Update `doc/user/compatibility.md`

doc/user/compatibility.md

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

33
TruffleRuby aims to be fully compatible with the standard implementation of
4-
Ruby, MRI, version 2.6.1, revision 66950.
4+
Ruby, MRI, version 2.6.2, revision 67232.
55

66
Any incompatibility with MRI is considered a bug, except for rare cases detailed below.
77
If you find an incompatibility with MRI, please [report](https://github.com/oracle/truffleruby/issues) it to us.

lib/mri/bundler/shared_helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ def set_rubyopt
340340

341341
def set_rubylib
342342
rubylib = (ENV["RUBYLIB"] || "").split(File::PATH_SEPARATOR)
343-
rubylib.unshift bundler_ruby_lib
343+
rubylib.unshift bundler_ruby_lib unless RbConfig::CONFIG["rubylibdir"] == bundler_ruby_lib
344344
Bundler::SharedHelpers.set_env "RUBYLIB", rubylib.uniq.join(File::PATH_SEPARATOR)
345345
end
346346

lib/mri/fileutils.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ def remove_entry_secure(path, force = false)
695695
f.chown euid, -1
696696
f.chmod 0700
697697
}
698-
rescue EISDIR # JRuby in non-native mode can't open files as dirs
698+
rescue Errno::EISDIR # JRuby in non-native mode can't open files as dirs
699699
File.lstat(dot_file).tap {|fstat|
700700
unless fu_stat_identical_entry?(st, fstat)
701701
# symlink (TOC-to-TOU attack?)

lib/mri/unicode_normalize/tables.rb

Lines changed: 80 additions & 79 deletions
Large diffs are not rendered by default.

test/mri/excludes/OpenSSL/TestEngine.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
exclude :test_openssl_engine_by_id_string, "needs investigation"
44
exclude :test_openssl_engine_digest_sha1, "needs investigation"
55
exclude :test_openssl_engine_id_name_inspect, "needs investigation"
6+
exclude :test_openssl_engine_cipher_rc4, "needs investigation"

test/mri/excludes/TestBeginEndBlock.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
exclude :test_raise_in_at_exit, "needs investigation"
88
exclude :test_rescue_at_exit, "needs investigation"
99
exclude :test_callcc_at_exit, "needs investigation"
10+
exclude :test_internal_errinfo_at_exit, "needs investigation"

test/mri/excludes/TestInteger.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@
1111
exclude :test_square_root, "needs investigation"
1212
exclude :test_Integer_with_exception_keyword, "needs investigation"
1313
exclude :test_pow, "needs investigation"
14+
exclude :test_positive_pow, "needs investigation"

0 commit comments

Comments
 (0)