Project

General

Profile

Activity

From 06/02/2019 to 06/08/2019

06/08/2019

01:20 PM Bug #15907: gem bin stub commands are failing
Hiroshi,
Good evening. A ruby-loco CRON job just happened to run on 3776c48cf4, and it passed.
Thank you, and ...
MSP-Greg (Greg L)
04:55 AM Bug #15907 (Assigned): gem bin stub commands are failing
Hi, Greg.
Thanks to your report. I reverted b76630f73e for another reason. Can you try with the current master as ...
hsbt (Hiroshi SHIBATA)
04:46 AM Bug #15907: gem bin stub commands are failing
Sorry for forgetting (to many hours coding today).
One should be able to repo this by copying the lib/rubygems fol...
MSP-Greg (Greg L)
04:40 AM Bug #15907 (Closed): gem bin stub commands are failing
Commands like
```ruby
bundle version
irb --version
rake --version
rdoc --version
```
are failing. All failure...
MSP-Greg (Greg L)
12:58 PM Misc #15874: DevelopersMeeting20190613Japan
* [Feature #14912] Introduce pattern matching syntax ([pitr.ch](https://twitter.com/pitr_ch))
* Could the pattern ...
pitr.ch (Petr Chalupa)
12:46 PM Misc #15874: DevelopersMeeting20190613Japan
* [Bug #15908] Detecting BOM with non-UTF encoding nobu (Nobuyoshi Nakada)
12:44 PM Bug #15908 (Closed): Detecting BOM with non-UTF encoding
Currently, "bom|" encoding prefix to `File.open` is ignored if the encoding name is not a UTF.
But one usage of BOM ...
nobu (Nobuyoshi Nakada)
12:17 PM Bug #15857: <=> の右辺が <=> を実装していない場合の振る舞い
The patch looks good to me. Eregon (Benoit Daloze)
11:56 AM Feature #14912: Introduce pattern matching syntax
Hi, I am really looking forward to this feature. Looks great!
However I'd like to make few suggestions which I be...
pitr.ch (Petr Chalupa)
11:08 AM Revision f42588f7 (git): Make RUBY_RELEASE_DATE full on development
I cannot tell the order just by commit hashes. nobu (Nobuyoshi Nakada)
10:46 AM Revision 1ca03dc4 (git): Suppress warnings by gcc 9.1
nobu (Nobuyoshi Nakada)
10:40 AM Revision 27a59ca2 (git): file.c: fix compile error with MacPorts gcc
With the SDK of Xcode 10.2.1, `API_AVAILABLE` and so on macros are
not defined in <os/availability.h> when using a co...
nobu (Nobuyoshi Nakada)
09:44 AM Revision 5a840517 (git): Fix broken `gem unpack`
* lib/rubygems/commands/unpack_command.rb: 'rubygems/package' is
required here, to fix broken `gem unpack` command.
nobu (Nobuyoshi Nakada)
09:44 AM Revision 21de4a57 (git): io.c: fold very very long lines
nobu (Nobuyoshi Nakada)
05:24 AM Bug #15807: Range#minmax is slow and never returns for endless ranges
I think this is a bug we should fix, even if it breaks code relying on this bug ("all bug fixes are incompatibilities... jeremyevans0 (Jeremy Evans)
04:49 AM Revision 3776c48c (git): Revert "require rubygems/package where used"
This reverts commit b76630f73e8362d3072bfa7178471ddc5d21c235.
It fails with `make test-bundler BUNDLER_SPECS=runti...
hsbt (Hiroshi SHIBATA)
12:42 AM Feature #15665: Cannot compile socket extension on Mojave
@nobu This should be a bug, not feature. Please mark it as a bug and backport it into 2.6 branch. franklinyu (Franklin Yu)

06/07/2019

11:44 PM Feature #15894: Remove support for IA64
Here is a brief overview of one possible plan:
- We remove IA64 from 2.7.
- We retain IA64 in 2.6 which has a the...
ioquatix (Samuel Williams)
03:15 PM Revision 1696f80f (git): * 2019-06-08
git[bot]
03:14 PM Revision 19977cc7 (git): Remove unnecessary variables
aycabta (aycabta .)
02:49 PM Revision ffaefcad (git): Report a sudden death of workers
nobu (Nobuyoshi Nakada)
02:37 PM Revision 75751dca (git): test/openssl/utils.rb: Extend the timeout for armv7l
https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20190607T051708Z.fail.html.gz mame (Yusuke Endoh)
01:48 PM Revision b76630f7 (git): require rubygems/package where used
* lib/rubygems/commands/unpack_command.rb: 'rubygems/package' is
required. fix the failure of `gem unpack` command...
nobu (Nobuyoshi Nakada)
10:08 AM Bug #15904 (Feedback): Ruby crashes when executing Pronto gem with Rubocop
Does it occur with 2.5.5, 2.6.3, or 2.7.0-preview1? nobu (Nobuyoshi Nakada)
09:57 AM Revision 65669191 (git): ripper_state_lex.rb: chomp CR
* lib/rdoc/parser/ripper_state_lex.rb (RDoc::Parser::RipperStateLex):
chomp newline, including CR, from here docume...
nobu (Nobuyoshi Nakada)
05:47 AM Bug #15906 (Closed): a=a のような式をもつ条件分岐が意図しない挙動をする
Applied in changeset commit:git|a6a26e42b15c46f117f4fce07a2050e9d727355d.
----------
compile.c: Partially revert r63...
mame (Yusuke Endoh)
05:20 AM Bug #15906 (Closed): a=a のような式をもつ条件分岐が意図しない挙動をする
[ruby-list:50781] から一部転載します。
```
下記スクリプトの結果が期待と違います。なぜでしょうか?
a = a は不要ですが、なにもしないことを明示するために書いたものです。
なおOS付属の ruby...
nagachika (Tomoyuki Chikanaga)
05:46 AM Revision a6a26e42 (git): compile.c: Partially revert r63870 which caused wrong optimization
[Bug #15906] mame (Yusuke Endoh)
04:46 AM Revision b8af33e6 (git): Skip one assertion for OpenSSL::PKey::EC::Point#mul on LibreSSL
LibreSSL 2.8.0+ does not support multiple elements in the first
argument.
jeremyevans (Jeremy Evans)
04:16 AM Revision 119ca434 (git): Make specs pass on OpenBSD
Skip Process clockres specs that don't work on either FreeBSD or
Solaris/AIX in addition to OpenBSD.
Run most curren...
jeremyevans (Jeremy Evans)
03:04 AM Feature #15665: Cannot compile socket extension on Mojave
I'm not sure nobu's changesets are bug or feature.
But this issue was marked with "Feature" by nobu. We never back...
hsbt (Hiroshi SHIBATA)
01:05 AM Revision c55de95f (git): Dummy Makefile.in for CIs
nobu (Nobuyoshi Nakada)
12:26 AM Revision 7e403dc6 (git): test/openssl/utils.rb: Extend the timeout
https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20190606T171708Z.fail.html.gz mame (Yusuke Endoh)
12:09 AM Revision c7477c3e (git): Moved Makefile.in under template
nobu (Nobuyoshi Nakada)
12:06 AM Revision aef3bb35 (git): Remove the dependency of Makefile on Makefile.in transitionally
nobu (Nobuyoshi Nakada)
12:03 AM Revision 200c840b (git): Revert "Moved Makefile.in under template"
This reverts commits:
* 6f9d5fafe040cb02a1278fbfcdcb8063d564824c
* bb3c89b6437049e26669b2156310670d5e06e386
And remo...
nobu (Nobuyoshi Nakada)

06/06/2019

11:58 PM Revision bb3c89b6 (git): Makefile.in moved under template
nobu (Nobuyoshi Nakada)
11:44 PM Revision 6f9d5faf (git): Moved Makefile.in under template
nobu (Nobuyoshi Nakada)
06:28 PM Feature #15665: Cannot compile socket extension on Mojave
Hello? Any update? Would it be included in 2.6.4? franklinyu (Franklin Yu)
05:04 PM Revision aee77901 (git): * 2019-06-07
git[bot]
05:00 PM Revision 2bc09665 (git): win32/registry.rb: fix potential infinite loop
* ext/win32/lib/win32/registry.rb (Win32::Registry#each_value):
advance the index even if an error occurred in #read.
nobu (Nobuyoshi Nakada)
05:00 PM Feature #15901: Enumerator::Lazy#eager
knu (Akinori MUSHA) wrote:
> Yeah, that would be the way completely against duck-typing.
Right, to clarify I mean...
Eregon (Benoit Daloze)
01:55 PM Feature #15901: Enumerator::Lazy#eager
> One argument would be the callee should do take_while {}.to_a if they really want an Array and not just an Enumerab... knu (Akinori MUSHA)
09:36 AM Feature #15901: Enumerator::Lazy#eager
knu (Akinori MUSHA) wrote:
> Suppose I want to pass the `enum` to another method that takes an Enumerable object whe...
Eregon (Benoit Daloze)
04:35 AM Feature #15901: Enumerator::Lazy#eager
Suppose I want to pass the `enum` to another method that takes an Enumerable object where the passed object is expect... knu (Akinori MUSHA)
04:56 PM Revision 09a2189c (git): Adjust indent
nobu (Nobuyoshi Nakada)
03:07 PM Misc #15905: [Documentation] [Request for the wiki at https://bugs.ruby-lang.org/projects/ruby-trunk/wiki] - Consider adding more information to statically compiled ruby variants
`LINKFORSHARED` means dynamically loaded extension libraries?
If so, `--with-static-linked-ext` configuration option...
nobu (Nobuyoshi Nakada)
10:47 AM Misc #15905 (Feedback): [Documentation] [Request for the wiki at https://bugs.ruby-lang.org/projects/ruby-trunk/wiki] - Consider adding more information to statically compiled ruby variants
I think maintaining the existing documentations already exceeded our capacity and some of them are still outdated, de... k0kubun (Takashi Kokubun)
10:36 AM Misc #15905: [Documentation] [Request for the wiki at https://bugs.ruby-lang.org/projects/ruby-trunk/wiki] - Consider adding more information to statically compiled ruby variants
I think the document should be in doc/ of Ruby repository.
Feel free to create a patch.
Background:
Recently our...
naruse (Yui NARUSE)
09:58 AM Misc #15905 (Feedback): [Documentation] [Request for the wiki at https://bugs.ruby-lang.org/projects/ruby-trunk/wiki] - Consider adding more information to statically compiled ruby variants
Hello ruby core team in particular and other ruby folks,
This issue request here is primarily about documentation,...
shevegen (Robert A. Heiler)
12:50 PM Revision 9f941f61 (git): test/webrick/test_filehandler.rb: extend the timeout for Solaris CI
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10s/ruby-master/log/20190602T031908Z.fail.html.gz mame (Yusuke Endoh)
12:50 PM Revision 60924636 (git): test/net/http/test_http.rb: extend the timeout for Solaris CI
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10s/ruby-master/log/20190605T231909Z.fail.html.gz mame (Yusuke Endoh)
09:59 AM Feature #15903: Move RubyVM.resolve_feature_path to Kernel.resolve_feature_path
Eregon (Benoit Daloze) wrote:
> mame (Yusuke Endoh) wrote:
> > However, we can't be too careful to add anything to ...
mame (Yusuke Endoh)
09:25 AM Feature #15903: Move RubyVM.resolve_feature_path to Kernel.resolve_feature_path
deep-cover might be interested by this too, cc @marcandre Eregon (Benoit Daloze)
09:18 AM Feature #15903: Move RubyVM.resolve_feature_path to Kernel.resolve_feature_path
byroot (Jean Boussier) wrote:
> This is kinda tengential, so sorry if it's shifting the discussion. But if `resolve_...
Eregon (Benoit Daloze)
09:17 AM Feature #15903: Move RubyVM.resolve_feature_path to Kernel.resolve_feature_path
mame (Yusuke Endoh) wrote:
> However, we can't be too careful to add anything to `Kernel` nowadays.
I propose onl...
Eregon (Benoit Daloze)
09:28 AM Feature #15230: RubyVM.resolve_feature_path
Great! Eregon (Benoit Daloze)
09:27 AM Misc #15874: DevelopersMeeting20190613Japan
* [Feature #15903] Move RubyVM.resolve_feature_path to Kernel.resolve_feature_path
* matz: is it OK to add `Kernel...
Eregon (Benoit Daloze)
01:27 AM Misc #15874: DevelopersMeeting20190613Japan
* [Bug #15210] UTF-8 BOM should be removed from String in internal representation
A method to set the encoding...
nobu (Nobuyoshi Nakada)
07:49 AM Revision fcc36d76 (git): Revert "Stop `circular require` warning"
This reverts commit c2a9c350249588677cf68b506539093504927eac.
It cannot stop `circular require` warning.
znz (Kazuhiro NISHIYAMA)
07:32 AM Bug #15904: Ruby crashes when executing Pronto gem with Rubocop
Update: Interestingly, this crash does not happen when executing `pronto run -c develop` without the `bundle exec` in... Morred (Laura Eck)
07:20 AM Bug #15904 (Closed): Ruby crashes when executing Pronto gem with Rubocop
When running `bundle exec pronto run -c develop` ("develop" is a branch name) on console, Ruby crashed and asked me t... Morred (Laura Eck)
07:28 AM Misc #15723: Reconsider numbered parameters
sawa (Tsuyoshi Sawada) wrote:
> I just realized that there can be a rationale for using `@` as (part of) the default...
konsolebox (K B)
07:00 AM Feature #15899: String#before and String#after
> Using partition looks reasonable, and it can accept regexes.
It also has the problem of creating extra objects t...
kke (Kimmo Lehto)
06:41 AM Revision c2a9c350 (git): Stop `circular require` warning
znz (Kazuhiro NISHIYAMA)
06:25 AM Revision 861b50d8 (git): lib/rubygems.rb: Stop "Leaked file descriptor" warning
Bundler.setup changes Gem::DefaultUserInteraction.ui and does not close
it. This change makes sure that it is closed.
mame (Yusuke Endoh)
05:20 AM Revision 1e549036 (git): test/openssl: Support OpenSSL 1.1.1
OpenSSL 1.1.1 rejects some shorter keys, which caused some failures of
`make test-all TESTS=openssl`.
https://rubyci...
mame (Yusuke Endoh)
03:03 AM Revision d046fe92 (git): configure.ac: utilize wide columns for summary
nobu (Nobuyoshi Nakada)
02:33 AM Bug #15857: <=> の右辺が <=> を実装していない場合の振る舞い
sawa (Tsuyoshi Sawada) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
> > I think [that] Complex numbers with an imagi...
jeremyevans0 (Jeremy Evans)

06/05/2019

11:21 PM Revision 884576bf (git): Update RDoc of RUBY_REVISION
nobu (Nobuyoshi Nakada)
11:11 PM Feature #15903: Move RubyVM.resolve_feature_path to Kernel.resolve_feature_path
(I'm an author of `RubyVM.resolve_feature_path`.)
Sorry but I'm not so positive. From perspective of module desig...
mame (Yusuke Endoh)
10:51 PM Feature #15903: Move RubyVM.resolve_feature_path to Kernel.resolve_feature_path
This is kinda tengential, so sorry if it's shifting the discussion. But if `resolve_feature_path` is to be made a fir... byroot (Jean Boussier)
08:13 PM Feature #15903 (Closed): Move RubyVM.resolve_feature_path to Kernel.resolve_feature_path
RubyVM contains mostly MRI-specific features but `resolve_feature_path` is clearly not MRI-specific.
So I propose ...
Eregon (Benoit Daloze)
10:57 PM Feature #15230: RubyVM.resolve_feature_path
Eregon (Benoit Daloze) wrote:
> @mame should the behavior that @znz reports be fixed?
I hear @nobu has already fi...
mame (Yusuke Endoh)
08:05 PM Feature #15230: RubyVM.resolve_feature_path
@mame should the behavior that @znz reports be fixed?
`resolve_feature_path` sounds like it should always resolve a ...
Eregon (Benoit Daloze)
07:57 PM Revision 02880d1f (git): Skip transpose-words if less than 2 word
aycabta (aycabta .)
07:25 PM Revision fd173372 (git): * 2019-06-06
git[bot]
07:25 PM Revision eadc06ba (git): Add test_ed_transpose_words_for_mbchar
aycabta (aycabta .)
05:37 PM Misc #15723: Reconsider numbered parameters
By this post, I have no intention of expressing my preference to any proposal.
I just realized that there can be a...
sawa (Tsuyoshi Sawada)
04:55 PM Feature #15902: Add a specialized instruction for `.nil?`
FWIW, we already inline `nil?` in the AST for TruffleRuby:
https://github.com/oracle/truffleruby/commit/57628008#dif...
Eregon (Benoit Daloze)
04:28 PM Feature #15902 (Closed): Add a specialized instruction for `.nil?`
I'd like to add a specialized instruction for `.nil?`. We have specialized instructions for `.length` and `.empty?`,... tenderlovemaking (Aaron Patterson)
04:16 PM Feature #15897: `it` as a default block parameter
shugo (Shugo Maeda) wrote:
> I don't like both proposals, but I prefer `@1` to `it` because `@1` looks ugly and may ...
Eregon (Benoit Daloze)
01:20 AM Feature #15897: `it` as a default block parameter
> Thus, I don't like my own proposal so much, honestly. But it would be much better than Perlish @1.
I don't like ...
shugo (Shugo Maeda)
03:55 PM Feature #15901: Enumerator::Lazy#eager
Why not `Enumerator::Lazy#force` (or `to_a`) ?
```ruby
enum = huge_collection.lazy.flat_map(&:children).reject(&:...
Eregon (Benoit Daloze)
11:52 AM Feature #15901 (Closed): Enumerator::Lazy#eager
There are cases where you want to create and pass a normal Enumerable object to a consumer where the methods like map... knu (Akinori MUSHA)
01:29 PM Revision 6dc0541e (git): NEWS: Note about CGI.escapeHTML change [ci skip]
See https://github.com/ruby/ruby/pull/2226 for benchmark results. k0kubun (Takashi Kokubun)
12:07 PM Revision 0a29dc87 (git): Optimize CGI.escapeHTML by reducing buffer extension
and switch-case branches.
Buffer allocation optimization using `ALLOCA_N` would be the main
benefit of patch. It eli...
k0kubun (Takashi Kokubun)
11:23 AM Revision f3c877e8 (git): Ignore ~/.gitconfig on tool/vcs.rb git commands
Because some `log.*` git configs may change the result of `git log`,
`RUBY_LAST_COMMIT_TITLE` can be wrongly formatte...
k0kubun (Takashi Kokubun)
11:05 AM Bug #15900 (Closed): Resolv::DNS#each_name doesn't accept Resolv::IPv{4,6} against documents
In resolv library, document says `Resolv::DNS#each_name` accepts `String`, `Resolv::IPv4` and `Resolv::IPv6`.
But `R...
Tietew (Toru Iwase)
09:12 AM Feature #15899: String#before and String#after
I can see where it may be useful, since it could shorten code like this:

first_part = "hello world!".split...
shevegen (Robert A. Heiler)
08:06 AM Feature #15899: String#before and String#after
Using `partition` looks reasonable, and it can accept regexes.
```ruby
str = 'application/json; charset=utf-8'
b...
sawa (Tsuyoshi Sawada)
08:02 AM Feature #15899: String#before and String#after
Since you are mentioning that `String#delete_suffix` and `String#delete_prefix` do not accept regexps and that is a w... sawa (Tsuyoshi Sawada)
07:27 AM Feature #15899 (Open): String#before and String#after
There seems to be no methods for getting a substring before or after a marker.
Too often I see and have to resort...
kke (Kimmo Lehto)
08:32 AM Bug #15857: <=> の右辺が <=> を実装していない場合の振る舞い
jeremyevans0 (Jeremy Evans) wrote:
> I think [that] Complex numbers with an imaginary part of zero should be treated...
sawa (Tsuyoshi Sawada)
04:55 AM Bug #15857: <=> の右辺が <=> を実装していない場合の振る舞い
I agree that this is a bug. `Complex#<=>` should be implemented, even if it did return `nil` for all arguments.
H...
jeremyevans0 (Jeremy Evans)
06:51 AM Revision 84c294eb (git): spec/bundler/bundler/dsl_spec.rb: fix exception to raise
When describing "Runtime errors", raise a `RuntimeError` as-is. nobu (Nobuyoshi Nakada)
05:03 AM Revision f2581370 (git): Fix grammar of macro name: ECCESSED -> ECCESSIVE
Fix the name of the macro variable introduced in 0872ea5330
from NODE_SPECIAL_EXCESSED_COMMA to NODE_SPECIAL_EXCESSIV...
duerst (Martin Dürst)
04:57 AM Bug #15886: return in rescue block breaks Timeout.timeout
I like this proposed wording, thanks for taking care of this! moio (Silvio Moioli)
04:31 AM Revision 1624d77f (git): error.c: avoid infinite recursion at inspecting the frozen object
nobu (Nobuyoshi Nakada)
03:57 AM Revision b2fe7484 (git): Test for f1f04caf60e4fc9dc3b12109e0be831f2d692810
nobu (Nobuyoshi Nakada)
03:04 AM Revision 542d69c8 (git): Revert "vcs.rb support non-inplace build"
This reverts commit 22cd4027349f803efc7ede284376b7a7013f8dfe.
It did not make sense due to a typo `@srcidr`.
nobu (Nobuyoshi Nakada)
03:04 AM Revision aa8a8d8f (git): Split an assertion for f1f04caf60e4fc9dc3b12109e0be831f2d692810
nobu (Nobuyoshi Nakada)
02:31 AM Feature #15883 (Closed): Include inspect value of object in FrozenError messages
Committed as commit:f1f04caf60e4fc9dc3b12109e0be831f2d692810 jeremyevans0 (Jeremy Evans)
02:29 AM Revision c75a3356 (git): Move I/O access from Reline::KeyStroke to Reline
aycabta (aycabta .)
02:29 AM Revision 7c776038 (git): * expand tabs.
git[bot]
02:25 AM Revision f1f04caf (git): Include inspect value of object in FrozenError messages
FrozenError#receiver was added recently for getting the related
object programmatically. However, there are cases wh...
jeremyevans (Jeremy Evans)
02:19 AM Revision 96d65274 (git): Add some documentation to Timeout#timeout about possible issues
Documentation requested in [Bug #15886]. jeremyevans (Jeremy Evans)
02:17 AM Bug #15830 (Assigned): SortedSet's lazy setup causes unpredictable behaviour in subclass's initialize
I agree this is a bug and the easiest way to fix it is to inline the `SortedSet#initialize` implementation defined by... jeremyevans0 (Jeremy Evans)
02:11 AM Revision a1058318 (git): tool/runruby.rb: support RUNRUBY_USE_LLDB as well as RUNRUBY_USE_GDB
nobu (Nobuyoshi Nakada)
02:11 AM Revision 26d02cc7 (git): tool/runruby.rb: load the default lldb scripts
nobu (Nobuyoshi Nakada)
02:11 AM Revision 5859ea1b (git): tool/runruby.rb: load .gdbinit explicitly
nobu (Nobuyoshi Nakada)
02:02 AM Bug #15832 (Assigned): IPAddr.new accepts invalid mask IP address
I submitted a pull request to ruby/ipaddr to fix this: https://github.com/ruby/ipaddr/pull/17 jeremyevans0 (Jeremy Evans)
02:01 AM Revision 6b66a76f (git): * expand tabs.
git[bot]
02:00 AM Revision 71b14aff (git): Revert "Optimize CGI.escapeHTML by reducing buffer extension"
This reverts commit 8d81e59aa7a62652caf85f9c8db371703668c149.
`ALLOCA_N` does not check stack overflow unlike ALLOCV...
k0kubun (Takashi Kokubun)
01:13 AM Revision 804a7907 (git): * 2019-06-05
git[bot]
01:08 AM Revision 8d81e59a (git): Optimize CGI.escapeHTML by reducing buffer extension
and switch-case branches.
Buffer allocation optimization using `ALLOCA_N` would be the main
benefit of patch. It eli...
k0kubun (Takashi Kokubun)

06/04/2019

10:24 PM Feature #15897: `it` as a default block parameter
I like the proposal and I think it reads nicer than `@`.
It's a bit magical that giving it an argument changes the s...
Eregon (Benoit Daloze)
02:40 PM Feature #15897: `it` as a default block parameter
mikegee (Michael Gee) wrote:
> > RSpec won't break because their "it" requires an argument
>
> Unfortunately this...
jeremyevans0 (Jeremy Evans)
02:29 PM Feature #15897: `it` as a default block parameter
> RSpec won't break because their "it" requires an argument
Unfortunately this is not accurate. RSpec has a shorth...
mikegee (Michael Gee)
08:32 AM Feature #15897: `it` as a default block parameter
shevegen (Robert A. Heiler) wrote:
> I was about to write a very lengthy reply, but I think it would be too difficul...
phluid61 (Matthew Kerwin)
08:32 AM Feature #15897: `it` as a default block parameter
Hanmac (Hans Mackowiak) wrote:
> @mame you got me wrong, i mean you might not use `_` for this like you said in your...
phluid61 (Matthew Kerwin)
08:15 AM Feature #15897: `it` as a default block parameter
I was about to write a very lengthy reply, but I think it would be too difficult to read for others, so this is a som... shevegen (Robert A. Heiler)
07:51 AM Feature #15897: `it` as a default block parameter
@mame you got me wrong, i mean you might not use `_` for this like you said in your P.S. Hanmac (Hans Mackowiak)
07:42 AM Feature #15897: `it` as a default block parameter
@hanmac,
You cannot use both `it` and the ordinal parameter `|a,_,b|` simultaneously. It will cause a SyntaxError...
mame (Yusuke Endoh)
07:28 AM Feature #15897: `it` as a default block parameter
`_` can't be used as default block parameter because it already has a special meaning when using block variables like... Hanmac (Hans Mackowiak)
05:12 AM Feature #15897 (Closed): `it` as a default block parameter
How about considering "it" as a keyword for the block parameter only if it is the form of a local varaible reference ... mame (Yusuke Endoh)
09:56 PM Feature #15865: `<expr> in <pattern>` expression
mame (Yusuke Endoh) wrote:
> * Incomplete pattern matching also rewrites variables: `[1, 2, 3] in x, 42, z` will wri...
Eregon (Benoit Daloze)
05:52 PM Bug #15862: Segmentation fault when running Rails commands
destrozates (Socrates Medina) wrote:
> Thanks for your answer, and sorry for my late reply. I just wanted to be sure...
jeremyevans0 (Jeremy Evans)
05:03 PM Bug #15862: Segmentation fault when running Rails commands
mame (Yusuke Endoh) wrote:
> I think this issue is a bug or spec of rb-inotify. If it is a bug, it should be fixed....
destrozates (Socrates Medina)
03:45 PM Bug #13018: end of file reached (EOFError) from SMTP
Excuse me, why isn't it fixed in 2.4? Does it break something?
I've probably misconfigured ports around my docker en...
Nakilon (Victor Maslov)
02:17 PM Revision b31e1b4a (git): * expand tabs.
git[bot]
02:17 PM Revision 0b0c6cb7 (git): compile.c: Remove the magical `(const NODE*) -1`
It is used to represent "no default expression" for keyword argument:
`def foo(key:)`. This change uses NODE_SPECIAL...
mame (Yusuke Endoh)
02:17 PM Revision 0872ea53 (git): node.h: Avoid a magic number to represent excessed comma
`(ID)1` was assigned to NODE_ARGS#rest_arg for `{|x,| }`.
This change removes the magic number by introducing an expl...
mame (Yusuke Endoh)
01:21 PM Bug #14467 (Rejected): a bug encounter when try to create a controller using Ruby on Rails (on Pi3)
Sorry for the late response. See #15898. (In short, please use a newer Ruby.) mame (Yusuke Endoh)
01:19 PM Bug #15898 (Rejected): RoR server segmentation fault [arm-linux-gnueabihf] Rpi3
Ruby 2.3 has ended.
https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/
I don't know th...
mame (Yusuke Endoh)
12:43 PM Bug #15898 (Rejected): RoR server segmentation fault [arm-linux-gnueabihf] Rpi3
Hi everyone,
### Configuration
- Ruby on Rails (v 5.2.3)
- Raspberry Pi 3 model B
- Raspbian (4.14.98-v7+ #1200...
johhnry (Joseph Henry)
12:27 PM Revision 39eae6bf (git): tool/vcs.rb: return the commit date as the modified time
nobu (Nobuyoshi Nakada)
12:20 PM Bug #15558: Should Exception#exception copy the backtrace?
I plan to fix this and copy the backtrace too in MRI, because it looks not intentional and inconsistent.
Anyone agai...
Eregon (Benoit Daloze)
10:55 AM Revision 2e2cd829 (git): * expand tabs.
git[bot]
10:50 AM Revision 2c60f371 (git): random_mt_type
* random.c: renamed random_data_type as random_mt_type, and append
"MT" to `wrap_struct_name`, respecting the imple...
nobu (Nobuyoshi Nakada)
10:06 AM Revision c8b00185 (git): Revert "marshal.c: new functions for extensions"
This reverts a commit miss, 24a96a0228ccf355826644a9daad69e11b67b53b. nobu (Nobuyoshi Nakada)
10:00 AM Revision 9e472e18 (git): suppress marshal warnings
nobu (Nobuyoshi Nakada)
09:59 AM Revision 24a96a02 (git): marshal.c: new functions for extensions
* marshal.c (rb_marshal_dump_limited): new function for extension
libraries to dump object with limited nest level....
nobu (Nobuyoshi Nakada)
09:51 AM Revision 51d27d25 (git): test/lib/test/unit.rb: use colorize.rb
nobu (Nobuyoshi Nakada)
09:33 AM Revision e7aa87c3 (git): Renamed duplicate test
nobu (Nobuyoshi Nakada)
09:10 AM Revision fade26af (git): colorize.rb: get rid of syntax errors on older versions
nobu (Nobuyoshi Nakada)
09:08 AM Revision a57d6d23 (git): colorize.rb: make `colors_file` optional
[ci skip] nobu (Nobuyoshi Nakada)
08:26 AM Revision b0c35ff2 (git): colorize.rb: fix reading from test/colors
[ci skip] nobu (Nobuyoshi Nakada)
08:09 AM Revision 16cb1fb0 (git): extlibs.rb: colorize
[ci skip] nobu (Nobuyoshi Nakada)
08:07 AM Revision 58fd27d3 (git): colorize.rb: read `test/colors` file afer `$TEST_COLORS`
[ci skip] nobu (Nobuyoshi Nakada)
05:00 AM Feature #15878: Make exit faster by not running GC
> A rough sketch of the process is that we first run GC normally, then if something remains, that is force-recycled.
...
ko1 (Koichi Sasada)
04:01 AM Bug #15841: SegFault in OpenSSL::PKey::RSA#private_encrypt
I can confirm that the bug also happens on OpenBSD 6.5 with LibreSSL 2.9.1.
I created a pull request with a fix: h...
jeremyevans0 (Jeremy Evans)
03:39 AM Revision ce4b5d90 (git): * remove trailing spaces. [ci skip]
git[bot]
03:39 AM Revision 8406547b (git): Azure Pipelines run on master instead of trunk [ci skip]
znz (Kazuhiro NISHIYAMA)
03:37 AM Revision c1e2d505 (git): Azure Pipelines run on master instead of trunk [ci skip]
znz (Kazuhiro NISHIYAMA)
02:40 AM Revision b0cb4bdb (git): * expand tabs.
git[bot]
02:39 AM Revision 7866ed85 (git): node.c: Show the ID of internal variable
mame (Yusuke Endoh)
12:53 AM Bug #15882: OpenSSL::X509::Name.parse usage
Your patch looks correct to me, but can you submit it as a pull request to the ruby/openssl repo: https://github.com/... jeremyevans0 (Jeremy Evans)
12:36 AM Revision 14b5ccf9 (git): * expand tabs.
git[bot]
12:24 AM Revision aa8d393d (git): EOF by 2 ^D on a TTY
Terminate the input from a TTY by 2 ^D at the middle of line, like
as many programs, `cat`, `perl` and so on, do. By...
nobu (Nobuyoshi Nakada)

06/03/2019

11:35 PM Revision 9a07915a (git): Add aliases for commands for changing text macro
aycabta (aycabta .)
11:33 PM Revision d950cade (git): azure-pipelines.yml: Upgrade Ruby for UseRubyVersion
to fix
https://dev.azure.com/rubylang/ruby/_build/results?buildId=1162&view=logs
k0kubun (Takashi Kokubun)
10:23 PM Revision 4b7213a8 (git): Implement transpose-words
aycabta (aycabta .)
10:15 PM Revision c9b74f9f (git): Pin keys in "compare by identity" hashes
Hashes that compare by identity care about the location of the object in
memory. Since they care about the memory lo...
tenderlovemaking (Aaron Patterson)
08:38 PM Revision 790a1b17 (git): object id is stable now for all objects, so we can let hash keys move
tenderlovemaking (Aaron Patterson)
08:38 PM Revision 2de3d928 (git): allow objects in imemo envs to move
tenderlovemaking (Aaron Patterson)
08:38 PM Revision 4eb1c236 (git): Unpin objects that `proc` references
This commit adds compaction support to method and proc objects. It just
unpins references and implements the "compac...
tenderlovemaking (Aaron Patterson)
06:52 PM Revision ca22cccc (git): get rid of a warning of VC++
U.Nakamura
06:43 PM Feature #15896: Symbol#+
I agree with benoit and jeremy, also in regards to the use case description; even speed/cache considerations aside, m... shevegen (Robert A. Heiler)
05:34 PM Feature #15896: Symbol#+
I am against adding this to core. Symbols represent identifiers, not data/text. Strings should be used for data/text... jeremyevans0 (Jeremy Evans)
05:26 PM Feature #15896: Symbol#+
FWIW, there is no need for a cache, since Symbols are interned (and an explicit cache would leak memory).
I think ...
Eregon (Benoit Daloze)
04:47 PM Feature #15896 (Rejected): Symbol#+
I've made this today
``` ruby
class Symbol
@@cache_add = Hash.new {|h1,k1| h1[k1] = Hash.new {|h2,k2| h2[k2] = :...
zeus (Zeus 81)
05:55 PM Bug #15886: return in rescue block breaks Timeout.timeout
jeremyevans0 (Jeremy Evans) wrote:
> However, I think it makes sense to expand the Timeout.timeout documentation to ...
jeremyevans0 (Jeremy Evans)
03:47 PM Bug #15886: return in rescue block breaks Timeout.timeout
moio (Silvio Moioli) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
> > moio (Silvio Moioli) wrote:
> > > Well, as a ...
jeremyevans0 (Jeremy Evans)
06:40 AM Bug #15886: return in rescue block breaks Timeout.timeout
jeremyevans0 (Jeremy Evans) wrote:
> moio (Silvio Moioli) wrote:
> > Well, as a Timeout.timeout user I would like t...
moio (Silvio Moioli)
04:52 PM Bug #15895 (Closed): String#gsub and String#sub should return original string if no substitution(s) have been made
ashmaroli (Ashwin Maroli)
04:10 PM Bug #15895: String#gsub and String#sub should return original string if no substitution(s) have been made
Thank you for pointing me to `CGI.escape_html`. I was not aware of it being faster than the `gsub` route. Moreover, y... ashmaroli (Ashwin Maroli)
10:19 AM Bug #15895 (Feedback): String#gsub and String#sub should return original string if no substitution(s) have been made
I can understand why you want it, but that would be a breaking change for existing code which assumes that `gsub` alw... k0kubun (Takashi Kokubun)
09:18 AM Bug #15895 (Closed): String#gsub and String#sub should return original string if no substitution(s) have been made
Currently if one were to call `'Hello World'.gsub(/[<&>]/, html_entities_hash)` , a copy of 'Hello World' is allocate... ashmaroli (Ashwin Maroli)
04:03 PM Revision 1a0b8221 (git): Upgrade benchmark-driver to fix deprecation warning
k0kubun (Takashi Kokubun)
03:36 PM Revision 9987f457 (git): Reflect behavior changes to argument name
0c459af7c233adb5f44022350bfe8fa132d8053e changed the meaning of
`detect_compile_error`, and this commit lets it follo...
k0kubun (Takashi Kokubun)
03:33 PM Revision fc7b4c70 (git): Simplify matching
nobu (Nobuyoshi Nakada)
03:32 PM Revision 0da9205f (git): Remove conflict resolution mistake [ci skip]
in de541fe1961370e64541d73c96cf790d30f28604 :bow: k0kubun (Takashi Kokubun)
03:29 PM Revision d21a6940 (git): Improve test_color to prevent regression
Actually de541fe1961370e64541d73c96cf790d30f28604 was still needed.
This commit would improve the test coverage using...
k0kubun (Takashi Kokubun)
03:26 PM Revision de541fe1 (git): colorize_code must return escaped text
This was needed before 0c459af7c233adb5f44022350bfe8fa132d8053e but it
could be actually useless now. But I added thi...
k0kubun (Takashi Kokubun)
03:20 PM Revision 6498c733 (git): * 2019-06-04
git[bot]
03:14 PM Revision 0c459af7 (git): Colorize error characters
* lib/irb/color.rb (IRB::Color.scan): ignore "incomplete end of
input" error only, to colorize invalid characters, ...
nobu (Nobuyoshi Nakada)
01:01 PM Revision 928377d2 (git): Revert "common.mk: allow brace expansion for benchmark targets"
This reverts commit 4c0e21add7c87b70df27fbff81d8f192a467556d
because we're not using /bin/bash.
See 11d3986d6557eb3c...
k0kubun (Takashi Kokubun)
12:59 PM Revision 1b2b0e1f (git): Revert "common.mk is NOT working with /bin/sh anymore"
This reverts commit 11d3986d6557eb3cfcecbdd0ef6e21b18c7c960b.
Travis was broken by that.
k0kubun (Takashi Kokubun)
12:15 PM Revision 11d3986d (git): common.mk is NOT working with /bin/sh anymore
at least on Ubuntu.
The brace expansion does not work on Ubuntu /bin/sh (dash), and so
4c0e21add7c87b70df27fbff81d8f...
k0kubun (Takashi Kokubun)
11:47 AM Revision a4c5d234 (git): benchmark/time_strptime.yml does not work with miniruby
Since 72ad092960c413b6a5687c552747b20a5ed78b22, we cannot run full `make benchmark`
because default BENCH_RUBY is min...
k0kubun (Takashi Kokubun)
11:09 AM Bug #15637: Backport RubyGems 3.0.3/2.7.9
@hsbt, sure. Thank you for the checking!
jaruga (Jun Aruga)
08:43 AM Bug #12961: Bad value for range using infinity for Date or Time
Ruby 2.6 supports endless range, and ruby 2.7 will support beginless range. znz (Kazuhiro NISHIYAMA)
08:24 AM Revision d7c3eb57 (git): Erase VI_OPERATORS
The operators are using @waiting_operator_proc in vi mode. aycabta (aycabta .)
06:40 AM Revision c2805192 (git): remove `rb_objspace_pinned_object_p()`
Nobody uses this function other than gc.c. We only need
RVALUE_PINNED().
ko1 (Koichi Sasada)
06:15 AM Revision c990b3c4 (git): Fix the error token on "invalid hex escape"
* parse.y (tok_hex): flush token after dispatching the "invalid
hex escape" parse error.
nobu (Nobuyoshi Nakada)
04:18 AM Bug #15866 (Feedback): [BUG] Segmentation fault at 0x0000000000000020
Could you try a newer version, such as 2.5.5, 2.6.3 or 2.7.0-preview1? jeremyevans0 (Jeremy Evans)
03:56 AM Revision 22da5d71 (git): `ruby -v` may no longer be ASCII-only on non-master branches
nobu (Nobuyoshi Nakada)
03:54 AM Revision 3102ca4c (git): Default GIT external encoding to UTF-8 🤷‍♂️
And dump the title as US-ASCII. nobu (Nobuyoshi Nakada)
03:51 AM Bug #15889 (Closed): Enumerator#each_slice size FloatDomainError with infinite enumerator
Applied in changeset commit:git|17af8bfce6508951edca8650155be5525a894f65.
----------
Make size on an infinite each_s...
jeremyevans (Jeremy Evans)
03:00 AM Revision 17af8bfc (git): Make size on an infinite each_slice enumerator return Infinity
Fixes [Bug #15889] jeremyevans (Jeremy Evans)
01:47 AM Revision f48aad7b (git): Add reline to doc/maintainers.rdoc
znz (Kazuhiro NISHIYAMA)
01:32 AM Revision 533070bf (git): Use lines instead of split
```
% cat ~/bench-split.yml
prelude: |
s = "foo\nbar\nbaz\n"
benchmark:
'/(?<=\n)/': |
s.split(/(?<=\n)/)
'...
znz (Kazuhiro NISHIYAMA)

06/02/2019

07:17 PM Revision 182072b2 (git): The C-q is also quoted insert in emacs mode
aycabta (aycabta .)
06:41 PM Revision 5524de5c (git): Add aliases for commands for moving macro
aycabta (aycabta .)
06:38 PM Revision 1bfba99b (git): Close leaked file descripters in tests
aycabta (aycabta .)
06:29 PM Revision 34289224 (git): The ed_move_to_beg is different from vi_first_print
aycabta (aycabta .)
05:03 PM Revision 65fdb903 (git): Reline::LineEditor::ARGUMENTABLE is no longer used
nobu (Nobuyoshi Nakada)
04:36 PM Revision aeb3a2b3 (git): * 2019-06-03
git[bot]
04:35 PM Revision 3457ce44 (git): Fix ArgumentError in aliased macro
Closes: https://github.com/ruby/ruby/pull/2221 nobu (Nobuyoshi Nakada)
01:58 PM Revision f4b060d8 (git): Check conditional nestings in INPUTRC
Closes: https://github.com/ruby/ruby/pull/2222 nobu (Nobuyoshi Nakada)
01:58 PM Revision a1e6e453 (git): Prefer $INPUTRC over the default in the home
Closes: https://github.com/ruby/ruby/pull/2222 nobu (Nobuyoshi Nakada)
01:37 PM Revision 4fda39fc (git): Use simpler regexp
znz (Kazuhiro NISHIYAMA)
12:26 PM Bug #15637: Backport RubyGems 3.0.3/2.7.9
@jaruga
Sorry, my late response. your list is correct commits..
hsbt (Hiroshi SHIBATA)
12:01 PM Feature #8734 (Closed): irbに複数行履歴機能が欲しい
Maybe 2.7.0-preview1 resolved this feature request. hsbt (Hiroshi SHIBATA)
11:31 AM Revision d04ebc57 (git): Add true condition `Reline`
nobu (Nobuyoshi Nakada)
05:00 AM Bug #15890 (Closed): psych.so is not deterministic
hsbt merged the pull request, so this can be closed. jeremyevans0 (Jeremy Evans)
04:09 AM Bug #15890: psych.so is not deterministic
Psych is a default gem, it is managed on GitHub. I've added a pull request to implement this: https://github.com/rub... jeremyevans0 (Jeremy Evans)
04:59 AM Revision 06a25344 (git): Make psych.so deterministic
Fixes Ruby Bug #15890 jeremyevans (Jeremy Evans)
03:52 AM Misc #15893 (Assigned): open-uri: URI.open status
While the conversion from `open` or `Kernel.open` to `URI.open` is simple, this is likely to break a lot of existing ... jeremyevans0 (Jeremy Evans)
03:17 AM Misc #15723: Reconsider numbered parameters
Seems to me like there's some kind of consensus about making this feature available for one argument only.
I would...
joallard (Jonathan Allard)
 

Also available in: Atom