Project

General

Profile

Activity

From 11/02/2017 to 11/08/2017

11/08/2017

11:09 PM Revision cf3329cb (git): parse.y: fix r60644
* parse.y (rb_strterm_heredoc_t): should not define sourceline as
union, to fix wrong read on big-endian platforms.
as rb_imemo_new stores all members as VALUEs, should read it as
VALUE too.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
08:03 PM Bug #14093 (Rejected): REXML doesn't implement name() and interprets nam() as an element path.
Please see the attached script.
Considering this xml:
```xml
<a><b><name/></b></a>
```
The xpath `/a/b/name()` xpath should return the name of element `a`. Instead it returns the child element `name`.
Output:
```xml
<na...
jcavalieri (John Cavalieri)
06:47 PM Feature #14092: Add extension key argument to Tempfile
It may be best to just publish your suggestion/PR anyway. I may be wrong but
the ruby core team and matz appear to be quite busy currently - see the queue of
other suggestions and changes. Perhaps they will do some "batch-discussions" ...
shevegen (Robert A. Heiler)
11:46 AM Feature #14092 (Open): Add extension key argument to Tempfile
I don't work with Tempfile often, but every time I do, I get surprised by an obscure way to pass an extension to file name.
You have to pass array, where first element is a file name and a second is a file extension *(starting with a do...
TheSmartnik (Nikita Misharin)
04:43 PM Revision b8878481 (git): * 2017-11-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:43 PM Revision d3b63f95 (git): Fix typo in doc [ci skip]
`enable` and `disable` are instance methods.
Patch by: yuuji.yaginuma <yuuji.yaginuma@gmail.com>
https://github.com/ruby/ruby/pull/1744
[Fix GH-1744]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60718 b2dd03c8-39d4-4d8f-98ff-823f...
matsuda (Akira Matsuda)
02:14 PM Revision fb5bc568 (git): fixup r60440 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:09 PM Bug #10630 (Third Party's Issue): ERB tags nested in escaped blocks are skipped
> ERB (Erubis)
ERB and Erubis are totally different things.
~~~ ruby
$ irb -rerb -rerubis -rerubi
irb(main):001:0> RUBY_VERSION
=> "2.5.0"
irb(main):002:0> erb = "<div><%%= Results: <%= 'first' %> | <%= 'second' %> | <%= 'thir...
k0kubun (Takashi Kokubun)
02:10 AM Bug #10630 (Rejected): ERB tags nested in escaped blocks are skipped
It seems an Erubis specific bug.
ERB hasn't had that issue.
nobu (Nobuyoshi Nakada)
11:40 AM Bug #14085: many redefinition warnings on test/win32ole/test_word.rb
実害ないのなら、revertまではしなくていいんじゃないかと思います。
2.5.0のリリースまでに対策するということで。
usa (Usaku NAKAMURA)
11:30 AM Bug #14085: many redefinition warnings on test/win32ole/test_word.rb
#13984 で入れたんですけど、一旦、戻しましょうか。
WIN32OLEから定数を取得するときに、Wordサーバから複数回、同じ定数を返されるので、そうなるんですよね。
warningの対策は別で考えるとして。
suke (Masaki Suketa)
10:54 AM Revision e7d37ebd (git): parse.y: remove in_single
* parse.y (parser_params): removed in_single, which is referenced
with in_def always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:57 AM Revision b0c719da (git): Fix typos in rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
12:03 AM Revision a6f372d1 (git): Omit first argument of NEW_CASE2
* node.h (NEW_CASE2): Omit first argument of NEW_CASE2,
bacause the first argument of NEW_CASE2 is always 0.
* parse.y: Ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)

11/07/2017

08:17 PM Revision 6f33cde6 (git): hash.c: improve docs for Hash#slice
* hash.c: [DOC] clarify description for Hash#slice and remove
a sentence that might suggest that the receiver is modified;
improve example to also include a case where a hash with
several elements is returned.
git-svn-id: svn+ssh:...
stomar (Marcus Stollsteimer)
08:15 PM Revision 8b1c1c55 (git): string.c: improve docs for String#{concat,<<}
* string.c: [DOC] remove a misleading call-seq for String#concat,
which suggests that all arguments must be Integers in this case;
also clarify in the example that the receiver is modified;
fix grammar for String#<<; move reference...
stomar (Marcus Stollsteimer)
08:14 PM Revision c1e1e2b6 (git): pathname.c: improve docs for Pathname
* ext/pathname/pathname.c: [DOC] improve example for Pathname.glob,
by using a more common glob pattern, and improve the reference
to the `base' keyword argument for Pathname#glob.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6...
stomar (Marcus Stollsteimer)
08:13 PM Revision 35bd2ad2 (git): http.rb: improve docs
* lib/net/http.rb: [DOC] fix typos and grammar
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
08:13 PM Revision b6db783e (git): socket.c,tcpsocket.c: improve deprecation notices
* ext/socket/socket.c: [DOC] fix grammar in deprecation notices.
* ext/socket/tcpsocket.c: [DOC] ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
08:11 PM Revision 995fd6d7 (git): vm_dump.c: [DOC] fix grammar
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
08:11 PM Revision 3262f491 (git): string.c: fix typos
* string.c: [DOC] fix typos in doxygen comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
08:10 PM Revision 086015a5 (git): file.c: improve docs for File#path
* file.c: [DOC] fix grammar in docs for File#path
and use a stronger description than "inaccurate".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
08:09 PM Revision bf6ea09c (git): ext/socket/ifaddr.c: [DOC] fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
08:08 PM Revision 0f7fed92 (git): etc.c: improve docs for sysconfdir
* ext/etc/etc.c: [DOC] small language fixes for etc_sysconfdir docs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
08:07 PM Revision 3b071b08 (git): README.md: fix typos and grammar
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
08:06 PM Revision 2aecddc7 (git): NEWS: clarify "ubygems.rb" entry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
08:04 PM Revision ea26e72a (git): * 2017-11-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:04 PM Revision 093aa9ae (git): refinements.rdoc: improve docs
* doc/syntax/refinements.rdoc: [DOC] fix typos and grammar
and remove superfluous "for the first time".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
03:07 PM Feature #14091: Remove Time#succ
Interesting.
If this is true, perhaps ruby core forgot about it.
I had a look at the current docu for Time:
https://ruby-doc.org/core/Time.html
https://ruby-doc.org/core-2.4.2/Time.html#method-i-succ
The documentation re...
shevegen (Robert A. Heiler)
02:50 PM Feature #14091 (Closed): Remove Time#succ
The method Time#succ was marked as obsolete in Ruby 1.9.3 and whilst it remains Rails has to patch Range#each and Range#step to prevent logs from being filled with the deprecation messages (see https://github.com/rails/rails/pull/11474).... pixeltrix (Andrew White)
02:36 PM Bug #10630 (Open): ERB tags nested in escaped blocks are skipped
Reopening, since there is movement on the ERB front in the upcoming v2.5.0. tonci (Tonči Damjanić)
02:23 PM Revision 17f9ad40 (git): disable GC.
* test/ruby/test_io.rb (test_write_no_garbage): malloc can cause GC
and it will reduce string object counts. So disable GC during this test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
11:21 AM Revision c2a08ef8 (git): tool/runruby.rb: fix RUNRUBY_USE_GDB case
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:23 AM Revision a95f4ace (git): `th` is not used.
* vm_args.c: `th` parameter is not used on the following functions:
* args_check_block_arg0
* keyword_hash_p
* args_pop_keyword_hash
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:20 AM Feature #14044: Introduce a new attribute `step` in Range
I want this feature for specifying a sliced view of a multi-dimensional array.
In Python, it can be represented by using slice notation or a slice object:
```python
>>> ary = numpy.arange(0, 36).reshape((6, 6))
> ...
array([[ 0, 1...
mrkn (Kenta Murata)
08:19 AM Revision 0c2746a7 (git): th->ec: dtrace
* vm.c (ruby_th_dtrace_setup): rename to rb_dtrace_setup()
and accept `ec`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:01 AM Revision 8dbaf1bb (git): `rb_execution_context_t *` should not be `th`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:35 AM Bug #14090 (Assigned): `TestGc#test_interrupt_in_finalizer` fails very rarely
`TestGc#test_interrupt_in_finalizer` fails very rarely, only once every handred or thousand runs.
~~~
# Running tests:
[1/1] TestGc#test_interrupt_in_finalizer = 10.13 s
1) Error:
TestGc#test_interrupt_in_finalizer:
Timeout::...
mame (Yusuke Endoh)
06:36 AM Revision a798e49f (git): Symptomatic treatment for `rb_thread_terminate_all` freeze
Under uncertain condition, `rb_thread_terminate_all` gets stuck. `make
test-all TESTOPTS="test/ruby/test_gc.rb -n test_interrupt_in_finalizer`
fails very rarely (only once every thousand runs). This IS a bug, but
seems difficult to fix...
mame (Yusuke Endoh)
06:14 AM Revision 8ea78d66 (git): th->ec: vm_once_dispatch.
* vm_insnhelper.c (vm_once_dispatch): accepts `ec`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:09 AM Revision f6c102e6 (git): th->ec: rb_threadptr_setup_exception
* eval.c (rb_threadptr_setup_exception): renamed to rb_ec_setup_exception().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:01 AM Revision 2d71889b (git): fix prefix `ruby_...()` to `rb_...()`.
* vm_core.h: fix prefix `ruby_` to `rb_` for the following functions.
* ruby_current_execution_context
* ruby_current_thread
* ruby_current_vm
* ruby_vm_check_ints
* ruby_exec_event_hook_orig
git-svn-id: svn+ssh://ci.ruby-lan...
ko1 (Koichi Sasada)
05:54 AM Revision 7285177c (git): * vm_trace.c (rb_exec_event_hooks): accepts pop_p.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:45 AM Revision 8b7f06d2 (git): th->ec: rb_load_internal0
* load.c (rb_load_internal0): accepts `ec`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:41 AM Revision 8d8e339d (git): fix comment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:41 AM Revision 7e9c5aca (git): * eval_intern.h (rb_threadptr_tag_state): rename to rb_ec_tag_state.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:39 AM Revision f1ad90a5 (git): * vm_eval.c (rescue_funcall_args): th->ec
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:28 AM Revision f477851b (git): Add details on the min/time parameters to the rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
05:22 AM Revision 48ce4cb4 (git): * eval_intern.h: rename macros rb_thread_raised_* to
rb_ec_raised_*.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:12 AM Revision ee189904 (git): rename to rb_ec_set_raised().
* thread.c (rb_threadptr_set_raised): rename to rb_ec_set_raised
and accepts `ec`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:09 AM Revision d1013f2a (git): use GET_VM()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:08 AM Revision 4049ffb5 (git): use GET_EC() directly
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:06 AM Revision da986962 (git): * vm_backtrace.c (rb_debug_inspector_t): `th` -> `ec`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:01 AM Revision af8a7df3 (git): move `rb_thread_t::method_missing_reason` to ec.
* vm_core.h (rb_thread_t): move method_missing_reason to
rb_execution_context_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
04:53 AM Revision 001eb22c (git): remove `rb_postponed_job_t::th`.
* vm_trace.c (rb_postponed_job_t): remove `th` field because it is not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
04:04 AM Revision f3482dda (git): rename because it doesn't receive `th`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:01 AM Revision b6ecdf5f (git): th->ec: rb_threadptr_reset_raised()
* thread.c (rb_threadptr_reset_raised): rename to `rb_ec_reset_raised`
and accepts `ec`.
* vm_trace.c: the following functions accept `ec` instead of `th`
* exec_hooks_body
* exec_hooks_precheck
* exec_hooks_unprotected
* exec...
ko1 (Koichi Sasada)
03:41 AM Revision aa07918c (git): * 2017-11-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:41 AM Revision 8244d10f (git): prepare local variables (th and vm).
* vm_trace.c (rb_threadptr_exec_event_hooks_orig): prepare local variables
`th` and `vm` instead of using rb_ec_... functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
03:20 AM Feature #14079: Validate argument list without calling method
I've removed the `String#prepend` example from the description. Thanks for catching that, Benoit and Hans.
I agree with Benoit that an instance method on `Method`/`UnboundMethod` would be better than my `respond_to_arguments?` method....
nate00 (Nate Sullivan)

11/06/2017

11:15 PM Bug #14089 (Closed): Configure/build issue on OSX 10.12 w/ utimensat
For other reasons I recently installed xcode (instead of JUST using the command line developer tools). This caused builds on ruby to break.
The symptom happens when rdoc tries to build the doco:
~~~
dyld: lazy symbol binding fail...
zenspider (Ryan Davis)
05:35 PM Bug #14088 (Closed): Revisit 34739 - require 'calendar' - test-all useless info?
Is it time to revisit [svn 34739](https://github.com/ruby/ruby/commit/b67bc8d722e9351b34e68ac77d397aead29961cc#diff-b9dd4c7779e6e659753c9eea9c365135), at lease in terms of the changes to Date tests?
See https://github.com/ruby/ruby/pu...
MSP-Greg (Greg L)
03:28 PM Feature #14084: Introduce Enumerator#next?
edited the code example to be a little more readable as to michael's suggestion (https://twitter.com/__michaelg/status/927541360764342272) tessi (Philipp Tessenow)
05:50 AM Feature #14084: Introduce Enumerator#next?
I guess we have to wait how matz feels about it, that is, .next? in
this context. I personally have no problem with it - I wanted to
say something to this, though:
> I am aware that we can currently figure out if there is a next
>...
shevegen (Robert A. Heiler)
02:29 AM Feature #14084 (Open): Introduce Enumerator#next?
I'd like to propose a new method for Enumerator which returns whether there will be a next value in the enumerator when calling `Enumerator#next`.
It should work like this ruby demo:
~~~ ruby
class Enumerator
def next?
pee...
tessi (Philipp Tessenow)
02:56 PM Bug #14087 (Third Party's Issue): Program Crash when using openssl
The interpreter crashed when I assign a DH public key to X509::Certificate using gem openssl.
And I have attached a demo for this problem.
Berry (Berry Jin)
02:54 PM Bug #14086 (Rejected): Interpreter seems to sneak in a nil value when a comma is missing on a nested array wrapped in parenthesis
marcandre (Marc-Andre Lafortune)
10:57 AM Bug #14086: Interpreter seems to sneak in a nil value when a comma is missing on a nested array wrapped in parenthesis
> is this the expected behaviour?
Yes.
Try this:
```ruby
[2, 2][3, 3] # => nil
```
Why?
Because it is read as "Array of `[2,2]`, call operator [] with arguments `3, 3` (which means fetch 3 elements starting from 3rd)". As th...
zverok (Victor Shepelev)
10:51 AM Bug #14086 (Rejected): Interpreter seems to sneak in a nil value when a comma is missing on a nested array wrapped in parenthesis
I believe the title is self explanatory. But code is always louder than words:
~~~ ruby
$ ruby --version
ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-darwin16]
$ irb
2.2.4 :001 > ([[2,2], [3,3], [4,4], [5,5], [6,6]])
=> [[...
mariogintili (Mario Gintili)
10:23 AM Feature #14079: Validate argument list without calling method
String#prepend might be a bad example because in your cases it doesn't raise an ArgumentError anymore Hanmac (Hans Mackowiak)
08:22 AM Revision 49d0bbe7 (git): use `GET_EC()` directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:44 AM Revision 5dfdaa92 (git): move rb_thread_t::interrupt_flag and mask
to rb_execution_context_t.
* vm_core.h (rb_thread_t): move
`rb_thread_t::interrupt_flag` and
`rb_thread_t::interrupt_mask` to rb_execution_context_t.
RUBY_VM_CHECK_INTS() accepts `ec` instead of `th`.
* cont.c (rb_fiber_terminat...
ko1 (Koichi Sasada)
07:35 AM Revision 5845bd6a (git): show the location at intterrupted
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:41 AM Revision e5e73554 (git): renmae ec::fiber to ec::fiber_ptr.
* vm_core.h (rb_execution_context_t): renmae ec::fiber to
ec::fiber_ptr make consistent with ec::thread_ptr.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
03:21 AM Bug #14085 (Closed): many redefinition warnings on test/win32ole/test_word.rb
win32oleのテストで、以下のような警告が出ます。
警告が出るのは `WIN32OLE.const_load(w, Word)` というコードですが、
該当コードが複数回呼ばれているわけではなくて、これを1回呼ぶだけで、
定数の再定義が何度も行われてしまうようです。
実害はないような気もしますが、できれば出ないようにできないでしょうか?
D:/Users/usa/ruby/test/win32ole/test_word.rb:22: warni...
usa (Usaku NAKAMURA)
02:02 AM Revision 54e58c94 (git): Merge RubyGems 2.7.1.
* Fix `gem update --system` with RubyGems 2.7+.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

11/05/2017

11:32 PM Revision 4b7f5315 (git): enum.c: check argument first
* enum.c (enum_cycle_size): check an argument before the size of
the receiver, if it is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:27 PM Revision 6c1f1159 (git): test/ruby/test_lazy_enumerator.rb: test for [Bug #14082]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:14 PM Bug #14082 (Closed): Enumerator#size from Enumerable#cycle returns 0 when the object is empty
Applied in changeset trunk|r60666.
----------
Fix size on Enumerable#cycle when the size is 0 [Bug #14082].
Patch by Kenichi Kamiya
marcandre (Marc-Andre Lafortune)
10:12 PM Bug #14082: Enumerator#size from Enumerable#cycle returns 0 when the object is empty
Good catch, great patch :-) marcandre (Marc-Andre Lafortune)
05:05 PM Bug #14082 (Closed): Enumerator#size from Enumerable#cycle returns 0 when the object is empty
github: https://github.com/ruby/ruby/pull/1742
Is this an intentional behavior?
```ruby
p([].cycle.size) #=> 0
p({}.cycle.size) #=> Infinity
```
Array#cycle already special handled empty arrays. So similar behavior in Enumer...
kachick (Kenichi Kamiya)
10:14 PM Revision dcb8a22f (git): Fix size on Enumerable#cycle when the size is 0 [Bug #14082].
Patch by Kenichi Kamiya
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
09:13 PM Revision 3280f541 (git): lexer.rb: Ripper::Lexer::State
* ext/ripper/lib/ripper/lexer.rb (Ripper::Lexer::State): wrapper
of lex_state values.
* parse.y (rb_parser_lex_state_name): return shared strings. lex
state combinations are very restricted.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
09:13 PM Revision ca551eed (git): runruby.rb: add -C/--chdir option
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:36 PM Bug #14083 (Rejected): Refinement in block calling incorrect method
Tested on ruby versions 2.3.4 and 2.4.1
When a refinement is used inside a block, the scope of the refinement is not ending when the block has ended. The following example illustrates the issue:
Example:
~~~ ruby
class Example
...
bjfish (Brandon Fish)
03:10 PM Revision 0523a420 (git): * 2017-11-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:10 PM Revision 7b7243e5 (git): Modify spell miss.
Runing -> Running
Author: TomoyukiNakagawa <nakagawa.tomoyuki@gmail.com>
[Fix GH-1741] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
10:31 AM Bug #14081: Compile failure in "make install" step, at "stringio"
Hmm the above is a bit long and not easy to read ... I also put it
on a gist at github in raw format style at:
https://gist.githubusercontent.com/shevegen/512e204147d9c437e5cb16853c39e985/raw/43eb2a51b66e5569293cd2e1598b08c3bad9d486/...
shevegen (Robert A. Heiler)
10:29 AM Bug #14081 (Closed): Compile failure in "make install" step, at "stringio"
Hello Ruby core team and everyone else,
I am not sure if this was already reported or not, but I will
report it now, just to be safe.
I have a self-compiled ruby, from the URL:
ftp://ftp.ruby-lang.org/pub/ruby/2.4/ruby-2.4.2....
shevegen (Robert A. Heiler)
05:12 AM Bug #14080 (Closed): Performance issue with Marshal.dump and Array of Floats - 100x regression in 2.3.x
I am using Marshal.dump on array of Floats with Ruby 2.3.3 (same issue in 2.3.5). In our program with an Array size of 1M it seems to hang indefinitely. I take it down to 100K Floats and it takes about 10 seconds. My sample program lo... pbfein (Peter Fein)
05:11 AM Revision 80aee790 (git): runruby.rb: support run.gdb by --debugger option
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:52 AM Revision cb7d9fe9 (git): Revert "Introduce rb_code_range_t and replace YYLTYPE with it"
r60655 changed the usage of bison by defining a customized YYLTYPE,
which seemed to cause a random stall at rb_thread_terminate_all.
Kazuki Tsujimoto investigated the issue and pointed out the commit that
caused it. Thanks!
git-svn-id...
mame (Yusuke Endoh)
01:02 AM Revision 6bac2765 (git): ext/win32ole/lib/win32ole.rb (metods): rescue WIN32OLEQueryInterfaceError.
test/win32ole/test_win32ole.rb: add test for WIN32OLE#methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
12:36 AM Revision 62cec329 (git): test/win32ole/test_win32ole_method.rb: remove redundant assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
12:30 AM Revision 8930a425 (git): * ext/win32ole/win32ole_error.c: add WIN32OLEQueryInterfaceError.
* ext/win32ole/win32ole_error.h: ditto.
* ext/win32ole/win32ole.c(typeinfo_from_ole): raise WIN32OLEQueryInterfaceError in ole_methods.
* ext/win32ole/win32ole_method.c(ole_methods_from_typeinfo): ditto.
M ext/win32ole/win32ole.c
M ...
suke (Masaki Suketa)

11/04/2017

07:06 PM Feature #14079: Validate argument list without calling method
Oops, I think my description was somewhat misleading. I don't expect `respond_to_arguments?` to check for lines in the method body that might raise an `ArgumentError`. I expect it to check only whether the provided list of arguments matc... nate00 (Nate Sullivan)
06:49 PM Feature #14079: Validate argument list without calling method
Hmm. Benoit, I may have misunderstood him but I think he was not
asking for argument checks per se, but instead being able to
know whether a method will respond with an ArgumentError or
possibly other errors beforehand (such as befor...
shevegen (Robert A. Heiler)
06:38 PM Feature #14079: Validate argument list without calling method
Maybe this could be some method like `check_arity` or so on a Method/UnboundMethod instance.
There is already `Method#arity` but this is limited information.
Maybe it is possible to check manually with `Method#parameters`, could you ...
Eregon (Benoit Daloze)
06:25 PM Feature #14079 (Open): Validate argument list without calling method
I would find it useful to check whether a list of arguments matches a method signature, but without calling the method.
I'd like to check the arguments list using a method called, for example, `respond_to_arguments?`. Here's an exampl...
nate00 (Nate Sullivan)
05:48 PM Revision e7535c6e (git): Workaround Travis CI issue by hardcoding localhost
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
04:34 PM Revision a9fd7d93 (git): Introduce rb_code_range_t and replace YYLTYPE with it
rb_code_range_t has two t_code_location_t, i.e., the first and last
locations.
This is used for YYLTYPE, tracked locations of bison, and will be also
used for representing the "range", the first and the last locations of
each NODE. Cur...
mame (Yusuke Endoh)
03:39 PM Revision 39a73cac (git): parse.y: fix duplicate symbol
* parse.y (rb_strterm_mark): do not define in ripper to get rid of
duplicate symbol with static-linked-ext.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:22 PM Revision 7d586cae (git): * 2017-11-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:22 PM Revision 0ee24acb (git): Introduce `rb_code_location_t`
`rb_code_location_t` has two integers, lineno and column, which point to
one location on a code. Now `rb_code_location_t` is used instead of
`VALUE nd_location`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60652 b2dd03c8-39d4-4d8...
mame (Yusuke Endoh)
02:32 PM Revision 9533da6f (git): gc.c: UNEXPECTED_NODE
* gc.c (UNEXPECTED_NODE): extract rb_bug for T_NODE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:24 PM Revision af9b0da1 (git): Avoid usage of the magic number `(NODE*)-1`
This magic number has two meanings depending upon the context:
* "required keyword argument (no name)" on NODE_LASGN (`def foo(x:)`)
* "rest argument (no name)" on NODE_MASGN and NODE_POSTARG
('a, b, * = ary` or `a, b, *, z = ary`)
T...
mame (Yusuke Endoh)
01:59 PM Revision 6d022ae1 (git): compile.c (setup_args): Fix a typo
* compile.c (setup_args): In this function,
an argument of nd_line is argn except this line.
And argn is a pointer of NODE. So I think this
is a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60649 b2dd03c8-39d4-4d8f-98ff...
yui-knk (Kaneko Yuichiro)
01:31 PM Revision fe9bff43 (git): gc.c (rb_free_tmp_buffer): stop accessing imemo_alloc as NODE
The fields of imemo_alloc were accessed via RNODE() cast, since the
imemo was NODE_ALLOCA traditionally. This was refactored at r60239,
so now the fields should be accessed as imemo_alloc. This prevented
change of NODE structure.
Yuic...
mame (Yusuke Endoh)
01:31 PM Revision fbc8b87e (git): parse.y (new_args_tail_gen): returns a NODE instead of imemo
`new_args_tail_gen` returned imemo, but the value was later accessed as
`NODE*`. This prevented change of NODE structure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
01:09 PM Feature #12133: Ability to exclude start when defining a range
> where a square bracket indicates boundary inclusion and a parenthesis
> ...
I do not like the suggestion but I hope you are not too discouraged.
The reason is ... actually a weird one. I have fairly bad eyesight,
and I'd appreciat...
shevegen (Robert A. Heiler)
01:05 PM Revision 0ec91a46 (git): test/ruby/test_io.rb (test_write_no_garbage): Add detailed message
I saw this test failed once. There is no problem if `before > after`
but we cannot check it. To allow diagnosis in future, the detailed
message is added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60646 b2dd03c8-39d4-4d8f-98ff-...
mame (Yusuke Endoh)
12:07 PM Revision e92ca247 (git): parse.y: suppress warning in ripper
* parse.y (rb_discard_node_gen): rb_discard_node() is not used in
ripper right now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:01 PM Revision 603a7bdc (git): parse.y: suppress warnings
* parse.y (parser_set_line): removed no longer used function.
* parse.y (rb_strterm_heredoc_t): adjust type of sourceline to
ruby_sourceline.
* parse.y (rb_strterm_t): get rid of redefinition.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
11:37 AM Revision b6e80c22 (git): Remove RNODE cast from NODE utility functions
Now, casting NODE to VALUE is not recommended. This change requires an
explicit cast from VALUE to NODE to use the NODE utility functions such
as `nd_type`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60643 b2dd03c8-39d4-4d8f-98f...
mame (Yusuke Endoh)
10:56 AM Revision 1aa34afd (git): Rename imemo_strterm to imemo_parser_strterm
Per ko1's request.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
10:56 AM Revision 739aadbb (git): ext/objspace/objspace.c: add imemo_strterm
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
10:02 AM Revision deb56931 (git): Remove NODE-related pieces of code from GC
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
09:18 AM Revision 417eca10 (git): Make Ripper use NODE buffer
This is a follow-up of r60488. Not only the Ruby parser but also Ripper
now use NODE buffer instead of NODE objects managed by GC.
Now we can change the struct of NODEs so that it can keep detailed
location information, perhaps (not tr...
mame (Yusuke Endoh)
08:46 AM Bug #14078: Test Failure - OpenSSL::TestSSLSession#test_ctx_server_session_cb - with OpenSSL 1.1.0g
Kazuki,
> Are you sure the DLLs used at runtime are from OpenSSL 1.1.0g?
Yes. MSYS2/MinGW only allows one package to be installed at once, so Appveyor can't have two available for the build. Also, downloading the build from [App...
MSP-Greg (Greg L)
06:55 AM Bug #14078 (Feedback): Test Failure - OpenSSL::TestSSLSession#test_ctx_server_session_cb - with OpenSSL 1.1.0g
I don't reproduce. Are you sure the DLLs used at runtime are from OpenSSL 1.1.0g? rhenium (Kazuki Yamaguchi)
06:40 AM Bug #14078 (Rejected): Test Failure - OpenSSL::TestSSLSession#test_ctx_server_session_cb - with OpenSSL 1.1.0g
The most recent ruby-loco MinGW build (using OpenSSL 1.1.0g) failed with the following failure. It was the only failure/error in the build.
```
Retrying...
[1/9] OpenSSL::TestSSLSession#test_ctx_client_session_cb = 0.10 s
[2/9] Op...
MSP-Greg (Greg L)
07:21 AM Revision ee7dcd1a (git): Fix the alignment bug of r60634 for LLP64
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
07:21 AM Revision 12697c08 (git): Revert "Revert "Replace NODE_STRTERM and NODE_HEREDOC with imemo_strterm""
Retry r60634
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
06:56 AM Bug #14039 (Closed): MinGW - OpenSSL::TestSSL#test_max_version & #test_min_version, TestNetHTTPS#test_max_version
Applied in changeset trunk|r60636.
----------
openssl: pull test case from upstream commit 62af0446569a
The test case added by r60310 ("fix OpenSSL::SSL::SSLContext#min_version
doesn't work", 2017-10-21) does not pass with OpenSSL >= 1...
Anonymous
06:56 AM Bug #14039: MinGW - OpenSSL::TestSSL#test_max_version & #test_min_version, TestNetHTTPS#test_max_version
The one from net/http tests is fixed by r60380. rhenium (Kazuki Yamaguchi)
06:56 AM Revision 51423bd9 (git): openssl: pull test case from upstream commit 62af0446569a
The test case added by r60310 ("fix OpenSSL::SSL::SSLContext#min_version
doesn't work", 2017-10-21) does not pass with OpenSSL >= 1.1.0 or
LibreSSL >= 2.6.0. Check that the default 'min_version' value is
properly enforced by actually att...
rhenium (Kazuki Yamaguchi)
04:59 AM Revision 96eefc0f (git): Revert "Replace NODE_STRTERM and NODE_HEREDOC with imemo_strterm"
Due to build failure on mswin and mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:04 AM Revision c1de9fc5 (git): Replace NODE_STRTERM and NODE_HEREDOC with imemo_strterm
Just refactoring.
NODE_STRTERM and NODE_HEREDOC are not an internal node of AST, but a
temporary storage for managing termination of string literals and
heredocs. Instead of NODE abuse, I want to use imemo for the storage
in order to a...
mame (Yusuke Endoh)
01:48 AM Revision 6916254a (git): * 2017-11-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:48 AM Revision 996468de (git): load from relative path to __FILE__
* spec/ruby/library/pathname/empty_spec.rb: load spec_helper from
relative path to `__FILE__` same as other spec files, instead of
`__dir__` in which symlinks are resolved, to get rid of constant
redefinition warning when `srcdir` ...
nobu (Nobuyoshi Nakada)
01:09 AM Feature #13901: Add branch coverage
marcandre (Marc-Andre Lafortune) wrote:
> mame (Yusuke Endoh) wrote:
> ...
To add a little bit to the discussion: The only information that you lose when an asynchronous interrupt like Thread.raise happens are the details on which ones...
MaxLap (Maxime Lapointe)
12:13 AM Feature #13901: Add branch coverage
mame (Yusuke Endoh) wrote:
> I see... It is a very interesting approach, but it seems to completely ignore asynchronous interrupt, such as signal and `Thread#raise`. I wonder if it is not a good design decision for the embedded covera...
marcandre (Marc-Andre Lafortune)

11/03/2017

11:38 PM Feature #13901: Add branch coverage
marcandre (Marc-Andre Lafortune) wrote:
> mame (Yusuke Endoh) wrote:
> ...
The parser gem produces a good work.
> > I had no thought of counting trivial evaluation such as a literal, but if your pure-Ruby approach does not cause per...
mame (Yusuke Endoh)
04:34 PM Feature #13901: Add branch coverage
mame (Yusuke Endoh) wrote:
> `obj.foo.foo` has two NODE_CALLs. It is difficult to distinguish them by only the beginning, unless we have other information about the node in question. Honestly, I'm unsure if we can distinguish all rele...
marcandre (Marc-Andre Lafortune)
08:57 AM Feature #13901: Add branch coverage
marcandre (Marc-Andre Lafortune) wrote:
> I imagine you are planning on covering `||`, `&&`, `&.` and `? :`, right?
`? :` has been already supported. Yuichiro has experimentally implemented `&.` coverage. I think we should support...
mame (Yusuke Endoh)
06:31 AM Feature #13901: Add branch coverage
mame (Yusuke Endoh) wrote:
> What do you think about the format of `Coverage.result`?
Having a character position is a big improvement on just a line #, that's for sure. It makes it possible to pinpoint exactly what we're talking abo...
marcandre (Marc-Andre Lafortune)
10:54 PM Bug #14064: test-all with and without -j - incorrect assertions and missing test methods
While looking for a solution to the 'tests' variance, as mentioned above, there were test classes that were missing, especially when running with `-j`. Also, these missing classes varied from build to build.
I then noticed that the s...
MSP-Greg (Greg L)
09:31 PM Feature #14077: Add Encoding::FILESYSTEM and Encoding::LOCALE constants
On Fri, 2017-11-03 at 18:34 +0000, shevegen@gmail.com wrote:
> Issue #14077 has been updated by shevegen (Robert A. Heiler).
> I am in agreement with the feature-suggestion. Not sure whether
> it should be a constant or a method or b...
rrroybbbean (RRRoy BBBean)
09:00 PM Feature #14077: Add Encoding::FILESYSTEM and Encoding::LOCALE constants
shevegen (Robert A. Heiler) wrote:
> > Even changing the $LANG environment variable within the Ruby
> ...
Sorry if I wasn't clear. Both of these encoding values are dependent on the system locale at the time the process is started. T...
nirvdrum (Kevin Menard)
06:34 PM Feature #14077: Add Encoding::FILESYSTEM and Encoding::LOCALE constants
I am in agreement with the feature-suggestion. Not sure whether
it should be a constant or a method or both but I agree that it
may be useful to have direct support for this in ruby.
> Even changing the $LANG environment variable wi...
shevegen (Robert A. Heiler)
05:11 PM Feature #14077: Add Encoding::FILESYSTEM and Encoding::LOCALE constants
On Fri, 2017-11-03 at 16:35 +0000, ruby@kevin.nirvdrum.com wrote:
> Issue #14077 has been reported by nirvdrum (Kevin Menard).
> Feature #14077: Add Encoding::FILESYSTEM and Encoding::LOCALE
> constants
> https://bugs.ruby-lang.org/...
rrroybbbean (RRRoy BBBean)
04:35 PM Feature #14077 (Open): Add Encoding::FILESYSTEM and Encoding::LOCALE constants
The `Encoding` class has constants defined for all of the standard encodings, but does not have constants defined for some of the special encodings. In particular, the "filesystem" and "locale" encodings do not have a corresponding `Enco... nirvdrum (Kevin Menard)
07:14 AM Revision a5a8ba7d (git): Fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:07 AM Revision 93ae4347 (git): * ext/win32ole/lib/win32ole.rb :add WIN32OLE#methods. WIN32OLE might work
well with did_you_mean gem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
03:49 AM Revision 1f67ebd5 (git): node.c: Add some comments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yui-knk (Kaneko Yuichiro)
03:22 AM Revision f7fb0867 (git): node.c: Fix possible alignment bugs
* node.c (rb_node_buffer_new): Use offsetof for
node_buffer_t size calculation.
* node.c (rb_ast_newnode): Use offsetof for
node_buffer_elem_t size calculation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60628 b2dd03c8-39d4-4...
yui-knk (Kaneko Yuichiro)
02:17 AM Revision 77fae4b4 (git): node.h: Remove obsolete comment
* node.h: NODE_FL_CREF_PUSHED_BY_EVAL was defined as
NODE_FL_NEWLINE by r25984, redefined by r40703
and removed by r49897.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
01:47 AM Bug #13181: Unexpected line in rescue backtrace
ruby_2_4 r60626 merged revision(s) 58499,58500. nagachika (Tomoyuki Chikanaga)
01:46 AM Revision 86bfcc2d (git): merge revision(s) 58499,58500: [Backport #13181]
parse.y: fix line in rescue
* parse.y (set_line_body, primary): fix line number of bodystmt as
the beginning of the block. [ruby-core:79388] [Bug #13181]
parse.y: set_line_body is not used in ripper
git-svn-...
nagachika (Tomoyuki Chikanaga)
01:21 AM Bug #14073 (Closed): Crash on boot sice Ruby 2.4.0
nobu (Nobuyoshi Nakada)
01:00 AM Bug #14071: HTTP Header requiring dual authorization fails with 'header field value cannot include CR/LF'
dgames (Dax Games) wrote:
> I'm sorry I do not understand. Maybe I wasn't clear, Node is doing EXACTLY what you say Ruby should do and works where Ruby fails when it does EXACTLY what you say it should do.
What is sent by NodeJS in ...
nobu (Nobuyoshi Nakada)
12:52 AM Revision b18c71e6 (git): test/ruby/test_eval.rb: use orphan procs
This failure has been hidden by the bug of assert_raise which is
fixed at r60614.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:24 AM Bug #14076 (Rejected): Installing Ruby 2.3.1 - Ubuntu 17.10
2.3.1 is outdated. nobu (Nobuyoshi Nakada)

11/02/2017

11:20 PM Feature #13901: Add branch coverage
Marc-Andre, thank you for letting me know! I didn't know it.
DeepCover is so great! I'd like to cooperate with you!
What do you think about the format of `Coverage.result`? If you have any request, let me know. I'd like to consid...
mame (Yusuke Endoh)
08:53 PM Feature #13901: Add branch coverage
My friend Maxime Lapointe and I have been hacking on a pure Ruby gem called “DeepCover” to do branch/method/everything coverage, so we thought we should post some info here for feedback.
We are working actively on it, but the base is ...
marcandre (Marc-Andre Lafortune)
08:38 PM Revision e36ccef5 (git): io.c: improve docs for the chomp option
* io.c: [DOC] improve the description for the chomp option and
add examples to IO.readlines and IO#readlines; other small fixes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
08:26 PM Revision b3467b7e (git): NEWS: add entry for Psych
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
08:25 PM Revision c7d6f43d (git): NEWS: fix grammar
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
08:25 PM Revision d2ff14cb (git): doc/NEWS-2.4.0: fix grammar and typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
08:23 PM Revision 35c44d98 (git): proc.c: fix rdoc for Method class documentation
* proc.c: [DOC] fix rdoc syntax for the class documentation of
the Method class so that it is displayed in the rendered docs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
08:21 PM Revision 81395f22 (git): proc.c: further improve docs for {Method,Proc}#arity
* proc.c: [DOC] fix grammar in docs for {Method,Proc}#arity;
for Method#arity, move special case of methods written in C to the
end of the description, fix a typo in a method name, and add an
example for required arguments with an ...
stomar (Marcus Stollsteimer)
08:20 PM Revision ab149d16 (git): proc.c: improve docs for {Method,Proc}#arity
* proc.c: [DOC] improve Method#arity documentation to match with
Proc#arity, mentioning keyword arguments; also make Proc#arity
examples more consistent in the naming of keyword arguments.
Patch by Nikita Misharin (TheSmartnik). [...
stomar (Marcus Stollsteimer)
08:06 PM Revision 26143597 (git): * 2017-11-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:06 PM Revision 71e3a3e8 (git): rexml: improve docs
* lib/rexml/entity.rb: [DOC] drop a pointless comment.
Reported by Michael Gee (mikegee). [Fix GH-1736]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
07:18 PM Bug #14076 (Rejected): Installing Ruby 2.3.1 - Ubuntu 17.10
When installing ruby 2.3.1 using rbenv I get the error below:
~~~ ruby
Last 10 log lines:
-- C level backtrace information -------------------------------------------
verconf.h updated
compiling loadpath.c
linking static-librar...
smaziano (Sergio Maziano)
02:35 PM Bug #14071: HTTP Header requiring dual authorization fails with 'header field value cannot include CR/LF'
nobu (Nobuyoshi Nakada) wrote:
> When what must fail don't fail, we call it a bug.
I'm sorry I do not understand. Maybe I wasn't clear, Node is doing EXACTLY what you say Ruby should do and works where Ruby fails when it does EXAC...
dgames (Dax Games)
02:01 PM Bug #14071: HTTP Header requiring dual authorization fails with 'header field value cannot include CR/LF'
dgames (Dax Games) wrote:
> nobu (Nobuyoshi Nakada) wrote:
> ...
When what must fail don't fail, we call it a bug.
nobu (Nobuyoshi Nakada)
12:34 PM Bug #14071: HTTP Header requiring dual authorization fails with 'header field value cannot include CR/LF'
nobu (Nobuyoshi Nakada) wrote:
> As far as the standard specs prohibit the duplicate header, we can't change the correct behavior and violate the standards.
> ...
Node is passing a single header with an array of values as Ruby tries to...
dgames (Dax Games)
03:57 AM Bug #14071: HTTP Header requiring dual authorization fails with 'header field value cannot include CR/LF'
dgames (Dax Games) wrote:
>
> ...
That's like saying you should allow quotation marks in a string, because you're hacking the string to actually be two strings. It bans the "\r\n" characters specifically because they're separators, t...
phluid61 (Matthew Kerwin)
12:56 AM Bug #14071: HTTP Header requiring dual authorization fails with 'header field value cannot include CR/LF'
dgames (Dax Games) wrote:
> Thanks all for the responses.
> ...
You should report it to the server's administrators.
As far as the standard specs prohibit the duplicate header, we can't change the correct behavior and violate the stan...
nobu (Nobuyoshi Nakada)
01:00 PM Bug #14075 (Closed): File.dirname("path without dir".taint) returns untainted string
Is this intentional?
```
% ruby -e 'p [File.dirname("foo/bar".taint).tainted?, File.dirname("hoge".taint).tainted?]'
[true, false]
```
znz (Kazuhiro NISHIYAMA)
12:45 PM Revision 8ee30ab6 (git): skip/fix wrong tests
* test/ruby/test_{class,eval}.rb: skip or fix wrong tests hidden
by a bug of assert_raise.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:29 PM Revision fe1ad67c (git): assertions.rb: fix return in assert_raise
* test/lib/test/unit/assertions.rb (assert_raise): should fail if
returned gently in the given block without any exceptions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:51 AM Feature #11547: remove top-level constant lookup
I realized that Object does not halt the lookup, but it is rather just skipped. For example, constants in ancestors of Object are still accessible as qualified constants:
~~~ ruby
module Kernel
X = 1
end
X # top-level ...
fxn (Xavier Noria)
07:53 AM Bug #10856 (Closed): Splat with empty keyword args gives unexpected results
Applied in changeset trunk|r60613.
----------
compile.c: kw splat after splat
* compile.c (setup_args): set keyword splat flag after splat
arguments. [ruby-core:83638] [Bug #10856]
nobu (Nobuyoshi Nakada)
07:52 AM Revision d49fca88 (git): compile.c: kw splat after splat
* compile.c (setup_args): set keyword splat flag after splat
arguments. [ruby-core:83638] [Bug #10856]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:52 AM Revision 10a1c8ca (git): debug.c: vm call flags
* debug.c (ruby_dummy_gdb_enums): include vm_call_flag_bits.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:30 AM Revision fe6615b3 (git): bignum.c: avoid use of uninitialized value in Integer.sqrt
This is a follow-up fix to r57713. estimate_initial_sqrt() didn't
initialize BDIGITs except the topmost two, letting Integer.sqrt return
wrong result in the fast path, such as for (1<<504).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
rhenium (Kazuki Yamaguchi)
04:28 AM Revision f35fb6d3 (git): Support Windows
* spec/bundler/spec_helper.rb: there are no reason to refuse ':' and '-' in the
path of spec files. especially, ':' is always contained on Windows.
* spec/bundler/spec/helper.rb: open3.rb is also supported on Windows.
git-svn-id: s...
U.Nakamura
04:27 AM Revision 0b5432a7 (git): Fixed syntax error with ignore option order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
04:25 AM Revision 9e475eef (git): Merge release version of Rubygems 2.7.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:12 AM Revision 279948f6 (git): Should quote by double quotes, not single quotes for Windows
* common.mk (test-bundler-precheck): single quotes is not quote on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
 

Also available in: Atom