Activity
From 11/29/2019 to 12/05/2019
12/05/2019
-
11:54 PM Misc #16360: Enabling IBM PowerPC/Z cases in Travis CI
- I'm happy to work for ppc64le and s390x. In the last few years, the number of the platform-specific issues that showed up in ppc64le and s390x Ruby has been between 5 and 10 every year, so I assume the same pace for my obligation as a m...
-
05:17 AM Misc #16360: Enabling IBM PowerPC/Z cases in Travis CI
- Rei Odaira will work as best effort for both ppc64le and s390x.
https://twitter.com/ReiOdaira/status/1202383090611556353
So it's interesting to add them to CI. -
09:37 PM Revision 2c8d186c (git): Introduce an "Inline IVAR cache" struct
- This commit introduces an "inline ivar cache" struct. The reason we
need this is so compaction can differentiate from an ivar cache and a
regular inline cache. Regular inline caches contain references to
`VALUE` and ivar caches just co... -
07:20 PM Feature #16404 (Closed): Add Proc#ruby2_keywords
- While the need is not as common as for methods, procs could benefit from supporting ruby2_keywords, and there are cases in Rails where keywords are passed through procs using a normal argument splat [1]. If we don't add this, such cases...
- 03:13 PM Revision 38b7f947 (git): * 2019-12-06 [ci skip]
-
03:12 PM Revision 693cba1a (git): Detect started threads when require only
-
03:12 PM Revision 173b8646 (git): Do not start thread when `require 'drb/drb'` only
-
02:46 PM Revision 6477d98e (git): test/lib/jit_support.rb: Update the regexp for icc
- MJIT_CC is always an absolute path.
-
01:51 PM Bug #16403 (Rejected): Unavailable protected methods through `Symbol#to_proc`
- `Proc` by `Symbol#to_proc` calls the method on its argument in an isolated context, so the receiver does not exist.
-
01:34 PM Bug #16403 (Rejected): Unavailable protected methods through `Symbol#to_proc`
- Hello!
I've faced with a bug (I guess):
``` ruby
# protected.rb
# frozen_string_literal: true
class Foo
def initialize(text, *children)
@text = text
@children = children
end
def via_each
@children.red... -
01:37 PM Revision d43b9eb2 (git): lib/drb/drb.rb: suppress warning: instance variable @pool_proxy not initialized
-
01:24 PM Revision f4d9daf2 (git): coroutine/ucontext/Context.c: define __EXTENSIONS__ explicitly
- instead of ruby/config.h, per samuel's request.
https://github.com/ruby/ruby/commit/dbfd4b780e3914a3f27e92c2248254452bf0fd6b#diff-7fd78c3cc8a19b7e0637502983ec26ff -
09:23 AM Revision c3abbc1b (git): ext/openssl/extconf.rb: check with -Werror=deprecated-declarations
- This reverts commit 0d7d8b2989e1738dd902d354cc41186899e6b71e,
but restore `$warnflags` without the flag, to get rid of using
deprecated functions. -
09:18 AM Revision 4c88107c (git): Fix `warning: already initialized constant DidYouMean::VERSION`
- ```
.../gems/did_you_mean-1.3.1/lib/did_you_mean/version.rb:2: warning: already initialized constant DidYouMean::VERSION
.../lib/did_you_mean/version.rb:2: warning: previous definition of VERSION was here
``` -
08:57 AM Revision 75b64435 (git): ext/psych/extconf.rb: braced VPATH is for nmake only
-
07:56 AM Revision 0bca34dd (git): test/io/console/test_io_console.rb: add a memo for the mysterious hack
-
07:29 AM Revision 264d5aff (git): Change encoding of completion list...for more tests
-
06:57 AM Revision ee579200 (git): move an interrupt point.
- `args_ptr` can be corrupted by interrupt handlers.
Pointed by nagachika <https://ruby-trunk-changes.hatenablog.com/entry/ruby_trunk_changes_20191204>. -
06:53 AM Revision b40bb27e (git): test/io/console/test_io_console.rb: Try the hack for Solaris
- I'm not entirely sure why, but test_set_winsize_console gets stuck on
Solaris (and if I recall, macOS). I found a hack for FreeBSD, so I want
to give it a try on Solaris too. -
06:25 AM Revision fa1db8f9 (git): Add missing dependency
- https://travis-ci.org/ruby/ruby/jobs/620972117
-
06:18 AM Revision 72cff5f3 (git): MJIT_CC and MJIT_SUPPORT are not a prefix
- 0b19e15a1239bff9ae854f522f954206ec910cf8 was also for "MJIT_SUPPORT"
too. -
06:16 AM Revision 5fbb4555 (git): Prefer using MJIT_CC for JIT support check
- because Solaris might have CC=cc and we'd like to check full path
MJIT_CC=/opt/developerstudio12.5/bin/cc instead. -
06:05 AM Bug #16402 (Feedback): UTF-16LE BOM causing regex match to fail with "invalid byte sequence in UTF-8"
- I bet your locale setting is UTF-8? Hence the error message. You have to be explicit then. `File.read("u.txt", mode: "rb:bom|utf-16")` Would give you a correct String instance.
-
05:58 AM Bug #16402 (Third Party's Issue): UTF-16LE BOM causing regex match to fail with "invalid byte sequence in UTF-8"
- ``` shell
$ ruby -e 'File.binwrite("u.txt", "\xff\xfe\x00\x01")'
$ file u.txt
u.txt: Little-endian UTF-16 Unicode text, with no line terminators
$ ruby -e 'p /\w+/.match?(File.read("u.txt"))'
Traceback (most recent call last):
1:... -
05:51 AM Revision 199bd851 (git): parse.y: suppress "set but not used" warnings on ripper.y
-
05:47 AM Revision edb80dfe (git): add additional CF info for CI env
- Introduce new RUBY_DEBUG option 'ci' to inform Ruby interpreter
that an interpreter is running on CI environment.
With this option, `rb_bug()` shows more information includes
method entry information, local variables information for eac... -
05:47 AM Revision c88afd53 (git): fix parameter
-
05:45 AM Revision 0d7d8b29 (git): ext/openssl/extconf.rb: do not use -Werror=deprecated-declarations
- It fails to build on Solaris:
```
ossl_cipher.c: 関数 ‘ossl_cipher_init’ 内:
ossl_cipher.c:228:2: エラー: ‘EVP_md5’ is deprecated [-Werror=deprecated-declarations]
228 | EVP_BytesToKey(EVP_CIPHER_CTX_cipher(ctx), EVP_md5(), iv,
| ^~... - 05:17 AM Revision c0d118f4 (git): Fix "cannot find the function: strcpy()" error on arm32 on Travis CI. (#2686)
- This issue happened when `libc.so` and `libm.so` path were not found
and `ldd ruby` command also failed to print the shared dependencies
in `test/fiddle/helper.rb`.
See https://travis-ci.org/ruby/ruby/jobs/611483288#L3018
/home/travis/b... -
04:28 AM Revision ed5d032e (git): debug.rb: expand filenames in breakpoints
- When debugging some local code, specifying a breakpoint to a local
filename does not work, i.e.
break lib/foo.rb:10
Expanding the filename makes it work. FWIW byebug has the same behavior. -
04:06 AM Revision 20031f8b (git): Change encoding of completion list
-
03:49 AM Bug #16392: test-all failure Windows - TestEncoding#test_nonascii_library_path
- I haven't found what's different between the MinGW CI in ruby/ruby and ruby-loco. The above shows a test that fails in ruby-loco, but passes in ruby/ruby.
But, commit df76f2c5 'Make TracePoint.stat a singleton method again (#2726)' f... -
02:02 AM Bug #16399 (Closed): TracePoint.stat disappeared in Ruby-2.7.0-preview3
- Applied in changeset commit:git|df76f2c577b6567b617be2df9451123cc450d1cc.
----------
Make TracePoint.stat a singleton method again (#2726)
[Bug #16399] -
02:02 AM Revision df76f2c5 (git): Make TracePoint.stat a singleton method again (#2726)
- [Bug #16399]
-
01:05 AM Bug #10466 (Closed): rb_eval_string_wrap does not actually wrap in a module binding
- Applied in changeset commit:git|e4db0443bcfc94f9183e8ea72fb4ab560aa005bf.
----------
Make rb_eval_string_wrap specify a cref so constant setting works correctly
Fixes [Bug #10466] -
01:04 AM Revision e4db0443 (git): Make rb_eval_string_wrap specify a cref so constant setting works correctly
- Fixes [Bug #10466]
-
12:55 AM Revision 18d3b5a9 (git): Do not attempt to call methods on the receiver if it is a basic object
-
12:44 AM Revision 88ee375d (git): Revert "Add debug option to check ci failures on solaris"
- This reverts commit f289e3994bbc6560e2e4e5905b52c35c829c972d.
-
12:10 AM Bug #16389: Unexpected tINTEGER in conditional expression
- codinganarchy (Matthew Tanous) wrote:
> Just to clarify, if you don't mind, is this also due to the difference between `.>` (a method) and `>` (an operator)? I ask as `foo unless (@bar&.nil? && @baz > 15)` does not result in a syntax er... - 12:03 AM Revision fbf10ed5 (git): * 2019-12-05 [ci skip]
-
12:02 AM Revision e3587ed8 (git): Support disable-completion
-
12:02 AM Revision ad8fbf44 (git): Fix variable catch
12/04/2019
-
11:32 PM Feature #16255: Make `monitor.rb` built-in
- Thanks for your response! I understood the support policy.
-
04:42 AM Feature #16255: Make `monitor.rb` built-in
- I fixed `new_cond` before `mon_initialize` problem c6e3db0c66312af1e932c21006437419efa9ac75
> https://github.com/rails/rails/blob/461aae05f194f775e6367be9add4dda37746bd5c/activesupport/lib/active_support/concurrency/load_interlock_awa... -
09:10 PM Bug #16239: Crash when accessing postgresql-12
- @jeremyevans0 is correct. This is a fatal interaction between the PostgreSQL 12 client libraries and the GSS implementation provided by macOS. This is being tracked in the pg gem at https://github.com/ged/ruby-pg/issues/311.
An immedi... -
05:28 PM Bug #16331: fails to build with BSD make when any -j option is given (including -j 1)
- Are there plan to merge this fix to ruby_2_6 branch?
-
05:11 PM Misc #16396: What is the reason for this behaviour of Find.find?
- I can not say whether this is the case or not (I work only on Linux), also due to me
using Dir[] preferentially instead. With Dir[] I always make sure to have a trailing
'/' token if I wish to work with directories, and subdirectories,... -
04:10 PM Bug #16389: Unexpected tINTEGER in conditional expression
- mame (Yusuke Endoh) wrote:
> I don't think that your expectation is wrong, but due to parser limitation, we cannot place a non-parenthesized method call as an argument of `&&`. It is a good practice to write parentheses for method call... -
04:09 PM Bug #15980: Coverage shows while/until after raise if/unless as uncovered line
- Yusuke Endoh, I've tested using the following code:
```ruby
loop do
break if rand < 0
break while true
next if rand < 0
break until false
return if rand < 0
break while true
raise if rand < 0
break until... -
09:26 AM Bug #15980: Coverage shows while/until after raise if/unless as uncovered line
- There is a workaround for everyone wants to use lines coverage only with 2.6.5 version (recommended by Jeremy Evans):
```ruby
# Workaround for https://bugs.ruby-lang.org/issues/15980
require "coverage"
Coverage.module_eval do
... -
01:41 AM Bug #15980 (Closed): Coverage shows while/until after raise if/unless as uncovered line
- Applied in changeset commit:git|f9e5c74cd24025a5aa19e318e8fecabf207f1b7b.
----------
compile.c: stop wrong peephole optimization when covearge is enabled
jump-jump optimization ignores the event flags of the jump instruction
being skip... -
01:19 AM Bug #15980: Coverage shows while/until after raise if/unless as uncovered line
- I talked with @ko1, and decide to introduce a stopgap measurement: stop the optimization in question only when coverage measurement is enabled. This is because this issue is critical in coverage measurement, but minor in TracePoint.
... -
12:53 AM Bug #15980: Coverage shows while/until after raise if/unless as uncovered line
- jeremyevans0 (Jeremy Evans) wrote:
> My idea for a hacky workaround: As the correct result is shown when branch coverage is enabled, always run with branch coverage enabled, even if the branch results will not be used.
This issue is ... -
03:25 PM Bug #16400 (Third Party's Issue): You may have encountered a bug in the Ruby interpreter or extension libraries
- Ruby crashed while loading the mysql2 gem. You will probably want to report this to the mysql2 developers: https://github.com/brianmario/mysql2/issues. Be sure to check for existing issues when reporting, as from a brief look this may ...
-
09:34 AM Bug #16400 (Third Party's Issue): You may have encountered a bug in the Ruby interpreter or extension libraries
- 913 /usr/local/rvm/gems/ruby-2.4.4@retailhq/gems/nokogiri-1.8.4/lib/nokogiri/html/element_description.rb
914 /usr/local/rvm/gems/ruby-2.4.4@retailhq/gems/nokogiri-1.8.4/lib/nokogiri/html/element_description_defaults.rb
915 /usr/l... -
02:19 PM Bug #16401 (Closed): [BACKPORT] Disable _FORTIFY_SOURCE on mingw
- The latest version of mingw gcc on cygwin doesn't work with `_FORTIFY_SOURCE`.
The following commits need to be backported to build.
* a7b9f085ff952fcb18f82de39b3bf9ab7e5ba3e7
* 9165fcdfa309052a2adc3c6100ab24204de6c2d1
* e42d9d8df8... -
12:55 PM Bug #16391 (Closed): Dir.pwd, Dir[] pathname case inconsistency
- Applied in changeset commit:git|fb11e6089dbe9d995510977def038a21882bcffe.
----------
[DOC] Added File::FNM_SYSCASE example [Bug #16391] [ci skip] -
12:46 PM Bug #16391: Dir.pwd, Dir[] pathname case inconsistency
- `Dir.pwd` returns `'C:/Users/...'`, not `'C:/users/...'` for me.
> Unfortunately, `File.fnmatch` seems to be case sensitive,
> ...
`File::Constants` has two constants for `File.fnmatch`
* `FNM_CASEFOLD`:
Makes `File.fnmatch` pa... -
12:52 PM Revision fb11e608 (git): [DOC] Added File::FNM_SYSCASE example [Bug #16391] [ci skip]
-
11:59 AM Revision dbfd4b78 (git): coroutine/ucontext/Context.c: Include "ruby/config.h" for Solaris
- getcontext, makecontext, and swapcontext seem to be available only when
`__EXTENSION__` is defined on Solaris. -
11:57 AM Revision a0bc0e1b (git): Fix thread leak in drb
-
07:35 AM Bug #16399 (Closed): TracePoint.stat disappeared in Ruby-2.7.0-preview3
- `TracePoint.stat` method that existed in Ruby 2.6 (including 2.7.0-preview2) no longer exists in Ruby 2.7.0-preview3, but instead, `TracePoint#stat` method that did not exist so far has been added.
Test Script:
```ruby
#!/usr/bin/... -
06:52 AM Bug #16353: Backport 2a477e0e444de6344048101466fb9189b9defddc
- ruby_2_5 r67829 merged revision(s) 2a477e0e444de6344048101466fb9189b9defddc.
- 06:52 AM Revision dcc0a529 (git): merge revision(s) 2a477e0e444de6344048101466fb9189b9defddc: [Backport #16353]
- test_ftp.rb: loosen timeout for Travis osx
https://travis-ci.org/ruby/ruby/jobs/454798071
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
git-svn-id: svn+ssh://ci.ruby-lang.... -
06:32 AM Revision 00bbdf44 (git): implement Range#count
- As matz requested in [Bug #16366].
-
04:36 AM Revision c6e3db0c (git): new_cond before mon_initialize
- MonitorMixin#new_cond can be called before mon_initialize, so we
need to initialize `@monitor` before it.
https://bugs.ruby-lang.org/issues/16255#note-4 -
03:01 AM Bug #16382: SystemStackError thrown when running `LC_ALL="C" RUBYLIB=".:" ruby -E cp932:utf-8 aaa.rb` from where the current dir contains Japanese characters
- same issue with 2.6.5 [x86_64-linux].
I think backport 2.6 is REQUIRED.
```
~/tmp/テスト$ echo "puts 'ok'" > aaa.rb
~/tmp/テスト$ ruby -v
ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
~/tmp/テスト$ LC_ALL="C" RUBYLIB=".:" ruby... -
02:25 AM Bug #16398: Active Support unit test error since caac5f777ae288b5982708b8690e712e1cae0cf6
- This is due to refactoring of `Monitor` class. Ref: https://bugs.ruby-lang.org/issues/16255#note-3
-
12:48 AM Bug #16398 (Closed): Active Support unit test error since caac5f777ae288b5982708b8690e712e1cae0cf6
- This issue has been originally reported at https://github.com/rails/rails/issues/37676 . According to git bisect of ruby repository, this error reproduces since https://github.com/ruby/ruby/commit/caac5f777ae288b5982708b8690e712e1cae0cf6...
-
01:41 AM Bug #16397 (Closed): Line coverage is broken for until and while after guard clause
- Applied in changeset commit:git|f9e5c74cd24025a5aa19e318e8fecabf207f1b7b.
----------
compile.c: stop wrong peephole optimization when covearge is enabled
jump-jump optimization ignores the event flags of the jump instruction
being skip... -
01:40 AM Revision f9e5c74c (git): compile.c: stop wrong peephole optimization when covearge is enabled
- jump-jump optimization ignores the event flags of the jump instruction
being skipped, which leads to overlook of line events.
This changeset stops the wrong optimization when coverage measurement is
neabled and when the jump instruction... -
01:10 AM Revision 5a404efd (git): [ruby/io-console] Fixed `intr: false` mode on Windows
- https://github.com/ruby/io-console/commit/4c172c01aa
-
01:06 AM Bug #16339 (Closed): Forwardable#def_delegator warns and is incorrect on trunk when passed keyword arguments
- Fixed by commit:9fa0166a580e72adf02562b7d60672c6c362d4b7.
-
01:04 AM Bug #15188 (Closed): Incorrect warning "assigned but unused variable" when using ripper with $VERBOSE = true
- Applied in changeset commit:git|447d583536274a2489efc8792653ad35d6f7128a.
----------
Silence incorrect assigned but unused variable warnings in ripper
To only emit the warnings in correct cases would require tracking
local variable usa... -
01:04 AM Revision 447d5835 (git): Silence incorrect assigned but unused variable warnings in ripper
- To only emit the warnings in correct cases would require tracking
local variable usage in ripper, which ripper currently does not do.
Fixes [Bug #15188] -
12:48 AM Bug #16383: TracePoint does not report calls to attribute reader methods
- I'm not sure if skipping tracing for these methods is on purpose for performance reasons or not, but I agree it would be useful to be able to trace such method calls. Attached is a patch that implements tracing for `attr_reader`/`attr_w...
12/03/2019
-
11:59 PM Misc #16393: DevelopersMeeting20191220Japan
- * [Feature #14183] "Real" keyword argument (jeremyevans0)
* Is it OK to merge branch to remove deprecated support for positional hash <-> keyword conversion after 2.7 released?
* [Bug #11022] opening an eigenclass does not change the... -
12:04 PM Misc #16393: DevelopersMeeting20191220Japan
- **NOTE: Please follow the comment format strictly!**
I've created a script to automatically create an markdown-style agenda.
https://gist.github.com/mame/b0390509ce1491b43610b9ebb665eb86
We may ignore a comment that violates the... -
10:40 AM Misc #16393: DevelopersMeeting20191220Japan
- * [Bug #6087] How should inherited methods deal with return values of their own subclass? (mame)
* Matz said "We will fix this (to consistently return Arrays) in 3.0." seven years ago. Now is the time. Final confirmation. -
10:34 AM Misc #16393: DevelopersMeeting20191220Japan
- Carry over:
* [Feature #16264] Real "callable instance method" object. .:method to be a first-class thing, instead of Symbol#to_proc trick (zverok)
* This proposal would make sense only if .: would not be reverted (which, to the be... -
10:33 AM Misc #16393 (Closed): DevelopersMeeting20191220Japan
- Please comment on your favorite ticket numbers you want to ask to discuss with your *SHORT* comment or summary.
(your summary/comment will help us because we don't need to read all of the ticket comments)
*DO NOT* discuss then on thi... -
11:45 PM Feature #14183: "Real" keyword argument
- Shortly after the release of 2.7.0, I would like to merge the branch at https://github.com/jeremyevans/ruby/tree/r3, which fully separates positional and keyword arguments. I've been maintaining this branch for a couple months now and u...
-
10:02 AM Feature #14183: "Real" keyword argument
- I've written a draft of a note about this change in https://github.com/ruby/www.ruby-lang.org/pull/2293.
-
11:35 PM Bug #15629 (Closed): super_method fails on binded/unbinded/cloned methods
- Applied in changeset commit:git|a91637c516779d9ecee5f323e211f0ed71eb06ad.
----------
Make {Method,UnboundMethod}#super_method handle clone/bind/unbind
This wasn't working previously because the iclass entry wasn't
being copied, and wit... -
11:35 PM Revision a91637c5 (git): Make {Method,UnboundMethod}#super_method handle clone/bind/unbind
- This wasn't working previously because the iclass entry wasn't
being copied, and without an iclass entry, super_method returns
nil.
Fixes [Bug #15629] -
11:22 PM Revision f9754f0e (git): compile.c: trivial refactoring
- Use `for` instead of `while` to make it explicit that it is a traverse
of bytecode. -
10:44 PM Bug #15980: Coverage shows while/until after raise if/unless as uncovered line
- mame (Yusuke Endoh) wrote:
> I think of some options to fix:
> ...
My idea for a hacky workaround: As the correct result is shown when branch coverage is enabled, always run with branch coverage enabled, even if the branch results will... -
10:32 PM Bug #15980: Coverage shows while/until after raise if/unless as uncovered line
- Oops, I overlooked this issue. Sorry.
This is a tough problem. The compiler produces the following code:
```
0006 branchunless 13
...
0013 jump 17 (Line 2)
...
0017 putnil (Line 3)
```
The peephole opt... -
10:05 PM Bug #15980: Coverage shows while/until after raise if/unless as uncovered line
- Hello. This thing affects both `return`, `break` and `raise` guard clauses. I want to insist on covering this issue with tests, `test_line_coverage_for_multiple_lines` is too weak. I will try to prepare tests.
Unfortunately this bug w... -
10:38 PM Bug #14119: IPAddr#include? does not seem to support the subnet mask
- As ipaddr has been moved to a gem, I have submitted a pull request for this: https://github.com/ruby/ipaddr/pull/22
-
09:43 PM Bug #16397 (Closed): Line coverage is broken for until and while after guard clause
- Hello. I was working on [ruby gem](https://github.com/andrew-aladev/ruby-zstds) and received a bug with [simplecov](https://github.com/colszowka/simplecov/issues/764). See the following [coverage report](https://codecov.io/gh/andrew-alad...
-
09:41 PM Feature #13083 (Closed): Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- Applied in changeset commit:git|8852fa876039ed177fd5e867f36177d8a9ff411c.
----------
Revert "Regexp#match{?} with nil raises TypeError as String, Symbol (#1506)"
This reverts commit 2a22a6b2d8465934e75520a7fdcf522d50890caf.
Revert [Fea... -
01:34 PM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- It's not my intention to suffer users. Let's cancel the change.
Matz.
-
08:57 AM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- Eregon (Benoit Daloze) wrote:
> > I believe many of us have got used to the original behavior, that is, methods of a Regexp object work permissively and accept nil, and we know we've migrated many pieces of code from `/re/ =~ nilable` /... -
09:40 PM Revision 8852fa87 (git): Revert "Regexp#match{?} with nil raises TypeError as String, Symbol (#1506)"
- This reverts commit 2a22a6b2d8465934e75520a7fdcf522d50890caf.
Revert [Feature #13083] -
09:40 PM Revision 08074eb7 (git): Revert "Revert nil error and adding deprecation message"
- This reverts commit 452bee3ee8d68059fabd9b1c7a75661b14e3933e.
-
09:40 PM Revision a705f647 (git): Revert "Improve warning message"
- This reverts commit 31110d820cc1258cbc84b46ecc65b254c7d5529a.
-
09:40 PM Revision 34a66b1f (git): Revert "Fix warnings in Regexp#{match,match?} specs"
- This reverts commit 782d1b8fb0a039cedef9ad9c94f432dad51901e6.
-
09:18 PM Bug #15613 (Closed): Enumerator::Chain#each doesn't relay block signature
- Applied in changeset commit:git|a029b54ec716812ade37fef1f857c49f821a8cc8.
----------
Make Enumerator::Chain#each treat lambdas as lambda
Previously, lambdas were converted to procs because of how
rb_block_call works. Switch to rb_func... -
09:18 PM Revision a029b54e (git): Make Enumerator::Chain#each treat lambdas as lambda
- Previously, lambdas were converted to procs because of how
rb_block_call works. Switch to rb_funcall_with_block, which
handles procs as procs and lambdas as lambdas.
Fixes [Bug #15613] -
03:58 PM Bug #10495 (Closed): Attaching lldb to a program running `sleep` hangs the VM
- I tried the process on Ubuntu, but I couldn't reproduce the issue. Maybe it is already fixed? Tentatively closing. Let me know if you still see the issue.
AFAIK there is no committer that daily uses `lldb` for ruby. Contribution i... -
03:44 PM Bug #10453 (Rejected): NUM2CHR() does not perform additional bounds checks
- See #15460. `String#setbyte` has accepted not only 0..255 but also any integers. Once it had been limited only to 0..255, but it caused a compatibility issue, and eventually was reverted.
I don't think that this is a good idea in te... -
03:38 PM Bug #16394 (Third Party's Issue): libmysqlclient20 5.7.28-0ubuntu0.18.04.4 causes segmentation fault
- This happens while loading the mysql2 gem:
```
/opt/chef/embedded/lib/libruby.so.2.3(sigsegv+0x3e) [0x7f4ad936d22e] signal.c:890
/lib/x86_64-linux-gnu/libc.so.6 [0x7f4ad8e58f20]
/lib/x86_64-linux-gnu/libc.so.6 [0x7f4ad8f83d76]
/op... -
10:51 AM Bug #16394: libmysqlclient20 5.7.28-0ubuntu0.18.04.4 causes segmentation fault
- duthmanek (Tim Dithmer) wrote:
> OS: Ubuntu 18.04
> ...
Gem Versions:
mysql (2.9.1)
mysql2 (0.5.2) -
10:49 AM Bug #16394 (Third Party's Issue): libmysqlclient20 5.7.28-0ubuntu0.18.04.4 causes segmentation fault
- OS: Ubuntu 18.04
Update from libmysqlclient20 to 5.7.28-0ubuntu0.18.04.4 causes segmentation fault while using mysql- and mysql2-gem.
Stacktrace is in attached log -
03:32 PM Bug #11055 (Closed): autoload resets private_constant
- Applied in changeset commit:git|47c97e1e843159c3c4d57f8c5e22daea57c3ffe1.
----------
Do not lose existing constant visibility when autoloading
This copies the private/deprecate constant visibility across the
autoload. It still is back... -
03:31 PM Revision 47c97e1e (git): Do not lose existing constant visibility when autoloading
- This copies the private/deprecate constant visibility across the
autoload. It still is backwards compatible with setting the
private/deprecate constant visibility in the autoloaded file.
However, if you explicitly set public constant in... -
03:28 PM Bug #13688 (Closed): Thread overflow hangs ruby (not responding ^C)
- Applied in changeset commit:git|5c2c3966851ed074eb468ad36d8d75e53b8eab6c.
----------
Check interrupts before starting thread
Fixes a hang when Thread.new calls Thread.new in a loop.
Fixes [Bug #13688] - 03:27 PM Revision b96d559c (git): * 2019-12-04 [ci skip]
-
03:27 PM Revision 5c2c3966 (git): Check interrupts before starting thread
- Fixes a hang when Thread.new calls Thread.new in a loop.
Fixes [Bug #13688] -
03:25 PM Bug #10250 (Rejected): User-Agent HTTP header not being set on CONNECT requests
- I think that this is not a bug, but a request for a feature to set HTTP headers for a proxy server instead of endpoint.
My survey:
* golang has a dedicated API, ProxyConnectHeader, to specify HTTP headers for a proxy server: https:... -
03:09 PM Bug #16265: Test (spec) failure using current MSYS2 tools, related to -fstack-protector and possibly D_FORTIFY_SOURCE=2
- PR https://github.com/ruby/ruby/pull/2718 shows this issue, and also properly updates MSYS2/MinGW gcc.
-
01:52 PM Misc #16360: Enabling IBM PowerPC/Z cases in Travis CI
- shyouhei (Shyouhei Urabe) wrote:
> Hello. It is definitely a good idea to enhance our CI. But that alone does not improve the code quality. We need someone to fix issues.
> ...
Hello. I agree with it.
Someone, do you have any ide... -
01:26 PM Bug #16395: .any? and .all? methods, flawed.
- > The dynamics of the script is simple, no explanations needed, look for yourselves:
I do not think that this can be a useful issue description because there may be
secondary aspect to consider for when requesting changes, including ... -
12:21 PM Bug #16395 (Rejected): .any? and .all? methods, flawed.
- @Hanmac is right.
```
ary = [1, 2, 3, 4, 5]
result = ary.any? {|n| p n; n == 3 } #=> 1, 2, 3
p result #=> true
result = ary.all? {|n| p n; n != 3 } #=> 1, 2, 3
p result #=> false
```
You may want to use `each` instead of ... -
12:10 PM Bug #16395: .any? and .all? methods, flawed.
- your problem is that `.any?` and `.all?` wants a value returned for the block which is truly or falsely
puts returns nil which is falsely, in the second example count += 1 returns an integer which is truly
EDIT: it looks like yo... -
12:01 PM Bug #16395 (Rejected): .any? and .all? methods, flawed.
- The dynamics of the script is simple, no explanations needed, look for yourselves:
``` ruby
# 100E1 312A3 8B64 282F C4A B28F
result = '99E2E403100E1A685A63312A308B6478282F2B2C4A34B28F7E'
virus = ['100E1',... -
01:03 PM Misc #16396 (Open): What is the reason for this behaviour of Find.find?
- When I have a script at `D:\Downloads\Ruby 2.5.3\rbL\comp\codeShort.rb` with few other files in the same folder, the following searches only the folder where the `.rb` script is located:
``` ruby
Find.find('D:')
```
When I have a... -
10:50 AM Revision 7f2cd2ae (git): fix typo
-
08:56 AM Revision a1f98cd4 (git): vm_args.c: make the keyword deprecation message helpful
- ```
$ ./miniruby -e 'def foo(kw: 1); end; h = {kw: 1}; foo(h)'
-e:1: warning: The last argument is used as the keyword parameter
-e:1: warning: for `foo' defined here; maybe ** should be added to the call?
``` -
08:27 AM Bug #5577: test/testunit/test_parallel.rb causes NoMethodError when file descriptor is limited to 30.
- いまmacOSで試してみましたが、特に刺さるようなことはありませんでした。閉じておきます。
-
08:26 AM Bug #5577 (Closed): test/testunit/test_parallel.rb causes NoMethodError when file descriptor is limited to 30.
- Applied in changeset commit:git|409e4ab740de3852c3667217bcf41b55040f638f.
----------
tool/lib/test/unit/parallel.rb: fail explicitly when failing to get io
`(ulimit -n 30; make test-tool)` fails with unexplicit message:
"undefined meth... -
08:26 AM Revision 409e4ab7 (git): tool/lib/test/unit/parallel.rb: fail explicitly when failing to get io
- `(ulimit -n 30; make test-tool)` fails with unexplicit message:
"undefined method `write' for nil:NilClass" due to lack of stdout.
This change makes it explicit. [Bug #5577] -
05:51 AM Revision e42d9d8d (git): Fixed the inverted condition
-
05:46 AM Revision 9165fcdf (git): Wrap statements in AS_IF properly
-
05:40 AM Feature #16374: Object#nullify to provide scalars with the effect similar to Enumerable#reject
- I think I've proposed `Object#not` (and `Object#!`) for this purpose.
-
05:16 AM Feature #16374: Object#nullify to provide scalars with the effect similar to Enumerable#reject
- IMO, `[1, 2].nullify(&:empty?)&.then(&:join)` is just cryptic.
BTW, why do you write `&.then(&:join)`? I'm afraid you have been corrupted by `&:sym`. -
04:25 AM Bug #16392 (Closed): test-all failure Windows - TestEncoding#test_nonascii_library_path
- ruby-loco build failed, so ran the test locally using runner.rb. Failed on both of the below builds. The new test is valid, but the fix in 14a17063a1 doesn't seem to be working...
```
ruby 2.7.0dev (2019-12-02T23:51:50Z master 14a1... -
04:02 AM Revision 027e847c (git): Fix auto-indent behavior correctly
-
01:16 AM Bug #16382 (Closed): SystemStackError thrown when running `LC_ALL="C" RUBYLIB=".:" ruby -E cp932:utf-8 aaa.rb` from where the current dir contains Japanese characters
- Applied in changeset commit:git|14a17063a11a01d518b4bbaf0eb967330aec3984.
----------
Fixed stack overflow [Bug #16382]
Get rid of infinite recursion in expanding a load path to the real
path while loading a transcoder. -
12:36 AM Bug #16389 (Rejected): Unexpected tINTEGER in conditional expression
-
12:14 AM Bug #16389 (Closed): Unexpected tINTEGER in conditional expression
- You need to parenthesize the argument 15.
```
foo unless (@bar&.nil? && @baz&.>(15))
```
I don't think that your expectation is wrong, but due to parser limitation, we cannot place a non-parenthesized method call as an argument o...
12/02/2019
-
11:51 PM Revision 14a17063 (git): Fixed stack overflow [Bug #16382]
- Get rid of infinite recursion in expanding a load path to the real
path while loading a transcoder. -
11:02 PM Revision 8bddf1bc (git): mjit.c: fix a mismatch of malloc'ed type
- Coverity Scan found this issue.
-
09:20 PM Feature #12928: Use socket conect_timeout in net stdlib for open_timeout
- It looks like we can now use the `resolv_timeout` `Socket.tcp` option that was recently added by https://bugs.ruby-lang.org/projects/ruby-trunk/repository/git/revisions/0e9d56f5e73ed2fd8e7c858fdea7b7d5b905bb64.
The only complication w... -
08:23 PM Revision 424ad9a4 (git): Make more attempts to check for the precision of Process.times
- * Process.clock_getres specs use 10_000 but that's quite slow for
the Process.times spec. -
06:33 PM Bug #16391 (Closed): Dir.pwd, Dir[] pathname case inconsistency
- Directory globbing case sensitivity is os-dependent
(https://ruby-doc.org/core-2.6.5/Dir.html, glob,
"Case sensitivity depends on your system");
On Windows 10, directory globbing is case insensitive,
and may return glob matches that ... - 04:41 PM Revision c688487f (git): * 2019-12-03 [ci skip]
-
04:39 PM Revision a9256013 (git): Support incremental search by last determined word
- In the incremental search by C-r, search word is saved when it's determined. In
the next incremental search by C-r, if a user presses C-r again with the empty
search word, the determined previous search word is used to search. -
04:39 PM Revision bce38f70 (git): The C-r in vi command mode is also incremental search
-
04:37 PM Bug #16390 (Third Party's Issue): Crash report for ruby2.6.4p104
- This crash happens inside the pg gem. It's either caused by the pg gem, libpq (PostgreSQL), or one of the internal Mac OS libraries listed.
```
/usr/lib/system/libsystem_platform.dylib(_sigtramp+0x1d) [0x7fff6e865b1d]
/usr/lib/syste... -
04:21 PM Bug #16390 (Third Party's Issue): Crash report for ruby2.6.4p104
- Hello, Ruby 2.6.4 just crashed for me while using [the apartment gem](https://github.com/influitive/apartment) to switch postgres search paths in Rails.
Attached is the console output in `crash-console-output.txt`, as well as the cras... -
03:55 PM Feature #16166: Remove exceptional treatment of *foo when it is the sole block parameter
- Eregon (Benoit Daloze) wrote:
> The `*rest` parameter will not splat either, or it would delegate arguments incorrectly.
Thanks! Finally I can see some meaning behind the madness. Normally I would expect `proc{ |*a| }.call([1,2])` to... -
03:44 PM Bug #16385 (Third Party's Issue): Segmentation fault when running a rails app with puma
- This crash happens inside the pg gem. It's either caused by the pg gem, libpq (PostgreSQL), or one of the internal Mac OS libraries listed.
```
3 libsystem_platform.dylib 0x00007fff64d62b1d _sigtramp + 29
4 libdispatc... -
01:30 PM Bug #16385 (Third Party's Issue): Segmentation fault when running a rails app with puma
- got a new machine and after reinstalling a dev env, i cannot run locally a functional rails app
seems to be linked to puma since the app can be booted and the database can be accessed from the rails console.
If somebody more competen... -
03:33 PM Bug #16389 (Rejected): Unexpected tINTEGER in conditional expression
- I'm not sure that this is a bug, or simply an unexpected result of operator precedence, but I am seeing a result that appears to me to be an issue.
When putting a conditional expression after a command call using `unless`, I am seeing... -
08:17 AM Revision a47d6c25 (git): Fix random failure on getusage-missing environments
- `* 1e6` makes a spurious result about floating point number's precision.
```
irb(main)[01:0]> 16.028
=> 16.028
irb(main)[02:0]> (16.028 * 1e6)
=> 16027999.999999998
``` -
07:25 AM Revision 1a88adcd (git): Fix Leaked file descriptor in test/did_you_mean
- https://github.com/ruby/ruby/commit/de74d2c3b0005048a2c4433bde68b9be10c86f01/checks?check_suite_id=336910877#step:19:131
```
Leaked file descriptor: NameErrorExtensionTest#test_correctable_error_objects_are_dumpable: 7 : #<File:test_name... -
07:23 AM Revision 185f7608 (git): Debug random failure of ruby-spec on ci.rvm.jp
-
05:15 AM Revision 9afaf139 (git): Revert "builtin_binary.inc needs miniruby itself for RubyVM.each_builtin"
- This reverts commit 2615030c521afc822c66a7e139ccba3d2365ab56,
which doesn't work when cross compiling, except for mingw. -
05:03 AM Revision 2615030c (git): builtin_binary.inc needs miniruby itself for RubyVM.each_builtin
-
04:20 AM Revision a7b9f085 (git): Disable _FORTIFY_SOURCE on mingw for now
- It causes a link error due to some `__*_chk` functions on mingw.
-
04:17 AM Revision b1c92363 (git): Wait for the main thread to start reading by Queue
- Otherwise, the written data to pty before the reading started may
be just lost. -
01:32 AM Revision de74d2c3 (git): Simplify variable declaration by C99
-
12:41 AM Bug #15460: Behaviour of String#setbyte changed
- On the 2.6 branch, this causes a declaration-after-statement warning.
12/01/2019
-
11:13 PM Feature #16255: Make `monitor.rb` built-in
- > The latest google-cloud-pubsub breaks too because new_cond comes before initialization:
Rails encountered the same issue(related to https://github.com/rails/rails/pull/37822).
The error and backtrace of in this case are as follow... -
10:53 AM Feature #16255: Make `monitor.rb` built-in
- Could you share the error and backtrace in both of these cases?
-
08:35 AM Feature #16255: Make `monitor.rb` built-in
- The latest `google-cloud-pubsub` breaks too because `new_cond` comes before initialization: https://github.com/googleapis/google-cloud-ruby/blob/google-cloud-pubsub/v1.1.2/google-cloud-pubsub/lib/google/cloud/pubsub/async_publisher.rb#L9...
-
05:20 AM Feature #16255: Make `monitor.rb` built-in
- This change breaks the library that extends `Monitor` class.
For example, Rails has such class and it breaks in Ruby 2.7.
https://github.com/rails/rails/blob/461aae05f194f775e6367be9add4dda37746bd5c/activesupport/lib/active_support/c... -
07:18 PM Revision 103b0412 (git): Support incremental search again by C-r in incremental search
-
06:53 PM Revision b3ea0980 (git): Check MJIT support in one place
- to fix test failure on trunk-no-mjit
https://gist.github.com/ko1/32ab982ffd7555988818773c08f97123 -
06:51 PM Revision 6bc8b4d8 (git): Skip --jit-debug= test on mswin
- it fails like
https://ci.appveyor.com/project/ruby/ruby/builds/29235837/job/v0apdjj4qx8afars -
06:30 PM Revision c7f05310 (git): Process Backspace key in incremental search correctly
-
06:09 PM Revision e15b0313 (git): Search history to back in the middle of histories
-
04:34 PM Revision 4d7a6d04 (git): Avoid unnecessary tzset() call
- Akatsuki reported ENV['TZ'] = 'UTC' improved 7x-8x faster on following code.
t = Time.now; 100000.times { Time.new(2019) }; Time.now - t
https://hackerslab.aktsk.jp/2019/12/01/141551
commit 4bc1669127(reduce tzset) dramatically improved... - 03:05 PM Revision 43811cc3 (git): * 2019-12-02 [ci skip]
-
03:03 PM Revision 7f0d5170 (git): Remove obsolete code
-
02:54 PM Revision 8cb3f29a (git): The ed_search_prev_history should always search to backward
-
02:54 PM Revision f1cfc7da (git): Reline::HISTORY can take Range object
-
01:11 PM Revision 617a3735 (git): Update to ruby/spec@dcf4955
-
01:11 PM Revision 60d362b0 (git): Update to ruby/mspec@aa28e95
-
12:55 PM Revision ab516e26 (git): [ruby/spec] Fix failures with LC_ALL=C
- https://github.com/ruby/spec/commit/51047687c0
https://github.com/ruby/spec/commit/2b87b467cc -
11:26 AM Revision 4e03a729 (git): Constified mjit_init
-
11:13 AM Feature #9602: Logic with `Enumerable#grep`
- I agree with sawa's opinion. `Enumerable#grep` and other methods using `===` internally should accept more than one arguments, following `when` conditions.
Yukihiro Matsumoto wrote:
> We should use #select for more complex filtering... -
10:29 AM Revision cb760f36 (git): Constified
-
10:00 AM Revision 91af5542 (git): Fix a mistake excluding NULL in the end
-
09:35 AM Revision 8a677a6e (git): Workaround missing strndup on Windows
- https://ci.appveyor.com/project/ruby/ruby/builds/29230976/job/c910t37313edb97k
-
09:25 AM Revision 3e2753ad (git): Use build dir for testing --jit-debug
- to fix failure like https://github.com/ruby/ruby/runs/327745536
-
08:58 AM Revision a19d625e (git): Allow specifying arbitrary MJIT flags by --jit-debug
- This is a secret feature for me. It's only for testing and any behavior
with this flag override is unsupported.
I needed this because I sometimes want to add debug options but do not
want to disable optimizations, for using Linux perf. -
08:43 AM Feature #15563: #dig that throws an exception if a key doesn't exist
- matz (Yukihiro Matsumoto) wrote:
> I am against `dig!` for this purpose. When we have two versions of a method (`foo` and `foo!`), the bang version should be more dangerous than the non-bang version. `dig!` is not the case.
> ...
I thi... -
08:40 AM Feature #16095 (Rejected): 2 Features: remove (simplify) 'new' keyword and Property Shorthand
- One of the requests is a duplicate of an already rejected request.
-
07:58 AM Feature #16095: 2 Features: remove (simplify) 'new' keyword and Property Shorthand
- Please, do not mix requests for multiple unrelated features in one feature request. It makes it impossible to properly address them. For example, what should happen with this feature request if one feature gets accepted and one gets reje...
-
05:38 AM Revision bdc62dfc (git): Fixed type of an index variable
-
04:26 AM Revision 9914d6e9 (git): Relax test strictness for error message from KeyError
-
03:29 AM Revision cc7455dd (git): Relax test requirements for DYM's verbose formatter
-
03:24 AM Revision 56faa13a (git): remove spaces to pass a test.
- 23d7f4c5e1ce164e78d77de694dccc0c41f6de3d breaks a test which expect
to match error message. To avoid this failure, use #strip for expect
and actual results. - 02:08 AM Revision 23d7f4c5 (git): * remove trailing spaces. [ci skip]
-
02:08 AM Revision 0fef5266 (git): Do not call 'gem "did_you_mean"' for now
- This will slow down the time that the +require+ method takes to load DYM,
but this has caused a build failure in a certain situation:
https://ci.appveyor.com/project/ruby/ruby/builds/29214253/job/r9u9c8p95tnlftt3#L24965
which is repo... - 02:08 AM Revision 171803d5 (git): Promote did_you_mean to default gem
- At the moment, there are some problems with regard to bundler + did_you_mean because of did_you_mean being a bundled gem. Since the vendored version of thor inside bundler and ruby itself explicitly requires did_you_mean, it can become d...
11/30/2019
-
11:23 PM Revision a2fc6a51 (git): [ruby/fileutils] Fix test failure under ruby 2.4
- `Exception#full_message` is only defined on ruby 2.5.0 and above.
https://github.com/ruby/fileutils/commit/a8968f41ed -
11:22 PM Revision fa0f3eff (git): [ruby/fileutils] Fix error printing test failure
- `exception_details` is not defined anywhere.
This commit fixes the following test crash in ruby 2.4
```
Error: test_assert_output_lines(TestFileUtils): NoMethodError: undefined method `exception_details' for #<TestFileUtils:0x00005556e... -
09:29 PM Revision 5b1f7f26 (git): Skip if getrusage is not supported
- 1243255c3a36433041012b6107a5ac48658a0895 broke ci.rvm.jp tests like
http://ci.rvm.jp/results/trunk_clang_39@silicon-docker/2445098.
253232c028a5565dbeecc05fab5e81b35ab58bcc works only if getrusage is supported. -
08:26 PM Revision 1243255c (git): Update to ruby/spec@4eec3dc
-
08:26 PM Revision ab834527 (git): Update to ruby/mspec@a401f63
-
05:34 PM Feature #16294: Make MatchData frozen and forbid MatchData.allocate
- @nobu Thanks for the change! I'll adapt the specs.
-
05:18 PM Bug #16192 (Closed): ENV.update hash values ignored when block given
- Applied in changeset commit:git|5e0479f26afe1505afd9014ea96a206a88845828.
----------
ENV.update should not call block on existing keys
[Bug #16192] -
05:18 PM Bug #16192: ENV.update hash values ignored when block given
- This is a clear bug, I'll merge @nobu's patch.
There are already specs for this from https://github.com/ruby/spec/pull/714, which I'll synchronize to MRI soon. - 05:18 PM Revision 93a51241 (git): * 2019-12-01 [ci skip]
-
05:18 PM Revision 5e0479f2 (git): ENV.update should not call block on existing keys
- [Bug #16192]
-
09:28 AM Feature #16379: Backporting ... to Ruby 2.4 - 2.6 and pass_keywords
- jeremyevans0 (Jeremy Evans) wrote:
> In regards to `pass_keywords`, this wouldn't even be a backport, this would be a brand new feature, as `pass_keywords` isn't implemented in the master branch.
It would be a new method in Ruby 2.7,... -
02:26 AM Feature #16379: Backporting ... to Ruby 2.4 - 2.6 and pass_keywords
- I'm against backporting features (not just this particular feature) to already released ruby versions. For one, not everyone runs on the latest tiny release, and having different feature sets in tiny versions is likely to lead to user c...
-
09:27 AM Feature #16131: Remove $SAFE, taint and trust
- I released the new versions: fileutils, webrick, date, dbm, etc, gdbm, stringio, zlib.
@kou rexml, rss, fiddle, strscan
@nobu io-console
Can you release the new versions contained to drop taint support? and Can you import upstrea... -
09:21 AM Revision b94d0609 (git): [ruby/zlib] Bump version to 1.1.0
- https://github.com/ruby/zlib/commit/5af77c1ee8
-
09:14 AM Revision 7ebcee6b (git): [ruby/gdbm] Bump version to 2.1.0
- https://github.com/ruby/gdbm/commit/ffb2b063a3
-
09:11 AM Revision 56567c76 (git): [ruby/etc] Bump version to 1.1.0
- https://github.com/ruby/etc/commit/78987ce56a
-
09:09 AM Revision 08c866d5 (git): [ruby/fileutils] Bump version to 1.4.1
- https://github.com/ruby/fileutils/commit/da15e3ce06
-
09:01 AM Revision 06b9b78e (git): [ruby/dbm] Bump version to 1.1.0
- https://github.com/ruby/dbm/commit/163078359d
-
08:58 AM Revision 32e54795 (git): Revert "[ruby/fileutils] Fix #install with "X" mode option"
- This reverts commit eab88d20eaa925d5e61a2a65820a099b46ccf3f8.
The some CI was broken with this. -
08:52 AM Revision 5e9f0864 (git): [ruby/webrick] Check the feature by itself, instead of the version number
- https://github.com/ruby/webrick/commit/79d7922de9
-
08:50 AM Revision a98632d5 (git): [ruby/webrick] Enabled chunked encoding if Transfer-Encoding: chunked header is set
- Patch from Leonard Garvey.
Fixes Ruby Bug 9986.
https://github.com/ruby/webrick/commit/8cff7f3995 -
08:49 AM Revision edfbffb2 (git): [ruby/webrick] Bump version to 1.6.0
- https://github.com/ruby/webrick/commit/c5635fa5e2
-
08:48 AM Revision c75100d0 (git): [ruby/webrick] Allow WEBrick::HTTPServlet::CGIHandler :CGIInterpreter option to be array
- This way you don't need to escape each entry.
Implements Ruby Feature 15170.
https://github.com/ruby/webrick/commit/d8086e600c -
08:47 AM Revision f7cf5416 (git): [ruby/webrick] Document HTTPResponse#body callable option
- https://github.com/ruby/webrick/commit/d51836d03d
-
08:36 AM Revision ea4272d0 (git): [ruby/fileutils] Bump version to 1.4.0
- https://github.com/ruby/fileutils/commit/f92145b10b
-
08:32 AM Revision 3b9e1c0b (git): Move gemspec of fileutils under the toplevel of lib directory.
-
08:31 AM Revision eab88d20 (git): [ruby/fileutils] Fix #install with "X" mode option
- `FileUtils#install` methed raises an unexpected `TypeError`, when
called with `mode:` option which has `"X"`.
```
$ ruby -rfileutils -e 'FileUtils.install("tmp/a", "tmp/b", mode: "o+X")'
/opt/local/lib/ruby/2.7.0/fileutils.rb:942:in `di... -
08:31 AM Revision aab74fc9 (git): [ruby/fileutils] Added `test_install_mode_option`
- https://github.com/ruby/fileutils/commit/bb10efe104
-
08:30 AM Revision 0a7d26be (git): [ruby/fileutils] Remove version.rb
- Loading separate version.rb unnecessary increases every start-up
time. In the other hand, the gemspec file is parsed only when
building the gem file.
https://github.com/ruby/fileutils/commit/8359cf7cce -
07:44 AM Revision c064018a (git): Make extract-gems only if test_task is check
-
07:44 AM Revision bb3542cc (git): Add update-gems before extract-gems
- (windows.yml used `nmake up`)
-
07:44 AM Revision 2eb4afb1 (git): Add extract-gems to GitHub Actions CI
-
07:29 AM Revision cf145928 (git): [ruby/readline-ext] Prepare to gem release
- https://github.com/ruby/readline-ext/commit/e5b969215a
-
07:15 AM Bug #16384 (Assigned): Cannot cross-compile 2.7: undefined method `each_builtin' for RubyVM:Class (NoMethodError)
-
06:18 AM Bug #16384 (Closed): Cannot cross-compile 2.7: undefined method `each_builtin' for RubyVM:Class (NoMethodError)
- Due to `each_builtin` existing only in miniruby, Ruby 2.7 cannot be built when configured for cross-compilation.
## Environment
```
$ ruby -v
ruby 2.7.0preview3 (2019-11-23 master b563439274) [x86_64-linux]
$ lsb_release -a
No ... -
06:54 AM Revision 856f9990 (git): [ruby/forwardable] Bump version to 1.3.0
- https://github.com/ruby/forwardable/commit/e56f0f83c6
-
06:53 AM Revision 9fa0166a (git): [ruby/forwardable] Fix keyword argument separation warnings on Ruby 2.7+
- Do so in a way that is also compatible with previous versions.
https://github.com/ruby/forwardable/commit/b2dd340988 -
06:39 AM Revision af4b3f16 (git): [ruby/stringio] Bump version to 0.1.0
- https://github.com/ruby/stringio/commit/4c1e267e1a
-
06:38 AM Revision 990025cf (git): [ruby/stringio] RbConfig::LIMITS only provide after Ruby 2.5
- https://github.com/ruby/stringio/commit/1fed3aacd3
-
05:48 AM Revision e764dff3 (git): [ruby/date] Bump version to 3.0.0
- https://github.com/ruby/date/commit/202b2dad93
-
05:48 AM Revision 80705e2c (git): Add to support the single commit for sync_default_gems.rb
-
04:06 AM Misc #16262 (Closed): DevelopersMeeting20191128Japan
- The meeting has been already ended. I'll create a new ticket DevelopersMeeting20191220Japan later.
-
03:17 AM Bug #16383 (Closed): TracePoint does not report calls to attribute reader methods
- TracePoint does not report calls to attribute reader methods (e.g. methods defined using `attr_accessor` or `attr_reader`.)
**Code sample to demonstrate:**
```ruby
class Person
attr_accessor :first_name
attr_accessor :last_n... -
02:28 AM Bug #16382: SystemStackError thrown when running `LC_ALL="C" RUBYLIB=".:" ruby -E cp932:utf-8 aaa.rb` from where the current dir contains Japanese characters
- 2.6.5 seems to be working fine:
```
~/GitHub/ruby/did_you_mean/テスト$ ruby -v
ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-darwin18]
~/GitHub/ruby/did_you_mean/テスト$ echo "puts 'ok'" > a.rb
~/GitHub/ruby/did_you_mean/テスト$ LC_AL... -
02:13 AM Bug #16382 (Closed): SystemStackError thrown when running `LC_ALL="C" RUBYLIB=".:" ruby -E cp932:utf-8 aaa.rb` from where the current dir contains Japanese characters
- ## Steps to reproduce
```
~/GitHub/ruby/did_you_mean/テスト$ LC_ALL="C" RUBYLIB=".:" ruby -E cp932:utf-8 aaa.rb
Traceback (most recent call last):
2: from <internal:gem_prelude>:5:in `<internal:gem_prelude>'
1: from /Users/yuki/.rb... -
02:20 AM Revision f8cc05de (git): Use @eof variable for ReidlineInputMethod#eof?
- "IRB::InputMethod#eof?" requires eof status each user input but
"ReidlineInputMethod#eof?" used "Reline.eof?" what is singleton data.
"ReidlineInputMethod#eof?" is changed to use the result of user input.
11/29/2019
-
11:00 PM Revision 0b1b2f24 (git): Remove e2mmap from sync_default_gems.rb
-
11:00 PM Revision c50d30f6 (git): Simplified ErrDimensionMismatch class
-
11:00 PM Revision 2f66c443 (git): Support argument for ErrNotRegular
-
11:00 PM Revision 0c59bfae (git): Also replace E2MM to standard exception class
-
11:00 PM Revision 0950ef9a (git): Remove e2mmap entries from docs
-
11:00 PM Revision c1059e99 (git): Support existence usecase for the custom exception classes
-
11:00 PM Revision 5044260d (git): replace raise method from e2mmap on Scalar class
-
11:00 PM Revision 9b950310 (git): raise method accepts 3 argument with exception class
-
11:00 PM Revision f47f2076 (git): Retire to maintain e2mmap on ruby core
-
11:00 PM Revision 04511b99 (git): Remove re-define embedded error classes and extract argument on custom error classes
-
11:00 PM Revision d82c541a (git): Use simple exception classes instead of e2mmap
-
06:32 PM Revision 0c273b22 (git): Supress class variable overtaken warning when original modules are the same
- This issue was exposed by recent commits to better support including
refined modules. -
04:38 PM Feature #16381: Accept resolv_timeout in Net::HTTP
- On second thought, I'm not thrilled about adding a new config option like this.
I think name resolution is logically part of opening a socket, so I would expect a `Net::OpenTimeout` if name resolution takes longer than the specified amo... -
01:33 PM Feature #16381 (Open): Accept resolv_timeout in Net::HTTP
- This is a follow-up to https://bugs.ruby-lang.org/issues/15553 and a successor of https://github.com/ruby/ruby/pull/1806 (the credit to Carl Hörberg).
Unlike https://github.com/ruby/ruby/pull/1806, this patch introduces a separate `re... - 03:21 PM Revision 8a1f313e (git): * 2019-11-30 [ci skip]
-
03:15 PM Revision d1ef4fd0 (git): Make single line pattern matching void expression
- Instead of returning `nil`, raise a syntax error if its value is
used. [Feature #16355] -
08:51 AM Bug #16366: .count on endless range causes infinite loop
- I introduce general solution.
Notes:
* there are no "(1..).count" test. can anyone write it?
* My fix can introduce additional problems because it increases interrupt points. Please report us if you find a problem on your app.
* ... -
08:48 AM Bug #16366 (Closed): .count on endless range causes infinite loop
- Applied in changeset commit:git|36da0b3da1aed77e0dffb3f54038f01ff574972b.
----------
check interrupts at each frame pop timing.
Asynchronous events such as signal trap, finalization timing,
thread switching and so on are managed by "in... -
08:47 AM Revision 36da0b3d (git): check interrupts at each frame pop timing.
- Asynchronous events such as signal trap, finalization timing,
thread switching and so on are managed by "interrupt_flag".
Ruby's threads check this flag periodically and if a thread
does not check this flag, above events doesn't happen.
... -
08:38 AM Revision c4686b92 (git): Revert "Treat :@1, :@@1, @1, and @@1 correctly to check termination"
- This reverts commit 5e275dd2af4d9d24cdb1cfc0f232f348dae9c2cd.
...The @1 type numberd parameter is reverted from Ruby syntax. -
08:35 AM Revision bbbe481d (git): Add SECURITY.md [ci skip]
- for https://github.com/ruby/ruby/security/policy
-
08:32 AM Feature #16289 (Closed): Reduce duplicated warnings for the change of Ruby 3 keyword arguments
- Applied in changeset commit:git|191ce5344ec42c91571f8f47c85be9138262b1c7.
----------
Reduce duplicated warnings for the change of Ruby 3 keyword arguments
By this change, the following code prints only one warning.
```
def foo(**opt);... -
08:12 AM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
- Matz accepted this with #16345. I'll commit it soon.
-
08:32 AM Revision 191ce534 (git): Reduce duplicated warnings for the change of Ruby 3 keyword arguments
- By this change, the following code prints only one warning.
```
def foo(**opt); end
100.times { foo({kw:1}) }
```
A global variable `st_table *caller_to_callees` is a map from caller to
a set of callee methods. It remembers that a war... -
08:07 AM Feature #16364 (Closed): Top-level ruby2_keywords
- Applied in changeset commit:git|3a87826d0c3dd4c42e327e0cd4fb0806d898497f.
----------
vm_method.c: add top-level ruby2_keywords
This is a top-level version of Module#ruby2_keywords.
It can be used for functions (top-level methods) that ... -
07:51 AM Revision 3a87826d (git): vm_method.c: add top-level ruby2_keywords
- This is a top-level version of Module#ruby2_keywords.
It can be used for functions (top-level methods) that delegates
arguments. [Feature #16364] -
02:25 AM Revision 5ad32d55 (git): `LoadError` is not a subclass of `StandardError`
-
02:21 AM Revision f83bebdf (git): Skip useless test
- `JSONGeneratorTest#test_remove_const_seg` is meaningful only for
the extension library version, but nonsense for pure ruby version. -
02:17 AM Revision ba1cb388 (git): Fixed the position in NEWS [Feature #16348]
- [ci skip]
-
02:09 AM Revision a593186a (git): Nmake needs `VPATH`
-
01:46 AM Feature #16345: Don't emit deprecation warnings by default.
- Matz,
We already have `RUBYOPT=-W0` so no change is needed here for a global suppression. Maybe add `RUBYOPT=--no-deprecation` or something like that.
The question is about the default here:
1. Should default be "warn once pe... -
01:16 AM Revision 98006cea (git): Add dependency on bundled yaml.h when using