Project

General

Profile

Activity

From 12/19/2021 to 12/25/2021

12/25/2021

06:05 PM Bug #18430: Raspberry Pi 3.0.3 Compile Issue
nobu (Nobuyoshi Nakada) wrote in #note-1:
> How did you configure?
Straight out.
```
$ ./configure --prefix=/usr
...
Configuration summary for ruby version 3.0.3
* Installation prefix: /usr
* exec prefix: ...
daBee (da Bee)
02:22 PM Feature #17524: resolv: add some more characters in IPv6 link local zone id
With ruby 3.1.0 on my LXC box, this is the only problem reported as a failure with `make test-all`.
It would be helpful if you could merge https://github.com/ruby/resolv/pull/2.
gotoken (Kentaro Goto)
02:12 PM Revision a91605c9 (git): Update default gems list at 53b3c044fc6de4e2224f8601dec583 [ci skip]
git[bot]
02:11 PM Revision 53b3c044 (git): Copy NEWS.md to doc/NEWS-3.1.0.md and update for 3.2.0
znz (Kazuhiro NISHIYAMA)
01:19 PM Revision da4d6dc1 (git): tag's prefix is "v"
naruse (Yui NARUSE)
12:23 PM Revision fb4df44d (git): Revert "Do not include external library sources into packages"
This reverts commit a042043487eb4c7d39307b8e784ede1856455c3e.
(cherry picked from commit 8325094177de60d365b2b5507488f0b53d11c736)
naruse (Yui NARUSE)
12:22 PM Revision 83250941 (git): Revert "Do not include external library sources into packages"
This reverts commit a042043487eb4c7d39307b8e784ede1856455c3e. naruse (Yui NARUSE)
12:18 PM Misc #18399: DevMeeting-2022-01-13
Notes on issues found during the release process: https://hackmd.io/qUbiOiyRQXibCfLRbzS9Og (Sorry for Japanese) mame (Yusuke Endoh)
12:06 PM Revision 1636612c (git): Prevent installing zlib library
(cherry picked from commit 82c8acbcfd3197e19620dc6024d08c85ea99a05b) naruse (Yui NARUSE)
12:06 PM Revision 4bb3d4f6 (git): Revert "make-snapshot: add -extlibs option"
This reverts commit afa9d65d61857792508b1405835b07b78e24449c.
It prevents installing libffi.
(cherry picked from commit 1cc02078e503a18f6d1fcbd3e4d29c574895957d)
naruse (Yui NARUSE)
12:06 PM Revision 0381df9a (git): fix tool/format-release
Pass ruby directory path
(cherry picked from commit 05faa36028a0a00788e2416a91e0bba21bd6f6ad)
naruse (Yui NARUSE)
12:01 PM Revision 82c8acbc (git): Prevent installing zlib library
naruse (Yui NARUSE)
12:01 PM Revision 1cc02078 (git): Revert "make-snapshot: add -extlibs option"
This reverts commit afa9d65d61857792508b1405835b07b78e24449c.
It prevents installing libffi.
naruse (Yui NARUSE)
11:57 AM Revision 05faa360 (git): fix tool/format-release
Pass ruby directory path naruse (Yui NARUSE)
09:55 AM Revision ecba970f (git): Update default gems list at 8247b193c0dd06db9ea56812954dda [ci skip]
(cherry picked from commit 1ad42f8a761b1f22464d5b15aac7ce994ecffc4b) nobu (Nobuyoshi Nakada)
09:55 AM Revision e748dfb9 (git): [ruby/io-console] bump up to 0.5.10
https://github.com/ruby/io-console/commit/806c65e22b
(cherry picked from commit 8247b193c0dd06db9ea56812954dda8fed89458d)
nobu (Nobuyoshi Nakada)
09:55 AM Revision f5ddb96c (git): [ruby/io-console] No longer support dead versions
https://github.com/ruby/io-console/commit/e9478509e9
(cherry picked from commit 9368fa6c3073d5fe4380a5e84eb59f7cec2ce62c)
nobu (Nobuyoshi Nakada)
09:55 AM Revision 80917ccb (git): NEWS: mention Time.new argument error more
Show an example of Time.new with perhaps unexpected results in
earlier versions.
(cherry picked from commit 14e550052be73ed35bfcbb0b6be696519ad7e092)
nobu (Nobuyoshi Nakada)
09:43 AM Revision 1ad42f8a (git): Update default gems list at 8247b193c0dd06db9ea56812954dda [ci skip]
nobu (Nobuyoshi Nakada)
09:39 AM Revision 12bbae2d (git): Suppress undef warnings for USE_RUBY_DEBUG_LOG
(cherry picked from commit 975a6efd7ea144275d4774d18ff0f568c1a1dc97) nobu (Nobuyoshi Nakada)
09:39 AM Revision 17b48db0 (git): Define fallback RUBY_DEVEL to suppress undef warnings
(cherry picked from commit 566bdaef318674c416494786da551021afb1b5d7) nobu (Nobuyoshi Nakada)
09:39 AM Revision cd504574 (git): Raise proper exception when month argument is not a name
https://bugs.ruby-lang.org/issues/17485#change-89871
(cherry picked from commit 0867b638aff9ec192ca420a44ffa5a77c892e8f2)
nobu (Nobuyoshi Nakada)
09:39 AM Revision e6e24ee5 (git): Fix the names of Thread::Queue and method for the cross-reference
(cherry picked from commit 42eb9bf37ac42cc792d619e28d153c164a5e6604) nobu (Nobuyoshi Nakada)
09:39 AM Revision fe064b13 (git): NEWS: Put spaces to make Method and UnboundMethod links
(cherry picked from commit 30374b4fb77a1407e5ba8e98be03a92c4a317495) nobu (Nobuyoshi Nakada)
09:38 AM Revision 3079bffb (git): Add IRB Improvements section to NEWS.md
(cherry picked from commit dba24e6a1ae0d7dba313bb5f65a4be927bd6f236) aycabta (aycabta .)
09:38 AM Revision 8247b193 (git): [ruby/io-console] bump up to 0.5.10
https://github.com/ruby/io-console/commit/806c65e22b nobu (Nobuyoshi Nakada)
09:38 AM Revision 9368fa6c (git): [ruby/io-console] No longer support dead versions
https://github.com/ruby/io-console/commit/e9478509e9 nobu (Nobuyoshi Nakada)
09:24 AM Revision 14e55005 (git): NEWS: mention Time.new argument error more
Show an example of Time.new with perhaps unexpected results in
earlier versions.
nobu (Nobuyoshi Nakada)
09:04 AM Revision 975a6efd (git): Suppress undef warnings for USE_RUBY_DEBUG_LOG
nobu (Nobuyoshi Nakada)
09:04 AM Revision 566bdaef (git): Define fallback RUBY_DEVEL to suppress undef warnings
nobu (Nobuyoshi Nakada)
09:03 AM Revision 0867b638 (git): Raise proper exception when month argument is not a name
https://bugs.ruby-lang.org/issues/17485#change-89871 nobu (Nobuyoshi Nakada)
08:45 AM Revision 42eb9bf3 (git): Fix the names of Thread::Queue and method for the cross-reference
nobu (Nobuyoshi Nakada)
08:42 AM Revision 30374b4f (git): NEWS: Put spaces to make Method and UnboundMethod links
nobu (Nobuyoshi Nakada)
08:05 AM Revision dba24e6a (git): Add IRB Improvements section to NEWS.md
aycabta (aycabta .)
07:45 AM Feature #17468: Deprecate RUBY_DEVEL
When packaging a new tarball, we faced this issue again. Building a tarball produces so many warnings:
```
./vm_debug.h:34:5: warning: "RUBY_DEVEL" is not defined, evaluates to 0 [-Wundef]
34 | #if RUBY_DEVEL
| ^~~~~~~...
mame (Yusuke Endoh)
06:25 AM Revision 0699f310 (git): v3.1.0p0
naruse (Yui NARUSE)
05:05 AM Bug #18431 (Closed): Ruby 2.6.9, bundler 1.17.2 and CVE-2021-43809
Bundler 1.x is EOL now. I have no plan to update it on Ruby 2.6.
You can upgrade bundler with `gem update bundler`.
hsbt (Hiroshi SHIBATA)
04:42 AM Bug #18432: case ... when bug if add a extra comma on the end of condition.
mame (Yusuke Endoh) wrote in #note-1:
> ```
> ...
Yes, i see now, but this behavior is a little oddness, from programming language perspective, this default behavior not good.
e.g. i add a binding.irb, like this, it so strange.
...
zw963 (Wei Zheng)
04:37 AM Bug #18432: case ... when bug if add a extra comma on the end of condition.
```
case type
when 'aaa',
x = 100
p x
end
```
is parsed as
```
case type
when 'aaa', (x = 100)
p x
end
```
which is (almost) equivalent to
```
if 'aaa' === type || ((x = 100) === type)
p x
end
```
. ...
mame (Yusuke Endoh)
04:32 AM Bug #18432 (Rejected): case ... when bug if add a extra comma on the end of condition.
I will describe how this bug happen for me.
1) I have code like this at first, it works!
```rb
type = 'aaa'
case type
when 'aaa'
x = 100
p x
when 'bbb'
x = 100
p x
end
# => 100
```
2) Because the code in w...
zw963 (Wei Zheng)
04:14 AM Revision 0abf781a (git): NEWS: Mention about more strict conversions for [Feature #17485]
nobu (Nobuyoshi Nakada)
04:13 AM Revision 70aa7734 (git): Update default gems list at 0f1fbc6421641d80a03f0b72e3d775 [ci skip]
git[bot]
03:57 AM Revision 0f1fbc64 (git): [ruby/irb] Version 1.4.1
https://github.com/ruby/irb/commit/b1d9c34441 aycabta (aycabta .)
03:56 AM Revision ddf0cdee (git): [ruby/irb] Support showing doc by dialog in iTerm2
https://github.com/ruby/irb/commit/a4b95d6634 aycabta (aycabta .)
02:04 AM Revision 63d75d38 (git): Update default gems list at 40c20110d5791e26e5edaddb6a77cf [ci skip]
git[bot]
01:58 AM Revision 40c20110 (git): [ruby/reline] Version 0.3.0
https://github.com/ruby/reline/commit/3f6ea92268 aycabta (aycabta .)
01:33 AM Revision 04f07713 (git): Fix typos [ci skip]
znz (Kazuhiro NISHIYAMA)
01:24 AM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
On Fri, 24 Dec 2021 11:44:21 +0000 (UTC)
"nobu (Nobuyoshi Nakada)" <noreply@ruby-lang.org> wrote:

> Issue #18373 has been updated by nobu (Nobuyoshi Nakada).
>
> Status changed from Closed to Open
>
> As the patch seems to fix...
darix (Marcus Rückert)

12/24/2021

10:45 PM Revision d100c914 (git): Update default gems list at da6a5e3ed16ab0cdda7546dd9caf55 [ci skip]
git[bot]
10:40 PM Revision da6a5e3e (git): Merge RubyGems-3.3.3 and Bundler-2.3.3
hsbt (Hiroshi SHIBATA)
08:01 PM Misc #16944 (Closed): questions about Net::IMAP patches
jeremyevans0 (Jeremy Evans)
07:52 PM Misc #16944: questions about Net::IMAP patches
FYI: this issue should be closed as well. It's all been addressed on the `net/imap` issue tracker. Thanks! nevans (Nicholas Evans)
06:38 PM Revision 2b211531 (git): Update default gems list at efce9ecf72842fd2109a34a89b4293 [ci skip]
git[bot]
06:31 PM Revision efce9ecf (git): [ruby/openssl] Ruby/OpenSSL 3.0.0
https://github.com/ruby/openssl/commit/bff4080091 rhenium (Kazuki Yamaguchi)
06:31 PM Revision 44bfe728 (git): [ruby/openssl] Add tast cases to OpenSSL::BN using ractor
OpenSSL::BN has been make ractor-safed in 9e7cf9e ,
but there was no test.
And to use 'ractor' annotation, update test-unit to v3.4.6 or higher.
https://github.com/ruby/openssl/commit/7541a66911
unasuke (Yusuke Nakamura)
05:35 PM Revision cab8b88a (git): NEWS: Adapt YJIT support status to include OpenBSD
We don't run YJIT CI checks on OpenBSD so can't claim that we provide
first-class maintenance support. However, as of
3b2b28d035c9635b9473c7a03ede04fa6ac57a34, YJIT can at least boot on OpenBSD.
alanwu (Alan Wu)
04:59 PM Revision b81faf4b (git): Less bravado in YJIT performance claims
YJIT can't improve performance of non Ruby software of course. alanwu (Alan Wu)
04:00 PM Feature #16610 (Closed): net/imap: support IMAP4 ID extension (RFC2971)
jeremyevans0 (Jeremy Evans)
02:14 PM Feature #16610: net/imap: support IMAP4 ID extension (RFC2971)
The [net/imap PR] was closed by [15fb3d6] and released with [net/imap v0.2.0]. This issue should be closed, too.
Thanks!
[net/imap PR]: https://github.com/ruby/net-imap/pull/4
[15fb3d6]: https://github.com/ruby/net-imap/commit/15...
nevans (Nicholas Evans)
04:00 PM Feature #16627 (Closed): net/imap: support NAMESPACE extension (RFC2342)
jeremyevans0 (Jeremy Evans)
02:11 PM Feature #16627: net/imap: support NAMESPACE extension (RFC2342)
The [net/imap PR] was closed by [335e1c3] and released with [net/imap v0.2.0]. This issue should be closed, too.
Thanks!
[net/imap PR]: https://github.com/ruby/net-imap/pull/5
[335e1c3]: https://github.com/ruby/net-imap/commit/33...
nevans (Nicholas Evans)
03:47 PM Revision 628e8458 (git): Update default gems list at 90239c4163e0a9aec7add714eb5ad6 [ci skip]
git[bot]
03:41 PM Revision 90239c41 (git): [ruby/irb] Version 1.4.0
https://github.com/ruby/irb/commit/b80ec5821e aycabta (aycabta .)
03:41 PM Revision 214b6128 (git): [ruby/irb] Update dependency, reline >= 0.3.0
https://github.com/ruby/irb/commit/f36ad549c4 aycabta (aycabta .)
03:38 PM Bug #18430: Raspberry Pi 3.0.3 Compile Issue
How did you configure? nobu (Nobuyoshi Nakada)
01:43 PM Bug #18430 (Feedback): Raspberry Pi 3.0.3 Compile Issue
Seems like a missing gem. I am assuming the maintainer will see this here.
```
$ sudo make install
...
installing default gems from lib: /var/lib/gems/3.0.0
abbrev 0.1.0
./tool/rbinstall...
daBee (da Bee)
03:32 PM Revision c815c0be (git): [ruby/reline] Escape newline(s) in dynamic prompt
https://github.com/ruby/reline/commit/9b209ee1ea aycabta (aycabta .)
03:32 PM Revision b0db420b (git): [ruby/reline] Escape newline(s) in prompt
https://github.com/ruby/reline/commit/b545459fca aycabta (aycabta .)
03:32 PM Revision 22cc2243 (git): [ruby/reline] Remove unnecessary parameter
https://github.com/ruby/reline/commit/20fcd22564 aycabta (aycabta .)
03:20 PM Revision 20dae14b (git): Increase wait time
aycabta (aycabta .)
03:20 PM Revision a88169bb (git): Wait for output results to test correctly
aycabta (aycabta .)
03:01 PM Revision 969bdc6f (git): * 2021-12-25 [ci skip]
git[bot]
03:01 PM Revision 38b3adc4 (git): add a NEWS entry about cvar inline cache
ko1 (Koichi Sasada)
03:00 PM Bug #18431 (Closed): Ruby 2.6.9, bundler 1.17.2 and CVE-2021-43809
Hi,
Ruby 2.6.9 ships with bundler 1.17.2, which is affected by CVE-2021-43809.
Is there a plan to upgrade it to resolve the issue?
I saw that in the past, there was an upgrade and then a downgrade because of some issue:
https://git...
npic1 (Nat Pic1)
02:58 PM Feature #17763 (Closed): Implement cache for cvars
merged: b91b3bc7717a97f4f1cdf6131b1688e1958dcfed ko1 (Koichi Sasada)
02:21 PM Revision 03c54a09 (git): Revert "Revert "Replace an deprecated constant with a new one in did_you_mean""
This reverts commit 1527f7569b0412f3bc7ac98a3461e59a4891ed96. yuki24 (Yuki Nishijima)
02:21 PM Revision 4767cf0c (git): Update default gems list at f9712b029bb6c34a2cf4131f8a5432 [ci skip]
git[bot]
02:20 PM Revision f9712b02 (git): Sync did_you_mean
yuki24 (Yuki Nishijima)
01:54 PM Revision 8d940e30 (git): Bundle RBS 2.0.0 (#5330)
* Bundle RBS 2.0.0
* Update NEWS.md
soutaro (Soutaro Matsumoto)
01:29 PM Revision 0aca70e5 (git): Output log after loading class to test
aycabta (aycabta .)
01:26 PM Revision 548c8f5f (git): Prefer to use RTEST when checking result of `rb_io_wait`. (#5341)
* Prefer to use RTEST when checking result of `rb_io_wait`.
* Consistently use false for signifying no events ready.
Samuel Williams
12:17 PM Revision 4f741538 (git): Adjust styles [ci skip]
nobu (Nobuyoshi Nakada)
11:55 AM Revision 0fbf1f19 (git): Add logging about timeout
aycabta (aycabta .)
11:44 AM Bug #18373 (Open): Bundled gem (RBS, debug) extensions are not properly built
As the patch seems to fix one situation at least anyway, committed for now. nobu (Nobuyoshi Nakada)
11:03 AM Bug #18373 (Closed): Bundled gem (RBS, debug) extensions are not properly built
Applied in changeset commit:git|c87c027f18c005460746a74c07cd80ee355b16e4.
----------
configure.in: unexpand exec_prefix in includedir
Replace `exec_prefix` in includedir as well as bindir, libdir, and
so on. [Bug #18373]
nobu (Nobuyoshi Nakada)
11:44 AM Revision 5138ef38 (git): Kill process before assertion fails
aycabta (aycabta .)
11:44 AM Revision f279d418 (git): Fix warning in `Lexer::Elem#[]`
Changed to use `#pos` `#event` `#tok` `#state` since using Lexer::Elem#[0~4] now gives a warning.
see: https://github.com/ruby/ruby/commit/8944009be7418614ce7d4077807ac2b60d4d5d85
https://github.com/ruby/reline/commit/9adbb9af32
osyo (manga osyo)
11:10 AM Revision babc200e (git): Update default gems list at 67aab88a22bad23cb43058caee6fc0 [ci skip]
git[bot]
11:06 AM Revision 67aab88a (git): Import digest v3.1.0 from ruby/digest
Akinori MUSHA
10:11 AM Revision c87c027f (git): configure.in: unexpand exec_prefix in includedir
Replace `exec_prefix` in includedir as well as bindir, libdir, and
so on. [Bug #18373]
nobu (Nobuyoshi Nakada)
10:11 AM Revision acfe2f26 (git): Improvements to `rb_io_wait` return value handling and internal implementation. (#5340)
Samuel Williams
09:23 AM Revision 4fccefef (git): [ruby/reline] Revert "Change aliased methods to be parivete"
Ruby 2.5 doesn't support "private alias_method" idiom but Ruby on Rails
6.x still support 2.5. 😢
This reverts commit https://github.com/ruby/reline/commit/0f075f562b9b.
https://github.com/ruby/reline/commit/4ecaa63b26
aycabta (aycabta .)
09:23 AM Revision fc5bc378 (git): [ruby/reline] Change aliased methods to be parivete
https://github.com/ruby/reline/commit/0f075f562b aycabta (aycabta .)
09:23 AM Revision a9c59b13 (git): [ruby/reline] Add doc about em-kill-line macro
https://github.com/ruby/reline/commit/2e46493aff aycabta (aycabta .)
09:23 AM Revision bad1e153 (git): [ruby/reline] Implement em_kill_line
https://github.com/ruby/reline/commit/9fca6ceb45 aycabta (aycabta .)
09:23 AM Revision 6c3cc9c5 (git): [ruby/reline] Rename the wrong name "em-kill-line" with the correct name "unix-line-discard"
https://github.com/ruby/reline/commit/da7af35d1f aycabta (aycabta .)
09:23 AM Revision fd60a235 (git): [ruby/reline] Add doc about ed-kill-line, kill-line, em-kill-line, and unix-line-discard
https://github.com/ruby/reline/commit/586a48ffe0 aycabta (aycabta .)
09:23 AM Revision 9de42d3b (git): [ruby/reline] Bind ed-kill-line to C-u on emacs mode
https://github.com/ruby/reline/commit/9ab99574f5 aycabta (aycabta .)
09:23 AM Revision 15fab6fb (git): [ruby/reline] Support S-Tab to move up completion cursor in vi-mode on Unix
https://github.com/ruby/reline/commit/ff278cdc88 aycabta (aycabta .)
09:05 AM Bug #17725: Prepend breaks ability to override optimized methods
ruby_3_0 545d6820715a48a17d6182128c0db4198dfa76c1 merged revision(s) fb4cf204a662a8cd9dafef6f31f2bd0db9129abe,fa0279d947c3962c3f8c32852278d3ebb964cb19. nagachika (Tomoyuki Chikanaga)
05:54 AM Bug #17725: Prepend breaks ability to override optimized methods
I gave up to find a workaround. I will backport fb4cf204a662a8cd9dafef6f31f2bd0db9129abe and fa0279d947c3962c3f8c32852278d3ebb964cb19 even though they introduce an incompatibility. I believe the incompatibility (the Array#size is going t... nagachika (Tomoyuki Chikanaga)
09:04 AM Revision f2592f28 (git): Update default gems list at 35d779c57b266953a93c2f89487e91 [ci skip]
git[bot]
08:55 AM Revision 1706d1a7 (git): [DOC] Document Marshal#load parameter freeze: (#5332)
zverok (Victor Shepelev)
08:54 AM Revision 35d779c5 (git): [ruby/readline] Bump version to 0.0.3
https://github.com/ruby/readline/commit/996af225ad hsbt (Hiroshi SHIBATA)
08:53 AM Revision 106a0e51 (git): [ruby/readline-ext] Bump version to 0.1.4
https://github.com/ruby/readline-ext/commit/6f86713b19 hsbt (Hiroshi SHIBATA)
08:47 AM Revision 545d6820 (git): merge revision(s) fb4cf204a662a8cd9dafef6f31f2bd0db9129abe,fa0279d947c3962c3f8c32852278d3ebb964cb19: [Backport #17725]
use me->def instead of me for opt_table
`vm_opt_method_table` is me=>bop table to manage the optimized
methods (by specialized instruction). However, `me` can be invalidated
to invalidate the method cache entry.
...
nagachika (Tomoyuki Chikanaga)
08:33 AM Revision 517964d5 (git): Move embedded lines outside the here document
So that the actually run test code corresponds to the source file
line-by-line.
nobu (Nobuyoshi Nakada)
08:12 AM Revision d81046b2 (git): Update default gems list at 03f16d37bfaae86efe9633843bd26c [ci skip]
git[bot]
08:12 AM Revision f8a0ef30 (git): Set time limit for waiting for terminating process within a test
aycabta (aycabta .)
08:04 AM Revision 03f16d37 (git): [ruby/rdoc] Version 6.4.0
https://github.com/ruby/rdoc/commit/4797f28df8 aycabta (aycabta .)
07:55 AM Revision 61ca29be (git): Use UTF-8 for lib/reline on AppVeyor
aycabta (aycabta .)
07:04 AM Revision 71e85ec9 (git): [rubygems/rubygems] Do not use IO#flock on Solaris
`io.flock(File::LOCK_EX)` fails on Solaris when the io is opened as
read-only. Due to this issue, `make install` of the ruby package failed
on Solaris.
https://github.com/rubygems/rubygems/commit/5905d17ab2
mame (Yusuke Endoh)
06:06 AM Bug #16936: `make test-all TESTS="-n !/Foo#method/"` not skipping the test case
ruby_3_0 1d29740c1b101db4bd8fc2d05f929a9e37471a0f merged revision(s) 5086c25f6015558877f85c3f1c014780b08fd3ce,3ff0a0b40c2e1fbdad2286f1dafe837f822d0e0d. nagachika (Tomoyuki Chikanaga)
06:05 AM Bug #18241: Question on String Concatentation Documentation
ruby_3_0 62a33dfa168504f8ee77d493979e66616ebe1da8 merged revision(s) c6706f15af123bdbb3b39a21903d85c78462d047. nagachika (Tomoyuki Chikanaga)
06:05 AM Bug #18163: Unclear String documentation of <=> and casecmp methods
ruby_3_0 badffc7bee32251e2bea5897dc502b887e7ffa9b merged revision(s) 7f4e86804d426d79807cc038fe4444f7c65f5c4a. nagachika (Tomoyuki Chikanaga)
06:01 AM Revision 424800f7 (git): [ruby/reline] Fix test input_keys to handle "hankaku" characters correctly on Windows
The method "input_keys" in test/reline/helper.rb handles a single-byte
and 8-bit charater as an input with the meta key.
However, "test_halfwidth_kana_width_dakuten" in test/reline/test_key_actor_emacs.rb
uses a string that contains "han...
mame (Yusuke Endoh)
05:41 AM Revision 167dd73c (git): Update default gems list at 1a1550ba5d6f2f7631cb69a76e78f9 [ci skip]
git[bot]
05:41 AM Revision 1d29740c (git): merge revision(s) 5086c25f6015558877f85c3f1c014780b08fd3ce,3ff0a0b40c2e1fbdad2286f1dafe837f822d0e0d: [Backport #16936]
Properly exclude test cases.
Lets consider the following scenario:
~~~
irb(#<Test::Unit::AutoRunner::Runner:0x0000560f68afc3c8>):001:0> p suite
OpenSSL::TestEC
=> OpenSSL::TestEC
irb(#<T...
nagachika (Tomoyuki Chikanaga)
05:36 AM Revision 62a33dfa (git): merge revision(s) c6706f15af123bdbb3b39a21903d85c78462d047: [Backport #18241]
Fix documentation for String#{<<,concat,prepend}
These methods mutate and return the receiver, they don't create
and return a new string.
Fixes [Bug #18241]
---
string.c | 19 ++++++++++---------...
nagachika (Tomoyuki Chikanaga)
05:35 AM Revision badffc7b (git): merge revision(s) 7f4e86804d426d79807cc038fe4444f7c65f5c4a: [Backport #18163]
Fix documentation of #<=> and #casecmp [ci skip]
Descriptions for return values of -1 and 1 were reversed.
---
string.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
nagachika (Tomoyuki Chikanaga)
05:35 AM Revision 1a1550ba (git): [ruby/csv] test: reduce size for stability on GitHub Actions
https://github.com/ruby/csv/commit/68461aead5 Sutou Kouhei
05:35 AM Revision 22ef4f64 (git): [ruby/csv] Revert "parser: fix a keep bug that some texts may be dropped unexpectedly"
This reverts commit https://github.com/ruby/csv/commit/5c6523da0a61.
This introduces another pbolem. We should try again later.
https://github.com/ruby/csv/commit/43a1d6fff1
Sutou Kouhei
05:35 AM Revision 002ce9f5 (git): [ruby/csv] parser: use row separator explicitly
It will improve performance a bit. (But I haven't confirmed it yet...)
https://github.com/ruby/csv/commit/06a65b0302
Sutou Kouhei
05:35 AM Revision 4a5d372c (git): [ruby/csv] parser: fix a keep bug that some texts may be dropped unexpectedly
Ruby: [Bug #18245] [ruby-core:105587]
Reported by Hassan Abdul Rehman.
https://github.com/ruby/csv/commit/5c6523da0a
Sutou Kouhei
05:35 AM Revision 56a5ae9f (git): [ruby/csv] Fix a bug that all of ARGF contents may not be consumed
GitHub: fix GH-228
Reported by Rafael Navaza. Thanks!!!
https://github.com/ruby/csv/commit/81f595b6a1
Sutou Kouhei
05:35 AM Revision d137ce50 (git): [ruby/csv] Bump version
https://github.com/ruby/csv/commit/e32b666731 Sutou Kouhei
05:35 AM Revision c70dc3ca (git): [ruby/csv] Add handling for ambiguous parsing options (https://github.com/ruby/csv/pull/226)
GitHub: fix GH-225
With Ruby 3.0.2 and csv 3.2.1, the file
```ruby
require "csv"
File.open("example.tsv", "w") { |f| f.puts("foo\t\tbar") }
CSV.read("example.tsv", col_sep: "\t", strip: true)
```
produces the error
```
lib/csv/parser...
adamroyjones
05:35 AM Revision 47c53af1 (git): [ruby/csv] Fix typos [ci skip] (https://github.com/ruby/csv/pull/224)
https://github.com/ruby/csv/commit/27c0b66c8f nobu (Nobuyoshi Nakada)
05:34 AM Revision 083cf6a5 (git): sync_default_gems.rb: Expand GH-xxxx style GitHub links [ci skip]
nobu (Nobuyoshi Nakada)
05:27 AM Revision 097c4a2a (git): sync_default_gems.rb: GitHub links at word boundary only [ci skip]
nobu (Nobuyoshi Nakada)
04:58 AM Bug #18128 (Closed): Ractor allows class variables that have been used before
Applied in changeset commit:git|6050e3e2a6ce2269c56fa74bc5b75a94d064b61f.
----------
@@cv is not accessible from non-main ractors
Class variables (@@cv) is not accessible from non-main ractors.
But without this patch cached @@cv can be...
ko1 (Koichi Sasada)
04:57 AM Revision 3a59abab (git): [ruby/reline] Determine 1st char or 2nd char of surrogate pair correctly
https://github.com/ruby/reline/commit/182606c847 aycabta (aycabta .)
04:52 AM Revision 6050e3e2 (git): @@cv is not accessible from non-main ractors
Class variables (@@cv) is not accessible from non-main ractors.
But without this patch cached @@cv can be read.
fix [Bug #18128]
ko1 (Koichi Sasada)
02:20 AM Revision e029560b (git): Update default gems list at b0ad6cb371747a04eb12580e74c731 [ci skip]
git[bot]
02:03 AM Revision ae770cc3 (git): [ruby/reline] Add encoding info to an assertion of editing line
https://github.com/ruby/reline/commit/22d9262d79 aycabta (aycabta .)
01:36 AM Revision cf83ba1d (git): [DOC] Make sure new GC methods are documented
zverok (Victor Shepelev)
01:35 AM Revision b0ad6cb3 (git): Merge RubyGems-3.3.2 and Bundler-2.3.2
hsbt (Hiroshi SHIBATA)
01:32 AM Revision de0523fe (git): [ruby/irb] irb_info codepage mismatch
`chcp` returns different encoding
https://github.com/ruby/irb/commit/f80971994a
YO4 (Yoshinao Muramatsu)
01:31 AM Revision 34deea3b (git): Add docs for Refinement class
zverok (Victor Shepelev)
01:29 AM Revision fed1629a (git): Fix StructClass:: class method docs
zverok (Victor Shepelev)
01:26 AM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
> ld.so.1: pkg-config: fatal: relocation error: file /opt/csw/bin/pkg-config: symbol g_malloc0_n: referenced symbol not found
I don't think your opencsw installation is working properly. Try another distribution of pkg-config, or plea...
mame (Yusuke Endoh)
12:44 AM Revision 9ccfc783 (git): [ruby/bigdecimal] Remove unused variable
https://github.com/ruby/bigdecimal/commit/ac7daa5f15 Kenta Murata
12:05 AM Revision 69380c60 (git): Update badges from README.md [ci skip]
znz (Kazuhiro NISHIYAMA)

12/23/2021

11:41 PM Misc #18404: 3.1 documentation problems tracking ticket
Folks, maybe that's not obvious but **I don't have commit rights**.
So, unless somebody merges the PRs that are listed above—the **docs for those features will be missing**.
cc @nobu (I don't know who else I should tag, please advise)
zverok (Victor Shepelev)
08:58 PM Revision 0b999bef (git): [DOC] Fix String#unpack and #unpack1 docs (#5331)
zverok (Victor Shepelev)
07:39 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
Should those env.var be used - RUBY_CONFIGURE_OPTS -? dklein (Dmitri Klein)
07:33 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
```shell-session
# ldd -d /opt/csw/bin/pkg-config
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0
libintl.so.8 => /opt/csw/lib/i386/libintl.so.8
libc.so.1 => /lib/libc.so.1
libiconv.so.2 => ...
dklein (Dmitri Klein)
07:26 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
Same for ruby-2.7.5 source:
```shell-session
PKG_CONFIG_PATH=/opt/csw/lib/pkgconfig;export PKG_CONFIG_PATH
PKG_CONFIG=/opt/csw/bin/pkg-config;export PKG_CONFIG
PATH=/opt/csw/bin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin;export PATH
...
dklein (Dmitri Klein)
07:04 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
```shell-session
PKG_CONFIG_PATH=/opt/csw/lib/pkgconfig;export PKG_CONFIG_PATH
PKG_CONFIG=/opt/csw/bin/pkg-config;export PKG_CONFIG
./configure
...
config.status: creating ruby-3.0.pc
ld.so.1: pkg-config: fatal: relocation error: file...
dklein (Dmitri Klein)
06:53 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
Installation of <CSWpkgconfig> was successful.
```shell-session
# /opt/csw/bin/pkg-config --version
0.25
#
```
dklein (Dmitri Klein)
06:48 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
opencsw's pkg-config is not available on the box dklein (Dmitri Klein)
06:45 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
```shell-session
# PKG_CONFIG_PATH=/usr/bin;export PKG_CONFIG_PATH
# PKG_CONFIG=/usr/bin/pkg-config;export PKG_CONFIG
./configure
....
.ext/include/i386-solaris2.10/ruby/config.h unchanged
configure: ruby library version = 3.0.0
config...
dklein (Dmitri Klein)
05:13 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
As far as I remember, that error message is produced by an old version of pkg-config. Please try using opencsw's pkg-config. Maybe setting `PKG_CONFIG = "/opt/csw/bin/pkg-config"` will help you. mame (Yusuke Endoh)
04:51 PM Bug #18429 (Feedback): Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'

./configure
...
configure: ruby library version = 3.0.0
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ruby-3.0.pc
Unknown keyword 'URL' in './ruby.tmp.pc'
both doesn't work neithe...
dklein (Dmitri Klein)
05:36 PM Bug #18424: Is Ruby is vulnerable to log4j?
Yes, that's correct. The naming in these test cases is inspired by realworld packages, but these are just dummy packages just for the sake of testing, not the real library code. You can replace `log4j` with `very-secure-library` in those... deivid (David Rodríguez)
02:53 PM Bug #18424: Is Ruby is vulnerable to log4j?
salamani (Ravi Salamani) wrote in #note-2:
> mame (Yusuke Endoh) wrote in #note-1:
> ...
This is a Ruby spec that verifies bundler. This particular path would only be run by JRuby and possibly TruffleRuby, as CRuby is not written with ...
austin (Austin Ziegler)
02:11 PM Bug #18424: Is Ruby is vulnerable to log4j?
mame (Yusuke Endoh) wrote in #note-1:
> The Ruby package itself does not depend on log4j. For an application or library written in Ruby, please ask to its maintainer.
https://github.com/ruby/ruby/blob/master/spec/bundler/resolver/pla...
salamani (Ravi Salamani)
11:19 AM Bug #18424 (Rejected): Is Ruby is vulnerable to log4j?
The Ruby package itself does not depend on log4j. For an application or library written in Ruby, please ask to its maintainer. mame (Yusuke Endoh)
11:05 AM Bug #18424 (Rejected): Is Ruby is vulnerable to log4j?
I observed that the ruby uses zookeeper, dep "slyphon-log4j", "= 1.2.15".
Is Ruby is vulnerable to log4j?
salamani (Ravi Salamani)
05:30 PM Revision eba05029 (git): Update default gems list at 65d35502bdaa2834934c8952a9eac8 [ci skip]
git[bot]
05:29 PM Revision 65d35502 (git): [ruby/bigdecimal] Version 3.1.1
https://github.com/ruby/bigdecimal/commit/2ef67c2cc7 Kenta Murata
05:29 PM Revision a1d9fbef (git): [ruby/bigdecimal] Fix the result precision of BigDecimal#divmod
https://github.com/ruby/bigdecimal/commit/a32f6cb9e2 Kenta Murata
05:29 PM Revision 680a4ebb (git): [ruby/bigdecimal] Version 3.1.0
https://github.com/ruby/bigdecimal/commit/c3453d2b97 Kenta Murata
05:29 PM Revision 0262f349 (git): [ruby/bigdecimal] Enhanced RDoc for BigDecimal (https://github.com/ruby/bigdecimal/pull/209)
* Enhanced RDoc for BigDecimal
* Update ext/bigdecimal/bigdecimal.c
Remove the instance number of `Float::DIG`.
* Update ext/bigdecimal/bigdecimal.c
Add BigDecimal call-seq without ndigits.
* Update ext/bigdecimal/bigdecimal.c
Repl...
burdettelamar (Burdette Lamar)
05:29 PM Revision 79712fc0 (git): [ruby/bigdecimal] Let BigDecimal#quo accept precision
Fix GH-214.
https://github.com/ruby/bigdecimal/commit/13e0e93f37
Kenta Murata
05:29 PM Revision 0b8638cd (git): [ruby/bigdecimal] Add TODO comment
https://github.com/ruby/bigdecimal/commit/ef9cf4e69e Kenta Murata
05:29 PM Revision 98918209 (git): [ruby/bigdecimal] Allow passing both float and precision in BigDecimal#div
Fix GH-212.
https://github.com/ruby/bigdecimal/commit/900bb7fcf5
Kenta Murata
05:28 PM Revision d0897e3f (git): [ruby/bigdecimal] Improve extconf to allow using bigdecimal as a git gem
e.g.
```
gem "bigdecimal", github: "ruby/bigdecimal"
```
It would fail because bundler regenerates the `gemspec`,
so `bigdecimal_version` is gone.
https://github.com/ruby/bigdecimal/commit/bccaa66f2c
byroot (Jean Boussier)
05:28 PM Revision 84ae7a5d (git): [ruby/bigdecimal] Add BigDecimal#precision_scale
https://github.com/ruby/bigdecimal/commit/c019caeaba Kenta Murata
05:28 PM Revision ea713009 (git): [ruby/bigdecimal] [Doc] Add documentation of BigDecimal#n_significant_digits
https://github.com/ruby/bigdecimal/commit/ceaf16b03e Kenta Murata
05:28 PM Revision aca96f7e (git): [ruby/bigdecimal] Add BigDecimal#scale
Fixes GH-198.
https://github.com/ruby/bigdecimal/commit/4fbec55680
Kenta Murata
05:28 PM Revision 0c63aa11 (git): [ruby/bigdecimal] Set rounding mode in example
https://github.com/ruby/bigdecimal/commit/8fc83dd2fe burdettelamar (Burdette Lamar)
05:28 PM Revision a8243d07 (git): [ruby/bigdecimal] Set rounding mode in example
https://github.com/ruby/bigdecimal/commit/42c999f728 burdettelamar (Burdette Lamar)
05:28 PM Revision de5c14d4 (git): [ruby/bigdecimal] Enhanced RDoc for selected methods
https://github.com/ruby/bigdecimal/commit/0de9298d15 burdettelamar (Burdette Lamar)
05:28 PM Revision e043829a (git): [ruby/bigdecimal] Enhanced RDoc for selected methods
https://github.com/ruby/bigdecimal/commit/6139ea1092 burdettelamar (Burdette Lamar)
05:28 PM Revision d905abb4 (git): [ruby/bigdecimal] Fix BigDecimal#precision for single DECDIG case
Fix GH-205
https://github.com/ruby/bigdecimal/commit/7d198394a2
Kenta Murata
05:28 PM Revision 38e98cbd (git): [ruby/bigdecimal] Keep obj-to-Real link when VpReallocReal returns different pointer
https://github.com/ruby/bigdecimal/commit/252748de17 Kenta Murata
05:28 PM Revision 75f552e9 (git): [ruby/bigdecimal] Fix the precision of the adjusted quotient
https://github.com/ruby/bigdecimal/commit/8dc8cd339d Kenta Murata
05:28 PM Revision 7b2cfce5 (git): [ruby/bigdecimal] Let BigDecimal_DoDivmod use the same precision calculation as BigDecimal_divide
https://github.com/ruby/bigdecimal/commit/11cb2c8840 Kenta Murata
05:28 PM Revision e1265c81 (git): [ruby/bigdecimal] Use larger precision in divide for irrational or recurring results
Just in case for irrational or recurring results, the precision of the
quotient is set to at least more than 2*Float::DIG plus alpha.
[Bug #13754] [Fix GH-94]
https://github.com/ruby/bigdecimal/commit/99442c75d3
Kenta Murata
05:28 PM Revision 8ee8ac64 (git): [ruby/bigdecimal] Fix trailing zeros handling in rb_uint64_convert_to_BigDecimal
Fix GH-192
https://github.com/ruby/bigdecimal/commit/eebc98b85a
Kenta Murata
05:28 PM Revision b2a74948 (git): [ruby/bigdecimal] Add tests for the issue GH-192
https://github.com/ruby/bigdecimal/commit/e864828b47 Kenta Murata
05:28 PM Revision ed7f4c24 (git): [ruby/bigdecimal] Respond to review
https://github.com/ruby/bigdecimal/commit/f528a0006e burdettelamar (Burdette Lamar)
05:28 PM Revision ed8ec5dc (git): [ruby/bigdecimal] Respond to review
https://github.com/ruby/bigdecimal/commit/4eadcdf0a6 burdettelamar (Burdette Lamar)
05:28 PM Revision 44acab76 (git): [ruby/bigdecimal] Respond to review
https://github.com/ruby/bigdecimal/commit/6d69422e37 burdettelamar (Burdette Lamar)
05:28 PM Revision 973e5084 (git): [ruby/bigdecimal] Respond to review for #precision
https://github.com/ruby/bigdecimal/commit/681cd2d81d burdettelamar (Burdette Lamar)
05:28 PM Revision 5888d303 (git): [ruby/bigdecimal] Enhanced RDoc for bigdecimal.c
https://github.com/ruby/bigdecimal/commit/3a35f92f8b burdettelamar (Burdette Lamar)
05:28 PM Revision 01b2ccaa (git): [ruby/bigdecimal] Enhanced RDoc for bigdecimal.c
https://github.com/ruby/bigdecimal/commit/31a7a37426 burdettelamar (Burdette Lamar)
05:28 PM Revision 70f2b62d (git): [ruby/bigdecimal] Use values in RbConfig::LIMITS in test
https://github.com/ruby/bigdecimal/commit/14e35f5a70 Kenta Murata
05:28 PM Revision 247d8d28 (git): [ruby/bigdecimal] Fix the style in test/bigdecimal/test_bigdecimal.rb
https://github.com/ruby/bigdecimal/commit/aa31ef2f33 Kenta Murata
05:28 PM Revision ec478d94 (git): [ruby/bigdecimal] Fix negative Bignum conversion
Introduced in https://github.com/ruby/bigdecimal/commit/4792a917d806
`rb_absint_size` return the number of bytes needed to fit
the absolute integer, but negative integers need the sign, so one more
bit, and potentially one more byte.
h...
byroot (Jean Boussier)
05:28 PM Revision c539cfd2 (git): [ruby/bigdecimal] Fix test against #196
https://github.com/ruby/bigdecimal/commit/a834eb92a2 Kenta Murata
05:28 PM Revision 03507498 (git): [ruby/bigdecimal] VpCheckException: improve grammar
I added a space before the parenthesis, too.
https://github.com/ruby/bigdecimal/commit/159af10b17
olleolleolle (Olle Jonsson)
05:13 PM Bug #18428: Calling Object#singleton_class mutates object's class from the C API's perspective
Ah, I see, that makes sense. Thank you for the quick response! antstorm (Anthony Dmitriyev)
04:54 PM Bug #18428 (Rejected): Calling Object#singleton_class mutates object's class from the C API's perspective
antstorm (Anthony Dmitriyev) wrote:
> I'm not 100% sure if this is an actual bug, but it feels like it. When a `Object#singleton_class` method is called on an object it swaps the object's class with a singleton's class (as far as `CLASS...
jeremyevans0 (Jeremy Evans)
04:52 PM Bug #18428: Calling Object#singleton_class mutates object's class from the C API's perspective
This is by design, that's how singleton classes work. The singleton class subclasses from the original class and becomes the class of the object itself. The Ruby `class` method skips the singleton class and exposes the original class ins... ufuk (Ufuk Kayserilioglu)
04:40 PM Bug #18428 (Rejected): Calling Object#singleton_class mutates object's class from the C API's perspective
Hi,
I'm not 100% sure if this is an actual bug, but it feels like it. When a `Object#singleton_class` method is called on an object it swaps the object's class with a singleton's class (as far as `CLASS_OF` C call is concerned).
He...
antstorm (Anthony Dmitriyev)
05:09 PM Bug #18409 (Closed): Crash (free(): invalid pointer) if LD_PRELOAD doesn't explicitly include libjemalloc.so.2
Since it looks like this is fixed in the master branch, closing and marking for backport to Ruby 3.0 (not sure if it is needed on Ruby 2.7). jeremyevans0 (Jeremy Evans)
05:06 PM Feature #18408: Allow pattern match to set instance variables
I don't think it's a bug that pattern match only supports setting local variables. However, I agree that it would be a useful feature for pattern match to support setting instance variables, especially now that you can pin instance vari... jeremyevans0 (Jeremy Evans)
04:27 PM Revision a8f4cc2b (git): [DOC] Enhanced RDoc for IO (#5324)
Treats #gets. burdettelamar (Burdette Lamar)
04:01 PM Feature #18425 (Third Party's Issue): fileutils.rb: - No such file or directory
jeremyevans0 (Jeremy Evans)
03:27 PM Feature #18425 (Third Party's Issue): fileutils.rb: - No such file or directory
gem install msgpack-1.3.3.gem --debug
...
Exception `Errno::ENOENT' at /opt/csw/lib/ruby/2.0.0/fileutils.rb:1439 - No such file or directory - /opt/csw/lib/ruby/gems/2.0.0/gems/msgpack-1.3.3/spec/spec_helper.rb
...
Exception `Errno...
dklein (Dmitri Klein)
04:01 PM Feature #18426 (Third Party's Issue): fileutils.rb: - No such file or directory
jeremyevans0 (Jeremy Evans)
03:28 PM Feature #18426 (Third Party's Issue): fileutils.rb: - No such file or directory
gem install msgpack-1.3.3.gem --debug
...
Exception `Errno::ENOENT' at /opt/csw/lib/ruby/2.0.0/fileutils.rb:1439 - No such file or directory - /opt/csw/lib/ruby/gems/2.0.0/gems/msgpack-1.3.3/spec/spec_helper.rb
...
Exception `Errno...
dklein (Dmitri Klein)
04:01 PM Feature #18427 (Third Party's Issue): fileutils.rb: - No such file or directory
First, please don't file 3 separate bug reports. If you want to add more information to a bug report, please update the bug report you initially filed.
Second, this is an issue when installing the msgpack gem, so you should report it...
jeremyevans0 (Jeremy Evans)
03:35 PM Feature #18427 (Third Party's Issue): fileutils.rb: - No such file or directory
gem install msgpack-1.3.3.gem --debug
...
Exception `NoMethodError' at /opt/csw/lib/ruby/2.0.0/rubygems/package.rb:420 - undefined method `readpartial' for #<Gem::Package::TarReader::Entry:0x877f634>
...
Exception `Errno::ENOENT'...
dklein (Dmitri Klein)
03:52 PM Revision 2f2aa212 (git): * 2021-12-24 [ci skip]
git[bot]
03:51 PM Revision 547c27e9 (git): [ruby/reline] Add a test for halfwidth kana width dakuten
https://github.com/ruby/reline/commit/0895a0d4a1 aycabta (aycabta .)
03:51 PM Revision 4bb65ee4 (git): [ruby/reline] Character merging may increase the character width
Even if the number of graphemes doesn't change owing to character
merging, the character width may increase.
https://github.com/ruby/reline/commit/fbcd5f56a7
aycabta (aycabta .)
03:51 PM Revision 726cc812 (git): [ruby/reline] "Halfwidth char + halfwidth (han)dakuten" is a single grapheme.
When a halfwidth character is followed by a halfwidth dakuten or a
halfwidth handakuten character, it should be treated as a single
grapheme.
https://github.com/ruby/reline/commit/9f20b9ec28
aycabta (aycabta .)
03:51 PM Revision daf4a888 (git): [ruby/reline] Add comment for a following char of combined char
https://github.com/ruby/reline/commit/d465667f57 aycabta (aycabta .)
11:12 AM Revision 40a1af61 (git): Install ruby/digest.h when from ext/digest
nobu (Nobuyoshi Nakada)
09:43 AM Revision bf1444e5 (git): [DOC] Do not push NEWS update to pull-request
nobu (Nobuyoshi Nakada)
09:25 AM Revision 1eafa852 (git): Update bundled gems list at a6b2757d0572db1dc3f079a9cdd42c [ci skip]
git[bot]
09:25 AM Revision 8f3b5a28 (git): Update TypeProf to 0.21.1
mame (Yusuke Endoh)
09:03 AM Feature #12913 (Closed): A way to configure the default maximum width of pp
Applied in changeset commit:git|c6cf19340a116f21d71ecc218a2e8c31fe2f1d85.
----------
[ruby/pp] [DOC] Update for PP.width_for [Feature #12913]
https://github.com/ruby/pp/commit/cad3cc762c
nobu (Nobuyoshi Nakada)
09:00 AM Revision c6cf1934 (git): [ruby/pp] [DOC] Update for PP.width_for [Feature #12913]
https://github.com/ruby/pp/commit/cad3cc762c nobu (Nobuyoshi Nakada)
07:50 AM Revision 2da53b14 (git): `finalize_deferred` doesn't need VM lock
`finalize_list()` acquires VM lock to manipulate objspace state. ko1 (Koichi Sasada)
07:49 AM Revision ca032d5e (git): undef `rb_vm_lookup_overloaded_cme()`
Some callable method entries (cme) can be a key of `overloaded_cme_table`
and the keys should be pinned because the table is numtable (VALUE is a key).
Before the patch GC checks the cme is in `overloaded_cme_table` by looking up
the tab...
ko1 (Koichi Sasada)
05:59 AM Revision 25e417b7 (git): Separate cache key from primary key [ci skip]
nobu (Nobuyoshi Nakada)
05:30 AM Revision 95da41ee (git): Get stdgems JSON files only if modified [ci skip]
nobu (Nobuyoshi Nakada)
04:01 AM Revision ddfbf531 (git): Update default gems list at d5019949b5c9404d65a1d283375cf9 [ci skip]
git[bot]
03:56 AM Revision d5019949 (git): [ruby/error_highlight] Bump version
https://github.com/ruby/error_highlight/commit/ae3053686f mame (Yusuke Endoh)
01:48 AM Revision 1527f756 (git): Revert "Replace an deprecated constant with a new one in did_you_mean"
This reverts commit 573d9d3a4a0f112379874cedf4e494515e4b3f15. yuki24 (Yuki Nishijima)
01:10 AM Revision 1f94ae01 (git): Update default gems list at de841e2e28a8f721895acb1a76c784 [ci skip]
git[bot]
01:09 AM Revision de841e2e (git): Revert the commits for did_you_mean
This reverts commit feaf4fbc3fa16382fbd07158c448c7b5bdae78b5.
This reverts commit 0d4bfbdbe1f880c712b3e60de5fce423e6096f8d.
This reverts commit ac4e0978ee4358430396403065eabe1aca05784f.
yuki24 (Yuki Nishijima)
01:03 AM Feature #18423: Installing stable versions like 3.0.3 from source generates fatal error by make
There are several potentially related changes in the master branch, of which the most significant are commit:93ddff48022 and commit:dbeddfb0b20. xtkoba (Tee KOBAYASHI)
12:44 AM Revision c529014b (git): Update default gems list at 231f2c26b8efd14ce3fd8961292db8 [ci skip]
git[bot]
12:44 AM Revision fb1ab27f (git): Merge RubyGems-3.3.1 and Bundler-2.3.1
hsbt (Hiroshi SHIBATA)
12:43 AM Revision feaf4fbc (git): Remove test that activates Ractor unexpectedly
yuki24 (Yuki Nishijima)

12/22/2021

11:20 PM Revision bed920f0 (git): Add fiber scheduler hooks for `pread`/`pwrite`, and add support to `IO::Buffer`.
Samuel Williams
10:43 PM Feature #18423 (Closed): Installing stable versions like 3.0.3 from source generates fatal error by make
```
# make
BASERUBY = echo executable host ruby is required. use --with-baseruby option.; false
CC = /opt/SUNWspro/bin/CC
LD = /usr/ccs/bin/ld
LDSHARED = /opt/SUNWspro/bin/CC -G
CFLAGS = -g...
dklein (Dmitri Klein)
09:45 PM Feature #18422 (Closed): Installing fluentd on Solaris 10 by Ruby gems with error message: "ERROR: Failed to build gem native extension"
Ruby 2.0 isn't supported: https://www.ruby-lang.org/en/news/2015/12/16/ruby-2-0-0-p648-released/
Could you use supported Ruby?
kou (Kouhei Sutou)
06:54 PM Feature #18422 (Closed): Installing fluentd on Solaris 10 by Ruby gems with error message: "ERROR: Failed to build gem native extension"
Installing fluentd on Solaris 10 by Ruby gems with error message: "ERROR: Failed to build gem native extension":
gem install fluentd -v '0.12.43'
Building native extensions. This could take a while...
ERROR: Error installing flue...
dklein (Dmitri Klein)
08:41 PM Revision 91c5c1c1 (git): * 2021-12-23 [ci skip]
git[bot]
08:41 PM Revision 243ecd17 (git): [DOC] Enhanced RDoc for IO (#5321)
Treats:
#readpartial
#read
burdettelamar (Burdette Lamar)
08:34 PM Bug #16376: Stack-buffer-overflow in renumber_by_map in regcomp.c
I know this was fixed 6 months ago but I figured it wouldn't hurt to ask: Is a 2.7 backport possible here? Thanks. dcouture-gitlab (Dominic Couture)
12:21 PM Revision 573d9d3a (git): Replace an deprecated constant with a new one in did_you_mean
yuki24 (Yuki Nishijima)
12:02 PM Revision 0d4bfbdb (git): * gems/default_gems: Fix typos
yuki24 (Yuki Nishijima)
11:30 AM Revision 2c31f325 (git): Update default gems list at ac4e0978ee4358430396403065eabe [ci skip]
git[bot]
11:29 AM Revision ac4e0978 (git): * gems/default_gems: Sync did_you_mean
yuki24 (Yuki Nishijima)
10:38 AM Bug #18419 (Rejected): TestObjectSpace#test_finalizer_thread_raise deadlocks
I can't reproduce anymore. vo.x (Vit Ondruch)
09:25 AM Bug #18421 (Closed): `IO#readpartial` and `IO#read_nonblock` return non-empty string on empty file
Applied in changeset commit:git|fdf39963490cf2cf95b30d91bb9b35964c2c2350.
----------
Empty and return the buffer if zero size is given [Bug #18421]
In `IO#readpartial` and `IO#read_nonblock`, as well as `IO#read`.
nobu (Nobuyoshi Nakada)
06:45 AM Bug #18421 (Closed): `IO#readpartial` and `IO#read_nonblock` return non-empty string on empty file
With an empty file `empty_file`, this seems indisputably correct.
```ruby
File.open("empty_file") {|f| f.read(0, "abc")} #=> ""
```
OTOH, obviously these seem bugs.
```ruby
File.open("empty_file") {|f|f.readpartial(0, "abc")} #=>...
nobu (Nobuyoshi Nakada)
08:07 AM Bug #18396: An unexpected "hash value omission" syntax error when without parentheses call expr follows
I have just noticed that Ruby 3.1's right-assignment pattern can end with `x:`.
```
# Works as expected on Ruby 3.1
hsh = { x: 42 }
hsh => x:
p x #=> 42
```
mame (Yusuke Endoh)
06:45 AM Revision fdf39963 (git): Empty and return the buffer if zero size is given [Bug #18421]
In `IO#readpartial` and `IO#read_nonblock`, as well as `IO#read`. nobu (Nobuyoshi Nakada)
05:27 AM Revision 9902398d (git): Split too long line
I don't have a display enough for 170 columns, and it is hard to
use small fonts for my eyes. :(
nobu (Nobuyoshi Nakada)
02:10 AM Revision c9396a35 (git): Show the target Proc on Ractor::IsolationError
It's useful for debug. Sutou Kouhei
12:04 AM Misc #18420 (Open): Question about how to handle IO.pipe reader and writer when forking
I don't think this is a bug but I'm not sure. It could be just a limitation of forking with a IO.pipe reader and writer.
I work on the Elastic Ruby APM agent (https://github.com/elastic/apm-agent-ruby). The Ruby agent is a singleton a...
estolfo (Emily S)

12/21/2021

10:52 PM Revision fff9b45f (git): Reverts the accidental commits for rubygems/bundler.
We stay to the stable version for releasing Ruby 3.1.0.
Revert commits:
b86a7ba49252e00e19c22bbcdc821b5acc31ff92
ef973aa7aa65143a4f05d623c016d459426770d0
hsbt (Hiroshi SHIBATA)
10:04 PM Revision d9570437 (git): Remove incorrectly added `update.rb` file.
Samuel Williams
09:57 PM Revision e3092035 (git): Extended interface for IO::Buffer & documentation.
Samuel Williams
07:22 PM Feature #14975: String#append without changing receiver's encoding
`IO::Buffer` makes this less important. ioquatix (Samuel Williams)
06:12 PM Revision b86a7ba4 (git): [rubygems/rubygems] Fix error when gem specified twice in gemfile under different platforms
https://github.com/rubygems/rubygems/commit/83bc87ca98 deivid (David Rodríguez)
06:12 PM Revision ef973aa7 (git): [rubygems/rubygems] These commands shouldn't be failing, just warning
https://github.com/rubygems/rubygems/commit/04b1ac72b9 deivid (David Rodríguez)
05:49 PM Revision ad353773 (git): * 2021-12-22 [ci skip]
git[bot]
05:49 PM Revision 779039a4 (git): add ref to the ticket
ko1 (Koichi Sasada)
04:22 PM Bug #18380: TestAddressResolve#test_socket_getnameinfo_domain_blocking test failures
Still issue with commit:git|cdb7d699d0 vo.x (Vit Ondruch)
04:19 PM Bug #18419: TestObjectSpace#test_finalizer_thread_raise deadlocks
This might be outfall of the did_you_mean update, which was reverted. It seems that commit:git|cdb7d699d0 passes fine. I'll keep observing. vo.x (Vit Ondruch)
02:29 PM Bug #18419 (Rejected): TestObjectSpace#test_finalizer_thread_raise deadlocks
Testing Ruby 3.1 commit:git|a6f76122a2, I have started to observe deadlock in `TestObjectSpace#test_finalizer_thread_raise`. I hope I am not just impatient, but I have not observer any issues testing previously with commit:git|74b58dd690 vo.x (Vit Ondruch)
02:40 PM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
nobu (Nobuyoshi Nakada) wrote in #note-19:
> Could you show `rbconfig.rb` file too?
Done
vo.x (Vit Ondruch)
12:44 PM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
vo.x (Vit Ondruch) wrote in #note-18:
> No, unfortunately. Please see the attached Makefile. I think that the culprit is still the `arch_hdrdir = $(extout)/include/$(arch)`
Yes, it's the problem.
Could you show `rbconfig.rb` file too?
nobu (Nobuyoshi Nakada)
11:16 AM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
nobu (Nobuyoshi Nakada) wrote in #note-17:
> Does this fix it?
No, unfortunately. Please see the attached Makefile. I think that the culprit is still the `arch_hdrdir = $(extout)/include/$(arch)`
vo.x (Vit Ondruch)
07:42 AM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
Does this fix it?
https://github.com/ruby/ruby/pull/5318
nobu (Nobuyoshi Nakada)
07:01 AM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
Note that we can reproduce the issue with `--includedir` configure option like that: `./configure --includedir=/usr/include && make -j && make install DESTDIR=/tmp/foo` also on Ubuntu with git repo.
@nobu is checking.
ko1 (Koichi Sasada)
01:10 PM Revision cdb7d699 (git): Revert commits for did_you_mean
This reverts commit 4560091b1c99ab33db0d653b9dd2d977fe4676d5.
This reverts commit a6f76122a2395bd914daa0aa04fb5a6ce4e0c045.
This reverts commit e59b18a6379c55f15ccda85c27d6997d44ef5293.
This reverts commit 505dfae05d56d844ea150676edb8785...
yuki24 (Yuki Nishijima)
01:00 PM Revision 4560091b (git): * gems/default_gems: Make the SPELL_CHECKERS constant as compatible as possible
yuki24 (Yuki Nishijima)
12:12 PM Feature #14394: Class.descendants
Sorry for the last minute change. The biggest reason is that we still have several options, so I didn't want to restrict the future possibility.
For example, `Class#descendants` can either:
* behave as it was first introduced. `Modul...
matz (Yukihiro Matsumoto)
11:38 AM Feature #14394: Class.descendants
Just curious about the motivation of the revert though. I sin mainly because of the potential `Module#descendants`?
Because unless I'm missing something, the potential future inclusion of `Module#descendants` would change the behavior...
byroot (Jean Boussier)
11:02 AM Feature #14394: Class.descendants
Rails fixed in https://github.com/rails/rails/pull/43951, I'll see if we can get a 7.0.1 release before 3.1.0 is out. byroot (Jean Boussier)
11:03 AM Revision a6f76122 (git): * gems/default_gems: Fix CI builds
yuki24 (Yuki Nishijima)
10:08 AM Revision e59b18a6 (git): Update default gems list at 505dfae05d56d844ea150676edb878 [ci skip]
git[bot]
10:03 AM Revision 505dfae0 (git): * gems/default_gems: Sync did_you_mean
yuki24 (Yuki Nishijima)
10:02 AM Revision 12fa4f2a (git): Added Psych 4 incompatibility to NEWS
[Bug #17866][ruby-core:103866] hsbt (Hiroshi SHIBATA)
09:21 AM Revision 48a0905d (git): Add missing '%' in format string
znz (Kazuhiro NISHIYAMA)
08:44 AM Revision 69470cc5 (git): Fix a typo [ci skip]
znz (Kazuhiro NISHIYAMA)
08:40 AM Revision b9aefdfc (git): Fix typos
znz (Kazuhiro NISHIYAMA)
08:09 AM Bug #17866 (Closed): Incompatible changes with Psych 4.0.0
I discussed this with @naruse. We decided to bundle Psych 4 with Ruby 3.1. And we should note this incompatibility and migration way with Psych 3.3.2 to NEWS. hsbt (Hiroshi SHIBATA)
06:50 AM Revision 1855f901 (git): [ruby/irb] Check colorize option correctly to clear char attr and don't use it for tests
https://github.com/ruby/irb/commit/de561cafeb aycabta (aycabta .)
06:36 AM Revision 093aaeff (git): [ruby/irb] Add resetting char attr that I forgot
https://github.com/ruby/irb/commit/b5f953dc33 aycabta (aycabta .)
06:27 AM Revision 10a2273e (git): Update default gems list at f51811ca75894f5227fb2dd9f2f61f [ci skip]
git[bot]
06:27 AM Revision 69dc2ea4 (git): Merge RubyGems-3.3.0 and Bundler-2.3.0
hsbt (Hiroshi SHIBATA)
06:21 AM Revision ad450c9f (git): make `overloaded_cme_table` truly weak key map
`overloaded_cme_table` keeps cme -> monly_cme pairs to manage
corresponding `monly_cme` for `cme`. The lifetime of the `monly_cme`
should be longer than `monly_cme`, but the previous patch losts the
reference to the living `monly_cme`.
...
ko1 (Koichi Sasada)
06:15 AM Bug #18414 (Closed): win32ole.gemspec installed on Linux?
Applied in changeset commit:git|3c7e95966d6b9efd201170eb59b0e4a3c4eb6134.
----------
rbinstall.rb: install ext only when it's configured [Bug #18414]
katei (Yuta Saito)
06:14 AM Revision 3c7e9596 (git): rbinstall.rb: install ext only when it's configured [Bug #18414]
katei (Yuta Saito)
05:26 AM Revision 9b917315 (git): Make the cache directory [ci skip]
nobu (Nobuyoshi Nakada)
04:40 AM Revision d58406ff (git): Ignore hung-ups after success on s390x-linux tentatively [ci skip]
nobu (Nobuyoshi Nakada)
04:34 AM Revision c29c2afa (git): Refactor setup_narg and extract finish_narg
nobu (Nobuyoshi Nakada)
04:22 AM Revision 02a9a72f (git): Tidy up fiber scheduler interface documentation for `address_resolve` and `timeout_after`.
Samuel Williams
02:03 AM Revision df48db98 (git): `mandatory_only_cme` should not be in `def`
`def` (`rb_method_definition_t`) is shared by multiple callable
method entries (cme, `rb_callable_method_entry_t`).
There are two issues:
* old -> young reference: `cme1->def->mandatory_only_cme = monly_cme`
if `cme1` is young and `m...
ko1 (Koichi Sasada)

12/20/2021

11:32 PM Revision 711342d9 (git): Update cont.c
Samuel Williams
11:32 PM Revision eae5a34b (git): Add SchedulerInterface#timeout_after and #address_resolve docs
zverok (Victor Shepelev)
11:32 PM Revision 224dfb2d (git): Document Fiber::SchedulerInterface#io_read and #io_write
zverok (Victor Shepelev)
11:28 PM Bug #18417 (Closed): IO::Buffer problems
All the issues here have been addressed, except for:
(1) `get_value` / `set_value` type names have not changed, but the method name has changed.
(2) Using flags to indicate allocation strategy. I will review it and document the expec...
ioquatix (Samuel Williams)
11:19 AM Bug #18417: IO::Buffer problems
Yes that all makes sense.
After spending some time today working on it, I decided I don't like the mutable/immutable terminology. The problem is, even if the buffer is "immutable", the underlying data can still change. This is the unf...
ioquatix (Samuel Williams)
11:15 AM Bug #18417: IO::Buffer problems
> We need to be a little bit careful because string operations are not the primary point
Interesting! Because I started to document most of the usage from the point of view of some code mostly using `get` and `set`, but then I looked ...
zverok (Victor Shepelev)
11:25 PM Revision 617687df (git): Rename IMMUTABLE to READONLY.
Samuel Williams
11:25 PM Revision 9fbf94ff (git): Improve interface for get/set/copy.
Samuel Williams
11:25 PM Revision 2de5dc53 (git): Fix handling of clear with offset and without length.
Samuel Williams
11:25 PM Revision c86bcd43 (git): Mark non-private mapped files as external.
Samuel Williams
11:25 PM Revision da46b8d8 (git): Default `IO::Buffer#get_string` to use BINARY encoding.
Samuel Williams
11:25 PM Revision c3d8d26a (git): Add tests for `IO::Buffer` `get`/`set`.
Samuel Williams
11:25 PM Revision 71bbc40f (git): Rename `to_str` -> `get_string` and add support for encodings.
Samuel Williams
11:25 PM Revision 49166fc7 (git): Improved exception usage/classes.
Samuel Williams
11:25 PM Revision 71bf5cef (git): Fix handling of frozens strings.
Samuel Williams
11:25 PM Revision 9de5c4ec (git): Fix mapping invalid non-file object.
Samuel Williams
10:28 PM Revision 6ad8cf70 (git): [DOC] Enhanced RDoc for IO (#5307)
Treated:
#sync
#sync=
#fsync
#fdatasync
#fileno
#pid
#inspect
#to_io
burdettelamar (Burdette Lamar)
09:48 PM Revision 7bd25b97 (git): [rubygems/rubygems] Print warning when running potentially problematic rubygems + ruby combinations
https://github.com/rubygems/rubygems/commit/d6df0b7de0
Co-authored-by: André Arko <andre@arko.net>
deivid (David Rodríguez)
09:48 PM Revision 01f95ede (git): [rubygems/rubygems] Rename `BUNDLE_SPEC_RUN` environment variable
The `BUNDLE_` prefix should be reserved to first class settings that
should be listed when running `bundle config`. This one is just a hacky
environment variable that has not corresponding documented setting.
https://github.com/rubygems...
deivid (David Rodríguez)
09:48 PM Revision a350ed41 (git): [rubygems/rubygems] Remove ancient check
https://github.com/rubygems/rubygems/commit/d647ab5607 deivid (David Rodríguez)
09:13 PM Revision 39cf0b53 (git): Show whether object is garbage in rb_raw_obj_info()
When using `rp(obj)` for debugging during development, it may be
useful to know that an object is soon to be swept. Add a new letter to
the object dump for whether the object is garbage. It's easy to forget
about lazy sweep.
alanwu (Alan Wu)
09:08 PM Feature #18402: Argument Labels

duerst (Martin Dürst) wrote in #note-6:
> Does this mean that both names can be used inside the method? And in that case, would they alias the same variable, or would there be two variables? Or can only one of the names be used inside...
Lomig (Lomig Enfroy)
07:57 PM Revision 8b1b4e38 (git): [rubygems/rubygems] Skip find_in_unresolved_tree test for TruffleRuby due to longer runtime
https://github.com/rubygems/rubygems/commit/36b8fbc508 Brandon Fish
07:23 PM Feature #14394: Class.descendants
That's unfortunate. The very recently released Rails 7.0.0 will need to be updated, some code paths won't expect `Class#subclasses` being present, but not `Class#descendants`.
I'll update Rails tomorrow.
byroot (Jean Boussier)
07:04 PM Feature #14394 (Open): Class.descendants
matz (Yukihiro Matsumoto) wrote in #note-33:
> Considering those facts, let up postpone introducing `Class#descendats` for 3.1.
Class#descendants removed at commit:3bd5f27f737c7d365b7d01c43d77a958c224ab16. We can potentially reintro...
jeremyevans0 (Jeremy Evans)
02:39 AM Feature #14394: Class.descendants
`Module#descendants` has been proposed too in #9779.
In addition, upon the existence of newly introduced `Class#subclasses`, the need for `Class#descendants` is decreased.
Considering those facts, let up postpone introducing `Class#d...
matz (Yukihiro Matsumoto)
07:02 PM Revision 3bd5f27f (git): Remove Class#descendants
jeremyevans (Jeremy Evans)
06:34 PM Feature #18408: Allow pattern match to set instance variables
This worked originally (when this feature was called "rightward assignment"). But since it has been transformed into a pattern match (in the final 3.0 release), we lost the ability to assign to anything but local vars—that's what pattern... palkan (Vladimir Dementyev)
05:01 PM Revision c57ac4c6 (git): Fix location of extensions in bundled gems when static-linked-ext
Install bundled gem extension files to the gem extension directory
under DESTDIR, when static-linked-ext as well as non-static case.
nobu (Nobuyoshi Nakada)
04:56 PM Revision 81f08edb (git): [DOC] Document Thread::Backtrace.limit
zverok (Victor Shepelev)
03:49 PM Revision 37aea9d7 (git): [ruby/reline] Finalize when exception occurred
https://github.com/ruby/reline/commit/1f8a3aee43
Co-authored-by: Alex Gittemeier <me@a.lexg.dev>
aycabta (aycabta .)
03:13 PM Revision c3a3f65b (git): [ruby/reline] Split off set_signal_handler method
In some tests, the LineEditor#reset method is always called, but doesn't
need to set the signal handlers there, so cuts it out to a separate
method.
https://github.com/ruby/reline/commit/b143c4f5f9
aycabta (aycabta .)
03:13 PM Revision 95c61c8d (git): [ruby/reline] Remove unnecessary clearing signal handler
https://github.com/ruby/reline/commit/7a758e73dc aycabta (aycabta .)
03:11 PM Revision e54e99bd (git): * 2021-12-21 [ci skip]
git[bot]
03:05 PM Revision 6b67f063 (git): test/fiber/test_io_buffer.rb: fix file descriptor leaks
I got the warning while running "make test-all":
Leaked file descriptor: TestFiberIOBuffer#test_write_nonblock: 9 : #<UNIXSocket:fd 9>
Closed file descriptor: TestFiberIOBuffer#test_read_write_blocking: 9
Leaked ...
rhenium (Kazuki Yamaguchi)
02:50 PM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
So the basic scenarios seem to work as expected (unexpectedly for me, sorry). But this is the failing scenario, where I am using expanded tarball:
~~~
$ history
1 cd /builddir/build/BUILD/ruby-3.1.0-74b58dd690/
2 autoconf
...
vo.x (Vit Ondruch)
11:23 AM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
mame (Yusuke Endoh) wrote in #note-12:
> Please answer to https://bugs.ruby-lang.org/issues/18373#note-3. I couldn't reproduce the issue by the following commands
> ...
This ^^ is one issue. The starting point should be something like:...
vo.x (Vit Ondruch)
09:57 AM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
Please answer to https://bugs.ruby-lang.org/issues/18373#note-3. I couldn't reproduce the issue by the following commands
```
$ cd /tmp
$ git clone https://github.com/ruby/ruby.git
$ cd ruby
$ ./autogen.sh
$ ./configure
$ make
...
mame (Yusuke Endoh)
02:42 PM Revision ac757b21 (git): [ruby/openssl] pkey: use EVP_PKEY_CTX_new_from_name() on OpenSSL 3.0
Replace EVP_PKEY_CTX_new_id() with the new EVP_PKEY_CTX_new_from_name()
which takes the algorithm name in a string instead of in an NID.
https://github.com/ruby/openssl/commit/d6535d13d1
rhenium (Kazuki Yamaguchi)
02:42 PM Revision 61e426ae (git): [ruby/openssl] pkey: assume a pkey always has public key components on OpenSSL 3.0
OpenSSL 3.0's EVP_PKEY_get0() returns NULL for provider-backed pkeys.
This causes segfault because it was supposed to never return NULL
before.
We can't check the existence of public key components in this way on
OpenSSL 3.0. Let's just...
rhenium (Kazuki Yamaguchi)
02:42 PM Revision 2df917ed (git): [ruby/openssl] ssl: update test_options_disable_versions
Use the combination of TLS 1.2 and TLS 1.3 instead of TLS 1.1 and TLS
1.2 so that will the test case will be run on latest platforms.
https://github.com/ruby/openssl/commit/e168df0f35
rhenium (Kazuki Yamaguchi)
02:42 PM Revision 15eefd30 (git): [ruby/openssl] ssl: update test_accept_errors_include_peeraddr test case
Use a different invalid data example to prevent SSLSocket#accept from
reaching EOF.
https://github.com/ruby/openssl/commit/2e089c1916
rhenium (Kazuki Yamaguchi)
02:42 PM Revision 0b3482c0 (git): [ruby/openssl] ssl: add constants for new SSL_OP_* flags
Add all SSL_OP_* constants defined in OpenSSL 3.0.0 which are not
specific to DTLS.
https://github.com/ruby/openssl/commit/b1ee2f23b2
rhenium (Kazuki Yamaguchi)
02:42 PM Revision b2fb503d (git): [ruby/openssl] engine: disable OpenSSL::Engine on OpenSSL 3.0
The entire ENGINE API is deprecated in OpenSSL 3.0 in favor of the new
"Provider" concept.
OpenSSL::Engine will not be defined when compiled with OpenSSL 3.0.
We would need a way to interact with providers from Ruby programs, but
since ...
rhenium (Kazuki Yamaguchi)
02:42 PM Revision 79a6f434 (git): [ruby/openssl] hmac: skip test_dup on OpenSSL 3.0 for now
EVP_MD_CTX_copy() doesn't seem to work as intended on HMAC EVP_MD_CTX
on OpenSSL 3.0.0 and causes a double free. I haven't found the root
problem yet, but let's skip the test case for now.
https://github.com/ruby/openssl/commit/4699581639
rhenium (Kazuki Yamaguchi)
02:42 PM Revision c1a7c6df (git): [ruby/openssl] hmac: fix wrong usage of EVP_DigestSignFinal()
According to the manpage, the "siglen" parameter must be initialized
beforehand.
https://github.com/ruby/openssl/commit/6a60c7b2e7
rhenium (Kazuki Yamaguchi)
02:42 PM Revision cfcdd2b4 (git): [ruby/openssl] cipher: update test_ciphers
Do not attempt to actually use all algorithms. Not all algorithms listed
in OpenSSL::Cipher.ciphers are always available.
https://github.com/ruby/openssl/commit/91d04f991f
rhenium (Kazuki Yamaguchi)
02:42 PM Revision 8ebf5978 (git): [ruby/openssl] pkey: deprecate PKey#set_* methods
OpenSSL 3.0 made EVP_PKEY immutable. This means we can only have a const
pointer of the low level struct and the following methods can no longer
be provided when linked against OpenSSL 3.0:
- OpenSSL::PKey::RSA#set_key
- OpenSSL::PKey...
rhenium (Kazuki Yamaguchi)
02:42 PM Revision b93ae542 (git): [ruby/openssl] pkey/ec: deprecate OpenSSL::PKey::EC#generate_key!
OpenSSL::PKey::EC#generate_key! will not work on OpenSSL 3.0 because
keys are made immutable. Users should use OpenSSL::PKey.generate_key
instead.
https://github.com/ruby/openssl/commit/5e2e66cce8
rhenium (Kazuki Yamaguchi)
02:42 PM Revision 0d698be0 (git): [ruby/openssl] pkey/dh: deprecate OpenSSL::PKey::DH#generate_key!
OpenSSL::PKey::DH#generate_key! will not work on OpenSSL 3.0 because
keys are made immutable. Users should use OpenSSL::PKey.generate_key
instead.
https://github.com/ruby/openssl/commit/8ee6a582c7
rhenium (Kazuki Yamaguchi)
02:42 PM Revision 50b90c5f (git): [ruby/openssl] pkey/ec: avoid using EC#public_key= in EC#dh_compute_key
Similarly to DH#compute_key, work around it by constructing a
SubjectPublicKeyInfo. This should be considered as a temporary
implementation.
https://github.com/ruby/openssl/commit/fc9aabc18d
rhenium (Kazuki Yamaguchi)
02:42 PM Revision dc3f37c6 (git): [ruby/openssl] pkey/dh: avoid using DH#set_key in DH#compute_key
DH#set_key will not work on OpenSSL 3.0 because keys are immutable.
For now, let's reimplement DH#compute_key by manually constructing a
DER-encoded SubjectPublicKeyInfo structure and feeding it to
OpenSSL::PKey.read.
Eventually, we sho...
rhenium (Kazuki Yamaguchi)
02:42 PM Revision df6589e4 (git): [ruby/openssl] pkey: use EVP_PKEY_dup() if available
We can use it to implement OpenSSL::PKey::PKey#initialize_copy. This
should work on all key types, not just DH/DSA/EC/RSA types.
https://github.com/ruby/openssl/commit/66cd8cbaaf
rhenium (Kazuki Yamaguchi)
02:42 PM Revision c1a36ebf (git): [ruby/openssl] pkey: allocate EVP_PKEY on #initialize
Allocate an EVP_PKEY when the content is ready: when #initialize
or #initialize_copy is called, rather than when a T_DATA is allocated.
This is more natural because the lower level API has been deprecated
and an EVP_PKEY is becoming the ...
rhenium (Kazuki Yamaguchi)
02:42 PM Revision 02a58fbf (git): [ruby/openssl] pkey: do not check NULL argument in ossl_pkey_new()
Passing NULL to ossl_pkey_new() makes no sense in the first place, and
in fact it is ensured not to be NULL in all cases.
https://github.com/ruby/openssl/commit/316cb2a41f
rhenium (Kazuki Yamaguchi)
02:42 PM Revision 6ef0f272 (git): [ruby/openssl] pkey: use OSSL_DECODER to load encrypted PEM on OpenSSL 3.0
OpenSSL 3.0 has rewritten routines to load pkeys (PEM_read_bio_* and
d2i_* functions) around the newly introduced OSSL_DECODER API.
This comes with a slight behavior change. They now decrypt and parse
each encountered PEM block, then ch...
rhenium (Kazuki Yamaguchi)
02:42 PM Revision 582606dc (git): [ruby/openssl] pkey: test parsing concatenated PEM string
PEM-encoded private keys are sometimes stored together with irrelevant
PEM blocks, such as the corresponding X.509 certificate.
PEM_read_bio_*() family automatically skips unknown PEM blocks, but on
OpenSSL 3.0 we will be using the new ...
rhenium (Kazuki Yamaguchi)
12:48 PM Feature #18384: Pattern Match Object
baweaver (Brandon Weaver) wrote:
> ### Current Viable Workarounds
> ...
In Ruby 3.1, we can omit parens:
```ruby
list_of_people.select { _1 in first_name: 'something' | /another/ }
```
Much readable, WDYT?
Can we go further ...
palkan (Vladimir Dementyev)
12:39 PM Feature #17339: Semantic grouping with BigDecimal#to_s
I will follow the consequence of #18410. mrkn (Kenta Murata)
12:35 PM Bug #13754 (Third Party's Issue): bigdecimal with lower precision that Float
This was fixed at https://github.com/ruby/bigdecimal/issues/94. mrkn (Kenta Murata)
10:45 AM Revision 1c72c95d (git): test/ruby/test_ast.rb: Avoid a "method redefined" warning
mame (Yusuke Endoh)
10:33 AM Revision 26c9ef6a (git): [DOC] Skip tests if only NEWS.md changed
nobu (Nobuyoshi Nakada)
09:50 AM Revision 7700e9a5 (git): Update bundled gems list at 2021-12-20
git[bot]
09:36 AM Revision d2e63af4 (git): Update TypeProf to 0.21.0
mame (Yusuke Endoh)
09:26 AM Revision 87b968c9 (git): [ruby/psych] psych depends stringio only CRuby
https://github.com/ruby/psych/commit/e7bbf26cb2 hsbt (Hiroshi SHIBATA)
09:26 AM Revision 4db88173 (git): Update default gems list at 706c7a27fa00f72ec4f5d2f3af8151 [ci skip]
git[bot]
09:25 AM Revision 706c7a27 (git): [ruby/psych] Bump version to 4.0.3
https://github.com/ruby/psych/commit/75ab76e788 hsbt (Hiroshi SHIBATA)
09:02 AM Revision 24f7a41a (git): Update logger version on NEWS
hsbt (Hiroshi SHIBATA)
09:01 AM Revision e22c8e63 (git): [ruby/logger] Bump version to 1.5.0
https://github.com/ruby/logger/commit/cdeddb2f67 hsbt (Hiroshi SHIBATA)
07:19 AM Revision 7b0f2d61 (git): [ruby/irb] Remove unnecessary space in regexp
https://github.com/ruby/irb/commit/c24a8e2483 aycabta (aycabta .)
07:19 AM Revision b96ef768 (git): [ruby/irb] Add East Asian Ambiguous Width to irb_info command
https://github.com/ruby/irb/commit/4cade4b7e5 aycabta (aycabta .)
07:05 AM Revision 145f7c09 (git): Update bundled gems list at 2021-12-20
git[bot]
06:52 AM Revision 6ccc15c2 (git): [ruby/reline] Rename an unused variable name for CI
https://github.com/ruby/reline/commit/ba97f3bd87 aycabta (aycabta .)
05:54 AM Revision 7572e0c6 (git): [ruby/reline] Add a test for dialog proc with context
https://github.com/ruby/reline/commit/2ce2696d6e aycabta (aycabta .)
05:54 AM Revision bb122811 (git): [ruby/reline] Add an assertion for overwriting dialog proc with the same name
https://github.com/ruby/reline/commit/96067bc13c aycabta (aycabta .)
05:54 AM Revision cc072899 (git): [ruby/reline] Rename the variable "p" because it overlaps with the "p" method
https://github.com/ruby/reline/commit/9bf2ca692e aycabta (aycabta .)
05:54 AM Revision 145c1e06 (git): [ruby/reline] Add support for overwriting dialog proc with the same name
https://github.com/ruby/reline/commit/16aa20c380 aycabta (aycabta .)
05:54 AM Revision c462e07a (git): [ruby/reline] Add Reline.dialog_proc(name_sym)
https://github.com/ruby/reline/commit/7e5dbe4750 aycabta (aycabta .)
05:54 AM Revision ec517d60 (git): [ruby/reline] Add a test for Reline.add_dialog_proc
https://github.com/ruby/reline/commit/c4bb1bfd79 aycabta (aycabta .)
05:53 AM Revision cf508d4d (git): [ruby/reline] Add space
https://github.com/ruby/reline/commit/4b7fa6b213 aycabta (aycabta .)
05:51 AM Revision 2a8ff602 (git): [ruby/reline] windows jruby issue
jruby needs terminal control with Windows API on classic console
https://github.com/ruby/reline/commit/b61bc43374
YO4 (Yoshinao Muramatsu)
05:51 AM Revision 65cb250c (git): [ruby/reline] windows clear screen with \e 2 J
Windows Terminal does smart screen clearing when \e 2 J (not clear entire screen but scrolls down just needed)
On consoles not support sequences, ruby still converts it to API call.
https://github.com/ruby/reline/commit/c00930dab9
YO4 (Yoshinao Muramatsu)
05:51 AM Revision 2c415cda (git): [ruby/reline] windows improve scrolling
ScrollConsoleScreenBuffer can't scroll window of Windows Terminal.
Use LF to sctoll.
Microsoft says
```In the virtual terminal sequences world, the size of the window and the size of the screen buffer are fixed to the same value.
```
ht...
YO4 (Yoshinao Muramatsu)
05:50 AM Revision a856489b (git): [ruby/reline] Revert "Add a space after a comma"
This reverts commit https://github.com/ruby/reline/commit/6009b3ef7ab7.
To merge a Pull Request...
https://github.com/ruby/reline/commit/83021f4267
aycabta (aycabta .)
05:46 AM Revision 7dd0e91c (git): [ruby/reline] Revert "Add space"
This reverts commit https://github.com/ruby/reline/commit/1bb071bcf5a9.
To merge a Pull Request...
https://github.com/ruby/reline/commit/e9fe1b1305
aycabta (aycabta .)
04:04 AM Revision 3bb6e4f6 (git): [DOC] Enhanced RDoc for IO (#5304)
Treated:
::try_convert
#write
#<<
#flush
#tell
#seek
#pos=
#rewind
#eof
burdettelamar (Burdette Lamar)
03:46 AM Revision 7867a76e (git): Update pp version on NEWS
hsbt (Hiroshi SHIBATA)
03:44 AM Revision 0a198e42 (git): [ruby/pp] Bump version to 0.3.0
https://github.com/ruby/pp/commit/c66d1b9cdc hsbt (Hiroshi SHIBATA)

12/19/2021

10:42 PM Revision 1976b38f (git): [rubygems/rubygems] Add support in binstubs for trampolining bundler
If `bundler _<version>_` is given, I guess the most reasonable approach
is to completely skip version switching, because the user is technically
opting out of it. But since binstubs completely remove this argument
from `ARGV` after proce...
deivid (David Rodríguez)
09:49 PM Revision 72db2e00 (git): [rubygems/rubygems] Error tracing should be printed to stderr
https://github.com/rubygems/rubygems/commit/23178f7d7b deivid (David Rodríguez)
08:35 PM Bug #18417: IO::Buffer problems
> (2) I am not sure that type names (:U8, :S8, :U16, :u16 and so on) introduced "from scratch" (?) is a good thing. From one point, they are kinda nice, and consistent. From another, we already have abbreviated names for the types in Arr... ioquatix (Samuel Williams)
08:18 PM Bug #18417: IO::Buffer problems
Just for reference, link to the latest draft of the absolutely amazing documentation: https://github.com/ruby/ruby/pull/5302 ioquatix (Samuel Williams)
08:08 PM Bug #18417: IO::Buffer problems
Thanks so much for this awesome list of things we should try to address.
https://github.com/ruby/ruby/pull/5303
We are considering how `to_str` should work. Implicit conversion is useful but it could also introduce issues.
> Ano...
ioquatix (Samuel Williams)
06:22 PM Bug #18417: IO::Buffer problems
(Got the latest `master`, updated the problems list :)) zverok (Victor Shepelev)
07:26 AM Bug #18417 (Closed): IO::Buffer problems
Hello. While working for documentation for `IO::Buffer` (still WIP), I uncovered these problems. I believe at least some of them should be fixed before the release, though I understand not much time left.
The list is not final, probab...
zverok (Victor Shepelev)
04:09 PM Revision a0f10a97 (git): [DOC] Add documentation for hash value omission syntax
zverok (Victor Shepelev)
03:50 PM Revision 1dd10e18 (git): [DOC] Add documentation for Random.rand and Random.seed
Chris AtLee
03:37 PM Revision 12ad53f4 (git): * 2021-12-20 [ci skip]
git[bot]
03:37 PM Revision f44367ef (git): [DOC] Addition to IO introduction (#5299)
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> burdettelamar (Burdette Lamar)
02:43 PM Revision ae58b71e (git): Sort URLs by issue numbers [ci skip]
znz (Kazuhiro NISHIYAMA)
12:39 PM Bug #18415 (Closed): String#rpartition is not sufficiently greedy compared to String#partition
Applied in changeset commit:git|e2ec97c4b823a0b2e0c31e7a6d77b1dcdc0dfada.
----------
[DOC] How to get the longest last match [Bug #18415]
nobu (Nobuyoshi Nakada)
11:43 AM Bug #18415: String#rpartition is not sufficiently greedy compared to String#partition
I agree that this is intentional and a documentation matter. nobu (Nobuyoshi Nakada)
10:44 AM Bug #18415: String#rpartition is not sufficiently greedy compared to String#partition
I think the actual result is expected. It is `partition`'s responsibility to match the left-most position possible, and it is `+`'s responsibility to match as long as possible from that position. Likewise, it is `rpartition`'s responsibi... sawa (Tsuyoshi Sawada)
02:02 AM Bug #18415 (Closed): String#rpartition is not sufficiently greedy compared to String#partition
``` ruby
3.1.0-preview1 :043 > "...999...".partition /\d+/
=> ["...", "999", "..."]
3.1.0-preview1 :044 > "...999...".rpartition /\d+/
=> ["...99", "9", "..."]
```
Using the regex /\d+/, `partition` gives you all consecutiv...
jdashton (J Daniel Ashton)
12:37 PM Revision 3f2b5818 (git): Add news about allowing omission of parentheses in one-line pattern matching
ktsj (Kazuki Tsujimoto)
11:58 AM Feature #18418 (Open): Add Net::HTTP#security_level=
### Use Case:
I want to connect to an HTTP(S) server (using `Net::HTTP`) that cannot connect with security level[^1] 2 and needs to specify security level 1.
My server is a newer debian (docker image `ruby:3.0.3`, based on debian bul...
hoshinotsuyoshi (tsuyoshi hoshino)
11:27 AM Revision e2ec97c4 (git): [DOC] How to get the longest last match [Bug #18415]
nobu (Nobuyoshi Nakada)
11:26 AM Revision 0eb1c4ea (git): [ruby/irb] Add information about --extra-doc-dir option in the comments
https://github.com/ruby/irb/commit/ac3d4b9e79 kaiquekandykoga (Kaíque Koga)
11:17 AM Revision 56811617 (git): Improve IO::Buffer resize and introduce ownership transfer.
Samuel Williams
05:56 AM Bug #18416 (Closed): Backport 6bef1ac62850be6d83a069ac3d3be0b8e2f3afcf
This is a ticket for the backport management.
I don't know 6bef1ac62850be6d83a069ac3d3be0b8e2f3afcf is necessary in ruby_3_0. Just for memorandum. I will take a look into it later.
nagachika (Tomoyuki Chikanaga)
03:14 AM Revision a81e0600 (git): [ruby/reline] Load correct version.rb from gemspec
When merged to ruby/ruby, reline.gemspec file is located under
lib/reline, as the same as reline/version.rb. That is the latter
path relative from the former differs from the ruby/reline case,
and the reline/version.rb in the default lo...
nobu (Nobuyoshi Nakada)
02:19 AM Revision 7159af34 (git): [ruby/reline] Clear dialog in pasting
https://github.com/ruby/reline/commit/dabf5313e0 aycabta (aycabta .)
 

Also available in: Atom