Project

General

Profile

Activity

From 01/03/2016 to 01/09/2016

01/09/2016

07:20 PM Bug #11967 (Rejected): Mixing kwargs with optional parameters changes way method parameters are parsed
This behavior may be surprising but it is intentional.
It boils down to giving priority to filling keyword arguments first instead of filling unnamed parameters. It is actually the only possible way to go. Among other things, think ab...
marcandre (Marc-Andre Lafortune)
02:23 PM Bug #11970: Multiple Assignment Into a Hash with Destructuring causes segfault
https://github.com/nobu/ruby/tree/bug/11970-massign-lhs-splat nobu (Nobuyoshi Nakada)
09:34 AM Bug #11970: Multiple Assignment Into a Hash with Destructuring causes segfault
Seems incorrect results also in 2.0 and 2.1. nobu (Nobuyoshi Nakada)
02:19 PM Revision 4b346b0e (git): test_hash.rb: add test
* test/ruby/test_hash.rb (test_try_convert): Add test for
Hash.try_convert. [Fix GH-1190]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:15 PM Revision fa892028 (git): openssl: fix examples [ci skip]
* ext/openssl/ossl.c: Add missing variables to documentation
examples. [Fix GH-1189]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:38 PM Bug #10653: do-end block in ternary operator is syntax error
Currently it's a bit flag in parse.y too. nobu (Nobuyoshi Nakada)
11:26 AM Bug #10653: do-end block in ternary operator is syntax error
I was implementing this in my Ruby parser and I found a much simpler solution than what you've implemented here: https://github.com/whitequark/parser/commit/113442eff1f9c6f7e7205ec0dac8cb858b3b0fc7
In short, instead of explicitly enum...
whitequark (whitequark *)
09:51 AM Bug #11971 (Feedback): Gem.path lost default path '[installdir]/lib/ruby/gems/2.3.0' when both GEM_HOME and GEM_PATH has seted
~~~
$ GEM_PATH=/ ruby2.3 -e 'p Gem.path'
["/", "/opt/local/lib/ruby2.3/gems/2.3.0"]
$ GEM_HOME=/ ruby2.3 -e 'p Gem.path'
["/Users/nobu/.gem/ruby/2.3.0", "/opt/local/lib/ruby2.3/gems/2.3.0", "/"]
~~~
Seems present.
nobu (Nobuyoshi Nakada)
06:56 AM Bug #11971 (Third Party's Issue): Gem.path lost default path '[installdir]/lib/ruby/gems/2.3.0' when both GEM_HOME and GEM_PATH has seted
Version: ruby 2.3.0 and gem 2.5.1
Gem.path lost default path '[installdir]/lib/ruby/gems/2.3.0' when both GEM_HOME and GEM_PATH has been set
So require stdlib like 'test-unit' or 'rake' will raise 'LoadError'
But ruby 2.2.3 and ...
personnel (Am I Who)
09:39 AM Bug #11956: RUBYOPT parses after rubygems loaded
Am I Who wrote:
> RUBYOPT parse prior to rubygems before ruby 2.3.0, why ruby 2.3.0 change this?
I have explained: https://bugs.ruby-lang.org/issues/11956#note-4
> ...
It hasn't changed, just a gem is loaded before `RUBYOPT`.
Ano...
nobu (Nobuyoshi Nakada)
05:04 AM Bug #11956: RUBYOPT parses after rubygems loaded
Nobuyoshi Nakada wrote:
> I'm uncertain if rubygems expects such usage of `RUBYOPT` or not.
> ...
RUBYOPT parse prior to rubygems before ruby 2.3.0, why ruby 2.3.0 change this?
personnel (Am I Who)
01:52 AM Bug #11956: RUBYOPT parses after rubygems loaded
I'm uncertain if rubygems expects such usage of `RUBYOPT` or not.
Another way is to put your code in `rubygems/defaults/ruby.rb` under `RUBYLIB`.
This file is read only when `RUBY_ENGINE` is `"ruby"` at initialization of rubygems.
nobu (Nobuyoshi Nakada)
12:15 AM Bug #11956: RUBYOPT parses after rubygems loaded
Nobuyoshi Nakada wrote:
> Rubygems sets `Gem.path` at loading the first gem.
> ...
Because I uses MRI ruby and jruby at the same time, if I just set env variable GEM_HOME and GEM_PATH many gems will conflict within MRI ruby and jruby
personnel (Am I Who)
09:26 AM Revision c79402c4 (git): symbol.h: unexpected safe call
* symbol.h (is_attrset_id): ASET is an attrset ID. fix
unexpected safe call instead of an ordinary ASET.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:49 AM Revision f6dcbf74 (git): nmake VPATH
* ext/rbconfig/sizeof/depend (sizes.c): add nmake VPATH prefix.
reapply r53482 with '#' as separator not to be removed in
make-snapshot.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:24 AM Revision 52ddf1f8 (git): Revert r53482 "nmake VPATH"
it breaks `make dist`.
http://rubyci.s3.amazonaws.com/tk2-243-31075/ruby-trunk/log/20160109T034902Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:33 AM Revision 64e22859 (git): nmake VPATH
* ext/rbconfig/sizeof/depend (sizes.c): add nmake VPATH prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:32 AM Revision 445e11da (git): probes.h including dummy header
* Makefile.in, win32/Makefile.sub (probes.h): include dummy header
instead of copying.
* common.mk (probes.dmyh): add nmake VPATH prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:46 AM Revision a4c091a6 (git): fix rc files conflict in parallel build
* cygwin/GNUmakefile.in (%.rc): generate .rc files separately to
get rid of conflict in parallel build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:15 AM Revision c0e36de0 (git): vcs.rb: srcdir accessor
* tool/vcs.rb (VCS#srcdir): add accessor for VCS::GIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:03 AM Revision 612edc77 (git): use stringized macros
* version.h (RUBY_COPYRIGHT): use stringized macros,
RUBY_BIRTH_YEAR_STR and RUBY_RELEASE_YEAR_STR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:44 AM Revision d43ef66b (git): RUBY_PROGRAM_VERSION from RUBY_VERSION
* configure.in, win32/setup.mak: extract RUBY_PROGRAM_VERSION from
RUBY_VERSION in version.h instead of RUBY_API_VERSION numbers in
include/ruby/version.h, and cut it into version numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
01:02 AM Revision d58e799d (git): extract version from version.h
* tool/mkconfig.rb: extract version numbers from version.h but not
from API version in include/ruby/version.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:23 AM Revision 1fbfa718 (git): RUBY_RELEASE_DATE in verconf.mk
* win32/setup.mak (verconf.mk): extract RUBY_RELEASE_DATE without
quotation marks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:20 AM Revision 34b1c7dd (git): fix library teeny
* configure.in, win32/Makefile.sub: fix teeny of library version
to 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:20 AM Revision 6837c648 (git): configure.in: RUBY_PROGRAM_VERSION
* configure.in: use $(RUBY_PROGRAM_VERSION) instead of the triplet
macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:19 AM Revision bc8a7f9a (git): revert r53459, r53427, r53314
Revert "* tool/make-snapshot: fix for the changes of version.h in r53314."
Revert "* version.h (RUBY_BUILD_VERSION_STR_3): Workaround for old version of"
Revert "program version from API version"
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)

01/08/2016

10:15 PM Revision fca0cf6e (git): * gc.c: rename PAGE_* to HEAP_PAGE_* because PAGE_SIZE is used
in Mac OS X.
* test/ruby/test_gc.rb: catch up this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:46 PM Revision 1f1f3112 (git): * gc.c: PAGE_BITMAP_PLANES (the number of bitmap) is 4, not 3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
08:45 PM Revision 17c7bdc0 (git): * 2016-01-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:45 PM Revision f8827cef (git): * gc.c: rename constant names HEAP_* to PAGE_*.
Keys of GC::INTERNAL_CONSTANTS are also renamed.
* test/ruby/test_gc.rb: catch up this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:27 PM Bug #11970: Multiple Assignment Into a Hash with Destructuring causes segfault
I apologize for whatever I did to mangle the formatting. dwahl (Davis Wahl)
06:20 PM Bug #11970 (Closed): Multiple Assignment Into a Hash with Destructuring causes segfault
Segfaults in 2.2.3 and 2.3.0, In 2.1.0 and below, produces `{[:foo]=>:bar}`
~~~ruby
foo = [:foo]
bar = [:bar]
h = {}
h[*foo], _tail = *bar # Segfault
~~~
Using hash assignment/destructuring in this way may very well be undef...
dwahl (Davis Wahl)
05:00 PM Feature #11955: Expose Object that Receives logs in Logger
> Your example doesn't seem to able to get rid of adding stdout_logger twice or more, even with logger.destination.
It took a long time to write that example to be short, maybe I missed some details. A real world example is in that li...
schneems (Richard Schneeman)
01:34 PM Revision 066b8254 (git): * doc/regexp.rdoc: [DOC] Elaborate on the \G anchor. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
01:07 PM Bug #11956: RUBYOPT parses after rubygems loaded
Rubygems sets `Gem.path` at loading the first gem.
Ruby 2.3 bundles `did_you_mean` and activates it by default.
Why don't you set `GEM_HOME` and `GEM_PATH` directly instead of setting them in that file?
nobu (Nobuyoshi Nakada)
12:09 PM Bug #11969 (Closed): [PATCH] IRB: Final newline missing in truncated backtraces
If IRB shows a backtrace that gets truncated because of `back_trace_limit`, the last line of the backtrace does not end with a newline.
Steps to reproduce:
~~~
$ irb -f --back-trace-limit 1
irb(main):001:0> foo
~~~
Actual out...
noniq (Stefan Daschek)
10:56 AM Revision b6261054 (git): * gc.c: remove heap_page::body. Instead of this field,
heap_page::start field works well.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
10:52 AM Revision 92f33ef2 (git): iseq.c: volatile only on gcc4.8
* iseq.c (rb_iseq_compile_with_option): no volatile on gcc other
than 4.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:34 AM Revision 3ccafdb0 (git): * gc.c: rename rb_heap_t::page_length to rb_heap_t::total_pages.
`page_length' is not clear (we may understand with length of
a page).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:24 AM Revision 4ebaed6b (git): test_tempfile.rb: use assert_file
* test/test_tempfile.rb (test_create_with{,out}_block): use
assert_file for descriptive failure messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:23 AM Revision 98311146 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:23 AM Revision e5e37c20 (git): * gc.c: remove heap_page::heap. This field is only used to recognize
whether a page is in a tomb or not. Instead of this field,
heap_page::flags::in_tomb (1 bit field) is added.
Also type of heap_page::(total|free|final)_slots are changed from
int to short. 2B is enough for them.
git-svn-id: sv...
ko1 (Koichi Sasada)
07:47 AM Revision 0455a255 (git): iseq.c: make local variables volatile
* iseq.c (rb_iseq_compile_with_option): prepare arguments outside
EXEC_TAG, and make local variables volatile not to be clobbered
by longjmp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:35 AM Revision 1645833e (git): * tool/make-snapshot: fix for the changes of version.h in r53314.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
02:08 AM Misc #11876: Scheduled maintenance 2016/01/01
shibata.hiroshi@gmail.com wrote:
> LA of svn server is 0.10 to 0.20.
> We have enough resources includes memory, disk, network.
>
> No need to worry :)

Thank you, I am now running svnsync on http://svn.ruby-lang.org/repos/ruby
...
normalperson (Eric Wong)
01:25 AM Misc #11876: Scheduled maintenance 2016/01/01
>Sorry, I meant "loaded" in terms of resource use
> ...
ah. Thanks for your explanation.
LA of svn server is 0.10 to 0.20.
We have enough resources includes memory, disk, network.
No need to worry :)
hsbt (Hiroshi SHIBATA)
01:48 AM Bug #11954 (Assigned): "self has wrong type to call super in this context" under weird circumstances
The bug was introduced in r52104 by ko1, and it seems to be fixed by the attached patch, but Im' not sure.
shugo (Shugo Maeda)
01:21 AM Bug #11967: Mixing kwargs with optional parameters changes way method parameters are parsed
This looks like a spec issue, so I have assigned it to Matz. I can see arguments for both ways, the current one and the one proposed by Markus. But we can't have it both ways :-(. duerst (Martin Dürst)
12:38 AM Revision 11516342 (git): * iseq.c (rb_iseq_compile_with_option): move variable initialization
code to avoid maybe-uninitialized warnings by gcc 4.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)

01/07/2016

10:48 PM Misc #11876: Scheduled maintenance 2016/01/01
SHIBATA Hiroshi <hsbt@ruby-lang.org> wrote:
> > Btw, how loaded is the SVN server nowadays?
>
> I used svnadmin load/dump at this time.

Sorry, I meant "loaded" in terms of resource use
(loadavg/memory/disk/network).

Having a ...
normalperson (Eric Wong)
04:28 AM Misc #11876: Scheduled maintenance 2016/01/01
shibata.hiroshi@gmail.com wrote:
> restore done.

Curious, what broke/changed?


Btw, how loaded is the SVN server nowadays?

I might create a mirror using the svnsync(1) for git-svn
development/testing purposes. However, I do...
normalperson (Eric Wong)
03:44 AM Misc #11876 (Closed): Scheduled maintenance 2016/01/01
restore done. hsbt (Hiroshi SHIBATA)
08:47 PM Bug #11966 (Closed): YAML#load fails with OpenStruct object
Thanks for filing this. Already fixed, see #11884. marcandre (Marc-Andre Lafortune)
12:45 PM Bug #11966 (Closed): YAML#load fails with OpenStruct object
Code that can be used to reproduce the issue (works on 2.2.3, fails on 2.3.0):
~~~
require 'ostruct'
require 'yaml'
yaml = "
args:
- !ruby/object:OpenStruct
table:
:body: foo "
YAML.load(yaml)
~~~
Stacktrace:
...
brianstorti (Brian Storti)
07:11 PM Bug #11968 (Closed): OpenSSL extension only supports weak (512-bit, 1024-bit) Diffie-Hellman groups
The following D-H groups are enabled per default:
https://github.com/ruby/ruby/blob/trunk/ext/openssl/lib/openssl/pkey.rb
These use 512-bit and 1024-bit primes respectively. These are considered weak in 2015 by all present methods ...
bascule (Tony Arcieri)
03:07 PM Revision 7fbd9349 (git): * 2016-01-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:07 PM Revision 3dcd4b2a (git): * enum.c (enum_min, enum_max): do the same optimization as r53454.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
02:38 PM Bug #11954: "self has wrong type to call super in this context" under weird circumstances
I can reproduce this bug on 2.3.0 and was able to reduce the broken code even more increasing the amount of iterations:
https://gist.github.com/splattael/7b45e0f16e0084f50668
splattael (Peter Leitzen)
02:25 PM Bug #11967 (Rejected): Mixing kwargs with optional parameters changes way method parameters are parsed
I have the following method:
def test(first_param = nil, keyword_arg: nil)
puts "first_param: #{first_param}"
puts "keyword_arg: #{keyword_arg}"
end
All the following calls do what I expect them to do:
...
markus_d (Markus Doits)
01:35 PM Revision 98e565ec (git): * ruby.h: undef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P
and HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P on C++.
[ruby-core:72736] [Bug #11962]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
01:35 PM Bug #11962 (Closed): Ruby 2.3.0 causing compile failure on extensions using a C++ compiler
Applied in changeset r53455.
----------
* ruby.h: undef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P
and HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P on C++.
[ruby-core:72736] [Bug #11962]
mrkn (Kenta Murata)
12:33 PM Bug #11962: Ruby 2.3.0 causing compile failure on extensions using a C++ compiler
I found the other place to be fixed.
The following patch is the complete version.
```diff
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index 7aabf5b..a2f42c8 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@...
mrkn (Kenta Murata)
07:16 AM Bug #11962: Ruby 2.3.0 causing compile failure on extensions using a C++ compiler
Can I fix it by the following change?
~~~diff
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index 7aabf5b..72523c6 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -874,7 +874,7 @@ struct RBasic {
VALUE rb...
mrkn (Kenta Murata)
01:06 PM Revision 9f44b77a (git): * enum.c (enum_minmax): optimize object comparison in
Enumerable#minmax.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
12:28 PM Revision a1115a1b (git): * ext/ripper/depend: Just like BSDmake, nmake also recognize the rule of
".eventids2.check" as inference one. but nmake is not cheated by macro.
this fixes build failure introduced at r53448. see also the commit log of
r53452.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53453 b2dd03c8-39d4-4d8f-9...
U.Nakamura
10:12 AM Feature #11963: Add a simple static web server to `ruby`
I guess somebody providing code/a patch would go a long way to moving this issue forward. The invocation syntax is probably a detail that will solve itself somehow when we have an implementation.
As to introducing another way to do th...
duerst (Martin Dürst)
02:28 AM Feature #11963: Add a simple static web server to `ruby`
sgharms@stevengharms.com wrote:
> "Good artists copy, great artists steal." - Pablo Picasso

<snip>

> I believe the best and shortest chant is the following:
>
> `ruby -run -e httpd . -p <PORT>`

If we steal from Python, we m...
normalperson (Eric Wong)
12:09 AM Feature #11963 (Closed): Add a simple static web server to `ruby`
# Introduction
"Good artists copy, great artists steal." - Pablo Picasso
`python -m SimpleHTTPServer` starts a static webserver in the local directory. It is
helpful in many surprising ways. Ruby lacks a similar idiom. I advocate...
sgharms (STeven Harms)
10:01 AM Misc #11957: svn リポジトリのリビジョンがずれている
復旧していることを確認できました。ありがとうございます rhenium (Kazuki Yamaguchi)
02:52 AM Misc #11957 (Closed): svn リポジトリのリビジョンがずれている
11:30(JST) に再構築しました。ご指摘のあったリビジョンは復旧していると思います。 hsbt (Hiroshi SHIBATA)
08:33 AM Bug #11956: RUBYOPT parses after rubygems loaded
Nobuyoshi Nakada wrote:
> Yes.
> ...
I change GEM_HOME and GEM_PATH in loader.rb , but it doesn't affect Gem.path.
The same loader.rb works at ruby 2.2.3(and before) and jruby.
I uses both MRI ruby and jruby,so I uses RUBYOPT to chan...
personnel (Am I Who)
03:13 AM Bug #11956 (Feedback): RUBYOPT parses after rubygems loaded
Yes.
And what is your problem?
nobu (Nobuyoshi Nakada)
07:59 AM Bug #4044: Regex matching errors when using \W character class and /i option
Hmmm... When I try it with any other combination it never matches. Its only when I add the /i then it doesn't matter which case of "f"
~~~
"ffffFFFF".scan(/[\W]/) # []
"ffffFFFF".scan(/[\W]/i) # ["ff", "ff", "FF", "FF"]
"ff...
same (Sam Eaton)
05:40 AM Bug #4044: Regex matching errors when using \W character class and /i option
Sam Eaton wrote:
> /[\W]/ =~ "00FF00" # nil
> ...
It's spec.
Its mechanism is, \W includes U+FB00 (LATIN SMALL LIGATURE FF).
/i option expands it into FF.
The the "FF" match given string.
naruse (Yui NARUSE)
07:11 AM Revision 93bf5472 (git): fix r53448
avoid mkmf.rb's suffix rule scanner (lib/mkmf.rb:2085), it detects
suffix rule from depend file and adds .SUFFIXES.
It breaks bsdmake to generate check file named ".eventids2.check".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@534...
naruse (Yui NARUSE)
06:51 AM Revision 84d9d485 (git): Additional fix of r53450
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:37 AM Revision f2ba23ac (git): mkmf.rb: fix for ODE make
* lib/mkmf.rb (create_makefile): get rid of placing @ at the
beginning of replacement, which is the loop expansion mechanism
from the OSF Development Environment (ODE) make. fix failures
with bmake by r53448.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
05:50 AM Bug #10738: Parsing invalid URI results in undefined method `split' for nil:NilClass (NoMethodError)
Here is the reproduction steps:
~~~
$ rbenv shell 2.2.4
$ ruby -ruri -e 'URI "mailto:/example.com/"'
/Users/rafaelfranca/.rbenv/versions/2.2.4/lib/ruby/2.2.0/uri/mailto.rb:138:in `initialize': undefined method `split' for nil:NilCl...
rafaelfranca (Rafael França)
05:47 AM Bug #10738: Parsing invalid URI results in undefined method `split' for nil:NilClass (NoMethodError)
This issue is also present in Ruby 2.2. Is it possible to backport? rafaelfranca (Rafael França)
05:49 AM Revision 557a00f1 (git): thread.c: interrupt queue on uninitialized thread
* thread.c (rb_thread_pending_interrupt_p): no pending interrupt
before initialization.
* thread.c (thread_raise_m, rb_thread_kill): uninitialized thread
cannot interrupt. [ruby-core:72732] [Bug #11959]
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
05:49 AM Bug #11959 (Closed): Segfault during `exit' in thread initialize (Extended class).
Applied in changeset r53449.
----------
thread.c: interrupt queue on uninitialized thread
* thread.c (rb_thread_pending_interrupt_p): no pending interrupt
before initialization.
* thread.c (thread_raise_m, rb_thread_kill): uninitiali...
nobu (Nobuyoshi Nakada)
05:44 AM Feature #11955: Expose Object that Receives logs in Logger
Your example doesn't seem to able to get rid of adding `stdout_logger` twice or more, even with `logger.destination`.
Maybe won't it be better to do in `LogDevice` layer?
nobu (Nobuyoshi Nakada)
05:04 AM Feature #11965 (Closed): provide default basename parameter Tempfile.create
**Tempfile.new** have default basename from 2.3.0
https://github.com/ruby/ruby/commit/05c108cdba62545bb50616726f0b7261cb89ad4e
So, I propose that **Tempfile.create** also set default basename.
ref https://github.com/ruby/ruby/pu...
ksss (Yuki Kurihara)
03:06 AM Revision b032d111 (git): mkmf.rb: library installation messages
* lib/mkmf.rb (configuration, dummy_makefile, create_makefile):
show library installation messages only when any files need to
be updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:34 AM Revision 9a0b64fd (git): * 2016-01-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:34 AM Revision 7aab062e (git): version.c: no exit in ruby_show_copyright
* include/ruby/backward.h (ruby_show_copyright_to_die): for source
code backward compatibility.
* ruby.c (process_options): return Qtrue to exit the process
successfully.
* version.c (ruby_show_copyright): no longer exit.
git-svn-id...
nobu (Nobuyoshi Nakada)
02:34 AM Bug #8316: Can't pass hash to first positional argument; hash interpreted as keyword arguments
This is unfortunately still an issue with default values in positional arguments:
2.2.2 > def foo(hash={}, opt: true); p hash; p opt; end
=> :foo
2.2.2 > foo({a: 1})
ArgumentError: unknown keyword: a
Expected behavior is that f...
ozydingo (Andrew Schwartz)
01:44 AM Bug #11964 (Closed): __callee__ in aliased methods defined in a module returns an incorrect value
With Ruby 2.3, instead of following snippet printing bar (as it does with ruby 2.2.4) it prints foo.
If the methods are defined within the class instead of an included module, the snippet prints bar.
~~~ruby
module Mod
def foo
...
Anonymous

01/06/2016

11:26 PM Bug #4044: Regex matching errors when using \W character class and /i option
I am experiencing this issue with Ruby 2.3.0 on both OS X 10.10.5 and Ubuntu 14.04.3. When i have a double "f" i get a regex match with the non-word symbol and case insensitivity.
~~~
/[\W]/ =~ "00FF00" # nil
/[\W]/i =~ "00FF00...
same (Sam Eaton)
10:49 PM Bug #11937 (Closed): did_you_mean and other bundled gems are not installed by make install
Thanks for your comments and commits, it is clearer now :) Eregon (Benoit Daloze)
05:14 PM Bug #11962 (Closed): Ruby 2.3.0 causing compile failure on extensions using a C++ compiler
Hello,
I'm a contributor with the SciRuby foundation, and we have a gem called [nmatrix](https://github.com/SciRuby/nmatrix), which is a ruby gem for linear algebra processing in Ruby.
For representing different types of data, nmat...
v0dro (Sameer Deshmukh)
04:34 PM Bug #11961 (Closed): Array#delete_if gets an unexpected behavior when Array is modified during execution
However strange is the code below the behavior is not which expected.
a = %w(aue)
a.delete_if { a.delete_if { true }; true}
p a
with ruby 2.3 it produces:
["aue", false, false]
with ruby 2.2 it procudes:
[]
After a gi...
elionne (Stéphane Clérambault)
04:27 PM Feature #11955: Expose Object that Receives logs in Logger
Here is a patch to Rails that could benefit from standardizing access to the logger destination object: https://github.com/rails/rails/pull/22933
schneems (Richard Schneeman)
04:19 PM Misc #11960 (Closed): Tiny documentation improvement for URI.escape
This just cropped up on Reddit. A user was confused by URI.escape's behavior, why it was obsolete, and what should be used instead. So, here's a trivial doc patch:
```
diff --git a/lib/uri/common.rb b/lib/uri/common.rb
index 4c7d112...
meta (mathew murphy)
04:11 PM Bug #11959 (Closed): Segfault during `exit' in thread initialize (Extended class).
https://ideone.com/jluEsq (ruby 2.1.5p273)
https://eval.in/498185 (ruby 2.3.0)
Minimal reproduction:
~~~
require 'thread'

class A < Thread
def initialize
exit
end
end

A.new
~~~
Zarthus (Jos Ahrens)
12:37 PM Misc #11876 (Assigned): Scheduled maintenance 2016/01/01
I found broken revisions before r53353.
I try to dump and restore svn repository. I will maintenance svn.ruby-lang.org tomorrow afternoon(JST).
Sorry for your inconvenience experience.
hsbt (Hiroshi SHIBATA)
12:34 PM Misc #11957 (Assigned): svn リポジトリのリビジョンがずれている
ご報告ありがとうございます。
旧サーバーにてデータを確認したところ、ご指摘のあったリビジョンは別のデータとなっており
確かに移行先のリポジトリのデータが壊れているようです。
今回の移設では日時で作成しているバックアップデータを用いて再構築を行いましたが、それらの
データが壊れていた可能性があります。改めて旧サーバーからダンプデータを作成しなおし、
再構築を行っている最中です。
完了したらこの issue でご連絡します。
hsbt (Hiroshi SHIBATA)
11:25 AM Misc #11957 (Closed): svn リポジトリのリビジョンがずれている
r34900-r53360 あたりでコミットが重複したりリビジョン番号が以前と変わってしまっています。
先月は正常だった気がするので、おそらく #11876 のメンテナンスの影響ではないかと思います。
例えば、もともと r34900 だったコミットが、現在のリポジトリでは r34900 と r34920 で重複しています。
https://github.com/ruby/ruby/commit/e5ac15998d29d5a239827fadc95ec3ff6...
rhenium (Kazuki Yamaguchi)
12:26 PM Bug #11958 (Closed): TCPSocket.getsockopt().bool raises a TypeError on windows
The following code snippet works as expected on linux (it returns "false"):
~~~ruby
require 'net/http'
http = Net::HTTP.new('192.168.111.21', 8080)
http.start
socket = http.instance_variable_get(:@socket).io
socket.getsockopt(S...
mfournier (Marc Fournier)
09:26 AM Bug #11947 (Assigned): BigDecimal#coerce: unexpected behavior with Float
mrkn (Kenta Murata)
08:23 AM Revision 1491c418 (git): * 2016-01-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:23 AM Revision 49684589 (git): optparse.rb: into kwdarg
* lib/optparse.rb (OptionParser#order!): add `into` optional
keyword argument to store the results. [Feature #11191]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:23 AM Feature #11191 (Closed): Add #to_h method to OptionParser
Applied in changeset r53444.
----------
optparse.rb: into kwdarg
* lib/optparse.rb (OptionParser#order!): add `into` optional
keyword argument to store the results. [Feature #11191]
nobu (Nobuyoshi Nakada)
04:08 AM Bug #11953: ThreadError in 2.3 on code that works on 2.2.4
My recreation may not be useful though as it has the same error on Ruby 2.2.4. The longer code does not. JEG2 (James Gray)
03:49 AM Bug #11953: ThreadError in 2.3 on code that works on 2.2.4
This is the minimal reproduction I could come up with:
~~~ruby
require "forwardable"
require "singleton"
class Surprise
include Singleton
class << self
extend Forwardable
def method_added(method)
(class...
JEG2 (James Gray)
02:18 AM Bug #11956 (Closed): RUBYOPT parses after rubygems loaded
RUBYOPT=-rloader but loader.rb loads after rubygems.rb loaded
I change GEM_HOME and GEM_PATH in loader.rb , but it doesn't affect Gem.path.
The same loader.rb works at ruby 2.2.3(and before) and jruby.
I uses both MRI ruby and jruby...
personnel (Am I Who)

01/05/2016

09:59 PM Feature #11955 (Assigned): Expose Object that Receives logs in Logger
I need to be able to perform logic based on the destination of a current logger, this is currently not possible without `instance_variable_get`. Why would you need to see what destination a logger is going to? There is a common pattern i... schneems (Richard Schneeman)
08:29 PM Bug #11954 (Closed): "self has wrong type to call super in this context" under weird circumstances
See attached file snafu.rb.
This file was obtained by inlining and reducing a large codebase...
schnittchen (Thomas Stratmann)
07:01 PM Bug #11953 (Rejected): ThreadError in 2.3 on code that works on 2.2.4
This is my first bug reporting, so I'm sorry if this isn't exactly correct format. I'll update my report accordingly if pointed in the right direction.
I ran into what appears to be a bug while doing a quiz.
I've included the break...
claytonflesher (Clayton Flesher)
05:17 PM Misc #11904: Why was Thread.exclusive deprecated?
Nobuyoshi Nakada wrote:
> This use of `Thread.exclusive` seems nonsense.
> ...
That's the point; no two threads can call init via this code at the same time.
Of course, require's guarantee of "only once" would do the same thing here.
headius (Charles Nutter)
04:00 PM Bug #11928: Segmentation fault in did_you_mean extension
I was able to replicate it without `did_you_mean`.
1. Save this file as `loader.rb`:
```ruby
-> { require_relative 'segfault' }.call
```
2. Save this file as `segfault.rb`:
```ruby
class Segfault
...
yuki24 (Yuki Nishijima)
02:39 PM Bug #11928: Segmentation fault in did_you_mean extension
I think i encountered similiar or even the same issue, managed to replicate in quite simple env with roda
https://github.com/hirokiraj/roda-2.3.0-bug
Control frame and backtrace -> https://gist.github.com/hirokiraj/83d917de90e0f60253...
hirokiraj (Jakub Jatczak)
03:23 PM Bug #11909: io.popen problem in 2.2 and over
Hi all and thanks to Jens !
If I add $stdout.sync at the beginning of prova5.rb and $stdout.flush at the end all runs OK !!!!
Yesterday we substitute our logic with Nokogiri, but now we can return back to libxml-ruby (it's faster...)...
pierisimone (Simone Pieri)
12:25 PM Bug #11909: io.popen problem in 2.2 and over
Associated libxml-ruby issue: [#115](https://github.com/xml4r/libxml-ruby/issues/115).
Related libxml-ruby issue: [#109](https://github.com/xml4r/libxml-ruby/issues/109) (executing `test.rb` via `IO.popen` exhibits the same problem).
jwille (Jens Wille)
12:15 PM Bug #11909: io.popen problem in 2.2 and over
I don't have time to investigate further right now, but the problem is that the output of `prova5.rb` gets buffered. The `find` and everything else executes just fine. You can work around this problem by adding `$stdout.sync = true` at t... jwille (Jens Wille)
02:54 PM Misc #11876: Scheduled maintenance 2016/01/01
If you got like `svn: E155017: Checksum mismatch for '/XXXXXMakefile.in'`
Please run following instructions.
* svn update --set-depth empty
* remove your local changes
* svn update --set-depth infinity
hsbt (Hiroshi SHIBATA)
02:07 PM Revision 4d0e0a38 (git): id.h.tmpl: no optparse here
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:48 PM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
I think I'm getting the same crash in `gc_mark_ptr` with `ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]` when using the pg 0.18.4 gem and activerecord 4.2.4:
```
(lldb) target create "/Users/felix/.rvm/rubies/ruby-2.3.0/...
felixbuenemann (Felix Bünemann)
01:11 PM Bug #11946: Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
Nobuyoshi Nakada wrote:
> Do you have short code to reproduce it, and what platform?
I do not have code to reproduce it but I'm trying to provide you with a snippet today.
The only thing I found out so far:
It happens in
~~...
felixmohnert (Felix Mohnert)
12:44 PM Revision 96acb6e3 (git): * ChangeLog: fix wrong class name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:44 PM Revision e2191d4c (git): * test/ruby/test_string.rb(test_chr): added test for String#chr
[fix GH-1179]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:32 PM Revision 2c62030c (git): * test/ruby/test_numeric.rb (test_nonzero_p): added test for String#nonzero?
[fix GH-1187]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:26 PM Bug #11706: Clean up files etc/unicode/name2ctype.{h.blt,kwd,src}
Yes sorry I mean Unicode 7.0.
The JRuby code is at https://github.com/jruby/jcodings/tree/master/scripts.
Ah sorry I misread `name2ctype.{h.blt,kwd,src}` as `name2ctype.{h,blt,kwd,src}`, so I see you aren't proposing removing the `...
chrisseaton (Chris Seaton)
06:52 AM Bug #11706: Clean up files etc/unicode/name2ctype.{h.blt,kwd,src}
Chris Seaton wrote:
> I've been dealing with an issue related to this. When Ruby updated to MRI 7.0
Do you mean Unicode 7.0?
> ...
What do you mean by "now"? What's your current revision/Ruby version? As for inconsistencies, I ind...
duerst (Martin Dürst)
11:59 AM Feature #11952: Use getrusage for Process.times if available
Oops, my description is unexpectedly removed ...
I meant:
before: Process.times #=> #&lt;struct Process::Tms utime=0.06, stime=0.02, cutime=0.02, cstime=0.03&gt;
after: Process.times #=> #&lt;struct Process::Tms utime=0.066553, st...
k0kubun (Takashi Kokubun)
11:56 AM Feature #11952 (Closed): Use getrusage for Process.times if available
Since times(3) has poor precision, I want to use getrusage(2) for Process.times to get better precision if getrusage is available.
before: Process.times #=> #<struct Process::Tms utime=0.06, stime=0.02, cutime=0.02, cstime=0.03>
afte...
k0kubun (Takashi Kokubun)
07:35 AM Feature #11951 (Closed): `RubyVM::InstructionSequence.compile` should return the error message within the raised error
When `RubyVM::InstructionSequence.compile` raises a syntax error, it outputs the syntax error message to `$stderr`, and then raises a `SyntaxError` anyway, whose message is simply: `"compile error"`.
I don't think this is useful. For ...
sawa (Tsuyoshi Sawada)
06:09 AM Revision 8d666271 (git): leakchecker.rb: remove temporary measure
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#watcher):
make watcher thread restartable.
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#terminate):
new method to terminate watcher thread.
* test/lib/leakchecker.rb ...
nobu (Nobuyoshi Nakada)
02:47 AM Revision b01c28ee (git): Clarify object references example
* doc/marshal.rdoc: Clarify object references example, that the
reference is same object. [Fix GH-1156]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:48 AM Revision fabb8b45 (git): enc/Makefile.in: get rid of nmake bug
* enc/Makefile.in (ECHO1): expand NULLCMD by configured value to
get rid of a bug of nmake, that it can expand bare single name
variable but cannot in substition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53437 b2dd03c8-39d4...
nobu (Nobuyoshi Nakada)
12:44 AM Bug #11950 (Closed): Please update the "stable" download link
Thank you for your notification. I fixed it. hsbt (Hiroshi SHIBATA)

01/04/2016

08:48 PM Bug #11945: [PATCH] stringio: binmode sets encoding to ASCII-8BIT
nobu@ruby-lang.org wrote:
> Good point.
> Just adjust the indent as the rest, please.

Thanks for the extra eyes, fixed up indent and committed r53435

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<ht...
normalperson (Eric Wong)
08:45 PM Bug #11945 (Closed): [PATCH] stringio: binmode sets encoding to ASCII-8BIT
Applied in changeset r53435.
----------
stringio: binmode sets encoding to ASCII-8BIT
This should match the behavior of IO#binmode as far
as treating content as ASCII-8BIT (binary).
* ext/stringio/stringio.c (strio_binmode): implement...
Anonymous
12:31 PM Bug #11945 (Assigned): [PATCH] stringio: binmode sets encoding to ASCII-8BIT
Good point.
Just adjust the indent as the rest, please.
nobu (Nobuyoshi Nakada)
11:33 AM Bug #11945 (Closed): [PATCH] stringio: binmode sets encoding to ASCII-8BIT
stringio: binmode sets encoding to ASCII-8BIT
This should match the behavior of IO#binmode as far
as treating content as ASCII-8BIT (binary).
normalperson (Eric Wong)
08:45 PM Revision 02144c9f (git): * 2016-01-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:45 PM Revision dc59c768 (git): stringio: binmode sets encoding to ASCII-8BIT
This should match the behavior of IO#binmode as far
as treating content as ASCII-8BIT (binary).
* ext/stringio/stringio.c (strio_binmode): implement to set encoding
* test/stringio/test_stringio.rb (test_binmode): new test
[ruby-core:...
Eric Wong
05:10 PM Bug #11946: Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
I have the exact same problem and message. Wish I had more to add, but I don't. I came on to add an issue and saw Felix beat me to it. I'll follow this issue and participate as I can.
Rails 4.2.5
Ruby 2.3
OS X 10.11.2
Minitest 5....
atstockland (Adam Stockland)
02:34 PM Bug #11946: Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
Do you have short code to reproduce it, and what platform?
Or if it is reproducible, then run that application from debugger.
`.gdbinit` for gdb is bundled with the source, break at the line and try `rp` macro to see the content of `or...
nobu (Nobuyoshi Nakada)
01:34 PM Bug #11946 (Closed): Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
Starting the Rails server or running specs for one of our applications results in:
~~~
Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
Abort trap: 6
~~~
Previous Ruby versions didn't ...
felixmohnert (Felix Mohnert)
04:28 PM Bug #11950 (Closed): Please update the "stable" download link
The "stable" URL [1] still points to Ruby 2.2 while it should link to Ruby 2.3.
[1] http://ftp.ruby-lang.org/pub/ruby/stable/
vo.x (Vit Ondruch)
04:22 PM Feature #11949 (Closed): Allow @/$ prefix in Regexp's named captures
fluentd hits the problem that Regexp's named captures doesn't allow @ prefix.
https://github.com/treasure-data/omnibus-td-agent/issues/60
I assume this limitation is for auto variable assign feature.
http://ruby-doc.org/core-2.3...
repeatedly (Masahiro Nakagawa)
03:17 PM Bug #11948 (Rejected): Segfault on blank line in IRB
Segfault on blank line in IRB
Running in Alpine Linux
~~~
bash-4.3# irb
irb(main):001:0>
irb(main):002:0*
/usr/lib/ruby/2.2.0/irb/input-method.rb:149: [BUG] Segmentation fault at 0x00000000000010
ruby 2.2.4p230 (2015-12-1...
gerbal (Grant McLendon)
02:05 PM Bug #11947 (Closed): BigDecimal#coerce: unexpected behavior with Float
I've noticed that:
~~~
BigDecimal('2') + 1 # => BigDecimal(3), OK
1 + BigDecimal('2') # => BigDecimal(3), OK
# whereas
BigDecimal('2') + 1.1 # => BigDecimal(3.1), OK
1.1 + BigDecimal('2') # => Float(3.1), WHY?
~~~
I was e...
lionel_perrin (Lionel PERRIN)
09:49 AM Feature #11939: Syntax sugar to apply a method replace a variable
Nobuyoshi Nakada wrote:
> Maybe an op assign could be used with (1)?
> ...
That is interesting. It would be even more useful.
sawa (Tsuyoshi Sawada)
09:30 AM Feature #11939: Syntax sugar to apply a method replace a variable
According to ruby conventions shouldn't that be
var.some_method!(some_args) if some_condition.
Because you are modifying same object. Why do you need new feature?
codetodya (Sumit Mahamuni)
07:59 AM Revision 812c5798 (git): Revert r53431 "temporally revert r53411 to debug"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:47 AM Revision 014d60ce (git): test_ostruct.rb: sort method names
* test/ostruct/test_ostruct.rb (test_accessor_defines_method):
should not depend on the order of methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:27 AM Revision bae170f3 (git): common.mk: double quotes
* common.mk (ext/socket/constdefs.c): use double quotes to get rid
of escape by caret in nmake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:23 AM Revision 853cd402 (git): temporally revert r53411 to debug
http://rubyci.s3.amazonaws.com/unstable11s/ruby-trunk/log/20151225T162507Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:16 AM Revision 04a913f2 (git): common.mk: generate socket constdefs
* common.mk (ext/socket/constdefs.c): generate platform
indenpendent constant definitions beforehand under the source
tree at updating the working copy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53430 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)
07:08 AM Revision d5f4a2ba (git): variable.c (rb_mod_deprecate_constant): [DOC] added
documentation for Module#deprecate_constant. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sho Hashimoto
06:42 AM Bug #11849: Heredoc regression in 2.2.4
Ref: https://github.com/whitequark/parser/issues/231#issuecomment-165921156 wanabe (_ wanabe)
06:38 AM Revision 571fb5b6 (git): thread_sync.c: [DOC] remove SizedQueue#close argument. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sho Hashimoto
03:12 AM Revision 1c8b8173 (git): * version.h (RUBY_BUILD_VERSION_STR_3): Workaround for old version of
Fujitsu C Compiler (fcc) on Solaris. [Bug #11944] [ruby-dev:49468]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ngoto (Naohisa Goto)
03:12 AM Bug #11944 (Closed): ruby lib version (2.4.0) doesn't match executable version (RUBY_PROGRAM_VERSION_MAJOR.RUBY_PROGRAM_VERSION_MINOR.0) (RuntimeError)
Applied in changeset r53427.
----------
* version.h (RUBY_BUILD_VERSION_STR_3): Workaround for old version of
Fujitsu C Compiler (fcc) on Solaris. [Bug #11944] [ruby-dev:49468]
ngoto (Naohisa Goto)
02:37 AM Bug #11944 (Assigned): ruby lib version (2.4.0) doesn't match executable version (RUBY_PROGRAM_VERSION_MAJOR.RUBY_PROGRAM_VERSION_MINOR.0) (RuntimeError)
まさに今試してもらおうと思っていたパッチでした。
それでお願いします。
nobu (Nobuyoshi Nakada)
02:35 AM Bug #11944: ruby lib version (2.4.0) doesn't match executable version (RUBY_PROGRAM_VERSION_MAJOR.RUBY_PROGRAM_VERSION_MINOR.0) (RuntimeError)
以下のパッチでエラーが出なくなることは確認しました。
~~~diff
Index: version.h
===================================================================
--- version.h (revision 53426)
+++ version.h (working copy)
@@ -3,7 +3,7 @@
#define RUBY_PROGRAM_VERSIO...
ngoto (Naohisa Goto)
01:31 AM Bug #11944 (Closed): ruby lib version (2.4.0) doesn't match executable version (RUBY_PROGRAM_VERSION_MAJOR.RUBY_PROGRAM_VERSION_MINOR.0) (RuntimeError)
おそらく r53314 以降、Solaris にて古い fcc (Fujitsu C Compiler) にて、
以下のエラーによりビルドに失敗します。
~~~
./miniruby -I./lib -I. -I.ext/common ./enc/make_encmake.rb --builtin-encs="enc/ascii.o enc/us_ascii.o enc/unicode.o enc/utf_8.o" --builtin-transes="en...
ngoto (Naohisa Goto)
01:50 AM Revision 8fe2421e (git): ChangeLog: remove unnecessary preposition [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:46 AM Revision 09ecfbf3 (git): ChangeLog: remove stale log [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:14 AM Revision acc472dd (git): * test/coverage/test_coverage.rb: ignored test when enabled to coverage.
It lead to crash with `make test-all`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

01/03/2016

11:53 PM Bug #11915: File.read reading string starting with | executes it.
Nobuyoshi Nakada wrote:
> Linus Sellberg wrote:
> ...
But File.read DOES. Which is what I find wrong. That File.open doesn't is another reason to not have .read do that.
yxhuvud (Linus Sellberg)
11:14 PM Revision c48abea0 (git): Move a comment to the appropriate position.
The position of `/* fall through */` was moved by r52931.
* insns.def (opt_case_dispatch): Move a comment to the
appropriate position.
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53423 b2dd03c8-39d4-4d8f-98ff-823fe6...
yui-knk (Kaneko Yuichiro)
10:11 PM Feature #11818: `Hash#compact`
Prem Sichanugrist wrote:
> Active Support has this: http://api.rubyonrails.org/classes/Hash.html#method-i-compact
> ...
https://github.com/ruby/ruby/pull/1184/files
In anticipation of this being approved, I have raised a PR of a sam...
dwfait (Dwain Faithfull)
05:49 PM Bug #11706: Clean up files etc/unicode/name2ctype.{h.blt,kwd,src}
I've been dealing with an issue related to this. When Ruby updated to MRI 7.0 the name2ctype.h was updated but not the name2ctype.src, so they're now inconsistent (look at CR_Blank for example).
I found this problem when I tried to up...
chrisseaton (Chris Seaton)
03:24 PM Revision 7d117c70 (git): contributing.rdoc: update [ci skip]
* doc/contributing.rdoc: mention some make targets, check, up, and
love.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:03 PM Revision c4079eec (git): * 2016-01-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:03 PM Revision 94519cbb (git): common.mk: up in help
* common.mk (help): mention `up` target briefly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:55 PM Revision 192b63fd (git): Fix defined? expressions
* lib/rubygems/security.rb (DIGEST_ALGORITHM, KEY_ALGORITHM):
should check same name as the used constants.
[ruby-core:72674] [Bug #11940]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:53 PM Bug #11940 (Third Party's Issue): Ruby fails to compile with --with-static-linked-ext
Luiz Angelo Daros de Luca wrote:
> It seems that `OpenSSL::Digest` is defined by the builtin ext (in miniruby?!),
It might be defined in `rubygems/digest.rb`.
nobu (Nobuyoshi Nakada)
02:36 PM Bug #11937: did_you_mean and other bundled gems are not installed by make install
Benoit Daloze wrote:
> 1) Why and when should I do a `make up`?
`make up` is a trigger to update via the network.
Other targets would not access remote hosts, except for some necessary files (config. guess and config.sub).
> ...
...
nobu (Nobuyoshi Nakada)
12:28 PM Bug #11937: did_you_mean and other bundled gems are not installed by make install
About 2) it's due to #11876, so after updating the keys it seems to work. Eregon (Benoit Daloze)
11:37 AM Bug #11937: did_you_mean and other bundled gems are not installed by make install
Nobuyoshi Nakada wrote:
> Doesn't `make up` do it?
I guess it would, however I think there are two problems:
1) Why and when should I do a `make up`?
And where is it documented it should be part of the the build process? (make he...
Eregon (Benoit Daloze)
02:31 PM Feature #11939: Syntax sugar to apply a method replace a variable
Maybe an op assign could be used with (1)?
```ruby
var +=.some_method(some_args)
```
nobu (Nobuyoshi Nakada)
02:19 PM Revision 23529f5d (git): Makefile.in: drop dependency
* Makefile.in (aclocal.m4): drop the dependency of aclocal.m4 for
broken autotools installations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:26 PM Misc #11876: Scheduled maintenance 2016/01/01
New IP is 52.192.80.219.
(I got a "WARNING: POSSIBLE DNS SPOOFING DETECTED!")
Eregon (Benoit Daloze)
12:00 PM Bug #11942: No rule to make target 'aclocal.m4', needed by 'configure'
Just for the record, if you run into this bug, just redoing 'make up; make install' isn't enough. A manual 'svn up' is necessary. duerst (Martin Dürst)
10:22 AM Bug #11942 (Closed): No rule to make target 'aclocal.m4', needed by 'configure'
Applied in changeset r53417.
----------
aclocal.m4: add
* aclocal.m4: add fallback file for non-aclocal environments.
[ruby-core:72683] [Bug #11942]
nobu (Nobuyoshi Nakada)
09:04 AM Bug #11942 (Closed): No rule to make target 'aclocal.m4', needed by 'configure'
When executing 'make up; make install-nodoc' I get the following errors:
(it's an easy guess that this must be related to r53414)
make[1]: Entering directory '/cygdrive/c/Data/ruby'
sed 's/{\$([^(){}]*)[^{}]*}//g' common.mk > uncomm...
duerst (Martin Dürst)
10:22 AM Revision 853ef28a (git): aclocal.m4: add
* aclocal.m4: add fallback file for non-aclocal environments.
[ruby-core:72683] [Bug #11942]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:34 AM Bug #11943 (Rejected): Segmentation fault ruby 2.0.0p645
/opt/rh/ruby200/root/usr/share/ruby/net/http/response.rb:368: [BUG] Segmentation fault
ruby 2.0.0p645 (2015-04-13) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0032 p:---- s:0170 e:00...
kodabear (dakota riggs)
08:14 AM Bug #11903: [BUG] vm_call_cfunc - cfp consistency error
Check this related issue -https://bugs.ruby-lang.org/issues/7938 codetodya (Sumit Mahamuni)
08:13 AM Bug #11903: [BUG] vm_call_cfunc - cfp consistency error
Check this related issue -https://bugs.ruby-lang.org/issues/7938 codetodya (Sumit Mahamuni)
07:04 AM Feature #11911: Immutable method definitions and/or static dispatch
I suppose I'm talking specifically about the first, that is, the ability to change any method at any time.
The most obvious use case I can imagine is an application that wants to guarantee that it's running the stock stdlib, with no m...
mlarraz (Matt Larraz)
05:52 AM Bug #10196 (Closed): rdoc should not depend on gems
hsbt (Hiroshi SHIBATA)
04:58 AM Bug #10196: rdoc should not depend on gems
Pull Request accepted. Please, close. luizluca (Luiz Angelo Daros de Luca)
05:01 AM Misc #11649 (Closed): [Refactor] Use `rb_method_visibility_t` instead of `int` in `rb_print_undef`
yui-knk (Kaneko Yuichiro)
04:59 AM Revision 5cf9b65a (git): Use `rb_method_visibility_t` instead of `int` in `rb_print_undef`
* eval_error.c (rb_print_undef): Use `rb_method_visibility_t`
instead of `int`.
* eval_intern.h (rb_print_undef): ditto
* proc.c (mnew_internal): ditto
* vm_method.c (rb_export_method): ditto
[Misc #11649] [ruby-core:71311] [fix GH-1...
yui-knk (Kaneko Yuichiro)
04:05 AM Feature #11934: A feature to drop dynamics dynamically
It would be nice to fine-tune some of ruby's behaviour like that.
So I am encouraging all ideas similar as to the above.
There is only one concern I have - is it possible to become
"less" strict again that is, to revert to the def...
shevegen (Robert A. Heiler)
03:12 AM Revision 21649a0f (git): * 2016-01-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:12 AM Revision e05a8537 (git): acinclude.m4: rename
* acinclude.m4: rename aclocal.m4, which should be generated by
aclocal. [ruby-core:72675] [Bug #11941]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:12 AM Bug #11941 (Closed): aclocal.m4 cannot be generated by aclocal
Applied in changeset r53414.
----------
acinclude.m4: rename
* acinclude.m4: rename aclocal.m4, which should be generated by
aclocal. [ruby-core:72675] [Bug #11941]
nobu (Nobuyoshi Nakada)
12:46 AM Bug #11941 (Closed): aclocal.m4 cannot be generated by aclocal
Hello,
Since rev 52202, ruby added a aclocal.m4 file to its source. Normally, it is expected that aclocal.m4 to be generated by command aclocal that reads m4 directory. In order to avoid using tainted autotools-generated files, some b...
luizluca (Luiz Angelo Daros de Luca)
 

Also available in: Atom