Project

General

Profile

Activity

From 04/07/2018 to 04/13/2018

04/13/2018

09:36 PM Revision 5bafb6c5 (git): Add write barrier calls for direct marking objects.
This commit adds write barriers for objects marked from `rb_iseq_mark`.
r62851 introduced direct marking from iseqs t...
tenderlovemaking (Aaron Patterson)
06:11 PM Revision 282efd1f (git): irb.rb: backtrace order
* lib/irb.rb (handle_exception): show backtrace from the topmost
if stdout is not a tty.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
06:06 PM Revision a90e2426 (git): * 2018-04-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:06 PM Revision fb68dfc4 (git): irb.rb: hoist out handle_exception
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:20 PM Feature #14685: IRB doesn't print exception cause
Note that per @Hanmac above in comment #2, separate work might be necessary to also print the `#cause` in default Rub... RubyBugs (A Nonymous)
03:18 PM Feature #14685: IRB doesn't print exception cause
May I ask: a very quick path to solving this would be for me (or someone else) to turn my workaround monkey-patch of ... RubyBugs (A Nonymous)
05:46 AM Feature #14685: IRB doesn't print exception cause
i tested it with multiple ruby versions, both irb and ruby, because i wanted to see what happen
irb doesn't print ...
Hanmac (Hans Mackowiak)
02:24 PM Feature #14684: IRB swallows exceptions
nobu (Nobuyoshi Nakada) wrote:
> `$!` isn't accessible outside `rescue` clause, even without irb.
In IRB, should ...
RubyBugs (A Nonymous)
06:06 AM Feature #14684: IRB swallows exceptions
`$!` isn't accessible outside `rescue` clause, even without irb. nobu (Nobuyoshi Nakada)
12:50 AM Feature #14684 (Assigned): IRB swallows exceptions
hsbt (Hiroshi SHIBATA)
06:26 AM Revision 081df640 (git): file.c: chardev is loadable
* file.c (ruby_is_fd_loadable): allow character devices to load,
e.g., `ruby /dev/null` exits successfully.
git-sv...
nobu (Nobuyoshi Nakada)
03:22 AM Bug #14687 (Closed): TestM17N#test_str_dump, String.dump, frozen-string
The test `TestM17N#test_str_dump` located in `test/ruby/test_m17n.rb` (link at https://github.com/ruby/ruby/blob/83c9... MSP-Greg (Greg L)
01:50 AM Bug #13670: [BUG] Bus Error at 0xefce7b (armv7l) (ruby 2.3.4p301)
Disregard the failed tests above - second build installed okay.
Still hitting the bug very occasionally, but findi...
fig (Phil Ferne)
01:01 AM Bug #14686: Windows - uninitialized constant Fiddle::Function::STDCALL, test issue
Probably better to use `Function.const_defined?(:STDCALL)` than `defined?(Function::STDCALL)` MSP-Greg (Greg L)
12:54 AM Bug #14686 (Closed): Windows - uninitialized constant Fiddle::Function::STDCALL, test issue
While testing the test/ruby folder with frozen-string, I came across a few issues. More later...
I had the follow...
MSP-Greg (Greg L)
12:49 AM Feature #14683 (Assigned): IRB with Ripper
hsbt (Hiroshi SHIBATA)

04/12/2018

10:13 PM Bug #14674 (Closed): New mismatched indentations warnings?
Applied in changeset trunk|r63141.
----------
parse.y: `when` indent
* parse.y (k_when): warn less-indented `when` ...
nobu (Nobuyoshi Nakada)
07:23 AM Bug #14674: New mismatched indentations warnings?
I agree with @marcandre. I used to prefer "indented when" style once, and still think it is pretty acceptable.
Wh...
zverok (Victor Shepelev)
05:11 AM Bug #14674: New mismatched indentations warnings?
I strongly believe that it is not Ruby's parser job to warn us about styling, especially if there's no strong reason ... marcandre (Marc-Andre Lafortune)
02:30 AM Bug #14674: New mismatched indentations warnings?
It was intentional, but mismatched with your style? nobu (Nobuyoshi Nakada)
10:13 PM Revision 83c96166 (git): * 2018-04-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:13 PM Revision a3a5f38d (git): parse.y: `when` indent
* parse.y (k_when): warn less-indented `when` than `case`.
[ruby-core:86492] [Bug #14674]
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
07:52 PM Bug #13670: [BUG] Bus Error at 0xefce7b (armv7l) (ruby 2.3.4p301)
nobu (Nobuyoshi Nakada) wrote:
> `RubyVM::InstructionSequence#to_binary` and `RubyVM::InstructionSequence.load_from_...
fig (Phil Ferne)
02:34 AM Bug #13670 (Feedback): [BUG] Bus Error at 0xefce7b (armv7l) (ruby 2.3.4p301)
`RubyVM::InstructionSequence#to_binary` and `RubyVM::InstructionSequence.load_from_binary` had bugs around word align... nobu (Nobuyoshi Nakada)
05:46 PM Feature #14685: IRB doesn't print exception cause
For Ruby 2.3.4, here is a working monkey-patch which causes IRB to behave as expected above:
https://gist.github.com...
RubyBugs (A Nonymous)
04:32 PM Feature #14685 (Open): IRB doesn't print exception cause
# Summary
IRB doesn't print `Exception#cause`.
Because IRB also doesn't offer access to raised exceptions (see...
RubyBugs (A Nonymous)
04:50 PM Feature #14683: IRB with Ripper
ref. https://github.com/ruby/rdoc/pull/512 aycabta (aycabta .)
03:06 PM Feature #14683 (Closed): IRB with Ripper
I replaced lexical analyzer with Ripper. It's important for supporting new syntax.
I explain what I did.
## Rep...
aycabta (aycabta .)
04:18 PM Feature #14684 (Closed): IRB swallows exceptions
# Summary
IRB swallows exceptions, doesn't provide programatic access to raised exception in session.
## Detail...
RubyBugs (A Nonymous)
02:24 PM Revision 2625c6a7 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:24 PM Revision dfeafff3 (git): [DOC] Add win32/README.win32 to .document
see https://github.com/ruby/docs.ruby-lang.org/issues/56
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63139 b2d...
znz (Kazuhiro NISHIYAMA)
12:01 PM Revision b6490ddd (git): assert indents of `case` and `end`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:34 AM Revision 8ef4ff1b (git): error.c: fix for DRb
* error.c (name_err_init_attr): hide the receiver object from
Marshal, as DRb depends on it.
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
07:09 AM Bug #14682 (Closed): Error [BUG] unexpected THREAD_KILLED
Hi there an error, and the attached file.
./Users/murbano/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/monitor.rb:200: [B...
manu83 (Manuel Urbano)
04:06 AM Feature #13626: Add String#byteslice!
By the way, I ended up implementing https://github.com/socketry/async-io/blob/master/lib/async/io/binary_string.rb wh... ioquatix (Samuel Williams)
04:04 AM Feature #13626: Add String#byteslice!
If you round trip UTF-8 to ASCII-8BIT and back again, the result should be the same IMHO. It's just the interpretatio... ioquatix (Samuel Williams)
03:48 AM Bug #14670 (Closed): Objectで定義したmethod_missingでsuperが使えない
Applied in changeset trunk|r63136.
----------
error.c: super in method_missing
* error.c (nometh_err_initialize): d...
nobu (Nobuyoshi Nakada)
03:48 AM Revision a72581d7 (git): error.c: super in method_missing
* error.c (nometh_err_initialize): do not shirtcut rb_call_super,
to push proper control frame. [ruby-dev:50522] [...
nobu (Nobuyoshi Nakada)
03:40 AM Revision fe96e87e (git): * 2018-04-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:40 AM Revision 2e501b0a (git): marshaltestlib.rb: use clean object for exception
* test/ruby/marshaltestlib.rb (test_exception): use separate
clean object to raise an exception. TestCase instance...
nobu (Nobuyoshi Nakada)
03:21 AM Bug #14681: `syswrite': stream closed in another thread (IOError)
I confirmed the issue also applies to 2.5.1
I add a mutex to the write and close operations (which should not be n...
ioquatix (Samuel Williams)
03:16 AM Bug #14681 (Assigned): `syswrite': stream closed in another thread (IOError)
Perhaps related to https://bugs.ruby-lang.org/issues/13632
Here is a sample to reproduce the issue.
```
#!/usr...
ioquatix (Samuel Williams)

04/11/2018

10:22 PM Bug #13670: [BUG] Bus Error at 0xefce7b (armv7l) (ruby 2.3.4p301)
Can confirm this still happening in 2.5.1
~~~
ruby 2.5.1p57 (2018-03-29 revision 63029) [armv7l-linux-eabihf]
boot...
fig (Phil Ferne)
08:02 PM Feature #14680: Adding +@ and -@ to hash and array
I don't think it's as common these days to see `.freeze` all over the place, since the linters explicitly tell you to... kddnewton (Kevin Newton)
07:48 PM Feature #14680: Adding +@ and -@ to hash and array
I like `.dup` and `.freeze`, more than `+` and `-` on class `String`.
https://ruby-doc.org/core-2.5.0/String.html#...
shevegen (Robert A. Heiler)
02:49 PM Feature #14680 (Closed): Adding +@ and -@ to hash and array
Since we have `-@` and `+@` for strings and it's very useful (and reads better than `.freeze`) I'd like to propose ad... kddnewton (Kevin Newton)
03:56 PM Feature #14672: Introduce a Date.safe_parse method
http://blog.honeybadger.io/benchmarking-exceptions-in-ruby-yep-theyre-slow
exceptions are used a lot in parsers
h...
ahorek (Pavel Rosický)
02:29 PM Feature #14672: Introduce a Date.safe_parse method
Why not just use a one line rescue?
~~~ ruby
Date.parse(some_value) rescue Date.new(2018,1,1)
~~~
It shows IMHO t...
janfri (Jan Friedrich)
02:46 PM Feature #14059: Refine multiple classes in one call
I agree with the points above, so this issue can be closed (or someone can teach me how to close these, I'm not entir... kddnewton (Kevin Newton)
02:45 PM Feature #14344: refine at class level
I haven't contributed before so I'm not sure how to bump this ticket, but I'd like to keep pushing on this. Could som... kddnewton (Kevin Newton)
01:14 PM Bug #14679 (Assigned): StdLib gems should properly specify their dependencies
hsbt (Hiroshi SHIBATA)
12:01 PM Bug #14679: StdLib gems should properly specify their dependencies
Also, if Ruby one day decides to drop JSON support for whatever reason, the RDoc won't be usable after installation, ... vo.x (Vit Ondruch)
11:50 AM Bug #14679 (Closed): StdLib gems should properly specify their dependencies
Could you please properly specify gem dependencies for gems included in StdLib? The current situation is unfortunate.... vo.x (Vit Ondruch)
12:47 PM Bug #14678 (Feedback): Segmentation fault in pg
Could you show small code to reproduce it and/or show local variables with a debugger? nobu (Nobuyoshi Nakada)
10:21 AM Bug #14678 (Closed): Segmentation fault in pg
This error don't reproduce in Ruby 2.5.0 but reproduce in 2.5.1
~~~
$ bundle ex rspec
/Users/tanimichi.tsukuru/g...
ttanimichi (Tsukuru Tanimichi)
08:08 AM Bug #14566: `raise` in `Exception#message` causes infinite loop
Thx! ujihisa (Tatsuhiro Ujihisa)
08:03 AM Bug #14566 (Closed): `raise` in `Exception#message` causes infinite loop
Applied in changeset trunk|r63133.
----------
eval_error.c: fix loop on exception in message
* error.c (rb_get_mess...
nobu (Nobuyoshi Nakada)
08:00 AM Bug #14566: `raise` in `Exception#message` causes infinite loop
It should work as well as 2.4, not `fatal`. nobu (Nobuyoshi Nakada)
07:08 AM Bug #14566: `raise` in `Exception#message` causes infinite loop
Thank you, I've missed the report mail.
I think it fatal.
nobu (Nobuyoshi Nakada)
08:03 AM Revision aa2b32ae (git): eval_error.c: fix loop on exception in message
* error.c (rb_get_message): accessor to the message.
* eval_error.c (rb_ec_error_print): handle exceptions on fetchi...
nobu (Nobuyoshi Nakada)
07:17 AM Bug #14674: New mismatched indentations warnings?
I think in the long run it would be nice if ruby hackers have more
control over non-error messages (e. g. warnings)....
shevegen (Robert A. Heiler)
12:49 AM Bug #14676 (Third Party's Issue): On Windows Readline's input is not correctly filled after autocomplete
It's issue of https://github.com/ConnorAtherton/rb-readline hsbt (Hiroshi SHIBATA)
12:49 AM Bug #14677 (Third Party's Issue): On Windows Readline.refresh_line raises NoMethodError
It's issue of https://github.com/ConnorAtherton/rb-readline hsbt (Hiroshi SHIBATA)
12:49 AM Bug #14675 (Third Party's Issue): On Windows Readline.redisplay raises NoMethodError
It's issue of https://github.com/ConnorAtherton/rb-readline hsbt (Hiroshi SHIBATA)
12:43 AM Bug #14675: On Windows Readline.redisplay raises NoMethodError
At present, RubyInstaller2 builds are using RbReadline (the rb-readline gem). RubyInstaller builds also used it.
...
MSP-Greg (Greg L)

04/10/2018

10:46 PM Bug #14676: On Windows Readline's input is not correctly filled after autocomplete
Works when the string is actual prefix for the completion.
```
require 'readline'
Readline.completion_proc = Pro...
graywolf (Gray Wolf)
10:35 PM Bug #14676 (Third Party's Issue): On Windows Readline's input is not correctly filled after autocomplete
When Readline.completion_proc returns more than one match, you are presented with empty line insted of what you have ... graywolf (Gray Wolf)
10:37 PM Bug #14677 (Third Party's Issue): On Windows Readline.refresh_line raises NoMethodError
I think it should raise NotImplementedError instead as other method in Readline claim to do. graywolf (Gray Wolf)
10:31 PM Bug #14675 (Third Party's Issue): On Windows Readline.redisplay raises NoMethodError
On Windows Readline.redisplay raises NoMethodError while according to docs it should raise NotImplementedError. graywolf (Gray Wolf)
05:43 PM Bug #14674 (Closed): New mismatched indentations warnings?
I recently got a failure in my test suite because ruby head warns of indentation it considers mismatched:
```
$ r...
marcandre (Marc-Andre Lafortune)
03:32 PM Feature #14672: Introduce a Date.safe_parse method
I can understand the proposal.
I think your primary use case is to be able to use less code,
without needing to r...
shevegen (Robert A. Heiler)
07:19 AM Feature #14672 (Open): Introduce a Date.safe_parse method
This feature request is about a Date.safe_parse method.
The method should call the original Date.parse method but av...
coorasse (Alessandro Rodi)
03:29 PM Revision a7c7cfb8 (git): * 2018-04-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:29 PM Revision 342709d1 (git): Try to fix some broken links
see https://github.com/ruby/docs.ruby-lang.org/issues/56
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63131 b2d...
znz (Kazuhiro NISHIYAMA)
12:55 PM Bug #14566: `raise` in `Exception#message` causes infinite loop
I tried making a patch fixing this issue. See attached.
This patch makes the behaviour similar to the old Ruby, resc...
ujihisa (Tatsuhiro Ujihisa)
09:51 AM Misc #14673 (Open): Documentation for `Array#drop` / `drop_while` unclear in regard to modification
The documentation for [`Array#drop`](http://ruby-doc.org/core-2.5.0/Array.html#method-i-drop) says:
> Drops first ...
sos4nt (Stefan Schüßler)
06:27 AM Bug #14671 (Rejected): Refining Module#refine itself introduces strange state
```ruby
using Module.new {
refine Module do
def refine *;
puts self
end
public :refine
e...
shyouhei (Shyouhei Urabe)
12:41 AM Feature #13770 (Closed): Can't create valid Cyrillic-named class/module
Applied in changeset trunk|r63130.
----------
symbol.c: non-ASCII constant names
* symbol.c (rb_sym_constant_char_p...
nobu (Nobuyoshi Nakada)
12:41 AM Revision f852af0e (git): symbol.c: non-ASCII constant names
* symbol.c (rb_sym_constant_char_p): support for non-ASCII
constant names. [Feature #13770]
* object.c (rb_mod_co...
nobu (Nobuyoshi Nakada)
12:04 AM Bug #14480 (Open): miniruby crashing when compiled with -O2 or -O1 on aarch64
Sorry for the confusion, I am not one of "upstream".
So I revert the issue status and there are no upstream opinion....
wanabe (_ wanabe)

04/09/2018

09:21 PM Feature #14605: Remove `original_iseq` from `rb_iseq_constant_body`
ko1 (Koichi Sasada) wrote:
> On my comment, I want to make clear that is it a typo of "encoded" -> "decoded" or not....
tenderlovemaking (Aaron Patterson)
04:00 PM Revision 44c01a5d (git): * 2018-04-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:00 PM Revision e0f7bb39 (git): rexml: Fix a XPath bug of -
[Bug #14600]
* lib/rexml/parsers/xpathparser.rb: Fix a bug that "N-M" requires a space
before "-".
git-svn-id: s...
Sutou Kouhei
03:55 PM Feature #12839: CSV - Give not nil but empty strings for empty fields
I added `:nil_value` option as a shortcut:
```ruby
require "csv"
p CSV.parse(',"",a') # => [[ni...
kou (Kouhei Sutou)
12:39 PM Revision bbcab8c6 (git): parse.y: [DOC] Ripper.dedent_string is internal
* parse.y (parser_dedent_string): stated that Ripper.dedent_string
is for internal use only.
[ci skip]
git-svn-id...
nobu (Nobuyoshi Nakada)
11:09 AM Revision 6a571272 (git): parse.y: extra error message after no digits
* parse.y (no_digits): return tINTEGER instead of unexpected
end-of-input, to get rid of extra error messages.
git...
nobu (Nobuyoshi Nakada)
10:45 AM Feature #14594: Rethink yield_self's name
I think expand is cool, it is expanding method to another one, so it can be chained.
My alternative suggestion wou...
BatuhanW (Batuhan Wilhelm)
09:59 AM Revision 066af25b (git): test_literal.rb: use assert_syntax_error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:59 AM Bug #13524: miniruby: [BUG] Segmentation fault at 0x0055e487e00230 ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-li
Alpine package jemalloc in their main repo, so it would seem that they support it to some extent: https://pkgs.alpine... thomasfedb (Thomas Drake-Brockman)
08:41 AM Bug #14480: miniruby crashing when compiled with -O2 or -O1 on aarch64
Just forwarding one remark from RH Bugzilla [0]:
~~~
--- Comment #44 from Dave Malcolm <[email protected]> ---
...
vo.x (Vit Ondruch)
05:51 AM Bug #14668: Ruby2.6.0-preview1とtrunkでnmatrixがコンパイルできない
trunk で試したところコンパイルが通るようになりました。
ありがとうございます!
余談も https://github.com/SciRuby/nmatrix に共有しておきます。
okkez (okkez _)
02:43 AM Bug #14668: Ruby2.6.0-preview1とtrunkでnmatrixがコンパイルできない
とりあえずstdalign.hをincludeするようにしてalignofを優先したのでtrunkご確認ください。
余談ですがC++の場合、allocaを使う必然性は皆無のはずです。普通に `VALUE slice_argv[d...
shyouhei (Shyouhei Urabe)
02:40 AM Bug #14668 (Closed): Ruby2.6.0-preview1とtrunkでnmatrixがコンパイルできない
Applied in changeset trunk|r63123.
----------
Prefer alignof() over _Alignof()
to allow C++ programs include <ruby....
shyouhei (Shyouhei Urabe)
03:24 AM Revision 85e9f287 (git): offsetof(type, foo.bar) is (arguably) a GCCism
clang -Wextended-offsetof warns this line.
CF: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2031.htm
git-svn-id...
shyouhei (Shyouhei Urabe)
02:40 AM Revision 9930481a (git): Prefer alignof() over _Alignof()
to allow C++ programs include <ruby.h>. [Bug #14668]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63123 b2dd03...
shyouhei (Shyouhei Urabe)
02:16 AM Misc #10375 (Rejected): [Redmine] Optimal viewing across a wide range of devices
Current redmine versioned 3.4 was optimized mobile view. hsbt (Hiroshi SHIBATA)

04/08/2018

07:39 PM Revision 784fdba3 (git): * 2018-04-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:39 PM Revision d33ddd63 (git): parse.y: fix docs for Ripper.dedent_string
* parse.y: [DOC] fix return type in call-seq of Ripper.dedent_string,
clarify the method's behavior.
git-svn-id: s...
stomar (Marcus Stollsteimer)
01:46 PM Bug #14668: Ruby2.6.0-preview1とtrunkでnmatrixがコンパイルできない
r61843 以降、ALLOCA_N マクロの中で(利用可能なときには) RUBY_ALIGNOF マクロを利用するようになったことがきっかけのようです。
ただこれはきっかけというだけで、どちらかというと RUBY_ALIGNO...
wanabe (_ wanabe)
11:17 AM Revision 610dc339 (git): compile.c: disable debug prints on sparc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:12 AM Revision fda1837e (git): compile.c: fix an exception argument
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:11 AM Feature #14669: Regexp does not expose the amount of capture groups.
This information is available for named captures via Regexp#names and Regexp#named_captures, but it doesn't seem avai... Eregon (Benoit Daloze)
07:26 AM Feature #14669: Regexp does not expose the amount of capture groups.
Can you give a few examples of how this may be used, and explain what's the purpose of getting the number of capture ... duerst (Martin Dürst)
04:26 AM Feature #14669: Regexp does not expose the amount of capture groups.
Should be added; may have just been forgotten if Onigmo already
supports that.
shevegen (Robert A. Heiler)
08:28 AM Revision a72a50b1 (git): compile.c: suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:20 AM Revision 0f8368ca (git): compile.c: align ibf_object_header
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:42 AM Revision 89a6a4ec (git): compile.c: debug prints in ibf_load_object
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:31 AM Revision 6ce79866 (git): [DOC] `*` in glob matches `\n` too [ci skip]
```
File.fnmatch("a*b", "a\nb") # => true
/\Aa.*b\z/x.match?("a\nb") # => false
/\Aa.*b\z/mx.match?("a\nb") # => tru...
znz (Kazuhiro NISHIYAMA)
05:22 AM Revision a38339d8 (git): * 2018-04-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:22 AM Revision b6185e17 (git): compile.c: align IBF dumped data
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:39 AM Bug #14670 (Closed): Objectで定義したmethod_missingでsuperが使えない
```ruby
class Object
def method_missing(name, *args, &block)
super
end
end
Object.new.foo
```
を実行...
keiju (Keiju Ishitsuka)

04/07/2018

11:15 PM Bug #14653 (Closed): Bootsnap gets segmentation fault
yahonda (Yasuo Honda) wrote:
> Thanks for the update. This issue does not reproduce anymore using ruby 2.6.0dev (201...
wanabe (_ wanabe)
12:18 AM Bug #14653: Bootsnap gets segmentation fault
Thanks for the update. This issue does not reproduce anymore using ruby 2.6.0dev (2018-04-07 trunk 63108) [x86_64-lin... yahonda (Yasuo Honda)
10:52 PM Feature #14669 (Open): Regexp does not expose the amount of capture groups.
For a project we needed to know how many capture groups a Regex exposes (before actually matching it). The Onigmo reg... xfbs (Patrick Elsen)
01:03 PM Revision 23228b6e (git): Remove outdated example from Numeric documentation
Since 2.5, Numeric instances can be cloned and duplicated.
[Fix GH-1850]
From: Miguel Landaeta <[email protected]>
...
nobu (Nobuyoshi Nakada)
09:44 AM Revision ba267bce (git): compile.c: refine debug prints
* compile.c (ibf_load_iseq_complete): use alternate hexadecimal
form for offset.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
03:48 AM Revision 2de68923 (git): test/ruby/test_iseq.rb: hexdump to diff
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:48 AM Revision eaf5e34b (git): Use assert_include
For better failure message:
- by assert_operator: Expected "X" to be include? "Y"
- by assert_include: Expected "X" ...
nobu (Nobuyoshi Nakada)
01:09 AM Feature #12839: CSV - Give not nil but empty strings for empty fields
Thank you very much for fixing #11126.
But I think that the status of my ticket (#12839) should be not Closed but ...
5.5 (5 5)
 

Also available in: Atom