Project

General

Profile

Activity

From 12/26/2013 to 01/01/2014

01/01/2014

09:46 PM Bug #9338 (Closed): Build failure of trunk with MSVC 2013
The revision r44473 introduced the following error.
compiling eval.c
eval.c
eval.c(558) : error C4028: formal parameter 3 different from declaration
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\V...
phasis68 (Heesob Park)
08:49 PM Bug #9337 (Closed): [BUG] Segmentation fault at 0x00000000000018 ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]
Tried to switch to ruby 2.1.0 on my rails app that runs on a linux server.
During deployment when executing rake assets:precompile I got a Segmentation fault error.
Tried to to the same thing locally (on a mac os system) and I got ...
danielr (Daniel Ristic)
08:28 PM Feature #9336 (Closed): [PATCH (trivial)] remove rb_hash_keys from internal.h
This is no longer needed since r43969
If you prefer: git pull git://80x24.org/ruby.git rb_hash_keys-static
The following changes since commit ad0980504b355485b848395f1bf4f067e6b23d3d:
* 2014-01-01 (2014-01-01 02:12:43 +0000)
...
normalperson (Eric Wong)
07:15 PM Revision 243e581d (git): eval.c: extra modifier
* eval.c (rb_longjmp): remove an extra modifier from the forward
declaration to match the actual definition. [ruby-core:59451]
[Bug #9338]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:43 PM Revision e4518c5b (git): dbm.c: yield dup of keystr
* ext/dbm/dbm.c (fdbm_fetch): yield dup of keystr, to make it shared
and get rid of use of uninitialized variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:19 PM Bug #9317 (Closed): --with-opt-dirがLDFLAGS, DLDFLAGSに反映されない
This issue was solved with changeset r44476.
Wataru, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
configure.in: LDFLAGS and DLDFLAGS for opt-dir
* configure.in:...
nobu (Nobuyoshi Nakada)
04:40 PM Revision b66d7182 (git): * vm_eval.c (method_missing): use ALLOCV_N() instead of
ALLOCA_N() and rb_ary_tmp_new().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
03:55 PM Revision 56b03969 (git): * array.c (rb_ary_zip): use ALLOCV_N() instead of ALLOCA_N().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
03:28 PM Bug #9335 (Rejected): dynamic rescue regression in Ruby 2.1
It had been allowed on 1.9.3 accidentally.
In other words, it's a fixed bug.
nobu (Nobuyoshi Nakada)
12:47 PM Bug #9335: dynamic rescue regression in Ruby 2.1
Some other person on the internet also took the time to track this change in behaviors over time:
https://gist.github.com/gmallard/7034128
fdr (Daniel Farina)
12:44 PM Bug #9335: dynamic rescue regression in Ruby 2.1
This seems to apply to 2.0 as well. Here's the commit found by git bisect:
commit 93b6f8d6195564d0884ee00f536a951f4c26288c
Author: ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Wed Aug 8 07:52:19 2012 +0000
* compil...
fdr (Daniel Farina)
11:20 AM Bug #9335 (Rejected): dynamic rescue regression in Ruby 2.1
The following type of rescue block appears broken:
begin
raise 'hello'
rescue ->(e) { true }
end
In Ruby 1.9.3p484, this exits with a normal exit code and no output.
On Ruby 2.1.0, it instead yields:
/tmp/badin21.rb:4:in...
fdr (Daniel Farina)
03:19 PM Revision edc5eb0d (git): * 2014-01-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:19 PM Revision 2c11bda8 (git): * hash.c (rb_hash_keys): make rb_hash_keys() static.
it is no longer used from array.c since r43969.
the patch is from normalperson (Eric Wong).
[ruby-core:59449] [Feature #9336]
* internal.h: remove definition of rb_hash_keys().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4447...
Glass_saga (Masaki Matsushita)
01:11 PM Revision 45379828 (git): test_transcode.rb: add messages
* test/ruby/test_transcode.rb (test_valid_dummy_encoding): add
assertion messages and suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:12 AM Bug #8358 (Closed): TestSprintf#test_float test failure
This issue was solved with changeset r44474.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
configure.in: use SSE2
* configure.in: use SSE2 instructions f...
nobu (Nobuyoshi Nakada)
09:33 AM Misc #9331 (Assigned): Add examples to Set#intersect? and Set#disjoint?
Thanks! I will check this out soon zzak (zzak _)
09:19 AM Revision 41d42a59 (git): configure.in: LDFLAGS and DLDFLAGS for opt-dir
* configure.in: reset LDFLAGS and DLDFLAGS for opt-dir again after
LIBPATHFLAG and RPATHFLAG are set. [ruby-dev:47868] [Bug #9317]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:41 AM Bug #9334 (Closed): activesupport-4.0.2/lib/active_support/dependencies.rb:229: [BUG] Segmentation fault at 0x00000000000018
I have just upgraded to ruby 2.1.0 and running in Rails foreman (unicorn) and received a long error report, which I quite frankly do not understand, attached an output and diagnostics report malagodia (Andrea Malagodi)
08:31 AM Bug #9321: rb_mod_const_missing does not generate a c-return event
I like the second patch, but now I'm not so sure about this technique.
Technically, const_missing never returns. So emitting a c_return event seems wrong. In fact, a raise event should be emitted from inside const_missing.
The "rig...
tmm1 (Aman Karmani)
02:12 AM Revision ad098050 (git): * 2014-01-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:12 AM Revision dd6834b0 (git): configure.in: use SSE2
* configure.in: use SSE2 instructions for drop unexpected
precisions. [ruby-core:54738] [Bug #8358]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

12/31/2013

10:41 PM Bug #9332 (Closed): win32/Makefile.sub malconfiguration
arton (Akio Tajima)
09:53 PM Bug #9332 (Closed): win32/Makefile.sub malconfiguration
win32/Makefile.sub defines HAVE_FSEEKO because win32/win32.c defined the function.
However since r40661 the function was removed from win32/win32.c.
arton (Akio Tajima)
10:41 PM Bug #9333 (Closed): win32/Makefile.sub malconfiguration
arton (Akio Tajima)
09:53 PM Bug #9333 (Closed): win32/Makefile.sub malconfiguration
win32/Makefile.sub defines HAVE_FSEEKO because win32/win32.c defined the function.
However since r40661 the function was removed from win32/win32.c.
It must be removed from Makfile.sub too.
arton (Akio Tajima)
10:36 PM Bug #9326: No superclass method in ruby 2.1
Seems to be fine on ruby_2_1, after r44410 (merging r44380).
I confirmed NoMethodError is raised on 2.1.0 (r44340) and not on ruby_2_1 (r44443).
But 'ruby -v' of this ticket is revision 44422 (> 44410).
Really test.rb fails on r4442...
wanabe (_ wanabe)
08:14 AM Bug #9326: No superclass method in ruby 2.1
Does it work on the trunk? nobu (Nobuyoshi Nakada)
06:33 AM Bug #9326 (Closed): No superclass method in ruby 2.1
Runing ruby 2.1 plus nobu's patch from issue 9315. Without the patch it segfaults.
Found this testing testing test-redef with ruby 2.1. Works on 2.0.0-p353 and fails on 2.1.0. When the replacement method calls the alias directly it...
nmueller (Nate Mueller)
09:24 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
The last patch is not acceptable because of performance reason.
I'll think about it.
ko1 (Koichi Sasada)
07:35 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
Here's the new patch. I have moved the hook to rb_frame_pop().
The new patch makes sure that the method names sent along with call and return events are identical.
But I'm not sure whether the current ruby behavior in the presence ...
drkaes (Stefan Kaes)
06:55 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
The patch has some issues with redefined Module#const_missing.
I'm in the process of preparing a new one.
drkaes (Stefan Kaes)
07:33 PM Bug #9310: inheritance.rb: 27: [BUG] Segmentation fault at 0x00000c
I can reproduce with 2.1.0p0 but not with r44459 (trunk).
And git-bisect said it hasn't occurred after r44455.
I guess the ticket is a duplication of #9315.
wanabe (_ wanabe)
05:37 PM Misc #9331 (Closed): Add examples to Set#intersect? and Set#disjoint?
lkdjiin (xavier nayrac)
03:45 PM Bug #9329 (Closed): ./configure --enable-shared --enable-relocatable && make fails
This issue was solved with changeset r44469.
Hal, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
mkmf.rb: expand RUBY_SO_NAME
* lib/mkmf.rb (RbConfig): expand RUB...
nobu (Nobuyoshi Nakada)
12:31 PM Bug #9329: ./configure --enable-shared --enable-relocatable && make fails
I can reproduce this with Ubuntu 9.04 also.
Here is a patch:
diff --git a/enc/Makefile.in b/enc/Makefile.in
index a64785d..378f4a5 100644
--- a/enc/Makefile.in
+++ b/enc/Makefile.in
@@ -28,6 +28,7 @@ BUILTIN_ENCS = ascii.c us_a...
phasis68 (Heesob Park)
11:36 AM Bug #9329: ./configure --enable-shared --enable-relocatable && make fails
I can reproduce this with `./configure --enable-shared`. My platform is Fedora Linux 19 x86-64. postmodern (Hal Brodigan)
11:16 AM Bug #9329: ./configure --enable-shared --enable-relocatable && make fails
Not --enable-relocatable, --enable-load-relative. nobu (Nobuyoshi Nakada)
11:15 AM Bug #9329 (Feedback): ./configure --enable-shared --enable-relocatable && make fails
What's your platform? nobu (Nobuyoshi Nakada)
11:12 AM Bug #9329 (Closed): ./configure --enable-shared --enable-relocatable && make fails
Steps to Reproduce:
$ ./configure --enable-shared --enable-relocatable
$ make
Actual Result:
compiling ./enc/encdb.c
linking encoding encdb.so
/usr/bin/ld: cannot find -l-lpthread
collect2: error: ld returned 1 exit status
postmodern (Hal Brodigan)
02:49 PM Revision 8a46d402 (git): eval.c: raise with cause
* eval.c (rb_f_raise): add cause: optional keyword argument.
[ruby-core:58610] [Feature #8257] [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:12 PM Revision 2cdee223 (git): remove HAVE_FSEEKO from win32/win32.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e arton (Akio Tajima)
12:25 PM Revision 4e4e65a1 (git): * io.c (io_fwrite): allocate frozen str only when str is not converted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
11:22 AM Feature #9330 (Closed): [PATCH 0/3] avoid redundant fcntl/fstat syscalls for cloexec sockets
commit 52525b673669019dc3c03474e613937fd3587187
Author: Eric Wong <e@80x24.org>
Date: Tue Dec 31 02:09:27 2013 +0000
socket: avoid redundant fcntl calls for FD passing

If MSG_CMSG_CLOEXEC works on the first recvmsg ...
normalperson (Eric Wong)
09:32 AM Revision 5d26de26 (git): mkmf.rb: fix for 1.8 baseruby
* lib/mkmf.rb (init_mkmf): fix for 1.8 baseruby. RbConfig of 1.8
did not have CXXFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:24 AM Bug #9312: Build the ruby executable in bin/
Running `make runnable` appears to add a `bin/goruby` hardlink to `../goruby`. postmodern (Hal Brodigan)
09:20 AM Bug #9312: Build the ruby executable in bin/
$ ./configure --enable-shared --enable-load-relative
$ make
...
making enc
make[1]: Entering directory `/vault/0/src/ruby/trunk'
linking encoding encdb.so
/usr/bin/ld: cannot find -l-lpthread
collect2: error: ld returned 1 exit st...
postmodern (Hal Brodigan)
08:55 AM Bug #9312: Build the ruby executable in bin/
To make relocatable, configure needs --enable-shared and --enable-load-relative. nobu (Nobuyoshi Nakada)
08:42 AM Bug #9312: Build the ruby executable in bin/
Test on trunk (r44467)
$ ./configure
$ make
$ make runnable
make: *** No rule to make target `un-runnable', needed by `runnable'. Stop.
postmodern (Hal Brodigan)
08:09 AM Feature #9325 (Closed): Add make uninstall target
Already. nobu (Nobuyoshi Nakada)
05:23 AM Feature #9325 (Closed): Add make uninstall target
Add an uninstall target to the Makefile, so ruby can be uninstalled if installed manually. postmodern (Hal Brodigan)
07:32 AM Feature #9328 (Closed): [PATCH] avoid redundant F_GETFD when O_CLOEXEC works
It is pointless to check if O_CLOEXEC works after every single
open() call. If the kernel supports O_CLOEXEC for one open(), it is
supported for every open() syscall.
I mainly made this to make my strace less noisy. Also similar c...
normalperson (Eric Wong)
06:59 AM Bug #9327 (Closed): Why FileUtils.rmdir ignores Errno::ENOTEMPTY ?
It catches Errno::ENOTEMPTY and Errno::ENOENT and just does nothing.
Most of other FileUtils methods have option "force" which is false by default
but rmdir behaves as if it is true implicitly.
Imho it looks unexpected.
bdimych (Dmitry Bolshakov)
06:44 AM Revision 2bca2635 (git): mkmf.rb: expand RUBY_SO_NAME
* lib/mkmf.rb (RbConfig): expand RUBY_SO_NAME for extensions
backward compatibility. [ruby-core:59426] [Bug #9329]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:34 AM Revision f0c310c6 (git): mkconfig.rb: pass version numbers
* tool/mkconfig.rb (RbConfig): version numbers are also needed by
RUBY_SO_NAME.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:45 AM Feature #9319: Add constant RUBY_KEYWORDS or a similar way to output which keywords exist at runtime
I created the following file, but I'm not sure if we should add anything else. https://gist.github.com/zzak/8187842
The old 1.9 file which converted these keywords to methods and added expanded documentation for each one is nice. I'm ...
zzak (zzak _)
03:05 AM Feature #9319 (Assigned): Add constant RUBY_KEYWORDS or a similar way to output which keywords exist at runtime
zzak (zzak _)
02:53 AM Feature #9319: Add constant RUBY_KEYWORDS or a similar way to output which keywords exist at runtime
Thanks for the report, I can put something together for this soon zzak (zzak _)
03:30 AM Bug #9313: Segmentation fault with active_record
Possible duplicate of https://bugs.ruby-lang.org/issues/9315 jcoyne (Justin Coyne)
01:28 AM Feature #9278: Magic comment "immutable: string" makes "literal".freeze the default for that file
> Perhaps if you show concrete gains in a large code-base like rails the case will be more compelling.
Working on it! First to see how many tests actually fail from trying to mutate string literals, then to get some general performan...
colindkelley (Colin Kelley)
12:42 AM Bug #8358: TestSprintf#test_float test failure
Hello Nobu, Usa,
This is still happening in 2.1.0 release, and the test is blocking me from releasing RubyInstaller.
We need a response on this, is the test valid or not? can be ignored or the issue needs to be fixed?
Thank you.
luislavena (Luis Lavena)

12/30/2013

11:39 PM Bug #9210 (Closed): Adding extra example in docs
This issue was solved with changeset r44463.
Steve, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* variable.c: Adding extra example in docs. [Bug #9210]
ayumin (Ayumu AIZAWA)
10:08 PM Feature #9323 (Closed): IO#writev
I propose addition of IO#writev.
It enables gather output from multiple buffers.
If writev(2) is not available, IO#writev uses Array#join to emulate atomic write.
Glass_saga (Masaki Matsushita)
09:21 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
rb_frame_pop is called in only one place, and that's the one which the patch addresses.
So yes, we could move the code to rb_frame_pop(), if we change it's signature.
I'm not sure, under which circumstances the problem can show it'...
drkaes (Stefan Kaes)
08:55 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
Thanks for adding the test.
Seems like `rb_frame_pop()` should probably emit the event, but I'm not sure how to tell klass/mid in there.
BTW, doesn't this problem happen anytime an exception is raised? One or more stack frames can ...
tmm1 (Aman Karmani)
08:06 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
I believe this bug also exists in 1.9.3 and 2.0.0.
Any chance to backport?
drkaes (Stefan Kaes)
08:05 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
added tests to patch. drkaes (Stefan Kaes)
06:28 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
I believe the attached patch fixes the problem.
drkaes (Stefan Kaes)
06:23 PM Bug #9321 (Closed): rb_mod_const_missing does not generate a c-return event
We have had an issue reported for ruby-prof where execution times were attributed incorrectly in the call graph.
It turned out that the problem is caused by a missing c-return event for Module#const_missing.
ruby-prof simulates the...
drkaes (Stefan Kaes)
09:16 PM Revision 41deb12e (git): fix previous commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:11 PM Revision e1536a74 (git): fix ruby/test_hash.rb [ruby-core:59154] [Bug #9223]
the behavior is under 2.2.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:12 PM Feature #9322 (Closed): method_defined? family of of methods should support the exclusion of ancestors
getting an array of all instance methods (instance_methods(false)) and scanning through it for a match seems like a poor substitute rits (First Last)
07:48 PM Revision d6c7ab9f (git): * 2013-12-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:47 PM Revision 5e3ec457 (git): Add [DOC] tag [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
07:40 PM Bug #9309: Crash while running tests
Can you try to reproduce this with trunk? This issue should be resolved with r44458 (dupe of #9315). tmm1 (Aman Karmani)
07:18 PM Feature #9278: Magic comment "immutable: string" makes "literal".freeze the default for that file
>> It seems like it would be logical for the VM to automatically
> ...
I implemented such an optimization for Hash#[]= in https://bugs.ruby-lang.org/issues/9188#note-8
A similar patch could be developed for the aref case, but I'm not...
tmm1 (Aman Karmani)
03:23 PM Feature #9278: Magic comment "immutable: string" makes "literal".freeze the default for that file
"jacknagel (Jack Nagel)" <redmine@ruby-lang.org> wrote:
> It seems like it would be logical for the VM to automatically
> freeze/dedup string literal keys in hash literals and hash lookups. Is
> there a reason that can't be done?
...
normalperson (Eric Wong)
02:16 PM Feature #9278: Magic comment "immutable: string" makes "literal".freeze the default for that file
It seems like it would be logical for the VM to automatically freeze/dedup string literal keys in hash literals and hash lookups. Is there a reason that can't be done? Anonymous
09:58 AM Feature #9278: Magic comment "immutable: string" makes "literal".freeze the default for that file
colindkelley (Colin Kelley) wrote:
> > * A magic comment should not completely change the semantics of a literal type. Encoding magic comments do not suffer from the same issue since they only change how the bytes of the strings are int...
headius (Charles Nutter)
09:38 AM Feature #9278: Magic comment "immutable: string" makes "literal".freeze the default for that file
Thanks for the quick reply, Charles. Here are my thoughts:
> * A magic comment should not completely change the semantics of a literal type. Encoding magic comments do not suffer from the same issue since they only change how the byte...
colindkelley (Colin Kelley)
06:34 PM Bug #9314 (Closed): String#encode method raises TypeError when called with Encoding::UTF_16
This issue was solved with changeset r44462.
Krists, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
encoding.c: mask dummy flags
* encoding.c (`must_enci...
nobu (Nobuyoshi Nakada)
04:14 PM Bug #9320 (Closed): Nightly Snapshot is not found
This issue was solved with changeset r44460.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* tool/make-snapshot: needs CXXFLAGS. [ruby-core:59393][Bug #9...
eban (Hirofumi WATANABE)
12:13 PM Bug #9320: Nightly Snapshot is not found
>phasis68
Thank you for your report. 404 error of ruby-lang.org is caused by r44459 too.
hsbt (Hiroshi SHIBATA)
11:01 AM Bug #9320 (Closed): Nightly Snapshot is not found
If I click the Nightly Snapshot link on the http://www.ruby-lang.org/en/downloads/, It raised "404 Not Found" error.
When I try to build the latest snapshot,
# ruby tool/make-snapshot /tmp/snapshot/ trunk
Exporting trunk@44459
E...
phasis68 (Heesob Park)
02:39 PM Revision ff529cdc (git): * variable.c: Adding extra example in docs. [Bug #9210]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
10:53 AM Feature #9043: Add String#f method as shortcut for #freeze
I'm still against this (and having aliases at all for standard).
It makes code harder to search/read, especially when they have
short names like "f".
normalperson (Eric Wong)
12:55 AM Feature #9043: Add String#f method as shortcut for #freeze
I'd like to see this get into 2.2, and it sounds like Matz wants it too. headius (Charles Nutter)
09:34 AM Revision 5db5677c (git): encoding.c: mask dummy flags
* encoding.c (must_encindex, rb_enc_from_index, rb_obj_encoding): mask
encoding index and ignore dummy flags. [ruby-core:59354] [Bug #9314]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:14 AM Revision 8e0013ea (git): * 2013-12-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:14 AM Revision 5b59832c (git): * tool/make-snapshot: needs CXXFLAGS. [ruby-core:59393][Bug #9320]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e eban (Hirofumi WATANABE)
05:11 AM Feature #9319: Add constant RUBY_KEYWORDS or a similar way to output which keywords exist at runtime
Oops, I meant "IRC", not "IRB", but yeah from within running IRB it would be also nice of course. :) shevegen (Robert A. Heiler)
05:10 AM Feature #9319 (Closed): Add constant RUBY_KEYWORDS or a similar way to output which keywords exist at runtime
Hi,
Would it be possible to list all keywords in Ruby, from within a running program?
Like RUBY_KEYWORDS or similar?
Reasoning: On IRB someone asked me if "in" is a keyword. I was not sure so I googled
because I could not remem...
shevegen (Robert A. Heiler)
03:32 AM Bug #9267: Document configure options
@tmm1 Thanks for the feedback!
If anyone else has any pointers on this, its appreciated!
zzak (zzak _)
03:31 AM Bug #9318 (Third Party's Issue): Re: BigDecimal division in Ruby 2.1
Seems good, thanks nobu! <3 zzak (zzak _)
03:28 AM Bug #9318 (Third Party's Issue): Re: BigDecimal division in Ruby 2.1
(13/12/29 8:45), Zachary Scott wrote:
> You mean manually?

By the "Mail to issue" link.
nobu (Nobuyoshi Nakada)
02:05 AM Feature #9253: Regexp named match and case statement
Indeed, I did not know of $~[:b] either. Quite nice. shevegen (Robert A. Heiler)
01:11 AM Feature #8960: Add Exception#backtrace_locations
ko1: I have no problem whatsoever with backtrace_locations being read-only now and forever. I'm glad to see this made it into 2.1 as at least a basic feature. headius (Charles Nutter)
01:07 AM Feature #6309: Add a reference queue for weak references
Sorry this didn't get into 2.1 and I was unable to review. December was probably too late to get it in anyway.
Nobu's patch looks fine. If other ruby-core folks really want to keep Weakref as-is for compatibility and introduce a new t...
headius (Charles Nutter)
12:55 AM Bug #9315: Segfault when calling super in rspec mocks with and_call_original [linux]
Hello,
r44175 and r44179 were already backported to ruby_2_0_0 branch at r44345.
But I cannot reproduce SEGV on 2.0.0-head(r44393) with testcase in r44455.
I wonder if I should backport r44458 to ruby_2_0_0. Any idea?
nagachika (Tomoyuki Chikanaga)
12:37 AM Bug #7993: owner of methods defined after using Module#prepend
r44175 and r44179 were backported to ruby_2_0_0 at r44345, and additionally r44198 was backported at 44366.
See #9236 too.
nagachika (Tomoyuki Chikanaga)
12:19 AM Feature #8257: Exception#cause to carry originating exception along with new one
Unfortunately it doesn't look like anything other than $! logic for this made it into 2.1. I was hoping we'd get either the constructor or a one-time-only #cause= but there was still some debate about which way to go.
Since the base #...
headius (Charles Nutter)

12/29/2013

11:42 PM Feature #9278: Magic comment "immutable: string" makes "literal".freeze the default for that file
Adding .freeze to the frequently-used strings has the same result for me, and it doesn't also gather up other strings that may not need/want to be immutable.
https://gist.github.com/ColinDKelley/8156708
I have the same objections t...
headius (Charles Nutter)
08:47 AM Feature #9278: Magic comment "immutable: string" makes "literal".freeze the default for that file
With the 'immutable: string' magic comment, this benchmark runs 1.6X faster (that is, in 61% of the time) compared to stock Ruby 2.1.0.
https://gist.github.com/ColinDKelley/8156708
colindkelley (Colin Kelley)
12:33 PM Bug #9267: Document configure options
+1. Some notes:
* To add -I/opt/include and -L/opt/lib, use --with-opt-dir=/opt
* Do not override CFLAGS. If CFLAGS is provided, it is used as a *replacement* for default flags (i.e., '-ggdb3 -O3' will not be used unless you specify ...
tmm1 (Aman Karmani)
11:26 AM Bug #9317 (Closed): --with-opt-dirがLDFLAGS, DLDFLAGSに反映されない
./configureに--with-opt-dirで与えたパスがCPPFLAGSには設定されますが、
LDFLAGSとDLDFLAGSに設定されません。
opt-dirの処理をしている時点で、LIBPATHFLAGやRPATHFLAGに値がまだないためだと思います。
trunkと2.1で発生しています。2.0では起きません。
kimuraw (Wataru Kimura)
09:43 AM Revision e8792774 (git): * lib/mkmf.rb (configuration): Make CXXFLAGS customizable.
Patch by Kohei Suzuki (eagletmt). [Fixes GH-492]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
08:21 AM Bug #9315 (Closed): Segfault when calling super in rspec mocks with and_call_original [linux]
This issue was solved with changeset r44455.
Jan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
vm_insnhelper.c: missing super in method module
* vm\_in...
nobu (Nobuyoshi Nakada)
12:38 AM Bug #9315 (Assigned): Segfault when calling super in rspec mocks with and_call_original [linux]
Good catch. Here is a smaller example:
~~~ruby
module A
def foo
super
end
end
class B
include A
end
B.new.method(:foo).call
~~~
I think r44179 caused this issue.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
06:06 AM Bug #9314 (Open): String#encode method raises TypeError when called with Encoding::UTF_16
nobu (Nobuyoshi Nakada)
03:11 AM Revision a69f01fa (git): proc.c: fix inherited method owner
* proc.c (mnew_from_me): keep iclass as-is, to make inheritance
chain consistent. [ruby-core:59358] [Bug #9315]
* proc.c (method_owner): return the original defined_class from
prepended iclass, instead.
* vm_insnhelper.c (vm_searc...
nobu (Nobuyoshi Nakada)
12:58 AM Bug #8591: [BUG] Segmentation fault ruby 2.0.0p195 (2013-05-14) [x64-mingw32]
Let's move the conversation to https://github.com/brianmario/mysql2/issues/469 aaron@serendipity.cx (Aaron Stone)

12/28/2013

11:59 PM Bug #9313: Segmentation fault with active_record
I'm also seeing this on Travis-ci, so it's not just a OSX problem. See: https://travis-ci.org/projecthydra/active_fedora/jobs/16047585 jcoyne (Justin Coyne)
11:56 PM Bug #9313: Segmentation fault with active_record
I'm also seeing this segfault, although in a slightly different place in the code. I've attached a crash log.
/Users/justin/workspace/active_fedora/lib/active_fedora/callbacks.rb:232: [BUG] Segmentation fault at 0x00000000000018
rub...
jcoyne (Justin Coyne)
03:51 PM Bug #9313 (Assigned): Segmentation fault with active_record
Crash Report log file, please. nobu (Nobuyoshi Nakada)
11:59 AM Bug #9313 (Closed): Segmentation fault with active_record
Hi,
I got the same problem with 2 different macbook.
/Users/marciotrindade/.rvm/gems/ruby-2.1.0/gems/activerecord-4.0.2/lib/active_record/transactions.rb:265: [BUG] Segmentation fault at 0x00000000000018 ...
marciotrindade (Marcio Trindade)
11:47 PM Revision cb08e708 (git): test_sprintf.rb: sprintf with a hash as parameter
* test/ruby/test_sprintf.rb (test_hash): Added tests for sprintf
with a hash as parameter. [Fixes GH-491]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:47 PM Revision b28e5371 (git): test_sprintf.rb: sprintf with a hash as parameter
* test/ruby/test_sprintf.rb (test_hash): Added tests for sprintf
with a hash as parameter. [Fixes GH-491]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:21 PM Revision 24c3331b (git): vm_insnhelper.c: missing super in method module
* vm_insnhelper.c (vm_search_super_method): direct superclass of a
module is found when super called in a Method object generated a
method defined in a module, call method_missing in that case.
[ruby-core:59358] [Bug #9315]
git-sv...
nobu (Nobuyoshi Nakada)
11:17 PM Bug #9315 (Closed): Segfault when calling super in rspec mocks with and_call_original [linux]
I've tried running my test suite [1] on Ruby 2.1 resulting in segmentation faults. I've created a smaller rspec test [2] reproducing the segfault. I still haven't found a way to reproduce the segfault without rspec mocks. Run the example... jgraichen (Jan Graichen)
10:28 PM Revision e521a19a (git): * 2013-12-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:28 PM Revision 7e978b10 (git): * compar.c (cmp_eq_recursive): Fix the return value, the value for
failed #<=> should be nil. It was raising a NoMethodError for
the test case TestComparable#test_no_cmp (undefined method `>'
for false:FalseClass). Yet one more reason for #7688.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@444...
Eregon (Benoit Daloze)
08:25 PM Bug #9314: String#encode method raises TypeError when called with Encoding::UTF_16
More examples:
~~~ruby
>> "A".encode(Encoding::UTF_16.to_s).bytes
=> [254, 255, 0, 65]
> ...
=> [0, 65]
>> "A".encode(Encoding::UTF_16LE).bytes
=> [65, 0]
~~~
There is even a side-effect. After using `UTF_16BE` suddenly `UTF_...
krists.ozols (Krists Ozols)
07:54 PM Bug #9314: String#encode method raises TypeError when called with Encoding::UTF_16
nobu (Nobuyoshi Nakada) wrote:
> There is no real encoding, "UTF-16".
> ...
In that case shouldn't it raise error when called with "UTF-16" string as it does with something random(like "text".encode("not-real-encoding"))?
krists.ozols (Krists Ozols)
07:41 PM Bug #9314 (Rejected): String#encode method raises TypeError when called with Encoding::UTF_16
There is no real encoding, "UTF-16".
UTF-{16,32} encodings need endianness.
nobu (Nobuyoshi Nakada)
04:58 PM Bug #9314 (Closed): String#encode method raises TypeError when called with Encoding::UTF_16
It works with encodings like Encoding::UTF_8..
"test_string".encode(Encoding::UTF_8) # works
"test_string".encode(Encoding::UTF_8.to_s) # works
"test_string".encode(Encoding::UTF_16) # does not work. Error: `encode': no implicit con...
krists.ozols (Krists Ozols)
04:50 PM Bug #9312: Build the ruby executable in bin/
Sorry, `runnable`. nobu (Nobuyoshi Nakada)
03:48 PM Bug #9312 (Feedback): Build the ruby executable in bin/
`make ruunable` may help you? nobu (Nobuyoshi Nakada)
11:30 AM Bug #9312 (Rejected): Build the ruby executable in bin/
In order to allow Ruby Switchers to directly use a Ruby that is built but not installed (such as trunk or a branch), the ruby executable should be placed in the bin/ directory. postmodern (Hal Brodigan)
01:22 PM Revision 58a60b26 (git): * object.c (Kernel#<=>) surround Comparable operators with <code> tags.
The #== method was hidden in ri/rdoc's output and was highlighting
the line instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
11:22 AM Bug #9276: "RUBY_FREE_MIN is obsolete. Use RUBY_GC_HEAP_FREE_SLOTS instead" warning should not be issued when both ENV vars are set.
It appears MRI builds the ruby executable in the root of trunk, not in the bin/ directory where chruby expects it to be. Until this is fixed, you will have to install trunk somewhere (~/.rubies/ or append the installation dir to RUBIES). postmodern (Hal Brodigan)
08:25 AM Revision 75f4731f (git): * benchmark/bm_so_meteor_contest.rb: [DOC] Fix a few typos
* ext/fiddle/lib/fiddle/import.rb: ditto
* ext/psych/lib/psych.rb: ditto
* ext/psych/lib/psych/nodes/sequence.rb: ditto
* ext/tk/lib/multi-tk.rb: ditto
* ext/tk/lib/tcltk.rb: ditto
Closes GH-490
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
Charlie Somerville
03:38 AM Bug #9311 (Rejected): module_function breaks on `singleton_class?`
=begin
When trying to use Sass 3.3.0-rc2 with Rails 3.x, an error similar to the one below is produced:
[6] pry(Sass::Util)> Sass::Util.methods.grep /singleton_class/
=> [:singleton_class?, :singleton_class]
[7] pry(Sas...
cheald (Chris Heald)
02:49 AM Bug #9291: array splatting a nil works, but hash splatting a nil does not
this could be used like this: method a: 1, **({b: 1} if condition) rits (First Last)
01:35 AM Bug #9300: YAML Regression Concerning Escaping of Strings
Do we know what changed in psych to cause this? Was this the result of a bug before that was fixed? It is fixed on that Rails commit, but it looks like this is not a stable interface if it can break at any time. I expect `to_yaml` to kno... schneems (Richard Schneeman)
01:10 AM Bug #9310 (Closed): inheritance.rb: 27: [BUG] Segmentation fault at 0x00000c
inheritance.rb:27: [BUG] Segmentation fault at 0x00000c
5 failed 24pullrequest.com rspecs after Ruby 2.1 upgrade
Steps to reproduce:
1. Clone https://github.com/andrew/24pullrequests
2. Run "unset GITHUB_KEY" to turn off this...
jasnow (Al Snow)
12:42 AM Bug #9308 (Closed): def's return value causes errors
This issue was solved with changeset r44449.
Benjamin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
parse.y: save cmdarg_stack in local scope
* parse.y (local_p...
nobu (Nobuyoshi Nakada)

12/27/2013

11:00 PM Bug #9309 (Feedback): Crash while running tests
Please attach a Crash Report log file. nobu (Nobuyoshi Nakada)
10:17 PM Bug #9309 (Closed): Crash while running tests
I got the following crash while running a test suite.
/Users/mdemare/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229: [BUG] Segmentation fault at 0x00000000000018
ruby 2.1.0p0...
mdemare (Michiel de Mare)
09:47 PM Bug #9308 (Closed): def's return value causes errors
It seems 2.1 hase some trouble with the "do" keyword in combination with the private/public/protected keywords and the def's return value:
Works: https://gist.github.com/phortx/8146341
Works Not: https://gist.github.com/phortx/814634...
phortx (Benjamin Kammerl)
04:44 PM Misc #9307 (Closed): Add expression for Zlib.adler32 documentation
In ext/zlib/zlib.c, line 435, there is a line:
* FIXME: expression.
So I replaced it with the expression of Zlib.adler32.
vajrasky (Vajrasky Kok)
04:01 PM Bug #9304 (Rejected): Invalid XML entity references
duerst (Martin Dürst) wrote:
> > So I now guess this is a bug of Chrome's XML viewer.
> ...
Ah, you are right.
Easy way to reproduce:
$ ruby -e '
puts %(<?xml version="1.0"?>)
puts %(<foo>)
10000.times { puts %(&lt;x&gt;&lt;...
mame (Yusuke Endoh)
11:40 AM Bug #9304: Invalid XML entity references
mame (Yusuke Endoh) wrote:
> Don't mind, I found the repo of your blog: https://github.com/ploeh/ploeh.github.com
> ...
Same here. Actually, just opening the blog in Chrome shows a "structured" XML view, where XML tags appear in purple...
duerst (Martin Dürst)
03:42 PM Revision 8ed9994c (git): * 2013-12-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:42 PM Revision 04bb9d6b (git): parse.y: save cmdarg_stack in local scope
* parse.y (local_push_gen, local_pop_gen): save cmdarg_stack to
isolate command argument state from outer scope.
[ruby-core:59342] [Bug #9308]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:20 PM Bug #8997: TestSignal#test_hup_me hangs up the test suite
Also seeing a deadlock on our (CentOS) koji farm which are all on vmware.
Jumping on to the one of the build nodes, I don't seem to be able to reproduce the hang manually running the specific test, or running the entire test suite.
...
ggiesemann (Geoffrey Giesemann)
11:12 AM Bug #8591: [BUG] Segmentation fault ruby 2.0.0p195 (2013-05-14) [x64-mingw32]
mysql2-0.3.14 gem still fails with version checking with Connect/C 6.1.2.
C:\>irb
DL is deprecated, please use Fiddle
irb(main):001:0> require 'mysql2'
RuntimeError: Incorrect MySQL client library version! This gem was compiled for...
phasis68 (Heesob Park)
06:51 AM Bug #8591: [BUG] Segmentation fault ruby 2.0.0p195 (2013-05-14) [x64-mingw32]
This is a great find! I've been wondering what on earth the problem was. (Wish I had seen this bug months ago.)
The DL warning is just a warning, it's not a problem.
The MySQL Connector/C 6.1 should work fine in mysql2 >= 0.3.12, w...
aaron@serendipity.cx (Aaron Stone)
06:02 AM Bug #9300: YAML Regression Concerning Escaping of Strings
It seems Richard fixed this in Rails master: https://github.com/rails/rails/commit/d0926d3
Should this be closed then? There is a workaround solution available
zzak (zzak _)
05:46 AM Revision bb4a1ac9 (git): expand-config.rb: expand config values
* tool/expand-config.rb: expand config values, extracted from
win32/Makefile.sub.
* win32/Makefile.sub (ruby_pc): use tool/expand-config.rb script.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44448 b2dd03c8-39d4-4d8f-98ff-823fe...
nobu (Nobuyoshi Nakada)
05:46 AM Revision 07dcd43a (git): mkconfig.rb: prefer unexpanded values
* tool/mkconfig.rb: prefer configured values than overriding
values for RUBY_INSTALL_NAME and RUBY_SO_NAME when expanded
results are same.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:46 AM Revision fe5554af (git): verconf.h.tmpl: rename
* template/verconf.h.tmpl: rename from .in since this is an erb
template file, but not for config.status.
* common.mk (verconf.h): rename the dependent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44446 b2dd03c8-39d4-4d8f-98ff-...
nobu (Nobuyoshi Nakada)
04:25 AM Revision c88fc9f8 (git): * 2013-12-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:25 AM Revision cdf80f03 (git): * win32/{setup.mak,Makefile.sub}: update fake.rb like
template/fake.rb.in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura

12/26/2013

11:06 PM Bug #9304: Invalid XML entity references
Don't mind, I found the repo of your blog: https://github.com/ploeh/ploeh.github.com
I could reproduce the issue successfully ... only when I open rss.xml with Chrome!
With Firefox, Konqueror, wget, and curl download it without "&tt;...
mame (Yusuke Endoh)
10:05 PM Bug #9304: Invalid XML entity references
Interesting, but I cannot reproduce:
$ ruby -v -rcgi -e 'puts CGI.escapeHTML("</p>\n<p>")'
ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux]
&lt;/p&gt;
&lt;p&gt;
Could you give us a reproducible project?
--
Yusuke E...
mame (Yusuke Endoh)
09:29 PM Bug #9304: Invalid XML entity references
Jekyll bug report: https://github.com/jekyll/jekyll/issues/1862 ploeh (Mark Seemann)
09:27 PM Bug #9304 (Rejected): Invalid XML entity references
=begin
It seems that the escapeHTML method occasionally generates the invalid XML entity reference (({&tt;})) when XML escaping.
See this Stack Overflow question for more details: http://stackoverflow.com/q/20563078/126014
Althoug...
ploeh (Mark Seemann)
07:59 PM Revision d77ee132 (git): * 2013-12-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:59 PM Revision 526bc8a2 (git): bump version to 2.1.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:36 PM Feature #9303 (Closed): Add unit test for chown method in test_fileutils.rb to test that it does not chmod recursively
I was about to write unit test for FileUtils.chown_R then I realized that I needed to make sure FileUtils.chown does not chmod recursively first. Here is the patch. vajrasky (Vajrasky Kok)
07:07 PM Bug #9302 (Closed): [PATCH] thread: fix deadlock/freeze on SizedQueue#push
SizedQueue#push needs to check the thread list for threads
waiting on enqueue. Checking the wrong thread list leads
strange/surprising behavior when the the queue is full.
This needs to be backported to 2.1.0 (not 2.0.0 or earlier)
normalperson (Eric Wong)
06:19 PM Bug #9300: YAML Regression Concerning Escaping of Strings
It should as well round-trip data across versions, which it seems it does in this case.
Yet, I find it worrying quoting is changed in a minor version, should not the YAML spec be clear about this?
Eregon (Benoit Daloze)
10:49 AM Bug #9300: YAML Regression Concerning Escaping of Strings
It seems legit to me:
>> YAML.load(YAML.dump({"key"=>%{<%= ENV["HOME"] %>}}))
=> {"key"=>"<%= ENV[\"HOME\"] %>"}
Psych is correctly round-tripping the data, so I don't think there's any incorrect escaping happening here.
Anonymous
08:40 AM Bug #9300 (Closed): YAML Regression Concerning Escaping of Strings
=begin
When you run this code against Ruby 2.1.0 and previous versions you get different results:
require 'YAML'
yaml1 = {"key" => %Q{<%= ENV["PATH"] %>} }.to_yaml
puts yaml1
Ruby 2.1.0 incorrectly escapes the quote
-...
schneems (Richard Schneeman)
01:23 PM Bug #9295: `Exception#backtrace_locations` returns `nil`
(2013/12/26 13:15), sawa (Tsuyoshi Sawada) wrote:
> Thank you for the quick action, but the problem still remains in ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]. It still returns `nil`.

it was pending to 2.1.1 because...
ko1 (Koichi Sasada)
01:15 PM Bug #9295: `Exception#backtrace_locations` returns `nil`
Thank you for the quick action, but the problem still remains in ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]. It still returns `nil`.
sawa (Tsuyoshi Sawada)
01:17 PM Revision 791ff286 (git): * lib/time.rb: [DOC] Fix typo
s/formating/formatting/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matsuda (Akira Matsuda)
09:58 AM Bug #9289: Segmentation fault - RailsInstaller, RubyInstaller, Ruby.
The gdb(the GNU debugger included in DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe) trace information would be helpful.
Refer to http://bugs.ruby-lang.org/issues/5375 for how to produce it.
phasis68 (Heesob Park)
09:06 AM Bug #9289: Segmentation fault - RailsInstaller, RubyInstaller, Ruby.
You can't ;) I can - what sort of trace would you need to tell exactly what its crapping out on (i.e. debugging the startup of the interpreter?); Would building the files rather than using the installer and comparing (i.e. checking of ... bob (bob barker)
07:11 AM Revision c283ebb2 (git): * win32/Makefile.sub (fake.rb): should depend on version.h because
if RUBY_VERSION is updated, fake.rb need to say the new version
to avoid install error in rbconfig.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:28 AM Revision 4ce4f43f (git): hash.c: remove dead code
* hash.c (rb_hash_reject): remove dead code for the deprecated
behavior.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:25 AM Revision 3a247f64 (git): hash.c: no extra states copy
* hash.c (HASH_REJECT_COPY_EXTRA_STATES): turn off the old
behavior, copying extra states by accident.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:23 AM Feature #8257: Exception#cause to carry originating exception along with new one
I've been digging into this feature now that 2.1 is released, and I'm a
little confused. In the final implementation, can #cause only be set from
$!? None of the other methods for setting the cause discussed in this
thread seem to...
avdi (Avdi Grimm)
03:53 AM Revision 5265e6c0 (git): ruby/version.h: bump API version
* include/ruby/version.h: bump API version too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:16 AM Revision ae9bda71 (git): * version.h (RUBY_VERSION): 2.2.0 development has started.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
01:29 AM Revision 0928035b (git): * ChangeLog: reformatting for the previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:28 AM Revision 71d3a294 (git): * tool/merger.rb (tag): support 2.1.1 semi-automatic tagging and 2.2.0 explicit tagging.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
12:00 AM Feature #9121: [PATCH] Remove rbtree implementation of SortedSet due to performance regression
On second thought, if a working version rbtree is available out there (at least for CRuby and hopefully for JRuby) then I would like SortedSet to be moved from the standard library to a third-party gem.
The non-rbtree implementation o...
knu (Akinori MUSHA)
 

Also available in: Atom