Project

General

Profile

Activity

From 12/28/2015 to 01/03/2016

01/03/2016

11:53 PM Bug #11915: File.read reading string starting with | executes it.
Nobuyoshi Nakada wrote:
> Linus Sellberg wrote:
> > It is one thing that some of the `.open` methods actually can e...
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
a...
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
>...
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 th... 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/ru...
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-39...
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...
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?!),
...
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....
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...
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+...
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' i... 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 environment...
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 relat...
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:/...
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) [...
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 mos...
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): d...
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 ...
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-i...
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 gen...
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...
luizluca (Luiz Angelo Daros de Luca)

01/02/2016

10:39 PM Bug #11940 (Third Party's Issue): Ruby fails to compile with --with-static-linked-ext
Hello,
When I select to include all ext static linked and between them there is openssl, ruby fails to build.
~...
luizluca (Luiz Angelo Daros de Luca)
07:40 PM Bug #9569: SecureRandom should try /dev/urandom first
Hi!
I happen to have just given a talk on urandom internals at 32C3: https://media.ccc.de/v/32c3-7441-the_plain_si...
filippo (Filippo Valsorda)
06:09 PM Bug #9569: SecureRandom should try /dev/urandom first
First off, thank you for providing number. Then we can discuss scientific way.
blog pages are not considered a forma...
kosaki (Motohiro KOSAKI)
03:11 PM Bug #9569: SecureRandom should try /dev/urandom first
The following is the output of your 'SecureRandom' construction vs. the Linux `/dev/urandom` facility:
http://nopa...
azet (Aaron Zauner)
02:36 PM Bug #9569: SecureRandom should try /dev/urandom first
>You evidently have no idea what you are talking about. Why would you want to use the PRNG that's local to OpenSSL? I... kosaki (Motohiro KOSAKI)
10:18 AM Bug #9569: SecureRandom should try /dev/urandom first
Nobuyoshi Nakada wrote:
> SecureRandom without OpenSSL (or compatible alternatives) is nonsense.
You evidently ha...
azet (Aaron Zauner)
06:57 AM Bug #9569: SecureRandom should try /dev/urandom first
Aaron Zauner wrote:
> The issuer before me has linked to various cryptographers telling you in their blogs to use ...
akr (Akira Tanaka)
02:16 AM Bug #9569: SecureRandom should try /dev/urandom first
SecureRandom without OpenSSL (or compatible alternatives) is nonsense. nobu (Nobuyoshi Nakada)
01:48 AM Bug #9569: SecureRandom should try /dev/urandom first
Hi,
This still seems to be the case according to the code available on GitHub.
I urge the core team to move to ...
azet (Aaron Zauner)
01:59 PM Feature #11939 (Open): Syntax sugar to apply a method replace a variable
There is frequent use case to modify the value of a variable and keep it referred to by the same variable name. When ... sawa (Tsuyoshi Sawada)
12:08 PM Revision 004bb16c (git): thread_sync.c: remove unnecessary casts for queue_sleep
"Qfalse" and "(VALUE)0" are equivalent, and do not matter
for an ignored argument, either.
Additionally, there's no ...
Eric Wong
07:19 AM Revision 32b4a8b3 (git): Allow ERB subclass to add token easily. [Feature #11936]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masatoshi SEKI
07:19 AM Feature #11936 (Closed): Allow ERB subclass to add token easily
Applied in changeset r53412.
----------
Allow ERB subclass to add token easily. [Feature #11936]
seki (Masatoshi Seki)
05:44 AM Revision 123313e2 (git): parse.y: use nd_tag
* parse.y (regexp): set_yylval_num sets u1, should use nd_tag
instead of nd_state. [ruby-core:72638] [Bug #11932]
...
nobu (Nobuyoshi Nakada)
05:20 AM Feature #11938 (Closed): [PATCH] cleanup: stdlib: avoid extra calls to eliminate "\n" from Base64
stdlib: avoid extra calls to eliminate "\n" from Base64
We may use the '0' (zero) to avoid adding the line feed.
...
normalperson (Eric Wong)
04:39 AM Revision 9c541079 (git): Revert r53409 "parse.y: yylval.num should be u3"
It introduces SEGV
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:09 AM Bug #11924 (Third Party's Issue): $ gem server is broken for documentation browsing
nobu (Nobuyoshi Nakada)
03:46 AM Bug #11937 (Feedback): did_you_mean and other bundled gems are not installed by make install
Doesn't `make up` do it? nobu (Nobuyoshi Nakada)
02:11 AM Revision 10c2251a (git): parse.y: yylval.num should be u3
* parse.y (set_yylval_num): should be used as nd_state, set to u3.
[ruby-core:72638] [Bug #11932]
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
02:11 AM Bug #11932 (Closed): Ripper.sexp can't parse some files from ruby repository and returns nil
Applied in changeset r53409.
----------
parse.y: yylval.num should be u3
* parse.y (set_yylval_num): should be used...
nobu (Nobuyoshi Nakada)

01/01/2016

11:47 PM Revision 81df39dc (git): * 2016-01-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:27 PM Feature #10168: Native Object#inspect method should single quote strings that don't need to be double quoted
Peter Halliday wrote:
> From my point of view this is a suggestion to increase overall productivity as I use tools t...
jwmittag (Jörg W Mittag)
05:38 PM Bug #11901: Performance Issue with OpenStruct
Marc-Andre Lafortune wrote:
> Yui NARUSE wrote:
> > Could you fix rubyspec?
>
> Great, that was a bug
>
> I m...
Eregon (Benoit Daloze)
05:34 PM Bug #11901: Performance Issue with OpenStruct
Yui NARUSE wrote:
> Could you fix rubyspec?
Great, that was a bug
I made an easy fix so `method_missing` doesn...
marcandre (Marc-Andre Lafortune)
05:27 PM Revision 9543908c (git): * lib/ostruct.rb: Fix case of frozen object with initializer.
Bug revealed by RubySpec [ruby-core:72639]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53407 b2dd03c8-39d4-4d8...
Marc-Andre Lafortune
01:58 PM Feature #11934: A feature to drop dynamics dynamically
I am not sure this would bring much in terms of performance,
and it would definitely limits lots of stuff to run in ...
Eregon (Benoit Daloze)
01:46 PM Feature #11934: A feature to drop dynamics dynamically
All of the dynamic language features described (constant and method redefinition, inclusion of modules etc) can alrea... chrisseaton (Chris Seaton)
12:04 AM Feature #11934: A feature to drop dynamics dynamically
Eric, thank you for your comment.
> We already allow "freeze" on classes and modules; perhaps we perform
> some o...
mame (Yusuke Endoh)
01:13 PM Misc #11876 (Closed): Scheduled maintenance 2016/01/01
I finished maintenance and confirmation to svn commit.
SSH fingerprint at our new repository is here:
* RSA: 7...
hsbt (Hiroshi SHIBATA)
01:10 PM Misc #11876: Scheduled maintenance 2016/01/01
Hi, sora.
I replaced your 2nd key from s3 to sorah account.
If you need to register more keys, Please mention to ...
hsbt (Hiroshi SHIBATA)
08:26 AM Misc #11876: Scheduled maintenance 2016/01/01
Shota Fukumori wrote:
> - HTTP + pgp clearsign: http://sorah.jp/sorah-key.txt.asc
Correction: http://sorah.jp/ssh...
sorah (Sorah Fukumori)
08:24 AM Misc #11876: Scheduled maintenance 2016/01/01
Could you update my ssh keys too? (svn id sorah)
- HTTPS: https://s3-ap-northeast-1.amazonaws.com/sorah.jp/ssh-key...
sorah (Sorah Fukumori)
06:55 AM Misc #11876: Scheduled maintenance 2016/01/01
Happy New Year!
I start maintenance now.
hsbt (Hiroshi SHIBATA)
01:02 PM Revision 428fe14f (git): * NEWS: mention about CSV's liberal_parsing option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:39 PM Revision b8057a5c (git): * ChangeLog: added missing reference for GitHub
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:08 PM Bug #11937 (Closed): did_you_mean and other bundled gems are not installed by make install
did_you_mean and other bundled gems are not installed when doing a regular local build:
autoconf
./config...
Eregon (Benoit Daloze)
11:06 AM Feature #11936: Allow ERB subclass to add token easily
I fixed a patch to reduce times to compile the same regexp in TrimScanner. k0kubun (Takashi Kokubun)
06:42 AM Feature #11936 (Closed): Allow ERB subclass to add token easily
While I want to use ERB in Rails, escape token "<%==" is not available in ERB and we can't add a new token to ERB eas... k0kubun (Takashi Kokubun)
10:39 AM Revision b4c1a13d (git): * doc/NEWS-2.3.0: fix double words typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
06:28 AM Revision 910eb983 (git): compile.c: adjust call_info count
* compile.c (remove_unreachable_chunk): decrease count of
call_info in removed instructions. fix up r53402.
git-s...
nobu (Nobuyoshi Nakada)
03:05 AM Revision 00947375 (git): compile.c: remove unreferred label
* compile.c (remove_unreachable_chunk): remove unreferred label
to optimize away unreachable chunk.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
02:47 AM Feature #11839 (Closed): CSV: liberal_parsing option
JEG2 (James Gray)
02:44 AM Revision f18f9408 (git): Adding a liberal_parsing option to CSV. Patch by Braden Anderson.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e James Edward Gray II
01:27 AM Bug #11881 (Closed): Ruby build uses SDKROOT as if it owns it
Applied in changeset r53400.
----------
mkconfig.rb: SDKROOT
* tool/mkconfig.rb (RbConfig): prefix SDKROOT to oldin...
nobu (Nobuyoshi Nakada)
01:27 AM Revision 7d9342ae (git): mkconfig.rb: SDKROOT
* tool/mkconfig.rb (RbConfig): prefix SDKROOT to oldincludedir
not includedir, the latter is outside the ruby insta...
nobu (Nobuyoshi Nakada)

12/31/2015

11:53 PM Bug #11933 (Closed): Add test for Enumerator::Lazy#take
Applied in changeset r53399.
----------
Add test for Enumerator::Lazy#take
* test/ruby/test_lazy_enumerator.rb (tes...
nobu (Nobuyoshi Nakada)
02:51 PM Bug #11933 (Closed): Add test for Enumerator::Lazy#take
Add test code in case of Enumerator::Lazy#take called with negative number. ksss (Yuki Kurihara)
11:53 PM Revision bd5d443a (git): Add test for Enumerator::Lazy#take
* test/ruby/test_lazy_enumerator.rb (test_take_bad_arg): Add test
code in case of Enumerator::Lazy#take called with...
nobu (Nobuyoshi Nakada)
08:06 PM Bug #11871 (Closed): Heredoc unindentation with <<~ with single-quoted identifier flush-lefts the content
Applied in changeset r53398.
----------
parse.y: single-quote indented heredoc
* parse.y (parser_here_document): up...
nobu (Nobuyoshi Nakada)
08:06 PM Revision b1796737 (git): parse.y: single-quote indented heredoc
* parse.y (parser_here_document): update indent for each line in
indented here document with single-quotes.
[ruby...
nobu (Nobuyoshi Nakada)
07:38 PM Bug #11912: [WIP] resolv: attempt to fix Resolv::LOC::Coord.create
[email protected] wrote:
> `()` is required, or use `0` instead of `1`.

Thanks, we can omit the second arg entire...
normalperson (Eric Wong)
11:56 AM Bug #11912: [WIP] resolv: attempt to fix Resolv::LOC::Coord.create
`()` is required, or use `0` instead of `1`.
```
% rbenv exec irb -r irb/completion --simple-prompt
>> "N"[/([NE...
znz (Kazuhiro NISHIYAMA)
07:27 PM Bug #11932: Ripper.sexp can't parse some files from ruby repository and returns nil
I reduced buggy files. Seems it's related to parsing regexp. radarek (Radosław Bułat)
02:05 PM Bug #11932 (Closed): Ripper.sexp can't parse some files from ruby repository and returns nil
Test file bug.rb:
```ruby
require "ripper"
puts Dir['**/**.rb'].find_all { |f| Ripper.sexp(File.read(f)) == ni...
radarek (Radosław Bułat)
06:28 PM Feature #11934: A feature to drop dynamics dynamically
[email protected] wrote:
> So, how about a feature to prohibit some dynamic features in runtime?

We already ...
normalperson (Eric Wong)
05:34 PM Feature #11934 (Rejected): A feature to drop dynamics dynamically
Ruby is a dynamic language. Everything is possible in runtime.
So, how about a feature to prohibit some dynamic f...
mame (Yusuke Endoh)
06:26 PM Revision d6c769a5 (git): * 2016-01-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:26 PM Revision 6e5967e2 (git): ostruct.rb: deferred accessors
* lib/ostruct.rb (freeze): define deferred accessors before
freezing to get rid of an error when just reading froze...
nobu (Nobuyoshi Nakada)
06:03 PM Bug #11935 (Closed): Date.new returns inconsistent errors when passed invalid arguments
When passed invalid data, such as floats and nil values, the Date.new function returns a variety of results that aren... CJKinni (C Kinniburgh)
05:10 PM Bug #11901 (Closed): Performance Issue with OpenStruct
Could you fix rubyspec? naruse (Yui NARUSE)
05:40 AM Bug #11901: Performance Issue with OpenStruct
Indeed, the test in `new_ostruct_member` was incorrect now that `respond_to_missing?` has been changed.
Instead, i...
marcandre (Marc-Andre Lafortune)
12:52 PM Bug #11915: File.read reading string starting with | executes it.
Linus Sellberg wrote:
> It is one thing that some of the `.open` methods actually can execute stuff, but a method na...
nobu (Nobuyoshi Nakada)
12:46 PM Bug #11906: File.dirname separator stripping from the begining of path
And on Windows, note that `\\foo\bar` is a valid UNC style path, but `\\\foo\bar` is not. nobu (Nobuyoshi Nakada)
06:11 AM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
```
devbox@devbox:~/code/project_name$ gdb --args /usr/bin/env ruby_executable_hooks /home/devbox/.rvm/gems/ruby-2.3...
b264 (Brian Giaraffa)
01:57 AM Bug #11930 (Feedback): Segmentation Fault in gc_mark_ptr in 2.3.0p0
Seems a GC problem with `Proc`.
```
-- C level backtrace information -------------------------------------------
...
nobu (Nobuyoshi Nakada)
06:11 AM Bug #11899 (Rejected): `Object#public_methods` returns unordered array in Ruby 2.3.0
It is not guaranteed. nobu (Nobuyoshi Nakada)
05:37 AM Revision 2f2a5c3a (git): * lib/ostruct.rb: Fix new_ostruct_member to correctly avoid redefinition
[#11901]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
04:24 AM Bug #11929: No programatic way to check ability to dup/clone an object
[This demonstration](https://eval.in/495653) should clarify the observed behavior. `Symbol`, `Fixnum`, and indeed eve... 0x0dea (D.E. Akers)
01:49 AM Revision 99894e6c (git): test_module.rb: sort constants
* test/ruby/test_module.rb (test_classpath): since r53376, all
results of Module#constants should be sorted to comp...
nobu (Nobuyoshi Nakada)
01:38 AM Revision 3e0f09db (git): ruby-additional.el: escape control code
* misc/ruby-additional.el (ruby-encode-unicode): escape control
code except for LF.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
12:39 AM Revision 34167345 (git): ruby-additional.el: encode non-ASCII code only
* misc/ruby-additional.el (ruby-encode-unicode): encode non-ASCII
code only, excluding ASCII control code, e.g. \t,...
nobu (Nobuyoshi Nakada)

12/30/2015

11:57 PM Bug #11931 (Closed): Segmentation fault with rexml/element.rb
I am experiencing a bug with an API call collecting XML. I have a script that goes through a web catalog of products ... spangltk (travis spangle)
11:40 PM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
https://github.com/flavorjones/loofah/blob/4887e62da44a5ae772d52f028ee25019e6c3626d/lib/loofah.rb#L12
b264 (Brian Giaraffa)
11:39 PM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
devbox@devbox:~/code/project_name$ sidekiq
/home/devbox/.rvm/gems/ruby-2.3.0/gems/loofah-2.0.3/lib/loofah.rb:12: [BU...
b264 (Brian Giaraffa)
10:16 PM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
Brian Giaraffa wrote:
> /home/devbox/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/core_ext/modul...
b264 (Brian Giaraffa)
07:52 PM Bug #11930 (Closed): Segmentation Fault in gc_mark_ptr in 2.3.0p0
/home/devbox/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/core_ext/module/attribute_accessors.rb:... b264 (Brian Giaraffa)
08:17 PM Bug #11928 (Feedback): Segmentation fault in did_you_mean extension
What exception will raise with `--disable=did_you_mean` command line option? nobu (Nobuyoshi Nakada)
03:27 PM Bug #11928 (Closed): Segmentation fault in did_you_mean extension
I'm getting a segmentation fault in my Rails application test suite if I attempt to use an undefined method/object.
...
amw (Adam Wróbel)
07:06 PM Revision 2fad0168 (git): skip if locale is not UTF-8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:47 PM Revision 5da0e863 (git): * test/ruby/test_module.rb (test_classpath): r53376 may change
the order of m.constants.
`make TESTS='-v ruby/test_class.rb ruby/test_module.rb' test-all`
may fail after that.
...
naruse (Yui NARUSE)
05:20 PM Revision 6bdfd21d (git): * 2015-12-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:20 PM Revision 6ec9331c (git): * common.mk (help): Fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
04:30 PM Bug #11929 (Closed): No programatic way to check ability to dup/clone an object
We can't dup a Fixnum, and it's ok. But I'm wondering «why is Fixnum saying it can dup?»
~~~
1.respond_to?(:dup) ...
lkdjiin (xavier nayrac)
12:29 PM Misc #11904: Why was Thread.exclusive deprecated?
Tony Arcieri wrote:
> Is a single-threaded require actually a *guarantee* of every Ruby VM?
Not single-threaded, ...
Eregon (Benoit Daloze)
11:53 AM Revision 95aadb14 (git): * lib/net/http/responses.rb: Added new response class for 451 status code.
* lib/net/http.rb: documentation for HTTPUnavailableForLegalReasons
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
hsbt (Hiroshi SHIBATA)
11:45 AM Revision 27f00a7a (git): * lib/webrick/httpstatus.rb: Added HTTP 451 Status Code.
[fix GH-1167] Patch by @MuhammetDilmac
https://tools.ietf.org/html/draft-tbray-http-legally-restricted-status-00
g...
hsbt (Hiroshi SHIBATA)
11:40 AM Feature #11927 (Open): Return value for `Module#include` and `Module#prepend`
Currently, `Module#include` and `Module#prepend` return the receiver, regardless of whether the ancestor chain has be... sawa (Tsuyoshi Sawada)
11:28 AM Bug #11926 (Closed): Backport request r53385
Please backport documentation patch for safe navigation operator. hsbt (Hiroshi SHIBATA)
11:26 AM Revision 8f8f92b5 (git): * doc/syntax/calling_methods.rdoc: fix old operator for safe navigation
operator. [ci skip][fix GH-1182] Patch by @dougo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53385 b2dd03c8-39...
hsbt (Hiroshi SHIBATA)
11:18 AM Feature #6284: Add composition for procs
With the recent addition of `Hash#to_proc` and performance improvements to `Proc`s in 2.3.0, I have rebased my patch ... mudge (Paul Mucur)
11:08 AM Bug #11902: have_func('rb_thread_fd_select') returns false
On Tue, Dec 29, 2015 at 8:09 AM, <[email protected]> wrote:
> Issue #11902 has been updated by Dwain Faithfull...
kosaki (Motohiro KOSAKI)
10:15 AM Bug #11909: io.popen problem in 2.2 and over
Hi all, I have a confirmation... The problem is with libxml-ruby invoked by io.popen. If we try with Nokogiri all is ... pierisimone (Simone Pieri)
08:40 AM Bug #11909: io.popen problem in 2.2 and over
OK, excuse me, we have a problem with libxml if it's called via io.popen. I don't want any "heavy lifting" for me ...... pierisimone (Simone Pieri)
09:16 AM Bug #11878: Comparison of prepended modules
I thought that the ordering relation among modules/classes represents the method call priority. `A` < `B` means that ... sawa (Tsuyoshi Sawada)
07:36 AM Bug #11878: Comparison of prepended modules
Making prepending class an ancestor of prepended module?
It feels strange a little, to me.
nobu (Nobuyoshi Nakada)
04:28 AM Bug #11878: Comparison of prepended modules
As far as I see the revision r53380 by Nakada san, it looks like my feature proposal part was rejected. Is this the c... sawa (Tsuyoshi Sawada)
12:59 AM Bug #11878 (Closed): Comparison of prepended modules
Applied in changeset r53380.
----------
object.c: fix prepend cmp
* object.c (rb_class_inherited_p): search the cor...
nobu (Nobuyoshi Nakada)
07:44 AM Feature #11925: Struct construction with kwargs
Hi.
I have thought the same thing that want to use kwargs in Struct class.
But I can't come up with a good API....
ksss (Yuki Kurihara)
07:43 AM Revision f880d5dc (git): Add test for String#ord
* test/ruby/test_string.rb (test_ord): Add test for String#ord.
[Fix GH-1181]
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
02:28 AM Revision 6fd18ca5 (git): forwardable.rb: adjust backtrace by tail call
* lib/forwardable.rb (def_instance_delegator): adjust backtrace of
method body by tail call optimization. adjustin...
nobu (Nobuyoshi Nakada)
02:26 AM Revision d8eb5ade (git): fix commit miss
* test/test_forwardable.rb: add tests for r53381.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53382 b2dd03c8-3...
nobu (Nobuyoshi Nakada)
02:18 AM Bug #11916 (Closed): Fix delegating to 'args' and 'block'
Applied in changeset r53381.
----------
Forwardable: Fix delegating to 'args' and 'block'
* lib/forwardable.rb...
nobu (Nobuyoshi Nakada)
02:18 AM Revision 986fb559 (git): Forwardable: Fix delegating to 'args' and 'block'
* lib/forwardable.rb (def_instance_delegator) fix delegating to
'args' and 'block', clashing with local variables i...
nobu (Nobuyoshi Nakada)
12:58 AM Revision a974041b (git): object.c: fix prepend cmp
* object.c (rb_class_inherited_p): search the corresponding
ancestor to prepended module from prepending class itse...
nobu (Nobuyoshi Nakada)
12:42 AM Misc #11876: Scheduled maintenance 2016/01/01
Hi kou.
Thank you for your comment. I will replace you key at maintenance time.
hsbt (Hiroshi SHIBATA)
12:41 AM Feature #11911 (Feedback): Immutable method definitions and/or static dispatch
Ruby's ability to change any method anytime, and C++/Java's ability to overwrite some methods in subclasses, are conc... duerst (Martin Dürst)
12:20 AM Feature #11921 (Closed): Add test for rb_io_modestr_fmode
Applied in changeset r53379.
----------
test_io.rb: test for rb_io_modestr_fmode
* test/stringio/test_io.rb (test_f...
nobu (Nobuyoshi Nakada)
12:20 AM Revision d252e224 (git): test_io.rb: test for rb_io_modestr_fmode
* test/stringio/test_io.rb (test_flag): add assertion for error when
text and binary mode are mixed.
[ruby-dev:49...
nobu (Nobuyoshi Nakada)

12/29/2015

11:44 PM Feature #11920 (Closed): Add test for StringIO#initialize
Applied in changeset r53378.
----------
test_stringio.rb: test_initialize
* test/stringio/test_stringio.rb (test_in...
nobu (Nobuyoshi Nakada)
04:53 AM Feature #11920 (Closed): Add test for StringIO#initialize
I cannot found testing for StringIO#initialize.
So, I tried writing this patch.
ksss (Yuki Kurihara)
11:44 PM Revision 3586aef4 (git): test_stringio.rb: test_initialize
* test/stringio/test_stringio.rb (test_initialize): add test for
StringIO#initialize. [ruby-core:72585] [Feature #...
nobu (Nobuyoshi Nakada)
10:58 PM Misc #11904 (Rejected): Why was Thread.exclusive deprecated?
This use of `Thread.exclusive` seems nonsense.
https://github.com/cryptosphere/rbnacl/commit/25444979d161fa0f02a61a5...
nobu (Nobuyoshi Nakada)
08:01 PM Misc #11904: Why was Thread.exclusive deprecated?
I received a PR to my project to "add Ruby 2.3 support" (via an inline Mutex) and I think it illustrates the problem:... bascule (Tony Arcieri)
10:42 PM Bug #11909: io.popen problem in 2.2 and over
Simone Pieri wrote:
> our problem is that we really need libxml, so it's not interesting to try without....
Ruby ...
duerst (Martin Dürst)
10:21 PM Bug #11909: io.popen problem in 2.2 and over
We have to tell if libxml is mandatory to reproduce it or not. nobu (Nobuyoshi Nakada)
11:11 AM Bug #11909: io.popen problem in 2.2 and over
Hi,
our problem is that we really need libxml, so it's not interesting to try without....
pierisimone (Simone Pieri)
08:21 PM Feature #11614 (Closed): [RFC] use id_table for constant tables
Applied in changeset r53377.
----------
ChangeLog: add entry for r53376
Oops :x
[ruby-core:72112] [Feature #11614]
Anonymous
08:21 PM Revision 7e85d487 (git): ChangeLog: add entry for r53376
Oops :x
[ruby-core:72112] [Feature #11614]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53377 b2dd03c8-39d4-4d8...
Eric Wong
08:19 PM Revision 1142de8e (git): use id_table for constant tables
valgrind 3.9.0 on x86-64 reports a minor reduction in memory usage
when loading only RubyGems and RDoc by running: ru...
Eric Wong
07:33 PM Bug #11867: overriden constant instance variable mismatch
Nobuyoshi Nakada wrote:
> Exactly.
>
> What do you expect instead?
I expected the latest constant to set its @...
dingoegret (dingo egret)
07:26 PM Revision b7573a00 (git): * thread_pthread.c (rb_thread_create_timer_thread): destroy attr even
if pthread_create() failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53375 b2dd03c8-39d4-4d8f-98ff-823fe69b...
nagachika (Tomoyuki Chikanaga)
06:20 PM Bug #11922 (Closed): [PATCH] fix ASYNC BUG race from bootstraptest/test_fork.rb
Applied in changeset r53373.
----------
thread_pthread.c (rb_thread_create_timer_thread): fix race
This fixes an oc...
Anonymous
11:33 AM Bug #11922 (Closed): [PATCH] fix ASYNC BUG race from bootstraptest/test_fork.rb
~~~
thread_pthread.c (rb_thread_create_timer_thread): fix race
This fixes an occasional [ASYNC BUG] failure in
b...
normalperson (Eric Wong)
06:20 PM Revision 60c49e94 (git): * 2015-12-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:20 PM Revision 24c979bd (git): thread_pthread.c (rb_thread_create_timer_thread): fix race
This fixes an occasional [ASYNC BUG] failure in
bootstraptest/test_fork.rb '[ruby-dev:37934]'
which tests fork/pthrea...
Eric Wong
03:28 PM Feature #11918: Make #finite? consistent with #nonzero?
Hello Matz,
With zero division on Integers we expect to do one of these:
~~~
99 / 0 # default behavi...
avit (Andrew Vit)
07:28 AM Feature #11918 (Feedback): Make #finite? consistent with #nonzero?
Forget about consistency with `nonzero?`, it has sorting use-cases.
And tell me your use-case for `finite?` that ret...
matz (Yukihiro Matsumoto)
03:12 AM Feature #11918 (Feedback): Make #finite? consistent with #nonzero?
Calling `.nonzero?` on a number returns itself (truthy) or nil, but calling `.finite?` on a float is just true or fal... avit (Andrew Vit)
01:09 PM Bug #11902: have_func('rb_thread_fd_select') returns false
Nobuyoshi Nakada wrote:
> https://gist.github.com/dwfait/9515d4893ac59962d204#file-mkmf-log-L178-L183
>
> ~~~
> ...
dwfait (Dwain Faithfull)
12:57 PM Feature #11925 (Closed): Struct construction with kwargs
Propose to make Struct subclass constructors which accept keyword arguments. Not sure, if it's reasonable to allow `.... prijutme4ty (Ilya Vorontsov)
12:54 PM Feature #11923: Put Struct accessors into separate module to allow redefining them in Struct.new's block
Sorry. Don't how to choose appropriate assignee. prijutme4ty (Ilya Vorontsov)
11:57 AM Feature #11923 (Open): Put Struct accessors into separate module to allow redefining them in Struct.new's block
`Struct.new(*args, &block)` creates a subclass of `Struct`. Some methods like accessors are defined right in newly cr... prijutme4ty (Ilya Vorontsov)
12:23 PM Revision 290deeb7 (git): ruby.c: overriding warning options
* ruby.c (proc_options): successive -W option overrides previous
warning options.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
12:22 PM Bug #11924 (Third Party's Issue): $ gem server is broken for documentation browsing
The `$ gem server` command is broken. The gemserver doesn’t find the stylesheets and javascripts, so that the browser... Quintus (Marvin Gülker)
12:17 PM Revision 3d458cd0 (git): * ChangeLog: remove duplicated entries at r53366.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
10:39 AM Revision 1eafb3dd (git): ruby.c: parse -W option
* ruby.c (proc_options): parse and skip '-W' option and its
argument even if ignored.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
10:12 AM Revision 66fe2c0d (git): ruby.c: command line option over RUBYOPT env
* ruby.c (proc_options): -W command line option should be able to
override -w in RUBYOPT environment variable.
git...
nobu (Nobuyoshi Nakada)
09:04 AM Feature #11919: Passing a module directly
Nobuyoshi Nakada wrote:
> You can write it as
>
> ~~~ruby
> using Module.new {
> refine ...
> ...
> }
> ...
sawa (Tsuyoshi Sawada)
08:31 AM Feature #11919 (Feedback): Passing a module directly
You can write it as
~~~ruby
using Module.new {
refine ...
...
}
~~~
Or without `Module.new`?
~~~rub...
nobu (Nobuyoshi Nakada)
03:57 AM Feature #11919 (Rejected): Passing a module directly
Refinement requires a named module:
~~~ruby
module MyRefinement
refine ...
...
end
using MyRefinement
...
sawa (Tsuyoshi Sawada)
08:54 AM Revision b6b1038c (git): eval.c: warn block for using
* eval.c (ignored_block): warn if a block is given to `using`,
which is probably for `Module.new`.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
08:36 AM Revision 1403dfbf (git): compile.c: adjust label reference
* compile.c (new_adjust_body): labels referred by adjuststack
shoud not be optimized away.
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
04:58 AM Feature #11921 (Closed): Add test for rb_io_modestr_fmode
I cannot found testing for error when io-mode is binary and text.
So, I tried writing this patch.
ksss (Yuki Kurihara)
03:48 AM Bug #11884 (Closed): Psych.load broken for OpenStruct in Ruby 2.3.0
Applied in changeset r53366.
----------
ostruct.rb: respond_to?
* lib/ostruct.rb (OpenStruct): make respond_to? wor...
nobu (Nobuyoshi Nakada)
03:48 AM Revision 15960b37 (git): ostruct.rb: respond_to?
* lib/ostruct.rb (OpenStruct): make respond_to? working on
just-allocated objects for workaround of Psych.
[ruby-...
nobu (Nobuyoshi Nakada)
01:37 AM Revision 88aa6abf (git): * test/mkmf/test_have_func.rb (test_have_func):
Add assertion to examine the existence of HAVE_RUBY_INIT.
* test/mkmf/test_have_func.rb (test_not_have_func):
Add ...
Kenta Murata
12:26 AM Feature #11917 (Open): Add Range#length as an alias for size
I noticed that `Range` has a `size` method but no `length`, unlike most other `Enumerable` classes. I propose adding ... dougo (Doug Orleans)
12:05 AM Bug #11913 (Feedback): make fails when using a custom build directory
Elliot Winkler wrote:
> ~~~
> error: unable to open output file 'enc/ascii.o': 'No such file or directory'
> 1 err...
nobu (Nobuyoshi Nakada)

12/28/2015

11:56 PM Bug #11916 (Closed): Fix delegating to 'args' and 'block'
If you have a class that uses Forwardable to delegate a method to
another object, and the method that returns the de...
mcmire (Elliot Winkler)
11:54 PM Bug #11913 (Assigned): make fails when using a custom build directory
I can reproduce this. hsbt (Hiroshi SHIBATA)
09:50 PM Bug #11913 (Closed): make fails when using a custom build directory
Hi there. I've been trying to submit a bugfix, and in doing so I realized that I had to compile Ruby so that I could ... mcmire (Elliot Winkler)
11:46 PM Bug #11909 (Feedback): io.popen problem in 2.2 and over
Since I haven't installed libxml, tried with mere `puts`, and couldn't reproduce it.
Can you reproduce it without li...
nobu (Nobuyoshi Nakada)
03:42 PM Bug #11909 (Rejected): io.popen problem in 2.2 and over
Hi, I have a ruby program (prova5.rb) that contains libxml prase and a find. With Ruby 2.1.8 I have no problem, even ... pierisimone (Simone Pieri)
11:24 PM Bug #11915 (Closed): File.read reading string starting with | executes it.
```ruby
puts File.read "|/bin/ls"
[output of executing ls]
=> nil
```
This is quite surprising behaviour.
It ...
yxhuvud (Linus Sellberg)
10:57 PM Bug #11914 (Closed): 2.2.4: Parsing "symbol:%w(word)" gives SyntaxError
hsbt (Hiroshi SHIBATA)
10:08 PM Bug #11914 (Closed): 2.2.4: Parsing "symbol:%w(word)" gives SyntaxError
This snippet does not parse correctly, only in ruby 2.2.4: {a:%w(a)}
Adding a space after the "a:" works.
irb...
allenfair (Allen Fair)
10:49 PM Bug #10687: ArgumentError in certain cases of instance_exec (new bug in 2.2)
Still broken at 2.3.0:
~~~
$ ruby -v a.rb
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
a.rb:...
stoodfarback (stood far back)
10:42 PM Misc #11904: Why was Thread.exclusive deprecated?
I agree with Tony that Thread.exclusive still has uses. Was there some discussion on deprecating it? headius (Charles Nutter)
09:43 PM Misc #11904: Why was Thread.exclusive deprecated?
Is a single-threaded require actually a *guarantee* of every Ruby VM? bascule (Tony Arcieri)
06:17 PM Misc #11904: Why was Thread.exclusive deprecated?
Also in this particular case, it seems relying on `require` being thread-safe would be good enough for ensuring a sin... Eregon (Benoit Daloze)
06:13 PM Misc #11904: Why was Thread.exclusive deprecated?
Why not create your own Mutex and store it in a constant at load time?
Thread.exclusive could cause accidental conte...
Eregon (Benoit Daloze)
06:31 AM Misc #11904 (Rejected): Why was Thread.exclusive deprecated?
initialize a mutex because the mutex must be initialized in a thread-safe context where it's not possible for multipl... bascule (Tony Arcieri)
09:53 PM Bug #11906: File.dirname separator stripping from the begining of path
MRI normalization uses UNIX style normalization. So, that's intentional. I'm curious why JRuby uses another normaliza... kosaki (Motohiro KOSAKI)
11:24 AM Bug #11906 (Closed): File.dirname separator stripping from the begining of path
MRI strips additional leading slashes with `File.dirname` :
```
File.dirname "////foo/bar/baz" # => /foo/bar
F...
kares (Karol Bucek)
09:52 PM Revision 5ad289b1 (git): thread_sync.c: static classes
We do not want to waste space by exposing globals to other
objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
Eric Wong
09:05 PM Bug #11912 (Closed): [WIP] resolv: attempt to fix Resolv::LOC::Coord.create
This seems to have never worked in the first place:
* "$1 < 180" where $1 is a string raises ArgumentError
* rege...
normalperson (Eric Wong)
08:31 PM Bug #11910 (Closed): resolv.rb - can't modify frozen String in #scan
Applied in changeset r53363.
----------
Resolv::IPv6.create: avoid modifying frozen string literal
* lib/resolv.rb ...
Anonymous
05:26 PM Bug #11910 (Closed): resolv.rb - can't modify frozen String in #scan
lib/resolv.rb contains "frozen_string_literal: true". This causes an error in a travis build from https://github.com/... henry.helper (Henry Helper)
08:31 PM Revision a3b53cd9 (git): Resolv::IPv6.create: avoid modifying frozen string literal
* lib/resolv.rb (Resolv::IPv6.create): avoid modifying frozen
* test/resolv/test_dns.rb (test_ipv6_create): test for ...
Eric Wong
06:46 PM Bug #11878: Comparison of prepended modules
Indeed. marcandre (Marc-Andre Lafortune)
06:17 PM Feature #11911 (Feedback): Immutable method definitions and/or static dispatch
One of Ruby's biggest strengths is the ability for anyone, at any time, to redefine (almost) any behavior. But this i... mlarraz (Matt Larraz)
06:16 PM Feature #11882: Map or NamedMap
For a long time I've been saying Symbols are the biggest disadvantage of Ruby, so you can count on me with any effort... rosenfeld (Rodrigo Rosenfeld Rosas)
07:02 AM Feature #11882: Map or NamedMap
I used to have a strong opinion about the difference between String and Symbol, but ever since Symbol GC (and the res... phluid61 (Matthew Kerwin)
03:56 AM Feature #11882: Map or NamedMap
I concur with Hampton Catlin for the most part (save for the
name "Map", that is not a good name IMO).
I assume t...
shevegen (Robert A. Heiler)
03:30 AM Feature #11882: Map or NamedMap
That's such a kind of.... odd opinion to me. I've been doing ruby for 10 years, and I still have to write fairly obvi... hcatlin (Hampton Catlin)
01:42 AM Feature #11882: Map or NamedMap
Hampton Catlin wrote:
> Requirements:
> 1) Doesn't break existing code
> 2) Doesn't totally destroy the parser
> ...
jeremyevans0 (Jeremy Evans)
04:36 PM Feature #11782: String#+@ and String#-@
What is primary use case for `-'string'`? I initially though it was to be a shorthand for `'string'.freeze`, avoidin... bughit (bug hit)
03:37 PM Bug #11908 (Rejected): Tk still relies on safe level 3 and 4
Tk uses safe level 3 and 4, which causes ArgumentError, because $SAFE >= 2 are no more supported in ruby >= 2.3.
T...
matsuda (Akira Matsuda)
03:10 PM Revision d21c54ff (git): :warning: key "accelerator" is duplicated and overwritten in Tk samples
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matsuda (Akira Matsuda)
03:10 PM Revision 58d698af (git): Missing require
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matsuda (Akira Matsuda)
03:10 PM Revision 357ef2f4 (git): parsedate is no more available since 1.9
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matsuda (Akira Matsuda)
03:10 PM Revision 1ea5d1ae (git): * 2015-12-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:09 PM Revision 67a886ce (git): Convert euc-jp resource file in Tk sample to utf-8
The sample program assumes the file to be encoded in utf-8
https://github.com/ruby/ruby/blob/02531898987693bd28879c78...
matsuda (Akira Matsuda)
03:09 PM Revision 672fe831 (git): Documentation typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matsuda (Akira Matsuda)
02:21 PM Bug #11907: sort_by does not preserve order with arrays with 7+ items and a block that returns the same value
I am pretty sure this proposal will be rejected. Ruby's sort is not stable. If you want to do stable sort, use `with_... sawa (Tsuyoshi Sawada)
02:01 PM Bug #11907 (Rejected): sort_by does not preserve order with arrays with 7+ items and a block that returns the same value
**TL;DR Arrays with more than 6 items do not have their order preserved if sorted with sort_by and the sort_by block ... barelyknown (Sean Devine)
12:07 PM Feature #11708: Specify a way to override Struct-subclass constructor
Marc-Andre Lafortune wrote:
> It's true that there is no test (and more surprisingly no Rubyspec) on this.
>
> I'...
prijutme4ty (Ilya Vorontsov)
08:36 AM Feature #8839: Class and module should return the class or module that was opened
I find myself repeating writing something like below (which, of course, doesn't work at this moment):
```ruby
pri...
yuki24 (Yuki Nishijima)
08:14 AM Feature #11905 (Closed): Change the 'class' keyword to return a symbol
I am totally aware of the current behaviour that you mentioned, but I'll close this issue since this is a duplicate. yuki24 (Yuki Nishijima)
08:08 AM Feature #11905: Change the 'class' keyword to return a symbol
It returns the last value inside the block, as well as `begin`/`end` block, not `nil`. nobu (Nobuyoshi Nakada)
08:00 AM Feature #11905 (Closed): Change the 'class' keyword to return a symbol
Currently the `class` keyword returns nil:
```ruby
class Person; end # => nil
```
It would be great if it cou...
yuki24 (Yuki Nishijima)
07:17 AM Bug #11902 (Third Party's Issue): have_func('rb_thread_fd_select') returns false
https://gist.github.com/dwfait/9515d4893ac59962d204#file-mkmf-log-L178-L183
~~~
"clang -o conftest -I/usr/local/i...
nobu (Nobuyoshi Nakada)
04:55 AM Bug #11902: have_func('rb_thread_fd_select') returns false
I should add installing ruby 2.3 through ruby-install works fine. dwfait (Dwain Faithfull)
04:21 AM Bug #11902: have_func('rb_thread_fd_select') returns false
Eric Wong wrote:
> [email protected] wrote:
> > Bug #11902: have_func('rb_thread_fd_select') returns false
> ...
dwfait (Dwain Faithfull)
04:08 AM Bug #11902: have_func('rb_thread_fd_select') returns false
[email protected] wrote:
> Bug #11902: have_func('rb_thread_fd_select') returns false
> https://bugs.ruby-lang....
normalperson (Eric Wong)
03:55 AM Bug #11902 (Third Party's Issue): have_func('rb_thread_fd_select') returns false
Hello all. I don't know if this is a bug or an error on my part of setting something up.
I was unable to install t...
dwfait (Dwain Faithfull)
07:04 AM Revision 02531898 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:42 AM Revision f84ba30a (git): iseq.c: suppress warnings
* iseq.c (rb_iseq_compile_with_option): suppress "clobbered"
warnings by old gcc.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
05:56 AM Revision 2eb5e09e (git): Add test for String#rstrip!
* test/ruby/test_string.rb (TestString#test_rstrip_bang): Add test
for String#rstrip!. [Fix GH-1176]
git-svn-id: ...
nobu (Nobuyoshi Nakada)
05:52 AM Bug #11903 (Closed): [BUG] vm_call_cfunc - cfp consistency error
~~~
usr/local/lib/ruby/gems/2.2.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:1793: [BUG] vm_call_cfunc - cfp consistency...
Happy_wuwy (文英 武)
01:50 AM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
Eric Wong wrote:
> Anyways, if somebody can design a good API for internal use,
> we can use it. Current rb_get_...
headius (Charles Nutter)
01:18 AM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
[email protected] wrote:
> Eric Wong wrote:
> > Using globals or TLS would introduce subtle reentrancy problems...
normalperson (Eric Wong)
12:22 AM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
Comparing stack traces:
```
[] ~/projects/ruby $ ruby23 -rsocket -e "t = TCPSocket.new('google.com', 80); t.read_...
headius (Charles Nutter)
12:13 AM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
Eric Wong wrote:
> Using globals or TLS would introduce subtle reentrancy problems
> when calls are nested. I do...
headius (Charles Nutter)
12:19 AM Revision 4ab3c75b (git): * 2015-12-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:18 AM Revision 78d15f5e (git): Add test for String#lstrip!
* test/ruby/test_string.rb (TestString#test_lstrip_bang): Add test
for String#lstrip!. [Fix GH-1176]
git-svn-id: ...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom