Project

General

Profile

Activity

From 12/22/2021 to 12/28/2021

12/28/2021

11:57 PM Revision 38a3965d (git): YJIT: Fix warning in iface.c
Fixes warning:
<internal:yjit>:16: warning: undefining the allocator of T_DATA
class RubyVM::YJIT::Block
jhawthorn (John Hawthorn)
11:26 PM Bug #18447 (Closed): Potential performance regression with String#lines in large strings
I believe there may be a potential performance regression regarding `String#lines` worth noting between 3.0.3 and 3.1.0. This came about in [this discussion](https://www.reddit.com/r/ruby/comments/rpje0g/fast_to_way_to_parse_csv/hqadqsd/... ttilberg (Tim Tilberg)
09:36 PM Bug #18442: Make Ruby 3.0.3 on Solaris 10 with "The following command caused the error: cc -D_STDC_C99= "
Using /usr/local/gcc4/bin/gcc -std=c99 in Makefile didn't fix the problem:
```shell-session
.....
vm.c:2549:2: error: expected statement before ')' token
vm.c:2549:2: error: expected statement before ')' token
*** Error code 1
The follo...
dklein (Dmitri Klein)
09:31 PM Bug #18442: Make Ruby 3.0.3 on Solaris 10 with "The following command caused the error: cc -D_STDC_C99= "
Using "make" generates similar error message:
```shell-session
# make
BASERUBY = echo executable host ruby is required. use --with-baseruby option.; false
CC = /usr/local/gcc4/bin/gcc
LD = /usr/ccs/bin/ld
...
dklein (Dmitri Klein)
08:49 PM Bug #18442: Make Ruby 3.0.3 on Solaris 10 with "The following command caused the error: cc -D_STDC_C99= "
```shell-session
/usr/local/gcc4/bin/gcc --version
gcc (GCC) 4.5.1
gmake
BASERUBY = echo executable host ruby is required. use --with-baseruby option.; false
CC = /usr/local/gcc4/bin/gcc -std=gnu99
LD = /usr/ccs/bin/ld
...
dklein (Dmitri Klein)
04:33 PM Bug #18442: Make Ruby 3.0.3 on Solaris 10 with "The following command caused the error: cc -D_STDC_C99= "
Enabling c99 (Enable ISO C99 features) didn't help:
```shell-session
CC=/opt/SUNWspro/bin/cc CFLAGS="-xc99=all" ./configure
make
...
"vm.c", line 3373: left operand must be modifiable lvalue: op "="
cc: acomp failed for vm.c
*** Error ...
dklein (Dmitri Klein)
04:30 PM Bug #18442: Make Ruby 3.0.3 on Solaris 10 with "The following command caused the error: cc -D_STDC_C99= "
```
Configuration summary for ruby version 3.0.3
* Installation prefix: /usr/local
* exec prefix: ${prefix}
* arch: i386-solaris2.10
* site arch: ${arch}
* RUBY_BASE_NAME: ruby
* r...
dklein (Dmitri Klein)
12:52 AM Bug #18442: Make Ruby 3.0.3 on Solaris 10 with "The following command caused the error: cc -D_STDC_C99= "
Similar error by using gmake for other Ruby versions :
```shell-session
/usr/include/stdbool.h:42:2: #error "Use of <stdbool.h> is valid only in a c99 compilation environment."
gmake[2]: *** [big2str.o] Error 1
```
== Makefile:
```ma...
dklein (Dmitri Klein)
09:24 PM Bug #18445: Make Ruby 3.0.3 on Solaris 10 by gmake with gcc 4.5.1 Assembler: main.c errors
trying "make" gives similar result:
# make
BASERUBY = echo executable host ruby is required. use --with-baseruby option.; false
CC = /usr/local/gcc4/bin/gcc -std=gnu99
LD = /usr/ccs/bin/ld
LDSHARED...
dklein (Dmitri Klein)
09:18 PM Bug #18445 (Closed): Make Ruby 3.0.3 on Solaris 10 by gmake with gcc 4.5.1 Assembler: main.c errors
# gmake
BASERUBY = echo executable host ruby is required. use --with-baseruby option.; false
CC = /usr/local/gcc4/bin/gcc -std=gnu99
LD = /usr/ccs/bin/ld
LDSHARED = /usr/local/gcc4/bin/gcc -std=gnu99 ...
dklein (Dmitri Klein)
08:41 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
```shell-session
# gmake
BASERUBY = echo executable host ruby is required. use --with-baseruby option.; false
CC = /usr/local/gcc4/bin/gcc -std=gnu99
LD = /usr/ccs/bin/ld
LDSHARED = /usr/local/gcc4/bin/gc...
dklein (Dmitri Klein)
07:50 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
In our case:
```shell-session
# /usr/local/gcc4/bin/gcc --version
gcc (GCC) 4.5.1
# gmake
BASERUBY = echo executable host ruby is required. use --with-baseruby option.; false
CC = /usr/local/gcc4/bin/gcc
LD = /...
dklein (Dmitri Klein)
05:18 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
```shell-session
# /opt/csw/bin/gcc-5.5 --version
gcc-5.5 (GCC) 5.5.0
# cc=/opt/csw/bin/gcc-5.5 ./configure
```
---
```
Configuration summary for ruby version 3.0.3
* Installation prefix: /usr/local
* exec prefix: ${prefi...
dklein (Dmitri Klein)
04:51 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
In our case:
```shell-session
# /opt/csw/bin/gcc --version
/opt/csw/bin/gcc: cannot execute
#
# ls -la /opt/csw/bin/gcc
-rwxr-xr-x 1 root root 845228 Nov 15 13:15 /opt/csw/bin/gcc
#
```
dklein (Dmitri Klein)
07:39 AM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
FYI: our Solaris 10 CI uses opencsw's gcc.
```
$ /opt/csw/bin/gcc --version
gcc (GCC) 5.5.0
```
mame (Yusuke Endoh)
05:38 AM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
dklein (Dmitri Klein) wrote in #note-15:
> ```shell-session
> ...
We can't support such old version.
nobu (Nobuyoshi Nakada)
06:14 PM Feature #18351: Support anonymous rest and keyword rest argument forwarding
palkan (Vladimir Dementyev) wrote in #note-8:
> @jeremyevans0 I've been working on supporting this feature for Ruby Next, and found a weird edge case:
> ...
My expected behavior is that `bar(*)` and `baz(**)` use the arguments to `foo_...
jeremyevans0 (Jeremy Evans)
01:36 PM Feature #18351: Support anonymous rest and keyword rest argument forwarding
@jeremyevans0 I've been working on supporting this feature for Ruby Next, and found a weird edge case:
```
def foo_with_pattern(*, **)
case some_value
in [0, 1, *]
bar(*)
in {a:, b:, **}
baz(**)
end
end
```
...
palkan (Vladimir Dementyev)
04:01 PM Bug #18444 (Open): Trapped TSTP causes a locking deadlock in 3.0.3 onward
A curious case:
`ruby -e 'Signal.trap("TSTP") { puts "Received a terminal stop signal, but i will sleep instead."; sleep 10 }; loop {puts 1}'`
this fails with `deadlock; recursive locking (ThreadError)` when I send the SIGTSTP via...
why-el (Mohamed Wael Khobalatte)
03:22 PM Revision 39b3aa4f (git): * 2021-12-29 [ci skip]
git[bot]
03:22 PM Revision c9af8a32 (git): `USE_RUBY_DEBUG_LOG` doesn't check `RUBY_DEVEL`
`USE_RUBY_DEBUG_LOG` was only defined when `RUBY_DEVEL` is defined.
This patch removes this dependency (`USE_RUBY_DEBUG_LOG` is defined
independently from `RUBY_DEVEL`).
Do not commit a patch which enables `USE_RUBY_DEBUG_LOG`.
ko1 (Koichi Sasada)
02:48 PM Feature #18332: a ? b
If we adopt this syntax it might be worthwhile to consider JS new colaescing operator which does the same thing, maybe it's better to keep the syntax similar to JS. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operat... joelb (Joel Blum)
12:13 PM Revision 763592d2 (git): Use omit instead of skip: test/-ext-/**/*.rb
hsbt (Hiroshi SHIBATA)
11:29 AM Revision 55cdb8b0 (git): Use omit instead of skip: test/socket/**/*.rb
hsbt (Hiroshi SHIBATA)
11:00 AM Feature #18438: Add `Exception#additional_message` to show additional error information
Thanks for the ping!
I'll need to sync with my colleagues at Datadog and may take a few days because a lot of people are off, but I have a few questions:
1. Would `additional_message` only be something that gems like did_you_mean a...
ivoanjo (Ivo Anjo)
04:08 AM Feature #18438: Add `Exception#additional_message` to show additional error information
@st0012 Thank you very much for your reply!
> So to us, this separation is not needed atm.
The motivation of this separation is not for your services. Some Ruby programmers write a test to check the exception message like this.
...
mame (Yusuke Endoh)
10:29 AM Revision bab86233 (git): The `include`d set should be expanded values [ci skip]
While the `matrix` level values are expanded from the production
of each arrays, `include`d set should be consist from expanded
single values.
nobu (Nobuyoshi Nakada)
09:36 AM Revision bf97415c (git): Removed deprecated Dir.exists? and File.exists?
nobu (Nobuyoshi Nakada)
09:35 AM Revision 0a47896d (git): s/an Bignum/a Bignum/ [ci skip]
nobu (Nobuyoshi Nakada)
09:35 AM Revision 40e7aefe (git): Remove obsolete Fixnum and Bignum
nobu (Nobuyoshi Nakada)
09:18 AM Revision b948b1a4 (git): Fix RBS test failures of taint/trust (#5364)
pocke (Masataka Kuwabara)
07:35 AM Revision 63358581 (git): Fix weird MinGW failure notifications
It's been "MinGW / Array", but it will be "MinGW MINGW64 / check" or
"MinGW UCRT64 / check" by this.
k0kubun (Takashi Kokubun)
06:30 AM Revision 3cd17319 (git): Skip testing --enable-all in MinGW for now
If we don't intend to support this platform, we should probably enable
MJIT for MinGW. However, since the code for https://bugs.ruby-lang.org/issues/18439
is in place, I'm adjusting the test for it in the meantime.
following up https://...
k0kubun (Takashi Kokubun)
06:22 AM Revision eb49aa31 (git): Fix test_rubyoptions for MinGW (#5363)
* Fix test_rubyoptions for MinGW
follows up a74a2f456ad549025861be80f50cc3f0dd6646dd
* Require jit_support
* Fix MinGW platform
* Handle MinGW UCRT
and fix the prefix
* Make it more robust
k0kubun (Takashi Kokubun)
05:55 AM Feature #18439: YJIT: Support Microsoft x86 calling convention
> YJIT requires OPT_DIRECT_THREADED_CODE or OPT_CALL_THREADED_CODE in rb_yjit_compile_iseq().
What option do we use under windows?
> ...
Yes. We would need to switch to the Windows calling convention, which is different enough to be a ...
jhawthorn (John Hawthorn)
05:52 AM Revision a6e5d703 (git): USE_RVARGC released; why not CI
shyouhei (Shyouhei Urabe)
04:29 AM Feature #18440: YJIT is enabled if any YJIT tuning options are set
> From the code, this appears to be intentional.
I think so. At least for MJIT in 2.6~3.0, we used to show:
```
--jit enable JIT with default options (experimental)
--jit-[option] enable JIT with an option (experi...
k0kubun (Takashi Kokubun)
03:57 AM Revision 91b7be77 (git): Do not support non-x86_64 platforms
This was probably not intended in 85a426dc8678f04a78ffd799943b690ce2984c49. k0kubun (Takashi Kokubun)
01:23 AM Revision f445eccf (git): Expand URL to its canonical form [ci skip]
znz (Kazuhiro NISHIYAMA)
12:46 AM Bug #18430: Raspberry Pi 3.0.3 Compile Issue
nobu (Nobuyoshi Nakada) wrote in #note-3:
> Seems installing the default gems to `/var/lib`.
> ...
Full permissions:
`drwxr-xr-x 80 rich root 4096 Dec 27 10:00 gems`
78 gems in there. There is no `/usr/lib/ruby/gems/3.0.0/specif...
daBee (da Bee)

12/27/2021

11:55 PM Bug #18443 (Closed): IO read/write/wait hook bug fixes.
nagachika (Tomoyuki Chikanaga)
10:29 PM Bug #18443 (Closed): IO read/write/wait hook bug fixes.
After testing Ruby 3.1.0 extensively, I found some obscure bugs which should be fixed. This should be back ported to 3.1.1 ASAP.
- `console.c` incorrect `rb_io_wait` argument.
- `rb_read_internal` incorrect logic when handling partia...
ioquatix (Samuel Williams)
10:46 PM Bug #16908: Strange behaviour of Hash#shift when used with `default_proc`.
I've submitted a pull request to make `Hash#shift` return `nil` if the hash is empty: https://github.com/ruby/ruby/pull/5360
Not sure if we want that behavior in 3.2, or if we want to issue a deprecation warning in 3.2 and change in 3...
jeremyevans0 (Jeremy Evans)
10:15 PM Feature #18440: YJIT is enabled if any YJIT tuning options are set
From [the code](https://github.com/ruby/ruby/blob/2c7aed46ba886c6fc4fb15e404035755f9884d54/ruby.c#L1545), this appears to be intentional. [`setup_yjit_options`](https://github.com/ruby/ruby/blob/2c7aed46ba886c6fc4fb15e404035755f9884d54/r... georgeclaghorn (George Claghorn)
03:52 PM Feature #18440: YJIT is enabled if any YJIT tuning options are set
Sorry, there's a small typo in the example:
```
$ ruby --yjit-exec-mem-size=32 -e 'puts RubyVM::YJIT.runtime_stats.inspect'
{:inline_code_size=>67775, :outlined_code_size=>52667}
```
georgeclaghorn (George Claghorn)
03:41 PM Feature #18440 (Feedback): YJIT is enabled if any YJIT tuning options are set
I was testing YJIT in a Rails app with `RUBYOPT="--yjit --yjit-exec-mem-size=32"`. I saw some weird issues around Rails view caching, so I attempted to temporarily disable YJIT by removing `--yjit` and leaving the tuning options in place... georgeclaghorn (George Claghorn)
09:57 PM Bug #16889: TracePoint.enable { ... } also activates the TracePoint for other threads, even outside the block
I submitted a pull request to make `enable` affect the current thread by default: https://github.com/ruby/ruby/pull/5359
The power_assert bundled gem tests fail with it, so power_assert will need to be updated before this can be merge...
jeremyevans0 (Jeremy Evans)
09:34 PM Bug #18442 (Closed): Make Ruby 3.0.3 on Solaris 10 with "The following command caused the error: cc -D_STDC_C99= "
make
...
cc: acomp failed for vm.c
*** Error code 2
The following command caused the error:
cc -D_STDC_C99= -g -erroff=E_STATEMENT_NOT_REACHED -erroff=E_INIT_SIGN_EXTEND -erroff=E_INIT_DOES_NOT_FIT -erroff=E_INITIALIZATION_TYPE...
dklein (Dmitri Klein)
09:14 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
make
```shell-session
...
cc: acomp failed for vm.c
*** Error code 2
The following command caused the error:
cc -D_STDC_C99= -g -erroff=E_STATEMENT_NOT_REACHED -erroff=E_INIT_SIGN_EXTEND -erroff=E_INIT_DOES_NOT_FIT -erroff=E_INITIALIZ...
dklein (Dmitri Klein)
08:45 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
```shell-session
# /usr/sfw/bin/gcc --version
gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
```
dklein (Dmitri Klein)
08:37 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
make:
```shell-session
....
vm_exec.c:137: confused by earlier errors, bailing out
*** Error code 1
The following command caused the error:
/usr/sfw/bin/gcc -std=gnu99 -O3 -ggdb3 -Wall -Wdeprecated-declarations -Wimplicit-function-declar...
dklein (Dmitri Klein)
08:37 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
It has been configured now as per:
```shell-session
Configuration summary for ruby version 3.0.3
* Installation prefix: /usr/local
* exec prefix: ${prefix}
* arch: i386-solaris2.10
* site arch: ...
dklein (Dmitri Klein)
08:29 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
```shell-session
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'
# echo $PKG_CONFIG
/usr/bin/pkg-co...
dklein (Dmitri Klein)
08:08 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
```shell-session
./configure
....
.ext/include/i386-solaris2.10/ruby/config.h unchanged
configure: ruby library version = 3.0.0
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ruby-3.0.pc
Un...
dklein (Dmitri Klein)
08:28 PM Bug #18441 (Rejected): Fix inconsistent parentheses with anonymous block forwarding
jeremyevans0 (Jeremy Evans)
08:16 PM Bug #18441: Fix inconsistent parentheses with anonymous block forwarding
> It is already possible to have anonymous block forwarding work without parentheses, just not exactly the way you want:
True, but use of semicolon is definitely not desired in this situation even though that would get me slightly clo...
bkuhlmann (Brooke Kuhlmann)
04:53 PM Bug #18441: Fix inconsistent parentheses with anonymous block forwarding
I don't think this is a bug. The issue with not using parentheses is that `&` is going to keep looking for the name for the block variable:
```ruby
def a &
b
b
end
```
is parsed as:
```ruby
def a(&b)
b
end
```
...
jeremyevans0 (Jeremy Evans)
04:31 PM Bug #18441 (Rejected): Fix inconsistent parentheses with anonymous block forwarding
## Overview
One of the best qualities of Ruby, syntactically, is the optional use of parenthesis (or lack there of). I've enjoyed this for almost two decades. With Ruby 3.1.0, things have become a bit more inconsistent with the introd...
bkuhlmann (Brooke Kuhlmann)
08:14 PM Feature #18270: Refinement#{extend_object,append_features,prepend_features} should be removed
I've submitted a pull request to implement this: https://github.com/ruby/ruby/pull/5358 jeremyevans0 (Jeremy Evans)
07:38 PM Revision 2c7aed46 (git): * 2021-12-28 [ci skip]
git[bot]
07:38 PM Revision 95d2e06c (git): [rubygems/rubygems] Fix `bundle update --bundler` no longer updating lockfile
https://github.com/rubygems/rubygems/commit/a053b7e4d4 deivid (David Rodríguez)
07:28 PM Bug #18435: Calling `protected` on ancestor method changes result of `instance_methods(false)`
I've submitted a pull request to fix this issue: https://github.com/ruby/ruby/pull/5356 . It makes `method`/`instance_method` (and similar methods) no longer skip ZSUPER method entries, so `owner` will correctly show the class where the ... jeremyevans0 (Jeremy Evans)
04:23 PM Bug #18435: Calling `protected` on ancestor method changes result of `instance_methods(false)`
ufuk (Ufuk Kayserilioglu) wrote in #note-2:
> I understand why the difference in behaviour is happening, but I respectfully disagree that this is not a bug.
That's fair. It's not 100% clear that this isn't a bug. Which I why I woul...
jeremyevans0 (Jeremy Evans)
12:34 PM Bug #18435: Calling `protected` on ancestor method changes result of `instance_methods(false)`
I understand why the difference in behaviour is happening, but I respectfully disagree that this is not a bug.
Regardless of how `protected` is implemented internally, the return value of `instance_methods(false)` should not include m...
ufuk (Ufuk Kayserilioglu)
04:07 PM Feature #18438: Add `Exception#additional_message` to show additional error information

Hello, I'm Stan, the maintainer of [Sentry's Ruby SDK](https://github.com/getsentry/sentry-ruby).
I think Sentry currently displays the overridden exception message as intended (see the image below). So to us, this separation is not ...
st0012 (Stan Lo)
06:46 AM Feature #18438 (Closed): Add `Exception#additional_message` to show additional error information
## Proposal
I'd like to introduce a method `Exception#additional_message`, and let the Ruby error printer show it after `Exception#message`.
```ruby
class MyError < StandardError
def message = "my error!"
def additional_mess...
mame (Yusuke Endoh)
01:57 PM Revision be476f38 (git): [rubygems/rubygems] Don't crash when updating to an unsupported `rubygems-update` version
https://github.com/rubygems/rubygems/commit/b0badcd00a deivid (David Rodríguez)
12:32 PM Revision ebb4044d (git): [rubygems/rubygems] Run `bundle install` in verbose mode
To see if we get more information when this fails.
https://github.com/rubygems/rubygems/commit/853d33fdc3
deivid (David Rodríguez)
12:32 PM Revision dd022c1f (git): [rubygems/rubygems] Don't redownload `rubygems-update` package if already there
This makes it easier to test the upgrade process locally and should be
more efficient in certain cases where the user has already upgraded in
the past.
https://github.com/rubygems/rubygems/commit/ed6cc88494
deivid (David Rodríguez)
09:50 AM Bug #18437: 3.1.0 install stucks on FreeBSD & NFS
Hello! Sorry for this issue, can you open a pull request to fix it at https://github.com/rubygems/rubygems? deivid (David Rodríguez)
03:52 AM Bug #18437 (Closed): 3.1.0 install stucks on FreeBSD & NFS
## 概要
FreeBSD マシンで NFS 上のホームディレクトリーへ Ruby 3.1.0 を rbenv install 3.1.0 でインストールしようとすると、
gem のインストールで処理が止まってしまいます。
## 再現手順
### 環境
* OS (NFS クライアント): FreeBSD 13.0-RELEASE-p5
* NFS サーバー: CentOS 7.9
* NFSv4
* rbenv 1.2.0-6-g304...
os (Shigeki OHARA)
09:11 AM Revision 56a0f34d (git): [ruby/drb] Fix method names "regist" as "register"
https://github.com/ruby/drb/commit/9a1ff286bc nobu (Nobuyoshi Nakada)
08:47 AM Feature #18439 (Assigned): YJIT: Support Microsoft x86 calling convention
I heard that supporting YJIT for VC++ needs mmap from k0kubun-san, so I implemented tiny mmap emulation on Windows and committed it to master.
And, I found we need more changes to actually enabled YJIT for VC++, at least:
- YJIT requ...
usa (Usaku NAKAMURA)
08:29 AM Revision a74a2f45 (git): Now YJIT can be enabled on mswin64
U.Nakamura
08:15 AM Revision 4e007d70 (git): Fix some bornheads
U.Nakamura
07:38 AM Revision 9790f54b (git): Call FlushInstrucitonCache() when PROT_EXEC is specified to mprotect
U.Nakamura
06:56 AM Revision 85a426dc (git): Tiny mmap emulation for Windows
- prerequisite of supporting YJIT with VC++.
- note that now can specfily `--yjit` on mswin64, but not enabled
YJIT'ed code because of YJIT requires `OPT_DIRECT_THREADED_CODE`
or `OPT_CALL_THREADED_CODE` in `rb_yjit_compile_iseq`.
U.Nakamura
05:42 AM Feature #17873 (Closed): Update of default gems in Ruby 3.1
Ruby 3.1 released. Thanks to develop and release for this.
hsbt (Hiroshi SHIBATA)
04:31 AM Bug #18430 (Feedback): Raspberry Pi 3.0.3 Compile Issue
Seems installing the default gems to `/var/lib`.
Maybe you don't have the permission to write?
nobu (Nobuyoshi Nakada)
01:48 AM Revision f486566f (git): Update default gems list at d6311cb1ca5860a6e0cbf6f87c1e0a [ci skip]
git[bot]
01:45 AM Revision d6311cb1 (git): Track RubyGems 3.4.0dev and Bundler 2.4.0dev
hsbt (Hiroshi SHIBATA)
01:45 AM Revision b7e5ce08 (git): [rubygems/rubygems] Don't add verbose flag so opaquely for realworld specs
https://github.com/rubygems/rubygems/commit/fa8455ef7c deivid (David Rodríguez)
01:45 AM Revision fb073765 (git): [rubygems/rubygems] Move setup to the spec that uses it
https://github.com/rubygems/rubygems/commit/7cf0a8fa8e deivid (David Rodríguez)
01:45 AM Revision 810c1b88 (git): [rubygems/rubygems] Remove unused include
https://github.com/rubygems/rubygems/commit/a581a1dd50 deivid (David Rodríguez)
01:45 AM Revision 03903f23 (git): [rubygems/rubygems] Remove the rest of the `RUBY_VERSION` monkeypatching
Since we're at it. This generates a bunch of warnings and seems like a
brittle way to test things, so let's get rid of it.
https://github.com/rubygems/rubygems/commit/f5d45520e0
deivid (David Rodríguez)
01:45 AM Revision ca3a2e46 (git): [rubygems/rubygems] Update some specs to pass ruby-head CI
These specs were monkeypatching `RUBY_VERSION`, but that obviously
doesn't change the running ruby to behave any different.
The removal of some features, in particular, `String#untaint`, made
these specs fail, because untaint is no long...
deivid (David Rodríguez)
01:45 AM Revision 73707e5c (git): [rubygems/rubygems] Make SpecificationPolicy autoload constant
It reduces memory usage about 204kb (1.4%).
https://github.com/rubygems/rubygems/commit/b7d4b8c8a6
pocke (Masataka Kuwabara)

12/26/2021

11:56 PM Revision 9736cb89 (git): Check if `Kernel#untaint` is defined instead of version comparison
Probably `RUBY_VERSION` seems overwritten somewhere in the tests. nobu (Nobuyoshi Nakada)
10:04 PM Bug #18436 (Closed): Fix Pathname dot directory globbing
## Overview
With 3.1.0, I'm seeing different behavior when trying to obtain directories which have a dot (.) prefix. With 3.0.x, `..` would be answered but with 3.1.0, `..` is missing. Is this to be expected because the [documentation...
bkuhlmann (Brooke Kuhlmann)
09:09 PM Bug #18435: Calling `protected` on ancestor method changes result of `instance_methods(false)`
I don't think this is a bug, I think it is expected behavior. When you call `protected` in the class, it creates a method entry in the class with a different visibility, even if the owner of the method is still the module. Hopefully a c... jeremyevans0 (Jeremy Evans)
02:22 PM Bug #18435 (Closed): Calling `protected` on ancestor method changes result of `instance_methods(false)`
As documented `instance_methods(false)` works as follows:
```ruby
module A
def method1() end
end
class B
include A
def method2() end
end
p B.instance_methods(false) #=> [:method2]
```
However, calling `protec...
ufuk (Ufuk Kayserilioglu)
03:35 PM Bug #18433 (Closed): 「‘rb_cData’ is deprecated: by: rb_cObject. Will be removed in 3.1.」が 3.1 でも出力される
Applied in changeset commit:git|7c738ce5e649b82bdc1305d5c347e81886ee759a.
----------
Remove deprecate rb_cData [Bug #18433]
Also enable the warning for T_DATA allocator.
nobu (Nobuyoshi Nakada)
04:51 AM Bug #18433: 「‘rb_cData’ is deprecated: by: rb_cObject. Will be removed in 3.1.」が 3.1 でも出力される
忘れてました。
予定は未定ということで、3.2になったら消します(たぶん)。
nobu (Nobuyoshi Nakada)
03:07 AM Bug #18433 (Closed): 「‘rb_cData’ is deprecated: by: rb_cObject. Will be removed in 3.1.」が 3.1 でも出力される
拡張ライブラリ内で rb_cData を使うと
```
‘rb_cData’ is deprecated: by: rb_cObject. Will be removed in 3.1.
```
という warning が出力されますが、これが 3.1 でも出ます。
別に害はないのですが、メッセージとしては妙な感じです。
```
/tmp/hoge% cat hoge.c
#include <ruby.h>
void Init_hoge(voi...
tommy (Masahiro Tomita)
03:34 PM Revision 1f877fa2 (git): * 2021-12-27 [ci skip]
git[bot]
03:17 PM Revision 3a223aec (git): Ignore failures taint/trust in RBS tentatively [ci skip]
nobu (Nobuyoshi Nakada)
02:28 PM Revision c956f979 (git): Initialize Struct by calling with keyword arguments
nobu (Nobuyoshi Nakada)
02:28 PM Revision abad0173 (git): Postpone fix of lookbehind with ss characters tentatively
nobu (Nobuyoshi Nakada)
02:28 PM Revision 7c738ce5 (git): Remove deprecate rb_cData [Bug #18433]
Also enable the warning for T_DATA allocator. nobu (Nobuyoshi Nakada)
02:28 PM Revision 69f03c86 (git): Remove Refinement#include and Refinement#prepend
nobu (Nobuyoshi Nakada)
02:28 PM Revision 39bc5de8 (git): Remove tainted and trusted features
Already these had been announced to be removed in 3.2. nobu (Nobuyoshi Nakada)
02:22 PM Bug #18434 (Closed): error_highlight does not work for -e option
Applied in changeset commit:git|0dc7816c4350683ccd020f5759eee4914de0085d.
----------
Make RubyVM::AST.of work with code written in `-e` command-line option
[Bug #18434]
mame (Yusuke Endoh)
10:43 AM Bug #18434: error_highlight does not work for -e option
https://github.com/ruby/ruby/pull/5347 mame (Yusuke Endoh)
10:35 AM Bug #18434 (Closed): error_highlight does not work for -e option
```
$ ruby -ve '1.time'
ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-linux]
-e:1:in `<main>': undefined method `time' for 1:Integer (NoMethodError)
Did you mean? times
```
mame (Yusuke Endoh)
02:22 PM Revision 81c24892 (git): Development of 3.1.0 started.
matz (Yukihiro Matsumoto)
11:57 AM Revision 0dc7816c (git): Make RubyVM::AST.of work with code written in `-e` command-line option
[Bug #18434] mame (Yusuke Endoh)
09:31 AM Bug #18431: Ruby 2.6.9, bundler 1.17.2 and CVE-2021-43809
How is the score for vulnerabilities calculated? I tried to set the score myself to "Low" in the Github Advisory, because the chances that this issue is ever explored seemed very low to me. I also run a CVSS severity calculator by answer... deivid (David Rodríguez)
09:10 AM Bug #18431: Ruby 2.6.9, bundler 1.17.2 and CVE-2021-43809
hsbt (Hiroshi SHIBATA) wrote in #note-1:
> Bundler 1.x is EOL now. I have no plan to update it on Ruby 2.6.
> ...
I understand, but you should think that every system that will ship with ruby 2.6 will also ship a vulnerable bundler by ...
npic1 (Nat Pic1)
06:51 AM Revision 18da9359 (git): Update bundled gems list at 2322967f3e23b6dbf6e1bf9e78ae1c [ci skip]
git[bot]
06:38 AM Revision 2322967f (git): Update default gems list at 1698010bb12a799f8ceb7202fd0df8 [ci skip]
git[bot]
06:38 AM Revision cead0324 (git): * 2021-12-26 [ci skip]
git[bot]
06:37 AM Revision 1698010b (git): NEWS: Empty gem list if no new gems
nobu (Nobuyoshi Nakada)

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)" <[email protected]> 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)
 

Also available in: Atom