Project

General

Profile

Activity

From 01/19/2019 to 01/25/2019

01/25/2019

11:36 PM Feature #15565: Circular dependency warnings - suggestions/ideas to improve the output from ruby
(The output here on redmine is a bit different to how I wrote it in a local editor - sorry for some of the
overflowi...
shevegen (Robert A. Heiler)
11:33 PM Feature #15565 (Open): Circular dependency warnings - suggestions/ideas to improve the output from ruby
Hello ruby folks (and everyone else) reading this suggestion.
I will start with a mini-summary first, a TL;DR - th...
shevegen (Robert A. Heiler)
08:16 PM Bug #15564: Pathname#+(pathpart) returns pathpart when pathpart is absolute
Also affects #/
Also affects #join
Malakai97 (Bryan Hockey)
08:11 PM Bug #15564 (Rejected): Pathname#+(pathpart) returns pathpart when pathpart is absolute
```
abs = Pathname.new("/abs/dir")
my = Pathname.new("/my/path")
# actual
my/abs # => #<Pathname:/abs/dir>
#...
Malakai97 (Bryan Hockey)
07:35 PM Feature #15563: #dig that throws an exception if a key doesn't exist
I have no particular pro or con against the feature itself as such; I myself do not use or need .dig so I
can not sp...
shevegen (Robert A. Heiler)
05:48 PM Feature #15563: #dig that throws an exception if a key doesn't exist
I just discovered that `#dig` also call private methods. I updated the provided examples to do the same.
```Ruby
...
3limin4t0r (Johan Wentholt)
05:07 PM Feature #15563 (Open): #dig that throws an exception if a key doesn't exist
Ruby 2.3.0 introduced `#dig` for `Array`, `Hash` and `Struct`. Both `Array` and `Hash` have `#fetch`, which works the... 3limin4t0r (Johan Wentholt)
04:03 PM Feature #15557: A new class that stores a condition and the previous receiver
> `Enumerable#grep`
Well, it is not "it accepts callable", it is a part of "it accepts any pattern (including Proc...
zverok (Victor Shepelev)
03:47 PM Feature #15557: A new class that stores a condition and the previous receiver
zverok (Victor Shepelev) wrote:
> The problem with @nobu's one, though, that it is pretty rarely seen in core Ruby t...
nobu (Nobuyoshi Nakada)
02:09 PM Revision 0a5b4c13 (git): vm.inc now in C99
This changeset modifies the VM generator so that vm.inc is written in
C99. Also added some comments in _insn_entry.e...
shyouhei (Shyouhei Urabe)
01:36 PM Misc #10233 (Closed): iseq.cのget_line_info()でバイナリサーチを使うように修正するか
たまたまGitHubで見かけて、現状のtrunkには適用できない状態になっていたので、closeします。 k0kubun (Takashi Kokubun)
12:07 PM Feature #15562: `String#split` option to suppress the initial empty substring
> Isn't the new option name too long? I'd use .drop_while(&:empty?).
I personally agree with your observation here...
shevegen (Robert A. Heiler)
12:06 PM Feature #15562: `String#split` option to suppress the initial empty substring
This reminds me a bit of Dir['*'] versus Dir.entries(Dir.pwd). The latter
also has . and .. entries such as:
...
shevegen (Robert A. Heiler)
11:33 AM Feature #15562: `String#split` option to suppress the initial empty substring
Isn't the new option name too long? I'd use `.drop_while(&:empty?)`. knu (Akinori MUSHA)
11:08 AM Feature #15562: `String#split` option to suppress the initial empty substring
An example of a frequent use case of `split("a", initial_empty_string: false)` is when we have a text like `text` in ... sawa (Tsuyoshi Sawada)
09:51 AM Feature #15562: `String#split` option to suppress the initial empty substring
znz (Kazuhiro NISHIYAMA) wrote:
> `String#split` with `-1` does not remove empty strings.
>
> ```
> >> "aba".spl...
sawa (Tsuyoshi Sawada)
09:04 AM Feature #15562: `String#split` option to suppress the initial empty substring
`String#split` with `-1` does not remove empty strings.
```
>> "aba".split("a", -1)
=> ["", "b", ""]
>> "abaa"....
znz (Kazuhiro NISHIYAMA)
07:19 AM Feature #15562 (Open): `String#split` option to suppress the initial empty substring
`String#split` returns an empty substring if any at the beginning of the original string, even though it does not ret... sawa (Tsuyoshi Sawada)
06:52 AM Bug #15521: encoding is missed when using `CSV.generate`
I've updated `lib/csv` in r66922.
@naruse Could you backport the revision?
kou (Kouhei Sutou)
06:49 AM Revision 24b57b10 (git): Upgrade CSV to 3.0.4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
06:35 AM Revision cdca14e7 (git): * 2019-01-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:35 AM Revision cee0c36a (git): Upgrade RSS to 0.2.8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
04:14 AM Feature #15559: Logical XOR (^^) operator
Unlike `&&` and `||`, which involve short-circuit evaluation, and hence are keywords rather than methods, the propose... sawa (Tsuyoshi Sawada)
12:11 AM Feature #11076: Enumerable method count_by
enumerable-statistics provides `value_counts` method.
https://github.com/mrkn/enumerable-statistics/blob/master/ext/...
mrkn (Kenta Murata)

01/24/2019

08:04 PM Misc #15546: DevelopersMeeting20190207Japan
* [Feature [#14344](/issues/14344)] refine at class level (kddeisz)
* Shorter refinement syntax proposed based on ...
kddnewton (Kevin Newton)
02:08 PM Misc #15546: DevelopersMeeting20190207Japan
* [Feature #11076] Enumerable method count_by
* A new name "tally" is proposed. "Tally" is: | → || → ||| → |||| →...
mame (Yusuke Endoh)
04:22 PM Bug #15561 (Rejected): What is Keto Tone? This result of keto tone
sorah (Sorah Fukumori)
07:44 AM Bug #15561 (Rejected): What is Keto Tone? This result of keto tone
What is Keto Tone? This result of keto tone is an enhancement that is exceptionally detailed to copy the fat consumin... varusiteke (Keto Tone)
02:21 PM Feature #11076: Enumerable method count_by
I have learnt the word "tally" in this thread. Thank you. It looks good to me, a non-native speaker. I have put thi... mame (Yusuke Endoh)
04:22 AM Feature #11076: Enumerable method count_by
A histogram refers to counts of items in ranges of otherwise continuous data. But this function is more general than ... inopinatus (Joshua GOODALL)
12:36 PM Feature #15538: Erb indenting / unindenting
Most of "foo"-"bar" examples seem to be indented strangely. I guess you meant the following one for all like this ("f... k0kubun (Takashi Kokubun)
12:04 PM Feature #15538: Erb indenting / unindenting
Fixed the 2 -> 4 indentation in the bad example and added the "stop indenting" closing tag `|%>` which would be fine ... kke (Kimmo Lehto)
12:36 PM Revision 6375c68f (git): parse.y: function parser_mixed_error & parser_mixed_escape
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:21 PM Feature #15549: Enumerable#to_reader (or anything enumerable, Enumerator, lazy enums, enum_for results)
I'm open for other names (#to_readable_stream perhaps?). Important is to acknowledge the validity of this use-case, a... chucke (Tiago Cardoso)
11:43 AM Revision 7e68efbc (git): parse.y: remove an extra error message
* parse.y (parse_string): bail out when word-list meets end of
input not to show an extra "unexpected" error messag...
nobu (Nobuyoshi Nakada)
10:19 AM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
Let me add a couple of things.
In case const_missing is discussed, these are the reasons why implementing autoload...
fxn (Xavier Noria)
10:10 AM Revision c6fb7c1f (git): eval_error.c: should not escapce newline and tab
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:06 AM Bug #15500: Behavior of require method in 2.5 is different from 2.4 and 2.6
@hsbt
I've confirmed that Ruby 2.5 with r66867 loads bigdecimal installed by gem, correctly.
mrkn (Kenta Murata)
01:00 AM Bug #15500: Behavior of require method in 2.5 is different from 2.4 and 2.6
ruby_2_6 r66913 merged revision(s) 66867. naruse (Yui NARUSE)
05:30 AM Bug #15537 (Closed): Numeric#step doesn't iterate under some conditions
Applied in changeset trunk|r66914.
----------
numeric.c: Fix negative step with float components
* numeric.c (ruby_...
mrkn (Kenta Murata)
02:22 AM Bug #15537 (Assigned): Numeric#step doesn't iterate under some conditions
mrkn (Kenta Murata)
05:30 AM Revision e6084020 (git): * 2019-01-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:30 AM Revision 4bcfccdd (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:30 AM Revision 161ece47 (git): numeric.c: Fix negative step with float components
* numeric.c (ruby_float_step): fix negative step with float components.
* test/ruby/test_numeric.c (test_step_bug155...
Kenta Murata
02:26 AM Feature #15559: Logical XOR (^^) operator
> Would it be possible to have logical ^^ in addition to the bitwise ^ for XOR?
I think it is possible, but we nee...
mame (Yusuke Endoh)
02:20 AM Feature #15559: Logical XOR (^^) operator
I think `!=` is easier to understand than `^^`. mrkn (Kenta Murata)
02:18 AM Feature #15559: Logical XOR (^^) operator
You can write `expr1 ^^ expr2` as `!expr1 != !expr2` in the current Ruby.
If both `expr1` and `expr2` are boolean, y...
mrkn (Kenta Murata)
01:29 AM Feature #15560: Add support for read/write offsets.
I can imagine it is useful for TCPSocket#write to accept only a part of a buffer crafted by somebody else. But I can... shyouhei (Shyouhei Urabe)
01:00 AM Revision ad6e91de (git): merge revision(s) 66867: [Backport #15500]
Revert r58345 and r58371.
These changes break the behavior of default gems. Bug #13428 says
r583...
naruse (Yui NARUSE)

01/23/2019

10:31 PM Bug #15469: Ruby2.6 included `bundler` does not handle specified `csv` gem.
Should Bundler be a bundled gem (and not a default gem)?
I think this would help a lot, and allow uninstalling the p...
Eregon (Benoit Daloze)
02:46 PM Bug #15469: Ruby2.6 included `bundler` does not handle specified `csv` gem.
I have found out the root cause of this.
# Root Cause
* Bundler has become a built-in gem since Ruby 2.6.
* `$...
aeroastro (Takumasa Ochi)
09:47 PM Feature #15553: Addrinfo.getaddrinfo supports timeout
> Why hrtime.h is included?
It's unnecessary. I'll remove it.
Glass_saga (Masaki Matsushita)
02:13 PM Feature #15553: Addrinfo.getaddrinfo supports timeout
Why hrtime.h is included? naruse (Yui NARUSE)
09:41 PM Bug #15468: Net::Protocol::BufferedIO#write raises NoMethodError when sending large multi-byte string
Can we please fast track the release of this? It's breaking a ton of stuff.
Stepping back a little bit from this i...
ioquatix (Samuel Williams)
09:39 PM Feature #15560 (Closed): Add support for read/write offsets.
It would be nice if read/write/send/recv/etc methods could accept an offset argument.
e.g.
```
socket = Socket...
ioquatix (Samuel Williams)
05:17 PM Feature #15559 (Open): Logical XOR (^^) operator
Currently we have bitwise `&` and logical `&&`, and bitwise `|` and logical `||`. Would it be possible to have logica... baweaver (Brandon Weaver)
05:10 PM Feature #15541: Add alias symbolize_keys for symbolize_names kwarg for JSON.parse
shevegen (Robert A. Heiler) wrote:
> Personally I think that alias name would make sense. With a new alias the backw...
baweaver (Brandon Weaver)
04:18 PM Bug #15558 (Closed): Should Exception#exception copy the backtrace?
Currently it does not on MRI:
```
ruby -e 'begin raise "foo"; rescue => e; c=e.exception "bar"; p c.backtrace; end'...
Eregon (Benoit Daloze)
02:14 PM Bug #14634: Queue#push seems to crash after fork
ruby_2_5 r66912 merged revision(s) 62934,63210,63215,63309. nagachika (Tomoyuki Chikanaga)
02:14 PM Revision 63d9ab33 (git): merge revision(s) 62934,63210,63215,63309: [Backport #14634]
thread_sync.c: avoid reaching across stacks of dead threads
rb_ensure is insufficient cleanup for fork and w...
nagachika (Tomoyuki Chikanaga)
01:39 PM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
Hey! I am the author of Zeitwerk, let me do a quick followup here.
First and foremost, I'd like to be very straigh...
fxn (Xavier Noria)
10:55 AM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
It would be good to have a definite choice on this thread, I'll add it to the developer meeting (#15546).
I think at...
Eregon (Benoit Daloze)
10:19 AM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
rafaelfranca (Rafael França) wrote:
> @matz when taking in consideration deprecation/removal of autoload I'd like yo...
shyouhei (Shyouhei Urabe)
10:24 AM Feature #15557: A new class that stores a condition and the previous receiver
Normally I love sawa's suggestions. :)
However had, in this case, I am a little bit biased, which I may explain.
...
shevegen (Robert A. Heiler)
10:21 AM Feature #15557: A new class that stores a condition and the previous receiver
I played a bit with idea similar to @nobu's, with this syntax:
```ruby
then_if(condition) { action }
then_if(-> ...
zverok (Victor Shepelev)
09:27 AM Feature #15557: A new class that stores a condition and the previous receiver
What about:
```ruby
foo = default_definition
.when(->(foo) {some_condition(foo)}) {|foo| some_method(foo)}...
nobu (Nobuyoshi Nakada)
09:15 AM Feature #15557 (Open): A new class that stores a condition and the previous receiver
I often see code like this:
```ruby
foo = default_definition
foo = some_method(foo) if some_condition(foo)
foo...
sawa (Tsuyoshi Sawada)
09:39 AM Revision c56f6116 (git): parse.y: token name of tSTRING_DEND
* parse.y (rb_yytnamerr): show single-quoted single char as-is, to
show a quoted closing brace as tSTRING_DEND. e....
nobu (Nobuyoshi Nakada)
09:33 AM Feature #13807 (Closed): A method to filter the receiver against some condition
nagachika (Tomoyuki Chikanaga)
09:18 AM Feature #13807: A method to filter the receiver against some condition
I came up with an idea better than this (https://bugs.ruby-lang.org/issues/15557).
So I withdraw this proposal. Pl...
sawa (Tsuyoshi Sawada)
09:25 AM Bug #14353: $SAFE should stay at least thread-local for compatibility
Just FTR, as per this discussion:
https://lists.fedoraproject.org/archives/list/[email protected]/m...
vo.x (Vit Ondruch)
09:08 AM Revision 71342a46 (git): parse.y: token names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:06 AM Bug #15555 (Closed): Dir.mktmpdir checks permissions and raise ArgumentError after yielding to block (ensure) & leaks allocated tempdir
Applied in changeset trunk|r66909.
----------
tmpdir.rb: permission of user given directory
* lib/tmpdir.rb (Dir.mk...
nobu (Nobuyoshi Nakada)
06:06 AM Revision 1fae154c (git): tmpdir.rb: permission of user given directory
* lib/tmpdir.rb (Dir.mktmpdir): check if the permission of the
parent directory only when using the default tempora...
nobu (Nobuyoshi Nakada)

01/22/2019

11:37 PM Bug #14972: Net::HTTP inconsistently raises EOFError when peer closes the connection
I submitted a PR against trunk: https://github.com/ruby/ruby/pull/2074 joshc (Josh C)
11:22 PM Revision 05c3256b (git): * 2019-01-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:21 PM Revision bcf85587 (git): parse.y: literal add_mark_object
* parse.y (set_yylval_str, set_yylval_literal): always imply
add_mark_object.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
12:43 PM Revision bdbc8a8f (git): Add more example of `String#dump`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:23 PM Bug #15555: Dir.mktmpdir checks permissions and raise ArgumentError after yielding to block (ensure) & leaks allocated tempdir
https://github.com/ruby/ruby/commit/bcb9e567c422f535b4871ce2795179af808d0077 changes from `FileUtils.remove_entry_sec... znz (Kazuhiro NISHIYAMA)
10:11 AM Bug #15555 (Closed): Dir.mktmpdir checks permissions and raise ArgumentError after yielding to block (ensure) & leaks allocated tempdir
The current implementation of the `Dir.mktmpdir` is the following:
```ruby
def Dir.mktmpdir(prefix_suffix=nil, *r...
kbogtob (Karim Bogtob)
07:25 AM Revision 4e64c547 (git): ripper.y: get rid of compile error
yystpcpy is always used by yysyntax_error in bison 2.3, but may
not used by other than yytnamerr in newer bison.
git...
nobu (Nobuyoshi Nakada)
06:36 AM Feature #15554: warn/error passing a block to a method which never use a block
I fixed the issues of TestGemRequestSetGemDependencyAPI on upstream repository and merged them at r66904. hsbt (Hiroshi SHIBATA)
04:48 AM Feature #15554 (Closed): warn/error passing a block to a method which never use a block
# Abstract
Warn or raise an ArgumentError if block is passed to a method which does not use a block.
In other wor...
ko1 (Koichi Sasada)
06:28 AM Revision 3dc6efbe (git): Merge rubygems master targeted RubyGems 3.1.0.
https://github.com/rubygems/rubygems/commit/1172320540c8c33c59fc1db5191b021c3b2db487
git-svn-id: svn+ssh://ci.ruby-l...
hsbt (Hiroshi SHIBATA)
06:24 AM Revision 59a6215a (git): parse.y: enclose keyword token names by quotes
* parse.y (rb_yytnamerr): strip enclosing double-quotes, same as
the default yytnamerr except for that single-quote...
nobu (Nobuyoshi Nakada)
01:56 AM Revision 5e7d0353 (git): * 2019-01-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:56 AM Revision bac70552 (git): fix typo in r66836, missing '/'s
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

01/21/2019

05:57 PM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
@matz when taking in consideration deprecation/removal of autoload I'd like you to consider that Rails built and plan... rafaelfranca (Rafael França)
01:20 PM Bug #11116: The spec of String#dump
Eregon (Benoit Daloze) wrote:
> Does that preserve the encoding of the String though?
The short answer: yes.
I...
mame (Yusuke Endoh)
10:54 AM Bug #11116: The spec of String#dump
Does that preserve the encoding of the String though?
What about String#inspect, does it also eval() to itself?
Eregon (Benoit Daloze)
08:52 AM Bug #11116 (Closed): The spec of String#dump
Committed at r66894. Closing mame (Yusuke Endoh)
12:31 PM Revision f2d63385 (git): benchmark/app_aobench.rb: complete commented code to write the image to a file
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
12:31 PM Revision 32e259f0 (git): benchmark/app_aobench.rb: remove extra printf arguments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
12:31 PM Revision dfe69186 (git): benchmark/app_aobench.rb: move `srand(0)` at the top
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
11:29 AM Bug #15552: app_aobench.rb is broken
@mame Thanks for the quick fix!
With srand(0), I think we could add some verification, e.g., by computing a checksum...
Eregon (Benoit Daloze)
07:13 AM Bug #15552 (Closed): app_aobench.rb is broken
Applied in changeset trunk|r66892.
----------
benchmark/app_aobench.rb: add a magic comment
To support the change o...
mame (Yusuke Endoh)
07:11 AM Bug #15552 (Assigned): app_aobench.rb is broken
> And interestingly, TruffleRuby 1.0.0-rc11 renders an image closer to the expected one:
Closer :-)
This is cau...
mame (Yusuke Endoh)
10:56 AM Revision 502f1594 (git): Improvements to documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Samuel Williams
10:24 AM Revision 62ec5eb0 (git): parse.y: more token names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:11 AM Revision 12afc11f (git): * io.c: use copy_file_range() if defined
* configure.ac: check copy_file_range()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66895 b2dd03c8-39d4-4d8f-9...
Glass_saga (Masaki Matsushita)
09:30 AM Misc #15546: DevelopersMeeting20190207Japan
* [Feature #5632] Attempt to open included class shades it instead. (mame)
* Matz, do you still want to "fix" this...
mame (Yusuke Endoh)
03:46 AM Misc #15546: DevelopersMeeting20190207Japan
The ancient issues that is no response. I'm okay to discuss them with our spare time of this meeting.
* [Feature #...
hsbt (Hiroshi SHIBATA)
08:58 AM Feature #15553: Addrinfo.getaddrinfo supports timeout
thanks for this PR. Many requests for fully async support in stdlib are blocked by this.
I think on Windows 8+ we ...
ahorek (Pavel Rosický)
03:58 AM Feature #15553 (Closed): Addrinfo.getaddrinfo supports timeout
Currently, we use Timeout in Net::HTTP and other standard libraries.
lib/net/http.rb
```
945 s = Timeout....
Glass_saga (Masaki Matsushita)
08:51 AM Revision 6891a1cd (git): string.c (rb_str_dump): Fix the rdoc
* Officially states that String#dump is intended for round-trip.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6...
mame (Yusuke Endoh)
08:37 AM Bug #12812 (Feedback): Added Coverage#result=
Sorry for leaving this ticket untouched.
I cannot remember the detailed story of this ticket, but since 2.6, cover...
mame (Yusuke Endoh)
08:33 AM Bug #12480 (Closed): Restarting Coverage does not capture additional coverage for already loaded files
Closing due to OP's request.
FYI: Since 2.6, coverage.so has supported `Coverage.result(stop: false, clear: false)...
mame (Yusuke Endoh)
08:23 AM Feature #13667 (Closed): Add Coverage.running? to quickly check if Coverage is enabled.
I have forgotten why the status of this ticket is feedback :-) Anyway, it is already released, so there is no change... mame (Yusuke Endoh)
08:01 AM Feature #9508 (Closed): Add method coverage and branch coverage metrics
Branch coverage has been finally implemented in #13901. Thanks! mame (Yusuke Endoh)
07:35 AM Feature #2447 (Rejected): reduce GC pressure by symbol table without String instance
ささださんと相談しました。
* 世代別 GC がある現在ではおそらく効果は弱いだろう
* Symbol GC が導入されたので、同じことをやると結構複雑になりそう(エントリの削除に対応しないといけない)
ということで、た...
mame (Yusuke Endoh)
07:29 AM Revision 8a294e0f (git): benchmark/app_aobench.rb: add `srand(0)`
To prevent noise for benchmark result. Just for the case.
[Bug #15552]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
mame (Yusuke Endoh)
07:13 AM Revision be3a0c70 (git): benchmark/app_aobench.rb: add a magic comment
To support the change of default encoding.
It had not worked correctly since 2.0 :-)
[Bug #15552]
git-svn-id: svn+ss...
mame (Yusuke Endoh)
06:23 AM Revision 90653369 (git): * lib/net/http.rb: handle Errno::ETIMEDOUT in Net::HTTP#transport_request
A patch from casperisfine (Jean byroot Boussier).
[Fix GH-2012]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
Glass_saga (Masaki Matsushita)
01:11 AM Revision 954d0815 (git): test_io.rb: skip test on MJIT to prevent random failure
like this:
http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/1636642
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
k0kubun (Takashi Kokubun)
12:30 AM Bug #10379 (Feedback): Crash in Ruby 2.1.3 (and 2.1-head), works in 2.1.2
Ruby 2.1 is EOL today. Can you try with Ruby 2.5? Thanks. hsbt (Hiroshi SHIBATA)

01/20/2019

10:14 PM Feature #6012: Proc#source_location also return the column
If changing this API is too complicated due to backwards compatibility, why not introduce new more general API:
``...
ioquatix (Samuel Williams)
09:25 PM Revision 4487562d (git): Update to ruby/spec@e2fbd4d
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
09:21 PM Bug #15551: The behavior of FIX2INT and FIX2UINT differs by platform
FWIW, `sizeof(int) == sizeof(long)` is also the case on i686 Linux:
https://travis-ci.org/ruby/ruby/jobs/482143545
Eregon (Benoit Daloze)
02:38 PM Bug #15551 (Rejected): The behavior of FIX2INT and FIX2UINT differs by platform
For instance, when `sizeof(int) < sizeof(long)` (such as on Linux), then
```c
FIX2INT(nil)
```
raises TypeError.
...
Eregon (Benoit Daloze)
08:38 PM Revision 6204e080 (git): Update to ruby/spec@35a9fba
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
08:38 PM Revision 58573c33 (git): Update to ruby/mspec@e9a482d
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
08:04 PM Bug #15428: Refactor Proc#>> and #<<
@nobu I think we should backport r66769 to Ruby 2.6, could you do it or file an issue for it? Eregon (Benoit Daloze)
04:53 PM Bug #15552 (Closed): app_aobench.rb is broken
Specifically, the image generated is incorrect.
When modifying the footer of the benchmark like this:
```ruby
al...
Eregon (Benoit Daloze)
03:07 PM Revision 1c53f86b (git): process.c: [DOC] small improvements
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
03:06 PM Revision f284eb3d (git): lib/securerandom.rb: [DOC] small grammar fixes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
03:04 PM Revision 6833fbcf (git): time.c: [DOC] small improvement
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
03:02 PM Revision 8fe427c1 (git): * 2019-01-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision f9b298fe (git): vm.c: [DOC] small fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
02:44 PM Bug #15543: rb_str_set_len should clear code range
nobu (Nobuyoshi Nakada) wrote:
> `rb_str_set_len` is not the true problem.
> Should `RSTRING_PTR` make the object u...
Eregon (Benoit Daloze)
02:20 PM Bug #15550: Windows - gem bin files - can't run from bash shell
An easy way to repo this is to open the Git bash shell, and run `bundle version`. I got an error message of:
```
...
MSP-Greg (Greg L)
12:45 AM Bug #15550 (Assigned): Windows - gem bin files - can't run from bash shell
As I recall, ruby-loco is no longer touching the gem related files located in the bin folder. Previously, there were... MSP-Greg (Greg L)
10:48 AM Bug #15162: Encoding::Converter.search_convpath(Encoding::ASCII_8BIT, Encoding::Emacs_Mule) crashes on MinGW
ruby_2_5 r66881 merged revision(s) 64879. nagachika (Tomoyuki Chikanaga)
10:48 AM Revision e42dcdb5 (git): merge revision(s) 64879: [Backport #15162]
transcode.c: add GC guard on raise
* transcode.c (econv_s_search_convpath): add GC guard to fix SEGV
...
nagachika (Tomoyuki Chikanaga)
09:18 AM Bug #14729: Float("long_invalid_string") fails to throw an exception
ruby_2_5 r66880 merged revision(s) 63334. nagachika (Tomoyuki Chikanaga)
09:17 AM Revision a88ab94e (git): merge revision(s) 63334: [Backport #14729]
object.c: raise on long invalid float string
* object.c (rb_cstr_to_dbl_raise): check long invalid float
...
nagachika (Tomoyuki Chikanaga)
05:13 AM Bug #14731: Float() ignores exponent in long string
ruby_2_5 r66879 merged revision(s) 63322. nagachika (Tomoyuki Chikanaga)
05:13 AM Revision 389c5843 (git): merge revision(s) 63322: [Backport #14731]
object.c: fix exponent with underscore
* object.c (rb_cstr_to_dbl_raise): do not ignore exponent part
...
nagachika (Tomoyuki Chikanaga)
04:51 AM Bug #14864: some old linux has no O_CLOEXEC
ruby_2_5 r66878 merged revision(s) 63720. nagachika (Tomoyuki Chikanaga)
04:51 AM Revision b5d43b1d (git): merge revision(s) 63720: [Backport #14864]
dir.c: define O_CLOEXEC for older systems
SuSE 10 has openat(), but not O_CLOEXEC
Reported-by: wang...
nagachika (Tomoyuki Chikanaga)
04:49 AM Bug #15412: backport r66401 (Move autoload to toplevel)
ruby_2_5 r66877 merged revision(s) 66401. nagachika (Tomoyuki Chikanaga)
04:49 AM Revision 4c426290 (git): merge revision(s) 66401: [Backport #15412]
Move autoload to toplevel
So that classes which uses Net::HTTP with https can use OpenSSL
namespace ...
nagachika (Tomoyuki Chikanaga)
04:47 AM Bug #15387: Backport r66242 (io.c (io_write_nonblock): add RB_GC_GUARD, io_fflush may switch threads)
ruby_2_5 r66876 merged revision(s) 66242. nagachika (Tomoyuki Chikanaga)
04:47 AM Revision d6ea20ff (git): merge revision(s) 66242: [Backport #15387]
io.c (io_write_nonblock): add RB_GC_GUARD, io_fflush may switch threads
Since io_fflush may block on mutex o...
nagachika (Tomoyuki Chikanaga)
04:44 AM Revision afd68cd8 (git): raise FrozenError instead of RuntimeError
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:38 AM Feature #11639 (Closed): Refactor some description of `Forwardable`
Applied in changeset trunk|r66873.
----------
[DOC] Refactors documentation for `Forwardable`
[ruby-core:71281] [Mi...
nobu (Nobuyoshi Nakada)
04:38 AM Revision 27f51081 (git): * 2019-01-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:38 AM Revision 141ed2f6 (git): [DOC] Refactors documentation for `Forwardable`
[ruby-core:71281] [Misc #11639]
From: Sam Morgan <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
nobu (Nobuyoshi Nakada)
04:34 AM Bug #15346: Core dump during GC if covering a special require
I misunderstood this could be reproducible in 2.5 but it isn't. nagachika (Tomoyuki Chikanaga)
01:15 AM Feature #15517: Net::HTTP not recognizing valid UTF-8
I think this issue is not a duplicate of issue #2567, but it is clearly related.
Checking whether the string is va...
duerst (Martin Dürst)

01/19/2019

09:15 PM Feature #15549: Enumerable#to_reader (or anything enumerable, Enumerator, lazy enums, enum_for results)
I do not have any major pro or con opinion on the functionality as such; I think the
name #to_reader may not be idea...
shevegen (Robert A. Heiler)
03:38 PM Feature #15549 (Open): Enumerable#to_reader (or anything enumerable, Enumerator, lazy enums, enum_for results)
This is a feature proposal for something I've had to implement before multiple times.
For a lot of IO-related APIs...
chucke (Tiago Cardoso)
11:42 AM Feature #11639 (Assigned): Refactor some description of `Forwardable`
hsbt (Hiroshi SHIBATA)
10:38 AM Feature #15547: deprecate iterator?
I did not even know that iterator? exists - at first I thought it was something new. :)
I agree with nobu's comment.
shevegen (Robert A. Heiler)
02:36 AM Feature #15547 (Closed): deprecate iterator?
`block_given?` has been added since 1.6, and `iterator?` is almost never used these days.
I think we can deprecate t...
nobu (Nobuyoshi Nakada)
10:37 AM Bug #11602 (Rejected): Compile error on CentOS: Segmentation fault after "linking miniruby"
CentOS 5 and Ruby 2.1 are EOL. hsbt (Hiroshi SHIBATA)
10:28 AM Bug #15545: Backport r58403
r58403 was included in ruby_2_5.
#15500 seems related and r66867 may fix this issue.
nagachika (Tomoyuki Chikanaga)
09:34 AM Bug #9610 (Rejected): Report by terminal error
The versions of Ruby and Rails are outdated today. hsbt (Hiroshi SHIBATA)
09:08 AM Revision 46549d6b (git): Revert "mjit_worker.c: try to simplify CC_DLDFLAGS_ARGS"
This reverts commit 405940234eb7876a063eb7129ca61fcc318a633c.
Not working on MinGW
https://ci.appveyor.com/project/r...
k0kubun (Takashi Kokubun)
07:49 AM Revision e90d826d (git): Indented here document (<<~) is Ruby 2.3 feature
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:35 AM Revision 40594023 (git): mjit_worker.c: try to simplify CC_DLDFLAGS_ARGS
assuming that -nostartfiles is just optional for mingw, cygwin, and AIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
k0kubun (Takashi Kokubun)
07:30 AM Misc #15462: DevelopersMeeting20190110Japan
>Off topic: can someone give me the grant to copy issues around? It seems disabled for this account.
Enabled it to...
hsbt (Hiroshi SHIBATA)
12:29 AM Misc #15462 (Closed): DevelopersMeeting20190110Japan
@shevegen Here you are https://bugs.ruby-lang.org/issues/15546
Off topic: can someone give me the grant to copy is...
shyouhei (Shyouhei Urabe)
12:06 AM Misc #15462: DevelopersMeeting20190110Japan
Could someone add a date + issue for the next developer meeting, please?
I looked at https://bugs.ruby-lang.org/pr...
shevegen (Robert A. Heiler)
07:27 AM Bug #15548: Fix MJIT on OpenBSD when GCC is used to compile
Applied your patch. Thanks for your help! k0kubun (Takashi Kokubun)
07:27 AM Bug #15548 (Closed): Fix MJIT on OpenBSD when GCC is used to compile
Applied in changeset trunk|r66869.
----------
mjit_worker.c: do not use GCC_NOSTDLIB_FLAGS for OpenBSD
OpenBSD's GC...
k0kubun (Takashi Kokubun)
07:12 AM Bug #15548 (Closed): Fix MJIT on OpenBSD when GCC is used to compile
OpenBSD's GCC compiler has local extensions that break when `-nostartfiles -nodefaultlibs -nostdlib` is used. If you... jeremyevans0 (Jeremy Evans)
07:26 AM Revision a5de8d1c (git): mjit_worker.c: do not use GCC_NOSTDLIB_FLAGS for OpenBSD
OpenBSD's GCC compiler has local extensions that break when
`-nostartfiles -nodefaultlibs -nostdlib` is used.
From: ...
k0kubun (Takashi Kokubun)
05:58 AM Feature #4475: default variable name for parameter
matz (Yukihiro Matsumoto) wrote:
> This is a very interesting idea but at the same time, it's difficult to keep comp...
jeremyevans0 (Jeremy Evans)
05:50 AM Bug #15469: Ruby2.6 included `bundler` does not handle specified `csv` gem.
I could reproduce too with "Test code".
Also, I could reproduce with simpler code below.
### Gemfile
``` rub...
tad (Tadashi Saito)
05:24 AM Misc #15546: DevelopersMeeting20190207Japan
* [Feature #4475] default variable name for parameter (aycabta)
* In #15483, matz said "I feel the expression `ary...
aycabta (aycabta .)
12:21 AM Misc #15546 (Closed): DevelopersMeeting20190207Japan
Please comment your favorite ticket numbers you want to ask to discuss with your *SHORT* comment or summary.
(your s...
shyouhei (Shyouhei Urabe)
03:37 AM Bug #15500: Behavior of require method in 2.5 is different from 2.4 and 2.6
@mrkn
Can you try with Ruby 2.5 applied r66867?
hsbt (Hiroshi SHIBATA)
03:36 AM Bug #15500 (Closed): Behavior of require method in 2.5 is different from 2.4 and 2.6
Applied in changeset trunk|r66867.
----------
Revert r58345 and r58371.
These changes break the behavior of defau...
hsbt (Hiroshi SHIBATA)
03:36 AM Revision 31c862a7 (git): * 2019-01-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:36 AM Revision c52ca1f2 (git): Revert r58345 and r58371.
These changes break the behavior of default gems. Bug #13428 says
r58345 is reasonable because gemspec file is inst...
hsbt (Hiroshi SHIBATA)
03:30 AM Feature #15517: Net::HTTP not recognizing valid UTF-8
I'm not sure I think this is exactly the same as https://bugs.ruby-lang.org/issues/2567, as that one has focused on u... cohen (Cohen Carlisle)
12:07 AM Misc #15530: [ANN] Upgrading bugs.ruby-lang.org to Redmine 4.0
\o/
I noticed a few differences, or I think I noticed it (I am not entirely sure).
For example, I did not notic...
shevegen (Robert A. Heiler)
 

Also available in: Atom