Activity
From 12/17/2021 to 12/23/2021
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) -
08:58 PM Revision 0b999bef (git): [DOC] Fix String#unpack and #unpack1 docs (#5331)
-
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 -?
-
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 => ... -
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
... -
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... -
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
#
``` -
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
-
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... -
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.
-
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...-
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...
-
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 ... -
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... -
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.
-
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? - 05:30 PM Revision eba05029 (git): Update default gems list at 65d35502bdaa2834934c8952a9eac8 [ci skip]
- 05:29 PM Revision 65d35502 (git): [ruby/bigdecimal] Version 3.1.1
- https://github.com/ruby/bigdecimal/commit/2ef67c2cc7
- 05:29 PM Revision a1d9fbef (git): [ruby/bigdecimal] Fix the result precision of BigDecimal#divmod
- https://github.com/ruby/bigdecimal/commit/a32f6cb9e2
- 05:29 PM Revision 680a4ebb (git): [ruby/bigdecimal] Version 3.1.0
- https://github.com/ruby/bigdecimal/commit/c3453d2b97
-
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... - 05:29 PM Revision 79712fc0 (git): [ruby/bigdecimal] Let BigDecimal#quo accept precision
- Fix GH-214.
https://github.com/ruby/bigdecimal/commit/13e0e93f37 - 05:29 PM Revision 0b8638cd (git): [ruby/bigdecimal] Add TODO comment
- https://github.com/ruby/bigdecimal/commit/ef9cf4e69e
- 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 -
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 - 05:28 PM Revision 84ae7a5d (git): [ruby/bigdecimal] Add BigDecimal#precision_scale
- https://github.com/ruby/bigdecimal/commit/c019caeaba
- 05:28 PM Revision ea713009 (git): [ruby/bigdecimal] [Doc] Add documentation of BigDecimal#n_significant_digits
- https://github.com/ruby/bigdecimal/commit/ceaf16b03e
- 05:28 PM Revision aca96f7e (git): [ruby/bigdecimal] Add BigDecimal#scale
- Fixes GH-198.
https://github.com/ruby/bigdecimal/commit/4fbec55680 -
05:28 PM Revision 0c63aa11 (git): [ruby/bigdecimal] Set rounding mode in example
- https://github.com/ruby/bigdecimal/commit/8fc83dd2fe
-
05:28 PM Revision a8243d07 (git): [ruby/bigdecimal] Set rounding mode in example
- https://github.com/ruby/bigdecimal/commit/42c999f728
-
05:28 PM Revision de5c14d4 (git): [ruby/bigdecimal] Enhanced RDoc for selected methods
- https://github.com/ruby/bigdecimal/commit/0de9298d15
-
05:28 PM Revision e043829a (git): [ruby/bigdecimal] Enhanced RDoc for selected methods
- https://github.com/ruby/bigdecimal/commit/6139ea1092
- 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 - 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
- 05:28 PM Revision 75f552e9 (git): [ruby/bigdecimal] Fix the precision of the adjusted quotient
- https://github.com/ruby/bigdecimal/commit/8dc8cd339d
- 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
- 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 - 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 - 05:28 PM Revision b2a74948 (git): [ruby/bigdecimal] Add tests for the issue GH-192
- https://github.com/ruby/bigdecimal/commit/e864828b47
-
05:28 PM Revision ed7f4c24 (git): [ruby/bigdecimal] Respond to review
- https://github.com/ruby/bigdecimal/commit/f528a0006e
-
05:28 PM Revision ed8ec5dc (git): [ruby/bigdecimal] Respond to review
- https://github.com/ruby/bigdecimal/commit/4eadcdf0a6
-
05:28 PM Revision 44acab76 (git): [ruby/bigdecimal] Respond to review
- https://github.com/ruby/bigdecimal/commit/6d69422e37
-
05:28 PM Revision 973e5084 (git): [ruby/bigdecimal] Respond to review for #precision
- https://github.com/ruby/bigdecimal/commit/681cd2d81d
-
05:28 PM Revision 5888d303 (git): [ruby/bigdecimal] Enhanced RDoc for bigdecimal.c
- https://github.com/ruby/bigdecimal/commit/3a35f92f8b
-
05:28 PM Revision 01b2ccaa (git): [ruby/bigdecimal] Enhanced RDoc for bigdecimal.c
- https://github.com/ruby/bigdecimal/commit/31a7a37426
- 05:28 PM Revision 70f2b62d (git): [ruby/bigdecimal] Use values in RbConfig::LIMITS in test
- https://github.com/ruby/bigdecimal/commit/14e35f5a70
- 05:28 PM Revision 247d8d28 (git): [ruby/bigdecimal] Fix the style in test/bigdecimal/test_bigdecimal.rb
- https://github.com/ruby/bigdecimal/commit/aa31ef2f33
-
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... - 05:28 PM Revision c539cfd2 (git): [ruby/bigdecimal] Fix test against #196
- https://github.com/ruby/bigdecimal/commit/a834eb92a2
-
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 -
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!
-
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... -
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...
-
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... -
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).
-
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...
-
04:27 PM Revision a8f4cc2b (git): [DOC] Enhanced RDoc for IO (#5324)
- Treats #gets.
-
04:01 PM Feature #18425 (Third Party's Issue): fileutils.rb: - No such file or directory
-
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... -
04:01 PM Feature #18426 (Third Party's Issue): fileutils.rb: - No such file or directory
-
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... -
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... -
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'... - 03:52 PM Revision 2f2aa212 (git): * 2021-12-24 [ci skip]
-
03:51 PM Revision 547c27e9 (git): [ruby/reline] Add a test for halfwidth kana width dakuten
- https://github.com/ruby/reline/commit/0895a0d4a1
-
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 -
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 -
03:51 PM Revision daf4a888 (git): [ruby/reline] Add comment for a following char of combined char
- https://github.com/ruby/reline/commit/d465667f57
-
11:12 AM Revision 40a1af61 (git): Install ruby/digest.h when from ext/digest
-
09:43 AM Revision bf1444e5 (git): [DOC] Do not push NEWS update to pull-request
- 09:25 AM Revision 1eafa852 (git): Update bundled gems list at a6b2757d0572db1dc3f079a9cdd42c [ci skip]
-
09:25 AM Revision 8f3b5a28 (git): Update TypeProf to 0.21.1
-
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 -
09:00 AM Revision c6cf1934 (git): [ruby/pp] [DOC] Update for PP.width_for [Feature #12913]
- https://github.com/ruby/pp/commit/cad3cc762c
-
07:50 AM Revision 2da53b14 (git): `finalize_deferred` doesn't need VM lock
- `finalize_list()` acquires VM lock to manipulate objspace state.
-
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... -
05:59 AM Revision 25e417b7 (git): Separate cache key from primary key [ci skip]
-
05:30 AM Revision 95da41ee (git): Get stdgems JSON files only if modified [ci skip]
- 04:01 AM Revision ddfbf531 (git): Update default gems list at d5019949b5c9404d65a1d283375cf9 [ci skip]
-
03:56 AM Revision d5019949 (git): [ruby/error_highlight] Bump version
- https://github.com/ruby/error_highlight/commit/ae3053686f
-
01:48 AM Revision 1527f756 (git): Revert "Replace an deprecated constant with a new one in did_you_mean"
- This reverts commit 573d9d3a4a0f112379874cedf4e494515e4b3f15.
- 01:10 AM Revision 1f94ae01 (git): Update default gems list at de841e2e28a8f721895acb1a76c784 [ci skip]
-
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. -
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.
- 12:44 AM Revision c529014b (git): Update default gems list at 231f2c26b8efd14ce3fd8961292db8 [ci skip]
-
12:44 AM Revision fb1ab27f (git): Merge RubyGems-3.3.1 and Bundler-2.3.1
-
12:43 AM Revision feaf4fbc (git): Remove test that activates Ractor unexpectedly
12/22/2021
- 11:20 PM Revision bed920f0 (git): Add fiber scheduler hooks for `pread`/`pwrite`, and add support to `IO::Buffer`.
-
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... -
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? -
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... - 08:41 PM Revision 91c5c1c1 (git): * 2021-12-23 [ci skip]
-
08:41 PM Revision 243ecd17 (git): [DOC] Enhanced RDoc for IO (#5321)
- Treats:
#readpartial
#read -
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.
-
12:21 PM Revision 573d9d3a (git): Replace an deprecated constant with a new one in did_you_mean
-
12:02 PM Revision 0d4bfbdb (git): * gems/default_gems: Fix typos
- 11:30 AM Revision 2c31f325 (git): Update default gems list at ac4e0978ee4358430396403065eabe [ci skip]
-
11:29 AM Revision ac4e0978 (git): * gems/default_gems: Sync did_you_mean
-
10:38 AM Bug #18419 (Rejected): TestObjectSpace#test_finalizer_thread_raise deadlocks
- I can't reproduce anymore.
-
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`. -
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")} #=>... -
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
``` -
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`.
-
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. :( - 02:10 AM Revision c9396a35 (git): Show the target Proc on Ractor::IsolationError
- It's useful for debug.
-
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...
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 - 10:04 PM Revision d9570437 (git): Remove incorrectly added `update.rb` file.
- 09:57 PM Revision e3092035 (git): Extended interface for IO::Buffer & documentation.
-
07:22 PM Feature #14975: String#append without changing receiver's encoding
- `IO::Buffer` makes this less important.
-
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
-
06:12 PM Revision ef973aa7 (git): [rubygems/rubygems] These commands shouldn't be failing, just warning
- https://github.com/rubygems/rubygems/commit/04b1ac72b9
- 05:49 PM Revision ad353773 (git): * 2021-12-22 [ci skip]
-
05:49 PM Revision 779039a4 (git): add ref to the ticket
-
04:22 PM Bug #18380: TestAddressResolve#test_socket_getnameinfo_domain_blocking test failures
- Still issue with commit:git|cdb7d699d0
-
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.
-
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
-
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 -
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? -
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)`
-
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 -
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. -
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... -
01:00 PM Revision 4560091b (git): * gems/default_gems: Make the SPELL_CHECKERS constant as compatible as possible
-
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... -
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... -
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.
-
11:03 AM Revision a6f76122 (git): * gems/default_gems: Fix CI builds
- 10:08 AM Revision e59b18a6 (git): Update default gems list at 505dfae05d56d844ea150676edb878 [ci skip]
-
10:03 AM Revision 505dfae0 (git): * gems/default_gems: Sync did_you_mean
-
10:02 AM Revision 12fa4f2a (git): Added Psych 4 incompatibility to NEWS
- [Bug #17866][ruby-core:103866]
-
09:21 AM Revision 48a0905d (git): Add missing '%' in format string
-
08:44 AM Revision 69470cc5 (git): Fix a typo [ci skip]
-
08:40 AM Revision b9aefdfc (git): Fix typos
-
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.
-
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
-
06:36 AM Revision 093aaeff (git): [ruby/irb] Add resetting char attr that I forgot
- https://github.com/ruby/irb/commit/b5f953dc33
- 06:27 AM Revision 10a2273e (git): Update default gems list at f51811ca75894f5227fb2dd9f2f61f [ci skip]
-
06:27 AM Revision 69dc2ea4 (git): Merge RubyGems-3.3.0 and Bundler-2.3.0
-
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`.
... -
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] -
06:14 AM Revision 3c7e9596 (git): rbinstall.rb: install ext only when it's configured [Bug #18414]
-
05:26 AM Revision 9b917315 (git): Make the cache directory [ci skip]
-
04:40 AM Revision d58406ff (git): Ignore hung-ups after success on s390x-linux tentatively [ci skip]
-
04:34 AM Revision c29c2afa (git): Refactor setup_narg and extract finish_narg
- 04:22 AM Revision 02a9a72f (git): Tidy up fiber scheduler interface documentation for `address_resolve` and `timeout_after`.
-
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...
12/20/2021
- 11:32 PM Revision 711342d9 (git): Update cont.c
-
11:32 PM Revision eae5a34b (git): Add SchedulerInterface#timeout_after and #address_resolve docs
-
11:32 PM Revision 224dfb2d (git): Document Fiber::SchedulerInterface#io_read and #io_write
-
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... -
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... -
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 ... - 11:25 PM Revision 617687df (git): Rename IMMUTABLE to READONLY.
- 11:25 PM Revision 9fbf94ff (git): Improve interface for get/set/copy.
- 11:25 PM Revision 2de5dc53 (git): Fix handling of clear with offset and without length.
- 11:25 PM Revision c86bcd43 (git): Mark non-private mapped files as external.
- 11:25 PM Revision da46b8d8 (git): Default `IO::Buffer#get_string` to use BINARY encoding.
- 11:25 PM Revision c3d8d26a (git): Add tests for `IO::Buffer` `get`/`set`.
- 11:25 PM Revision 71bbc40f (git): Rename `to_str` -> `get_string` and add support for encodings.
- 11:25 PM Revision 49166fc7 (git): Improved exception usage/classes.
- 11:25 PM Revision 71bf5cef (git): Fix handling of frozens strings.
- 11:25 PM Revision 9de5c4ec (git): Fix mapping invalid non-file object.
-
10:28 PM Revision 6ad8cf70 (git): [DOC] Enhanced RDoc for IO (#5307)
- Treated:
#sync
#sync=
#fsync
#fdatasync
#fileno
#pid
#inspect
#to_io -
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 <[email protected]> -
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... -
09:48 PM Revision a350ed41 (git): [rubygems/rubygems] Remove ancient check
- https://github.com/rubygems/rubygems/commit/d647ab5607
-
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. -
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...- 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
-
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. -
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... -
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... -
07:02 PM Revision 3bd5f27f (git): Remove Class#descendants
-
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...
-
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. -
04:56 PM Revision 81f08edb (git): [DOC] Document Thread::Backtrace.limit
-
03:49 PM Revision 37aea9d7 (git): [ruby/reline] Finalize when exception occurred
- https://github.com/ruby/reline/commit/1f8a3aee43
Co-authored-by: Alex Gittemeier <[email protected]> -
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 -
03:13 PM Revision 95c61c8d (git): [ruby/reline] Remove unnecessary clearing signal handler
- https://github.com/ruby/reline/commit/7a758e73dc
- 03:11 PM Revision e54e99bd (git): * 2021-12-21 [ci skip]
-
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 ... -
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
... -
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:... -
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
... -
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 -
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... -
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 -
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 -
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 -
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 ... -
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 -
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 -
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 -
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... -
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 -
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 -
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 -
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... -
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 -
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 ... -
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 -
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... -
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 ... -
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 ... -
12:39 PM Feature #17339: Semantic grouping with BigDecimal#to_s
- I will follow the consequence of #18410.
-
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.
-
10:45 AM Revision 1c72c95d (git): test/ruby/test_ast.rb: Avoid a "method redefined" warning
-
10:33 AM Revision 26c9ef6a (git): [DOC] Skip tests if only NEWS.md changed
- 09:50 AM Revision 7700e9a5 (git): Update bundled gems list at 2021-12-20
-
09:36 AM Revision d2e63af4 (git): Update TypeProf to 0.21.0
-
09:26 AM Revision 87b968c9 (git): [ruby/psych] psych depends stringio only CRuby
- https://github.com/ruby/psych/commit/e7bbf26cb2
- 09:26 AM Revision 4db88173 (git): Update default gems list at 706c7a27fa00f72ec4f5d2f3af8151 [ci skip]
-
09:25 AM Revision 706c7a27 (git): [ruby/psych] Bump version to 4.0.3
- https://github.com/ruby/psych/commit/75ab76e788
-
09:02 AM Revision 24f7a41a (git): Update logger version on NEWS
-
09:01 AM Revision e22c8e63 (git): [ruby/logger] Bump version to 1.5.0
- https://github.com/ruby/logger/commit/cdeddb2f67
-
07:19 AM Revision 7b0f2d61 (git): [ruby/irb] Remove unnecessary space in regexp
- https://github.com/ruby/irb/commit/c24a8e2483
-
07:19 AM Revision b96ef768 (git): [ruby/irb] Add East Asian Ambiguous Width to irb_info command
- https://github.com/ruby/irb/commit/4cade4b7e5
- 07:05 AM Revision 145f7c09 (git): Update bundled gems list at 2021-12-20
-
06:52 AM Revision 6ccc15c2 (git): [ruby/reline] Rename an unused variable name for CI
- https://github.com/ruby/reline/commit/ba97f3bd87
-
05:54 AM Revision 7572e0c6 (git): [ruby/reline] Add a test for dialog proc with context
- https://github.com/ruby/reline/commit/2ce2696d6e
-
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
-
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
-
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
-
05:54 AM Revision c462e07a (git): [ruby/reline] Add Reline.dialog_proc(name_sym)
- https://github.com/ruby/reline/commit/7e5dbe4750
-
05:54 AM Revision ec517d60 (git): [ruby/reline] Add a test for Reline.add_dialog_proc
- https://github.com/ruby/reline/commit/c4bb1bfd79
-
05:53 AM Revision cf508d4d (git): [ruby/reline] Add space
- https://github.com/ruby/reline/commit/4b7fa6b213
-
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 -
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 -
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... -
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 -
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 -
04:04 AM Revision 3bb6e4f6 (git): [DOC] Enhanced RDoc for IO (#5304)
- Treated:
::try_convert
#write
#<<
#flush
#tell
#seek
#pos=
#rewind
#eof -
03:46 AM Revision 7867a76e (git): Update pp version on NEWS
-
03:44 AM Revision 0a198e42 (git): [ruby/pp] Bump version to 0.3.0
- https://github.com/ruby/pp/commit/c66d1b9cdc
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... -
09:49 PM Revision 72db2e00 (git): [rubygems/rubygems] Error tracing should be printed to stderr
- https://github.com/rubygems/rubygems/commit/23178f7d7b
-
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...
-
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
-
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... -
06:22 PM Bug #18417: IO::Buffer problems
- (Got the latest `master`, updated the problems list :))
-
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... -
04:09 PM Revision a0f10a97 (git): [DOC] Add documentation for hash value omission syntax
- 03:50 PM Revision 1dd10e18 (git): [DOC] Add documentation for Random.rand and Random.seed
- 03:37 PM Revision 12ad53f4 (git): * 2021-12-20 [ci skip]
-
03:37 PM Revision f44367ef (git): [DOC] Addition to IO introduction (#5299)
- Co-authored-by: Nobuyoshi Nakada <[email protected]>
-
02:43 PM Revision ae58b71e (git): Sort URLs by issue numbers [ci skip]
-
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] -
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.
-
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...
-
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... -
12:37 PM Revision 3f2b5818 (git): Add news about allowing omission of parentheses in one-line pattern matching
-
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... -
11:27 AM Revision e2ec97c4 (git): [DOC] How to get the longest last match [Bug #18415]
-
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
- 11:17 AM Revision 56811617 (git): Improve IO::Buffer resize and introduce ownership transfer.
-
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. -
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... -
02:19 AM Revision 7159af34 (git): [ruby/reline] Clear dialog in pasting
- https://github.com/ruby/reline/commit/dabf5313e0
12/18/2021
- 11:25 PM Revision f3e30b26 (git): Default size for IO::Buffer.
-
09:15 PM Revision 6bef1ac6 (git): `rb_iseq_update_references()` cares `script_lines`
- and it fixes compaction issue:
http://rubyci.s3.amazonaws.com/freebsd12/ruby-master/log/20211218T203001Z.fail.html.gz -
08:59 PM Revision 45f21824 (git): YJIT: Implement intern
- `intern` showed up in the top 20 most frequent exit ops (granted with a
fairly small percentage) in a benchmark run by @jhawthorn on
github/github.
This implementation is similar to gen_anytostring, but with 1
stack pop instead of 2.
C... -
08:35 PM Revision dd29ba07 (git): `iseq_type_sym()` -> `iseq_type_id()`
- `iseq_type_sym()` returns `ID` (surprisingly!) so rename it
to `iseq_type_id()`. -
08:16 PM Revision 89a02d89 (git): add `rb_iseq_type()` to return iseq type in Symbol
- It is shorthand `ISeq#to_a[9]`.
-
07:13 PM Revision 52b1c765 (git): Manually sync https://github.com/ruby/error_highlight/commit/d2140d795ad0a06398db81739201877d431755db
-
07:00 PM Revision 6a51c3e8 (git): Make AST.of possible even under eval when keep_script_lines is enabled
- Now the following code works without an exception.
```
RubyVM.keep_script_lines = true
eval(<<END)
def foo
end
END
p RubyVM::AbstractSyntaxTree.of(method(:foo))
``` -
06:51 PM Revision acac2b81 (git): Make RubyVM::AbstractSyntaxTree.of raise for backtrace location in eval
- This check is needed to fix a bug of error_highlight when NameError
occurred in eval'ed code.
https://github.com/ruby/error_highlight/pull/16
The same check for proc/method has been already introduced since
64ac984129a7a4645efe5ac57c168... -
06:32 PM Revision 7e0e6f90 (git): What's Here for ENV (#5292)
- [DOC] What's Here for ENV
- 04:07 PM Revision 1ed520a9 (git): * 2021-12-19 [ci skip]
-
04:07 PM Revision 45de4025 (git): skip -v spec on MJIT
- fix this failure:
```
configure ... cppflags=-DMJIT_FORCE_ENABLE
...
make test-spec
1)
The -v command line option when used alone prints version and ends FAILED
Expected
"ruby 3.1.0dev (2021-12-18T10:10:42Z master 78c175280b) +MJIT [x8... -
03:34 PM Bug #17568 (Rejected): Thread.handle_interrupt is per-Thread but should probably be per-Fiber
- Closing since it seems intentional for some cases (Enumerator fibers).
- 11:19 AM Revision 235f523a (git): Fix spelling of DECLAIR_TYPE.
- 10:10 AM Revision 78c17528 (git): Fix code formatting.
- 10:10 AM Revision 1560cc16 (git): Introduce setup instructions for better parallelism.
- 06:15 AM Revision 75b5a480 (git): Initial hacking guide.
- 05:19 AM Revision 42d32311 (git): Introduce io_result wrapper for passing `[-errno, size]` in VALUE.
-
04:06 AM Revision 922a81a9 (git): Skip tests on pull requests labeled as Documentation
-
04:05 AM Revision 629c8f12 (git): Fix pull_request condition [ci skip]
-
01:33 AM Revision 424605da (git): [DOC] Cache stdgems list
-
01:18 AM Revision 1c49d809 (git): [ruby/reline] Remove unnecessary "*"
- https://github.com/ruby/reline/commit/7b50638e24
-
01:18 AM Revision 7f2123bc (git): [ruby/reline] Add a space after a comma
- https://github.com/ruby/reline/commit/6009b3ef7a
-
01:15 AM Revision adf6c092 (git): [ruby/reline] Change a test method name to more appropriate
- https://github.com/ruby/reline/commit/d014cc85b7
-
01:15 AM Revision 8cc01b66 (git): [ruby/reline] Add space
- https://github.com/ruby/reline/commit/1bb071bcf5
12/17/2021
-
11:38 PM Revision 66ec3217 (git): [ruby/pp] Add context to bind_call and skip 2.7+ test
- The bind_call definition here is added primarily to support
running the tests on JRuby 9.3, which only supports Ruby 2.6
features. The excluded test appears to depend on inspect behavior
that changed after Ruby 2.6.
With these two chang... -
11:38 PM Revision cc73dfb9 (git): [ruby/pp] Incorporate 2.6 versions of 2.7 methods needed
- * UnboundMethod#bind_call
* ruby2_keywords gem for testing
https://github.com/ruby/pp/commit/721d8cbd10 -
11:38 PM Revision 73da1c5e (git): [ruby/pp] Use etc instead of .so for broader compatibility
- The use of `etc.so` here requires that etc is always implemented
as a C extension on-disk. However at least one impl – JRuby –
currently implements it as an internal extension, loaded via a
Ruby script. This require should simply use the... -
11:38 PM Revision 5a6baaba (git): [ruby/pp] Only do RubyVM patches if class exists
- This class does not exist in any implementation except CRuby.
I would recommend moving this code somewhere else, like a separate
file loaded only on CRuby or into CRuby itself. For now this
change is sufficient to load the library on ot... -
11:38 PM Revision de6ef2ca (git): [ruby/benchmark] Freeze VERSION
- https://github.com/ruby/benchmark/commit/89b889b109
-
11:38 PM Revision e442ec4e (git): [ruby/logger] Removed loading old helper file and load Logger class by itself
- https://github.com/ruby/logger/commit/5ee0fd6e51
- 11:38 PM Revision 43755468 (git): [ruby/logger] Test cases
- https://github.com/ruby/logger/commit/40adb645e2
- 11:38 PM Revision a8b11b5c (git): [ruby/logger] Changes to datetime formatting
- Formatting a datetime should only pertain to itself and valid datetimes do not contain a space. Should there be a desire to show show a space between the datetime and the process pid in the formatted log, this formatting logic should tak...
-
11:26 PM Revision cc5fcae1 (git): YJIT: Remove double check for block arg handling
- Inline and remove iseq_supported_args_p(iseq) to remove a potentially
dangerous double check on `iseq->body->param.flags.has_block` and
`iseq->body->local_iseq == iseq`. Double checking should be fine at the
moment as there should be no ... -
11:26 PM Revision c2197bf8 (git): YJIT: Fix check for required kwargs
- Previously, YJIT would not check that all the required keywords were
specified in the case that there were optional arguments specified. In
this case YJIT would incorrectly call the method with invalid arguments. -
11:26 PM Revision 83aa6844 (git): YJIT: Allow iseq with both opt and kwargs
- Previously we mirrored the fast paths the interpreter had for having
only one of kwargs or optional args. This commit aims to combine the
cases and reduce complexity.
Though this allows calling iseqs which have have both optional and
ke... -
11:02 PM Revision 5588aa79 (git): What's Here for Symbol (#5289)
- * What's Here for Symbol
- 07:21 PM Revision 6a1365d7 (git): Update bundled gems list at 2021-12-17
-
07:21 PM Revision dbb5abc4 (git): debug.gem 1.4.0
-
06:30 PM Bug #18414: win32ole.gemspec installed on Linux?
- That explanation makes sense and the "Ignoring debug-1.3.4 because its extensions are not built. Try: gem pristine debug --version 1.3.4" is just red herring there and therefore the PR is legit.
Nevertheless, the point that win32ole.g... -
06:02 PM Bug #18414: win32ole.gemspec installed on Linux?
- #18373 is completely different from the issue that the pull request tried to fix. The pull request is about default gems, and #18373 is about bundled gems.
I wonder if you misunderstand `--with-static-linked-ext`. The configure option... -
05:09 PM Bug #18414 (Closed): win32ole.gemspec installed on Linux?
- While win32ole is not built on Linux and it used to not be installed. But the .gemspes is installed now. I believe that this is due to https://github.com/ruby/ruby/pull/5206.
Besides the win32ole.gemspec being installed now, I think t... -
06:10 PM Feature #17785: Allow named parameters to be keywords
- Dan0042 (Daniel DeLorme) wrote in #note-21:
> Wait a sec... actually there's precedent for this. `super` does this. It forwards all arguments up the inheritance chain. And it's possible to do `eval("super")`. `__params__` is like the f... -
01:54 PM Feature #17785: Allow named parameters to be keywords
- Dan0042 (Daniel DeLorme) wrote in #note-19:
> Eregon (Benoit Daloze) wrote in #note-17:
> ...
Wait a sec... actually there's precedent for this. `super` does this. It forwards all arguments up the inheritance chain. And it's possible t... -
05:13 PM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
- BTW, this causes also different issues as far as I can tell:
https://github.com/ruby/ruby/pull/5206 -
12:40 PM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
- I was able to use this little hack to compile the extensions:
~~~
find .bundle -name extconf.rb -exec \
sed -i \
-e '/create_makefile/i \$arch_hdrdir = "$(hdrdir)/../.ext/include/$(arch)"' \
-e '/create_makefile/i \$DLDF... -
04:49 PM Bug #18413: Segfault in `ripper/lexer.rb`
- Encountered a segfault in the `ripper/lexer.rb` file when attempting to compile Ruby `master` this morning.
### Steps to reproduce:
* `make -j4`
### Console dump:
```shell
BASERUBY = /usr/bin/ruby --disable=gems
... -
04:45 PM Bug #18413 (Closed): Segfault in `ripper/lexer.rb`
- Was attempting to build using 3.0.3 today and encountered a segfault with `ripper`.
- 04:18 PM Revision 74b58dd6 (git): Update bundled gems list at 2021-12-17
- 04:18 PM Revision 55a93533 (git): * 2021-12-18 [ci skip]
-
04:17 PM Revision 73d44512 (git): [DOC] Update bundled gems list
-
01:30 PM Revision 9ac52e8e (git): Fix a typo [ci skip]
-
12:05 PM Revision f7e266e6 (git): Enhanced RDoc for case mapping (#5245)
- Adds file doc/case_mapping.rdoc, which describes case mapping and provides a link target that methods doc can link to.
Revises:
String#capitalize
String#capitalize!
String#casecmp
String#casecmp?
String#downcase
... -
11:34 AM Revision 4639336b (git): NEWS.md: Fix a typo
-
10:37 AM Bug #17866: Incompatible changes with Psych 4.0.0
- Can I get a final decision if Psych 4 will be shipped with Ruby 3.1 as a standard library?
I think this is one of the biggest incompatibilities which will be introduced with Ruby 3.1.
As far as I understand, Psych is a standard libra... -
07:35 AM Revision 8d29d129 (git): [rubygems/rubygems] Improve errors a bit more
- https://github.com/rubygems/rubygems/commit/f481e8f41a
-
07:35 AM Revision 15374718 (git): [rubygems/rubygems] Share gem not found logic with transitive dependencies too
- https://github.com/rubygems/rubygems/commit/e4a1a9663d
-
07:35 AM Revision f3b50507 (git): [rubygems/rubygems] Remove unnecessary line break
- https://github.com/rubygems/rubygems/commit/84e2d6a955
-
07:35 AM Revision 79f72a45 (git): [rubygems/rubygems] Fix crash when no matching variants are found for the current platform
- If we are resolving a dependency against a particular platform, and
there are no platform specific variants of the candidates that match
that platform, we should not consider those candidates.
https://github.com/rubygems/rubygems/commit... -
07:35 AM Revision c710cdb9 (git): [rubygems/rubygems] Improve error message if only platform doesn't match
- https://github.com/rubygems/rubygems/commit/077e3c2e4d
-
07:35 AM Revision af4b4fd1 (git): [rubygems/rubygems] Improve resolver error messages
- Use a more standard naming for gems.
https://github.com/rubygems/rubygems/commit/75121e83f1 -
06:46 AM Revision ce6fc20f (git): data type should be `static`
-
06:46 AM Revision c8f2766a (git): `RUBY_DEFAULT_FREE` is not needed.
- pointed by @nobu.
-
06:46 AM Revision 37bd795c (git): `ENV` ivars should not be accessible from ractors
- The `ENV` object can have instance variables like other objects,
but they should be accessed only on the main ractor.
fix https://github.com/ruby/ruby/pull/5263#issuecomment-995585766 -
04:54 AM Revision d524b9de (git): NEWS.md: Add link to `rbs collection` documentation
-
04:46 AM Revision 58333c94 (git): NEWS.md: Describe changes of RBS
-
04:23 AM Bug #18412: Segfault in test_ractor.rb
- Presumably the same failure observed in CI for x86_64-linux-gnu: http://rubyci.s3.amazonaws.com/ubuntu/ruby-3.0/log/20211217T005904Z.log.html.gz
-
02:28 AM Revision 2585ff30 (git): Send the message for s390x to stderr [ci skip]
- Parallel worker's stdout is captured as the control protocol.