Project

General

Profile

Activity

From 11/03/2015 to 11/09/2015

11/09/2015

10:25 PM Revision 84694f3d (git): add message for assert_equal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:16 PM Bug #11672 (Closed): refinement
I found following script behaves different between ruby 2.2.3 and trunk.
Is this difference intentional?
```
% c...
akr (Akira Tanaka)
09:28 PM Bug #11658: Segmentation fault with activeadmin test suite
Thanks all. Committed my 3-liner and h.shirosaki's test as r52511 normalperson (Eric Wong)
09:19 PM Bug #11658 (Closed): Segmentation fault with activeadmin test suite
Applied in changeset r52511.
----------
variable.c (rb_autoload_load): allow recursive calls
* variable.c (rb_autol...
Anonymous
03:36 PM Bug #11658: Segmentation fault with activeadmin test suite
I confirmed on my system.
- The proposed test deadlocks.
- The proposed 3 line patch makes the test pass.
- The ...
deivid (David Rodríguez)
05:02 AM Bug #11658: Segmentation fault with activeadmin test suite
I found a test that causes deadlock.
~~~
diff --git a/test/ruby/test_autoload.rb b/test/ruby/test_autoload.rb
in...
h.shirosaki (Hiroshi Shirosaki)
09:18 PM Revision 64c08daf (git): variable.c (rb_autoload_load): allow recursive calls
* variable.c (rb_autoload_load): allow recursive calls
[ruby-core:71345] [Bug #11658]
* test/ruby/test_autoload.rb ...
Eric Wong
05:18 PM Revision 2b15d169 (git): fix comment: tobj->gmt is 0:localtime 1:utc 2:fixoff 3:init
see also TIME_UTC_P and TIME_LOCALTIME_P
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52510 b2dd03c8-39d4-4d8f-...
naruse (Yui NARUSE)
04:26 PM Bug #11671 (Closed): Net::HTTP uses closed keep-alive connection, causing EOFError
Most HTTP servers close idle keep-alive connections after a timeout. For the client, this leads to the TCP socket rea... krishan (Kristian Hanekamp)
03:57 PM Revision 13a31356 (git): add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:37 PM Bug #11632 (Closed): Resolv::DNS::Message.encode fails to encode messages larger than 16383 byte
Applied in changeset r52508.
----------
* lib/resolv.rb (Resolv::DNS::Message::MessageEncoder#put_labels):
Prevent...
akr (Akira Tanaka)
09:21 AM Bug #11632: Resolv::DNS::Message.encode fails to encode messages larger than 16383 byte
Pull submitted: https://github.com/ruby/ruby/pull/1088 hannes.georg (Hannes Georg)
03:37 PM Revision 60055f8d (git): * lib/resolv.rb (Resolv::DNS::Message::MessageEncoder#put_labels):
Prevent overflow of pointer to labels.
Patch by Hannes Georg. [ruby-core:71248] [Bug #11632]
git-svn-id: svn+ss...
akr (Akira Tanaka)
03:27 PM Revision a3e4d6a5 (git): * 2015-11-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:27 PM Revision 7ecf28ca (git): * gems/bundled_gems: update to power_assert 0.2.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
03:06 PM Bug #10984: Hash#contain? to check whether hash contains other hash
Yukihiro Matsumoto wrote:
> `Hash#contain?` has slight ambiguity problem. I'd vote for adding `>=`, along with `<=`...
olivierlacan (Olivier Lacan)
08:57 AM Bug #10984: Hash#contain? to check whether hash contains other hash

Discussion: https://docs.google.com/document/d/1D0Eo5N7NE_unIySOKG9lVj_eyXf66BQPM4PKp7NvMyQ/pub
Feel free to con...
ko1 (Koichi Sasada)
08:56 AM Bug #10984: Hash#contain? to check whether hash contains other hash
`Hash#contain?` has slight ambiguity problem. I'd vote for adding `>=`, along with `<=`.
Matz.
matz (Yukihiro Matsumoto)
03:00 PM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
What do you mean? Isn't the number of spaces a tab is equivalent to only relevant when the first line is indented wit... Ajedi32 (Ajedi32 W)
06:52 AM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
Accepted. We have to define the behavior on (hard) tabs. As a UNIX user, I'd like to tak 8 spaces for tab stops.
M...
matz (Yukihiro Matsumoto)
06:36 AM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
Discussion: https://docs.google.com/document/d/1D0Eo5N7NE_unIySOKG9lVj_eyXf66BQPM4PKp7NvMyQ/pub
Feel free to conti...
ko1 (Koichi Sasada)
02:39 PM Feature #11537: Introduce "Safe navigation operator"
Nobuyoshi Nakada wrote:
> Binary operators implicitly continue the next line, without a backslash.
>
> e.g.,
>
...
enebo (Thomas Enebo)
12:48 PM Revision 748abedf (git): vm_eval.c: rb_check_funcall_default
* vm_eval.c (rb_check_funcall_default): split from
rb_check_funcall to return the given fallback value.
* object.c ...
nobu (Nobuyoshi Nakada)
12:27 PM Feature #11643 (Closed): A new method on Hash to grab values out of nested hashes, failing gracefully
Applied in changeset r52504.
----------
dig
* array.c (rb_ary_dig): new method Array#dig.
* hash.c (rb_hash_dig): n...
nobu (Nobuyoshi Nakada)
07:02 AM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
hm shortly patch idea: instead of
~~~
keys = keys.dup
ckey = keys.shift
~~~
wouldn't
~~~
ckey, *keys = ...
Hanmac (Hans Mackowiak)
07:01 AM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
Discussion: https://docs.google.com/document/d/1D0Eo5N7NE_unIySOKG9lVj_eyXf66BQPM4PKp7NvMyQ/pub
Feel free to conti...
ko1 (Koichi Sasada)
06:56 AM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
The idea is accepted. The name is the problem. The current candidates are 'dig' and 'fetch_in'.
I prefer 'dig'. If...
matz (Yukihiro Matsumoto)
12:27 PM Revision 29862685 (git): dig
* array.c (rb_ary_dig): new method Array#dig.
* hash.c (rb_hash_dig): new method Hash#dig.
* object.c (rb_obj_dig): d...
nobu (Nobuyoshi Nakada)
12:24 PM Feature #11665: Support nested functions for better code organization
> But at least, the current behavior of nested method definition is useless
I'd like to show some cases where the ...
mame (Yusuke Endoh)
12:06 PM Feature #11665: Support nested functions for better code organization
private or scope local method.
~~~ruby
class X
using Module.new {
refine X do
def a
:a
...
nobu (Nobuyoshi Nakada)
07:37 AM Feature #11665: Support nested functions for better code organization
Discussion: https://docs.google.com/document/d/1D0Eo5N7NE_unIySOKG9lVj_eyXf66BQPM4PKp7NvMyQ/pub
Feel free to conti...
ko1 (Koichi Sasada)
07:37 AM Feature #11665: Support nested functions for better code organization
I am not sure nested functions are what we need. Maybe we need "real functions" with Java|C++ private scope.
Beside...
matz (Yukihiro Matsumoto)
06:43 AM Feature #11665: Support nested functions for better code organization
currently its possible to define methods inside of methods:
~~~ruby
class A
def start
def method1
...
Hanmac (Hans Mackowiak)
10:54 AM Feature #4840: Allow returning from require
Thanks for the update, but I'd like to point out the description in that document is not accurate:
~~~ruby
### Be...
rosenfeld (Rodrigo Rosenfeld Rosas)
06:34 AM Feature #4840: Allow returning from require
Discussion: https://docs.google.com/document/d/1D0Eo5N7NE_unIySOKG9lVj_eyXf66BQPM4PKp7NvMyQ/pub
Feel free to conti...
ko1 (Koichi Sasada)
09:20 AM Feature #8976: file-scope freeze_string directive
Koichi Sasada wrote:
> Discussion: https://docs.google.com/document/d/1D0Eo5N7NE_unIySOKG9lVj_eyXf66BQPM4PKp7NvMyQ/p...
shugo (Shugo Maeda)
08:32 AM Feature #8976 (Closed): file-scope freeze_string directive
Applied in changeset r52501.
----------
* compile.c (iseq_compile_each): Dynamic string literals should be
frozen....
shugo (Shugo Maeda)
06:35 AM Feature #8976: file-scope freeze_string directive
Discussion: https://docs.google.com/document/d/1D0Eo5N7NE_unIySOKG9lVj_eyXf66BQPM4PKp7NvMyQ/pub
Feel free to add y...
ko1 (Koichi Sasada)
09:02 AM Revision 50dbcf5f (git): * gems/bundled_gems: Upgrade the did_you_mean gem to 1.0.0.beta3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Yuki Nishijima
08:52 AM Feature #11666: IPAddr#private?
Accepted. But we have naming issue. `private?` or `private_addr?` or something else?
Any comments?
Matz.
matz (Yukihiro Matsumoto)
08:38 AM Revision ece64610 (git): * test/runner.rb: use official repository for coverage tool.
* Makefile.in: ditto.
* common.mk: ditto.
* .gitignore: ignored third party repositories.
git-svn-id: svn+ssh://ci.r...
hsbt (Hiroshi SHIBATA)
08:32 AM Revision 0303a45d (git): * compile.c (iseq_compile_each): Dynamic string literals should be
frozen.
[ruby-core:57574] [Feature #8976]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52501 b2dd03c8-39d4-4d...
shugo (Shugo Maeda)
08:08 AM Feature #11653: Add to_proc on Hash
Discussion: https://docs.google.com/document/d/1D0Eo5N7NE_unIySOKG9lVj_eyXf66BQPM4PKp7NvMyQ/pub
Feel free to conti...
ko1 (Koichi Sasada)
08:03 AM Feature #11653: Add to_proc on Hash
Accepted.
Matz.
matz (Yukihiro Matsumoto)
08:02 AM Feature #11588: Implement structured warnings
For me, warning is an interface (or indication) to humans. Unlike exceptions, they rarely need to be handled by machi... matz (Yukihiro Matsumoto)
07:40 AM Feature #11670 (Rejected): Show warning to make nested def obsolete
Warn without '-w' at compile time.
See https://bugs.ruby-lang.org/issues/11665
ko1 (Koichi Sasada)
06:56 AM Revision 863396a5 (git): * common.mk: Use ruby organization url for simplecov repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
05:38 AM Bug #11669 (Closed): inconsitent behavior of refining frozen class
Is this expected behavior?
```ruby
class C
def foo
p 1
end
end
module Foo
refine C do
def fo...
naruse (Yui NARUSE)
04:38 AM Bug #11668 (Closed): SEGV instead of SystemStackError when using the TracePoint API
**fixnum_monkey.rb**
~~~
class Fixnum
define_method(:to_s) do |*args|
to_default_s(*args)
end
a...
deivid (David Rodríguez)
03:17 AM Bug #11667 (Closed): Ruby process crashes when TracePoint.new(:raise) is enabled and SystemStackError is raised
Let's say a `TracePoint.new(:raise)` is enabled. When a method that recursively calls itself, the Ruby process will j... yuki24 (Yuki Nishijima)

11/08/2015

03:13 PM Revision f3cafab5 (git): * 2015-11-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:13 PM Revision a110b0d7 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:49 PM Bug #11603: Count trace_running for internal event
Backported into `ruby_2_2` branch at r52497. nagachika (Tomoyuki Chikanaga)
02:49 PM Revision 27635014 (git): merge revision(s) 52476,52477: [Backport #11603]
* vm_trace.c (rb_threadptr_exec_event_hooks_orig):
maintain trace_running counter on internal events.
...
nagachika (Tomoyuki Chikanaga)
08:36 AM Bug #11661 (Assigned): sprintf causes a KeyError instead of using a default value for hash substitution
nobu (Nobuyoshi Nakada)
07:58 AM Bug #11661 (Feedback): sprintf causes a KeyError instead of using a default value for hash substitution
[GH-1087](https://github.com/ruby/ruby/pull/1087) doesn't work properly with a default proc expecting an argument, bu... nobu (Nobuyoshi Nakada)
08:32 AM Revision 12c244d3 (git): hash.c: fix oob access
* hash.c (rb_hash_default): do not access argv when no arguments
is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
07:46 AM Revision 18034276 (git): symbol.c: rb_cstr_intern
* symbol.c (rb_cstr_intern): new function to make Symbol object
like as rb_str_intern() but from pointer to the nam...
nobu (Nobuyoshi Nakada)
07:28 AM Bug #11662 (Feedback): Hash#delete causes segmentation fault at 0x00000000001ec8
Could you inspect the broken object with gdb?
And you seem using threads, where is `@tmp_handlers` hash modified oth...
nobu (Nobuyoshi Nakada)
07:27 AM Revision bdc28765 (git): * NEWS: describe addition of File::TMPFILE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
07:20 AM Feature #11666 (Closed): IPAddr#private?
I propose a new feature: IPAddr#private?.
Example:
```ruby
IPAddr.new("192.168.1.1").private? #=> true.
```
Glass_saga (Masaki Matsushita)
06:44 AM Feature #11558: Time related C APIs
とりあえず特に異論の無かった下記を入れようかと思います。
```diff
diff --git a/include/ruby/intern.h b/include/ruby/intern.h
index af6b75d..3...
naruse (Yui NARUSE)
06:29 AM Revision 859314cb (git): bigdecimal.c: suppress warnings
* ext/bigdecimal/bigdecimal.c (AddExponent): suppress
strict-overflow warnings.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
06:26 AM Revision 1a98b567 (git): * file.c: Add O_TMPFILE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
05:54 AM Revision 6e19fc30 (git): suppress warnings
* ext/date/date_parse.c (date_zone_to_diff): suppress parentheses
warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
05:24 AM Revision 0d65138c (git): method.h: suppress warnings
* method.h (METHOD_ENTRY_{VISI,BASIC,FLAGS}_SET): suppress
shift-op-parentheses warnings. [Fix GH-1082]
git-svn-i...
nobu (Nobuyoshi Nakada)
05:08 AM Revision eb28bd80 (git): io.c: [DOC] IO#gets [skip ci]
* io.c (rb_io_gets_m): [DOC] add example using limit argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@524...
nobu (Nobuyoshi Nakada)
05:06 AM Revision fdc4f68f (git): test_gdbm.rb: typo
* test/gdbm/test_gdbm.rb (teardown): fix instance variable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5...
nobu (Nobuyoshi Nakada)
05:01 AM Revision 3b3c3237 (git): * ext/psych/psych_emitter.c: bakcport 5bd7744 from tenderlove/psych.
support backword compatibility of Ruby 2.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52487 b2dd03c8-39d4-4d8...
hsbt (Hiroshi SHIBATA)
02:08 AM Revision 86eda624 (git): io.c: [DOC] IO#gets [skip ci]
* io.c (rb_io_gets_m): [DOC] fix class name and reword as
"multibyte". [Fix GH-1085]
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
01:55 AM Revision 965e9df3 (git): io.c: [DOC] IO#gets [skip ci]
* io.c (rb_io_gets_m): Update IO#gets doc for characters more than
1 byte. [Fix GH-1085]
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
01:38 AM Revision baddc0cb (git): * lib/uri/ftp.rb: fix a typo.
[fix GH-1084][ci skip] Patch by @windwiny
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52484 b2dd03c8-39d4-4d8f...
hsbt (Hiroshi SHIBATA)

11/07/2015

11:10 PM Revision 1dd547fe (git): * vm_trace.c (exec_hooks_precheck): check need_clean everytime
to clean-up unused hooks.
* vm_trace.c (list->need_clean): use as boolean value.
git-svn-id: svn+ssh://ci.ruby-l...
ko1 (Koichi Sasada)
09:17 PM Feature #11665 (Open): Support nested functions for better code organization
The wisdom of using local variables has been internalized in all of us from the beginning of our software careers. I... keithrbennett (Keith Bennett)
08:17 PM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
I was about to report this feature request but was happy to find that it was already there...but disappointed that it... keithrbennett (Keith Bennett)
07:53 PM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
I like the 'dig' method approach for these reasons:
* it does not require any fanciness or magic that could confus...
keithrbennett (Keith Bennett)
04:58 AM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
The problem with `hash.fetch_in(:order, :shipping_info, :country, 'Not
found')` is that `'Not found'` is a (possibly...
austin (Austin Ziegler)
07:41 PM Bug #11417: Wrong description for `limit` parameter for IO#gets
Ary hello!
The problem in UTF-8 encoding. For example japanese characters are represented by 3 bytes:
~~~
Stri...
davydov_anton (Anton Davydov)
06:48 PM Revision d7924abf (git): common.mk: update dependency
* common.mk: update dependency of string.o to id.h for r52479.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@524...
nobu (Nobuyoshi Nakada)
04:49 PM Revision ce8ec0c9 (git): * 2015-11-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:48 PM Revision 52e1c3b0 (git): * lib/net/http.rb (Net::HTTP#initialize):
default value of Net::HTTP#open_timeout is now 60 (was nil).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52480...
naruse (Yui NARUSE)
12:51 PM Bug #11603: Count trace_running for internal event
Great! Thanks a lot, Koichi!
We need backports to 2.1 and 2.2 if possible.
deivid (David Rodríguez)
12:55 AM Bug #11603 (Closed): Count trace_running for internal event
Applied in changeset r52476.
----------
* vm_trace.c (rb_threadptr_exec_event_hooks_orig):
maintain trace_running ...
ko1 (Koichi Sasada)
04:38 AM Bug #11656: ruby crashes when running rspec from top level context, but not from the individual spec that is causing ruby to crash
It creates a memoized function of the symbol name containing the value.

On Thu, Nov 5, 2015 at 12:23 AM, <nobu@ru...
austin (Austin Ziegler)
03:59 AM Bug #11659: Strange behavior setting previously-undefined local variables with a statement modifier
That's not a typo. :-) I wanted to intentionally compare and contrast between a scenario where the same variable was ... mwpastore (Mike Pastore)
03:18 AM Revision f9806460 (git): string.c: use predefined IDs for minor bloat reduction
* string.c (id_to_s): remove redundant variable
(rb_obj_as_string): trade id_to_s for idTo_s
(rb_str_equal): repl...
Eric Wong
02:40 AM Revision d79891c2 (git): thread.c (rb_cThreadShield): make static
Nothing outside of thread.c accesses this variable, so avoid
cluttering up the global namespace with it.
git-svn-id:...
Eric Wong
02:32 AM Feature #11537: Introduce "Safe navigation operator"
I have weak objection because `foo&.bar` seems check nil *and* false.
Maybe this is because I read this expression...
ko1 (Koichi Sasada)
12:49 AM Feature #11537: Introduce "Safe navigation operator"
Rodrigo Rosenfeld Rosas wrote:
> Did you mean `.?` and `&.` would be implemented in the same way?
Yes.
> For e...
nobu (Nobuyoshi Nakada)
12:55 AM Revision 0587f301 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:55 AM Revision 2d4bc584 (git): * vm_trace.c (rb_threadptr_exec_event_hooks_orig):
maintain trace_running counter on internal events.
This patch is made by Takashi Kokubun <[email protected]>.
...
ko1 (Koichi Sasada)
12:25 AM Revision 9d0012b0 (git): console.c: check unused args
* ext/io/console/console.c (console_set_winsize): unused arguments
also should be nil or integers.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)

11/06/2015

11:47 PM Revision 9853cb05 (git): fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:35 PM Revision 92861a11 (git): * include/ruby/ruby.h (RSTRUCT_PTR): need a close parenthese.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:06 PM Feature #11537: Introduce "Safe navigation operator"
Yukihiro Matsumoto wrote:
> But behavior of `&.` should be kept, i.e. it should skip `nil` but recognize `false`.
...
rosenfeld (Rodrigo Rosenfeld Rosas)
04:16 AM Feature #11537 (Open): Introduce "Safe navigation operator"
Yukihiro Matsumoto wrote:
> I think about this for a while, and thinking of introducing `&.` instead of `.?`, becaus...
shugo (Shugo Maeda)
02:21 AM Feature #11537: Introduce "Safe navigation operator"
Binary operators implicitly continue the next line, without a backslash.
e.g.,
~~~ruby
foo +
1
~~~
is sam...
nobu (Nobuyoshi Nakada)
01:50 AM Feature #11537: Introduce "Safe navigation operator"
Eric Wong wrote:
> [email protected] wrote:
> > How about '\'? We can pay homage to Windows file delimeter?
> ...
enebo (Thomas Enebo)
01:25 AM Feature #11537: Introduce "Safe navigation operator"
I think about this for a while, and thinking of introducing `&.` instead of `.?`, because:
* `.?` is similar to `?...
matz (Yukihiro Matsumoto)
05:07 PM Revision 7ceb0f9e (git): * dir.c (dir_fileno, dirfd): support of Dir#fileno on Solaris 10.
Solaris 10 does not have dirfd, but the file descriptor of a
directory is stored in the d_fd or dd_fd member in the...
ngoto (Naohisa Goto)
04:19 PM Revision e48bf65d (git): Revert r52469
"* lib/cmath.rb: methods which has suffix '!' are now deprecated."
It breaks rubyspec:
http://rubyci.s3.amazonaws.com...
naruse (Yui NARUSE)
03:39 PM Feature #10974: [PATCH] Remove methods which has suffix `!`(sin!, cos!…) from CMath
i know this ticket got closed by the change of gogo,
but i want to ask (maybe in a different ticket later)
if its w...
Hanmac (Hans Mackowiak)
03:13 PM Revision 10ef802d (git): * 2015-11-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:11 PM Revision 74ae4ae2 (git): * lib/cmath.rb: methods which has suffix '!' are now deprecated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kazuki Tanaka
02:01 PM Revision 0765fcf8 (git): * array.c: clarifies Array#reject! documentation.
[fix GH-894][ci skip] Patch by @GxSplinter
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52468 b2dd03c8-39d4-4d8...
Kazuki Tanaka
11:19 AM Revision 6fe4187e (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:18 AM Revision de8c6931 (git): * test/runner.rb: extracted test helper.
* test/lib/zombie_hunter.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52466 b2dd03c8-39d4-4d8f-98ff-...
hsbt (Hiroshi SHIBATA)
09:19 AM Bug #11644 (Closed): Since r52055, TestMkmf::TestConvertible failed on Solaris 10 with fcc
Applied in changeset r52465.
----------
* include/ruby/ruby.h (rb_array_const_ptr, rb_struct_const_ptr):
Suppress ...
ngoto (Naohisa Goto)
09:19 AM Revision fcf63d1e (git): * include/ruby/ruby.h (rb_array_const_ptr, rb_struct_const_ptr):
Suppress pointer type mismatch warnings occurred with old version
of Fujitsu C Compiler (fcc) on Solaris 10. The wa...
ngoto (Naohisa Goto)
05:09 AM Revision a2dbb9d6 (git): rbinstall.rb: compress man pages.
* tool/rbinstall.rb (man): get rid of prompt from compress
program.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
04:42 AM Revision ae907243 (git): rbinstall.rb: compress man pages.
* tool/rbinstall.rb (man): compress mdoc-style man pages, without
Mdoc2Man.
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
03:58 AM Bug #11658: Segmentation fault with activeadmin test suite
[email protected] wrote:
> >Maybe this three-line patch fixes the deadlock recursion problem:
>
> >http:...
normalperson (Eric Wong)
03:20 AM Bug #11658: Segmentation fault with activeadmin test suite
>Maybe this three-line patch fixes the deadlock recursion problem:
>http://80x24.org/spew/20151105213303.19743-1-e...
hsbt (Hiroshi SHIBATA)
03:54 AM Feature #11664 (Closed): [PATCH] introduce rb_autoload_value to replace rb_autoload
`rb_autoload_value` may be safer by preventing premature GC. It
can also be more efficient by passing a pre-frozen ...
normalperson (Eric Wong)
03:39 AM Revision 837babd5 (git): change DOTQ
* defs/id.def (token_ops), parse.y (parser_yylex): change DOTQ
from ".?" to "&.". [ruby-core:71363] [Feature #1153...
nobu (Nobuyoshi Nakada)
02:25 AM Bug #11412: The default filename encoding causes errors on Windows
Matthew Simoneau wrote:
> I'd like to see this issue reopened.
>
> The solution of specifying UTF-8 explicitly wo...
naruse (Yui NARUSE)
12:01 AM Bug #11663 (Closed): Segfault when using multiple keywords if the first keyword is invalid
Applied in changeset r52461.
----------
parse.y: fix segv after invalid keyword argument
* parse.y (kwd_append): fi...
nobu (Nobuyoshi Nakada)
12:01 AM Revision dfa75017 (git): parse.y: fix segv after invalid keyword argument
* parse.y (kwd_append): fix segv after invalid keyword argument,
preceding keyword list is NULL when syntax error i...
nobu (Nobuyoshi Nakada)

11/05/2015

11:48 PM Feature #11537: Introduce "Safe navigation operator"
[email protected] wrote:
> How about '\'? We can pay homage to Windows file delimeter?
>
> a\b\c
>
> I jus...
normalperson (Eric Wong)
11:01 PM Feature #11537: Introduce "Safe navigation operator"
How about '\'? We can pay homage to Windows file delimeter?
a\b\c
I just scanned lexer and I cannot think of a...
enebo (Thomas Enebo)
10:28 PM Bug #11658: Segmentation fault with activeadmin test suite
[email protected] wrote:
> Can you install `nodejs` via apt?

Sorry, I'm willing to audit all that code b...
normalperson (Eric Wong)
08:44 AM Bug #11658 (Assigned): Segmentation fault with activeadmin test suite
Can you install `nodejs` via apt?
I got another error related with r52332 at ubuntu 14.04
```
$ sudo apt insta...
hsbt (Hiroshi SHIBATA)
07:28 AM Bug #11658: Segmentation fault with activeadmin test suite
It's still asking for a JS runtime:

/lib/ruby/gems/2.3.0/gems/execjs-2.4.0/lib/execjs/runtimes.rb:45:in `autodete...
normalperson (Eric Wong)
07:00 AM Bug #11658: Segmentation fault with activeadmin test suite
> Anyway to reproduce this without loading a JS engine?
Yes, I can reproduce with `ruby -Ilib:spec -e "require 'ra...
hsbt (Hiroshi SHIBATA)
06:38 AM Bug #11658: Segmentation fault with activeadmin test suite
Anyway to reproduce this without loading a JS engine?
I haven't touched anything Rails-related in years because of JS.
normalperson (Eric Wong)
03:46 AM Bug #11658 (Closed): Segmentation fault with activeadmin test suite
I detect causes of SEGV with Ruby 2.3.0 HEAD and activeadmin-1.0.0.pre2 after r52332.
Please try following instruc...
hsbt (Hiroshi SHIBATA)
10:09 PM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
I've come to realize that it might not be entirely clear what is being proposed. In essence, all of the following exa... 0x0dea (D.E. Akers)
09:53 PM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
This seems quite nice. Any downsides? shan (Shannon Skipper)
10:06 PM Revision 9a0802a3 (git): * 2015-11-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:05 PM Revision 7d0a3681 (git): test/ruby/test_autoload: hoist out ruby_impl_require
Having "require" implemented in Ruby is the common case nowadays
with RubyGems, so ensure it is easy-to-reuse the sam...
Eric Wong
09:23 PM Bug #11663 (Closed): Segfault when using multiple keywords if the first keyword is invalid
When loading a method with an invalid keyword (such as one that ends in a question mark), a syntax error occurs as is... smacgahan (Sean MacGahan)
09:13 PM Bug #11662 (Closed): Hash#delete causes segmentation fault at 0x00000000001ec8
I have seen this bug happen several times, but only when the system is under heavy load. I have to apologize that do... mstate (Mike State)
08:48 PM Bug #11661 (Closed): sprintf causes a KeyError instead of using a default value for hash substitution
When using a format string that substitutes hash values (or using the `%` operator on a string), instead of using the... eddyluten (Eddy Luten)
08:36 PM Feature #11660 (Open): a falsy value (similar to js undefined) that facilitates forwarding of default arguments
I'll call it "missing" here. Consider the following scenario:
```ruby
def foo(default1 = some_expression)
end
...
bughit (bug hit)
04:13 PM Bug #11603: Count trace_running for internal event
Byebug 7.0.0 including https://github.com/deivid-rodriguez/byebug/pull/160 is released to rubygems.org the day before... k0kubun (Takashi Kokubun)
06:59 AM Bug #11659: Strange behavior setting previously-undefined local variables with a statement modifier

~~~
var2 = 'default' if defined?(var1).nil?; var2
~~~
because you got a typo for var2, see the var1 inside.
...
Hanmac (Hans Mackowiak)
06:43 AM Bug #11659 (Rejected): Strange behavior setting previously-undefined local variables with a statement modifier
Consider a previously-undefined local variable `var1`:
~~~
irb(main):001:0> if defined?(var1).nil?; var1 = 'defau...
mwpastore (Mike Pastore)
05:23 AM Bug #11656: ruby crashes when running rspec from top level context, but not from the individual spec that is causing ruby to crash
What does `let` do? nobu (Nobuyoshi Nakada)
04:04 AM Revision 72b785e0 (git): id.def: token_ops
* defs/id.def (token_ops): gather associations between IDs,
operators, and parser tokens.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
03:08 AM Feature #8976: file-scope freeze_string directive
> Shugo Maeda wrote:
>
>> It's not just for compatibility.
>>
>> The original problem was that a new String obje...
kosaki (Motohiro KOSAKI)
03:02 AM Bug #11657 (Closed): Abort Trap 6 when running a test suite
An internal Ruby gem I develop for my company has a test suite that works fine on Ruby 2.1.x but crashes on **2.2.3 a... adh1003 (Andrew Hodgkinson)
02:39 AM Bug #11655: Can't refine Object.const_missing
Nobu? Given the behavior observed above, I must maintain that this is a bug worth reopening. If I am mistaken in that... 0x0dea (D.E. Akers)
01:24 AM Revision fcd15352 (git): parse.y: CALL_Q_P
* parse.y (CALL_Q_P): extract common condition for safe-call
token.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
01:17 AM Revision 612978ed (git): ext: use RARRAY_ASET
* ext/socket/socket.c (make_addrinfo): use RARRAY_ASET for
write-barrier.
* ext/tk/tcltklib.c ({call,eval,invoke}_q...
nobu (Nobuyoshi Nakada)
01:15 AM Revision d2e48a3f (git): tk: RARRAY_AREF
* ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c (RARRAY_AREF): add
fallback definition.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
01:09 AM Revision 4d21e6aa (git): * 2015-11-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:09 AM Revision 57e2877e (git): ext: use RARRAY_AREF
* ext/**/*.c: prefer RARRAY_AREF to indexing RARRAY_CONST_PTR.
pointed out by hanmac.
https://github.com/ruby/rub...
nobu (Nobuyoshi Nakada)

11/04/2015

06:23 PM Bug #11656: ruby crashes when running rspec from top level context, but not from the individual spec that is causing ruby to crash
Daniel Greenberg wrote:
> Attached file here because it is hard to read above.
```ruby
describe '#hash' do
...
dgreenbe77 (Daniel Greenberg)
06:11 PM Bug #11656: ruby crashes when running rspec from top level context, but not from the individual spec that is causing ruby to crash
Attached file here because it is hard to read above. dgreenbe77 (Daniel Greenberg)
06:07 PM Bug #11656 (Closed): ruby crashes when running rspec from top level context, but not from the individual spec that is causing ruby to crash
/Users/dgreenbe77/Development/frederick_gem/lib/frederick/models/model.rb
./spec/lib/frederick/models/model_spec.rb
dgreenbe77 (Daniel Greenberg)
02:11 PM Bug #11655: Can't refine Object.const_missing
Nobuyoshi Nakada wrote:
> It's a spec.
> Refinements targets only explicit invocations.
How does that square wit...
0x0dea (D.E. Akers)
01:43 PM Bug #11655 (Rejected): Can't refine Object.const_missing
It's a spec.
Refinements targets only explicit invocations.
nobu (Nobuyoshi Nakada)
12:32 PM Bug #11655 (Rejected): Can't refine Object.const_missing
```ruby
TracePoint.new(:c_call) { |tp|
if tp.method_id == :const_missing
puts "top-level const_missing is #{...
0x0dea (D.E. Akers)
01:40 PM Bug #11654: Segmentation fault
Seems related to GC, but uncertain.
And the latest 2.2 is 2.2.3.
nobu (Nobuyoshi Nakada)
10:19 AM Bug #11654 (Closed): Segmentation fault
I encountered a segmentation fault in a default job running in the background.
Unfortunately, I can not share the ...
marc.hbnr (Marc Hbnr)
12:34 PM Revision a015a013 (git): revive deleted entry [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:12 AM Feature #8976: file-scope freeze_string directive
Shugo Maeda wrote:
> It's not just for compatibility.
>
> The original problem was that a new String object has...
akr (Akira Tanaka)
07:45 AM Feature #8976: file-scope freeze_string directive
Koichi Sasada wrote:
> akr: how about dynamic strings “foo#{bar}baz”?
> nobu: how about “#{‘baz’}”?
> ko1: it is e...
shugo (Shugo Maeda)
08:33 AM Revision 86875c2b (git): * lib/debug.rb: Add documentation for #thread_list_all.
[Misc #11580][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
07:50 AM Revision 0047ab96 (git): tkutil.c: rb_ary_cat
* ext/tk/tkutil/tkutil.c (rb_ary_cat): fallback definition.
rb_ary_cat() is available since 2.0.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
07:50 AM Revision 8df1863d (git): tkutil.c: strndup
* ext/tk/tkutil/tkutil.c (strndup): fallback definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52449 b2d...
nobu (Nobuyoshi Nakada)
07:27 AM Revision 3553a86e (git): ext: use RARRAY_CONST_PTR
* ext/bigdecimal/bigdecimal.c: use RARRAY_CONST_PTR just fore
reference instead of RARRAY_PTR, to keep the array WB...
nobu (Nobuyoshi Nakada)
07:18 AM Revision 52912db4 (git): ext: adjust index type
* ext: use long for index instead of int and RARRAY_LENINT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52447 ...
nobu (Nobuyoshi Nakada)
06:59 AM Revision c8803b10 (git): variable.c: suppress a warning
* variable.c (autoload_reset): initialize formally to suppress a
warning from container_off_var() by Visual C.
git...
nobu (Nobuyoshi Nakada)
06:46 AM Revision b381e3ca (git): * class.c: fix documentation for rb_define_class{_id}_under.
[fix GH-991][ci skip] Patch by @kachick
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52445 b2dd03c8-39d4-4d8f-9...
hsbt (Hiroshi SHIBATA)
06:40 AM Revision 825c891b (git): * method.h: fix typo. Patch by @davydovanton
[fix GH-1076][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:39 AM Revision b6807ba3 (git): * hash.c: use correct grammer. Patch by @tveastman
[fix GH-1079][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:01 AM Feature #11653: Add to_proc on Hash
You can write it as:
~~~ruby
[:e, :a, :b, :f, :c, :d].map(&my_hash.method(:[]))
~~~
nobu (Nobuyoshi Nakada)
05:24 AM Feature #11653: Add to_proc on Hash
I think this is an excellent idea. I hope this can make it into Ruby 2.3. duerst (Martin Dürst)
02:59 AM Feature #11653 (Closed): Add to_proc on Hash
Procs can be called the same way a hash is with `[]`. But a Hash is not mappable as a Proc.
~~~ruby
my_hash ...
danielpclark (Daniel P. Clark)
03:48 AM Bug #10984: Hash#contain? to check whether hash contains other hash
What if

```ruby
{b: 1} === {a: 2, b: 1}
```

then

```ruby
h = {a: 2, b: 1}
case h
when {b: 1...
funny_falcon (Yura Sokolov)
03:13 AM Revision c457e91a (git): * lib/drb/drb.rb: add debug information for mswin CI. this change will be reverted later.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:38 AM Revision f6043758 (git): process.c: fix rdoc of Process.getsid [ci skip]
* process.c (proc_getsid): [DOC] Fix double word 'for' and typo.
[Fix GH-1080]
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
02:33 AM Revision 96831c00 (git): test_gdbm.rb: sync after reorganize
* test/gdbm/test_gdbm.rb (test_reorganize): sync after reorganize
to ensure that the db file get packed.
git-svn-i...
nobu (Nobuyoshi Nakada)
01:32 AM Revision ecbbd236 (git): fake.rb: fix builddir
* tool/fake.rb (prehook): consider the case building under the
source directory.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
01:31 AM Revision 7995eb43 (git): mkmf/base.rb: capture output
* test/mkmf/base.rb (TestMkmf::Base::Capture#write): capture
output inside mkmf method.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
01:31 AM Revision 051127ab (git): mkmf.rb: revert r52431
* lib/mkmf.rb: it's an issue of test/mkmf.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52437 b2dd03c8-39d4-4d8...
nobu (Nobuyoshi Nakada)
12:44 AM Feature #11537: Introduce "Safe navigation operator"
Thomas, that reminds me of old UUCP addresses (grin).
But ,as Nobu pointed out, it can be parsed as `u(!profile(!thu...
matz (Yukihiro Matsumoto)
12:32 AM Feature #11537: Introduce "Safe navigation operator"
Thomas Sawyer wrote:
> `..` wouldn't work. But that reminds me. Was `!` ever considered?
>
> u!profile!thumbn...
nobu (Nobuyoshi Nakada)
12:07 AM Feature #11537: Introduce "Safe navigation operator"
Philip Claren wrote:
> Thomas Sawyer wrote:
> > In this way is more an extension of the ternary operator -- the ini...
trans (Thomas Sawyer)
12:01 AM Feature #11537: Introduce "Safe navigation operator"
Laurentiu Macovei wrote:
> The same discussion happens to be on TypeScript and ES6 worlds.
> Using `..` instead of ...
trans (Thomas Sawyer)
12:03 AM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
Yukihiro Matsumoto wrote:
> I prefer method way to (already reverted) `params.?[:order].?[:shipping_info].?[:country...
dsisnero (Dominic Sisneros)

11/03/2015

11:38 PM Bug #10984: Hash#contain? to check whether hash contains other hash
Responding to feedback from Akira Tanaka and Nobuyoshi Nakada at [DevelopersMeeting20150514Japan](https://docs.google... olivierlacan (Olivier Lacan)
11:33 PM Feature #10123: Named capture groups don't set local vars when matched using ~
Josh Cheek wrote:
> Broken when using `~`:
>
> ~~~
> $ echo ' josh' | ruby -ne '~/(?<initial>\w)/ and puts initi...
josh.cheek (Josh Cheek)
10:34 PM Bug #10996: Inline if statements should hoist variables.
Yukihiro Matsumoto wrote:
> The fundamental rule is that local variables are defined by the first assignment. For co...
josh.cheek (Josh Cheek)
09:17 PM Revision 9801be68 (git): * 2015-11-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:17 PM Feature #11647 (Closed): [PATCH] include/ruby/ruby.h (struct RObject): hide iv_index_tbl type
Applied in changeset r52435.
----------
include/ruby/ruby.h (struct RObject): hide iv_index_tbl type
This is an imp...
Anonymous
03:48 AM Feature #11647 (Closed): [PATCH] include/ruby/ruby.h (struct RObject): hide iv_index_tbl type
This is an implementation detail and should not be exposed to
C extension users. We may change this to id_table soo...
normalperson (Eric Wong)
09:16 PM Revision 2f418fb3 (git): include/ruby/ruby.h (struct RObject): hide iv_index_tbl type
This is an implementation detail and should not be exposed to
C extension users. We may change this to id_table soon...
Eric Wong
05:47 PM Bug #11412: The default filename encoding causes errors on Windows
I'd like to see this issue reopened.
The solution of specifying UTF-8 explicitly works, but this should be the def...
simoneau (Matthew Simoneau)
05:03 PM Bug #11652 (Closed): Bug after running 'next' during binding.pry in a rails project
```
[1] pry(#<WarehouseRowReader::#country>)> next
test/services/importers/warehouse_row_reader_test.rb:13: [BUG] S...
diegodesouza (DIego De Souza)
01:28 PM Bug #11644: Since r52055, TestMkmf::TestConvertible failed on Solaris 10 with fcc
コマンドラインは正常だったので、やはりWarningが出たのが原因のようです。
以下のようにキャストするとFailureは出なくなりました。
(三項演算子のどちらか片方だけのキャストではダメでした。)
しかし、古いバージョン...
ngoto (Naohisa Goto)
07:57 AM Bug #11644: Since r52055, TestMkmf::TestConvertible failed on Solaris 10 with fcc
Naohisa Goto wrote:
> あるいは、コンパイラへのオプションが mkmf.rb 内部で削られて、32ビットモードでコンパイルしている可能性はあるかもしれません。
> コンパイル時のコマンドラインを表示するのに良い...
nobu (Nobuyoshi Nakada)
05:02 AM Bug #11644: Since r52055, TestMkmf::TestConvertible failed on Solaris 10 with fcc
> それにVALUEがunsigned longとは違うということはIL32P64コンパイラでしょうか。
いいえ、LP64 です。
コンパイラは `const VALUE *` と `const unsigned long...
ngoto (Naohisa Goto)
01:24 PM Revision 3a67ca1e (git): test_gdbm.rb: teardown
* test/gdbm/test_gdbm.rb (teardown): show hidden files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52434 b2dd...
nobu (Nobuyoshi Nakada)
12:42 PM Feature #11650: Add custom error message arg to Timeout.timeout
Sounds reasonable. nobu (Nobuyoshi Nakada)
10:27 AM Feature #11650 (Closed): Add custom error message arg to Timeout.timeout
Now Timeout.timeout can accept custom error message:
~~~ruby
Timeout.timeout(30, CustomException, “custom_message...
kirs (Kir Shatrov)
12:15 PM Revision e0d6328f (git): test_timeout.rb: exact messages
* test/test_timeout.rb (test_rescue_exit, test_custom_exception):
assert with exact messages.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
08:18 AM Revision ce58200f (git): test_gdbm.rb: teardown
* test/gdbm/test_gdbm.rb (teardown): show tmpdir contents if
failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
08:17 AM Misc #11649 (Closed): [Refactor] Use `rb_method_visibility_t` instead of `int` in `rb_print_undef`
See also https://github.com/ruby/ruby/pull/1078.
Same as `rb_print_inaccessible`, change `rb_print_undef` to use `...
yui-knk (Kaneko Yuichiro)
07:52 AM Revision 6d57a526 (git): mkmf.rb: log messages
* lib/mkmf.rb (xsystem, xpopen, egrep_cpp, pkg_config): log
messages to the log file too.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
07:44 AM Bug #11648 (Closed): Undocumented features of String#oct
String#oct will adjust the base of the stringy number being converted to 2 (if prefixed with 0B), 8 (also the default... mwpastore (Mike Pastore)
07:06 AM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
dam i begun to like that "params.?[:order]" bad that it got reverted :/
i think the problem is that it might parse "...
Hanmac (Hans Mackowiak)
06:21 AM Feature #11643: A new method on Hash to grab values out of nested hashes, failing gracefully
I prefer method way to (already reverted) `params.?[:order].?[:shipping_info].?[:country]`.
I am not sure `dig` is t...
matz (Yukihiro Matsumoto)
06:56 AM Bug #11598: Ruby crash when I run calabash-android
Where I can find more log information when it occurred? I can only find the error info on dos screen. Attachment is... [email protected] (clint ming)
03:38 AM Bug #11384: multi-threaded autoload sometimes fails
[email protected] wrote:
> It's still running beyond 49,000 times on my notebook, which sleeps at night.
> I'll ...
normalperson (Eric Wong)
12:27 AM Revision a3ee54f8 (git): parse.y: revert lbracket
* parse.y (lbracket): remove .? before aref. [Feature #11537]
revert r52422 and r52424
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom