Project

General

Profile

Activity

From 02/19/2016 to 02/25/2016

02/25/2016

11:23 PM Revision 7a35ffec (git): * 2016-02-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:23 PM Bug #12112 (Closed): Resolv.getname with IPv6 noop
Currently reverse resolving IPv6 addresses using stdlib Resolv does not work.
### How reproducible
always
### ...
helge000 (Daniel Helgenberger)
11:23 PM Revision 41020311 (git): Reduce system calls by activating the `did_you_mean` gem.
Activating the gem puts the gem on the load path, where simply requiring
the file will search every gem that's instal...
tenderlovemaking (Aaron Patterson)
10:39 PM Feature #12110: Create a method to avoid vacuous truth?
Robert A. Heiler wrote:
> Here is the biggest problem:
>
> - What name would you give it? :)
​I seem to recall...
phluid61 (Matthew Kerwin)
09:29 PM Feature #12110: Create a method to avoid vacuous truth?
Here is the biggest problem:
- What name would you give it? :)
shevegen (Robert A. Heiler)
04:30 PM Feature #12110 (Open): Create a method to avoid vacuous truth?
I often find myself running into unexpected results when using `#all?` for example
```ruby
[].all? { |e| false } ...
rydlaw (Waldyr de Souza)
09:44 PM Bug #11969: [PATCH] IRB: Final newline missing in truncated backtraces
Ping again... javawizard (Alex Boyd)
07:17 PM Bug #12111 (Closed): [DOC] Small fix for extension.roc / extension.ja.rdoc
The patch removes the local variables list for Emacs,
since they show up in the rendered page; see the very end
of ...
stomar (Marcus Stollsteimer)
04:37 PM Feature #12075: some container#nonempty?
I like this idea a lot, Tsuyoshi. I'm +1 for introducing nil.empty? as returning true. rosenfeld (Rodrigo Rosenfeld Rosas)
05:12 AM Feature #12075: some container#nonempty?
What about introducing `NilClass#empty?`:
~~~RUBY
nil.empty? # => true
~~~
The code in question can be writte...
sawa (Tsuyoshi Sawada)
02:47 AM Feature #12075: some container#nonempty?
I have just learned that zsh(1) calls this concept being "full". http://zsh.sourceforge.net/Doc/Release/Expansion.htm... shyouhei (Shyouhei Urabe)
12:36 PM Revision 5fa5b50e (git): eval_error.c: constify
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:36 PM Revision 37d6a4dd (git): eval_error.c: remove warn_printf
* eval_error.c (warn_printf): remove.
* eval_error.c (error_pos_str): return error position string,
split from err...
nobu (Nobuyoshi Nakada)
11:04 AM Revision 4ef48a78 (git): merge revision(s) 53790,53844: [Backport #12054]
* lib/logger.rb: Remove block from Logger.add as it's not needed
patch provided by Daniel Lobato Garcテュ [fi...
U.Nakamura
11:03 AM Bug #12054: Remove block from Logger.add as it's not needed
ruby_2_1 r53938 merged revision(s) 53790,53844. usa (Usaku NAKAMURA)
11:00 AM Revision b58ee667 (git): merge revision(s) 53784: [Backport #11495]
* re.c: Remove deprecated kcode argument from Regexp.new and compile
patch provided by Dylan Pulliam [Bug #...
U.Nakamura
11:00 AM Bug #11495: [Documentation] Please improve documentation for Regexp.new() and clarify the 3 argument call
ruby_2_1 r53937 merged revision(s) 53784. usa (Usaku NAKAMURA)
10:58 AM Revision e41ee7cf (git): merge revision(s) 53677: [Backport #11877]
* ext/socket/socket.c (sock_gethostname): support unlimited size
hostname.
git-svn-id: svn+ssh://ci.ruby-...
U.Nakamura
10:57 AM Bug #11877: Socket.gethostname will fail when the hostname length == RUBY_MAX_HOST_NAME_LEN
ruby_2_1 r53936 merged revision(s) 53677. usa (Usaku NAKAMURA)
10:29 AM Revision abe1b00d (git): merge revision(s) 53318: [Backport #11489]
* lib/xmlrpc/client.rb: Support SSL options in async methods of
XMLRPC::Client.
[Bug #11489]
...
U.Nakamura
10:29 AM Bug #11489: XMLRPC client cannot alter SSL options for _async calls
ruby_2_1 r53935 merged revision(s) 53318. usa (Usaku NAKAMURA)
10:27 AM Revision ca8b2d26 (git): merge revision(s) 53609: [Backport #12011]
* marshal.c (r_object0): honor Marshal.load post proc
value for TYPE_LINK. by Hiroshi Nakamura <nahi@ruby-...
U.Nakamura
10:26 AM Bug #12011: honor Marshal.load post proc value for TYPE_LINK
ruby_2_1 r53934 merged revision(s) 53609. usa (Usaku NAKAMURA)
10:23 AM Revision 63b34ade (git): * version.h: commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@53933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
10:21 AM Bug #11958: TCPSocket.getsockopt().bool raises a TypeError on windows
ruby_2_1 r53931 merged revision(s) 53561. usa (Usaku NAKAMURA)
10:19 AM Revision 84f768b4 (git): * io.c (io_read_nonblock): decrement argc before calling io_readpartical() if
kwarg is eaten in this function. fixed a test failure introduced at r53926.
see [Backport #11885]
git-svn-id: sv...
U.Nakamura
10:16 AM Revision e86d271d (git): merge revision(s) 53561: [Backport #11958]
* ext/socket/option.c (sockopt_bool): relax boolean size to be one
too not only sizeof(int). Winsock getso...
U.Nakamura
10:04 AM Revision 7feb182a (git): * enc/unicode/case-folding.rb: Adding possibility for debugging output
for TitleCase table in casefold.h.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53930...
duerst (Martin Dürst)
09:58 AM Revision 78400580 (git): merge revision(s) 53346,53347,53348,53349,53391,53928: [Backport #11898]
* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
reported by naruse via twitter.
...
U.Nakamura
09:57 AM Bug #11898: backport r53346-r53349
ruby_2_1 r53929 merged revision(s) 53346,53347,53348,53349,53391,53928. usa (Usaku NAKAMURA)
09:54 AM Revision 92e0377e (git): * test/ruby/test_process.rb (test_execopts_open_chdir_m17n_path): it's originally for Windows. should not ignore on the platform.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
09:23 AM Revision cfdb3f5c (git): merge revision(s) 53435: [Backport #11945]
* ext/stringio/stringio.c (strio_binmode): implement to set encoding
* test/stringio/test_stringio.rb (test_...
U.Nakamura
09:22 AM Bug #11945: [PATCH] stringio: binmode sets encoding to ASCII-8BIT
ruby_2_1 r53927 merged revision(s) 53435. usa (Usaku NAKAMURA)
09:16 AM Revision 2b0014ca (git): merge revision(s) 53329: [Backport #11885]
* io.c (io_getpartial): remove unused kwarg from template
* test/ruby/test_io.rb (test_readpartial_bad_args)...
U.Nakamura
09:16 AM Bug #11885: [PATCH] IO#readpartial rejects bad args
ruby_2_1 r53926 merged revision(s) 53329. usa (Usaku NAKAMURA)
09:00 AM Revision 9c0d8283 (git): merge revision(s) 53299: [Backport #11870]
fix common misspelling [ci skip]
compile.c, cont.c, doc, man: fix common misspelling. [Bug #11870]
git-svn-id...
U.Nakamura
08:59 AM Bug #11870: Eradication of typical misspellings
ruby_2_1 r53925 merged revision(s) 53299. usa (Usaku NAKAMURA)
08:50 AM Revision af3ab0bb (git): merge revision(s) 53259: [Backport #11862]
* ext/socket/init.c (rsock_init_sock): reject reserved FDs
[ruby-core:72445] [Bug #11862]
git-svn-id: svn...
U.Nakamura
08:50 AM Bug #11862: [PATCH] ext/socket/init.c (rsock_init_sock): reject reserved FDs
ruby_2_1 r53924 merged revision(s) 53259. usa (Usaku NAKAMURA)
08:45 AM Revision c9eefd56 (git): merge revision(s) 53231,53244: [Backport #11854]
* ext/socket/init.c (rsock_init_sock): check FD after validating
* test/socket/test_basicsocket.rb (test_for...
U.Nakamura
08:44 AM Bug #11854: Socket.for_fd(-1) causes segmentaion fault on mingw32.
ruby_2_1 r53923 merged revision(s) 53231,53244. usa (Usaku NAKAMURA)
08:34 AM Revision 734ac672 (git): merge revision(s) 53023: [Backport #11313]
* cont.c: fix a double word typo.
[Bug #11313][ruby-core:69749]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
U.Nakamura
08:33 AM Bug #11313: Fixed a couple of typos
ruby_2_1 r53922 merged revision(s) 53023. usa (Usaku NAKAMURA)
08:33 AM Revision d849db29 (git): merge revision(s) 53022: [Backport #11764]
* ext/tk/lib/multi-tk.rb: fix typos.
[Bug #11764][ruby-core:71800]
git-svn-id: svn+ssh://ci.ruby-lang.org...
U.Nakamura
08:32 AM Bug #11764: ext/tk/lib/multi-tk.rb: fix three typos.
ruby_2_1 r53921 merged revision(s) 53022. usa (Usaku NAKAMURA)
07:48 AM Revision bf524be1 (git): merge revision(s) 53167: [Backport #11825]
* re.c (reg_names_iter): should consider encoding of regexp.
[ruby-core:72185] [Bug #11825]
git-svn-id: s...
U.Nakamura
07:47 AM Bug #11825: MatchData#names returns ASCII-8BIT
ruby_2_1 r53920 merged revision(s) 53167. usa (Usaku NAKAMURA)
07:22 AM Revision aa40518b (git): eval_error.c: error position format
* eval_error.c (error_print): use same error position format when
no backtrace too.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
07:01 AM Bug #12109 (Rejected): Exception during class load can cause partially-loaded class
I noticed this bug using Rails, which lazy-loads classes (via ActiveSupport.)
Here's a minimal test case:
~~~ru...
arrtchiu (Matt U)
06:42 AM Feature #10098: [PATCH] Timing-safe string comparison for OpenSSL::HMAC
Aleksandrs Ļedovskis wrote:
> Can someone clarify, what state is this feature in? Do we still need to get Matz's app...
arrtchiu (Matt U)
04:42 AM Revision 06751e43 (git): * 2016-02-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:42 AM Revision 1d581843 (git): eval_error.c: colon in message
* eval_error.c (error_pos): include a clone after the position.
* eval_error.c (error_print, error_handle): do not p...
nobu (Nobuyoshi Nakada)
01:58 AM Bug #12072 (Assigned): SortedSet#superset? raises NoMethodError if rbtree is installed
Same code doesn't work on Ruby 2.3.0, because the cause of this bug is [r52586](https://github.com/ruby/ruby/commit/d... yui-knk (Kaneko Yuichiro)

02/24/2016

05:52 PM Feature #11816: Partial safe navigation operator
I prefer Marc's proposal here: https://bugs.ruby-lang.org/issues/11816#note-6. I think that's the much more natural t... seanlinsley (Sean Linsley)
05:18 PM Bug #12108 (Rejected): Splitting an empty string returns an empty array
Eregon (Benoit Daloze)
04:21 PM Bug #12108: Splitting an empty string returns an empty array
Sorry, it turns out that this was a feature (http://ruby-doc.org/core-2.3.0/String.html#method-i-split). I didn't kno... sawa (Tsuyoshi Sawada)
03:56 PM Bug #12108 (Rejected): Splitting an empty string returns an empty array
Splitting an empty string returns an empty array.
~~~RUBY
"".split("") # => []
"".split("a") # => []
"".split(/...
sawa (Tsuyoshi Sawada)
03:00 PM Bug #12078 (Closed): Segmentation fault in did_you_mean with ruby revision 53608
nobu (Nobuyoshi Nakada)
02:53 PM Bug #12107 (Closed): Segmentation fault at 0x000000000000b8 - did_you_mean
nobu (Nobuyoshi Nakada)
11:51 AM Bug #12107 (Closed): Segmentation fault at 0x000000000000b8 - did_you_mean
Today I have encounter a bug Accidentally which caused Segmentation fault. I'm using Rails 4.2.5.1 and
~~~
ruby -...
[email protected] (ferdinand rosario)
01:32 PM Revision 35f40f53 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:32 PM Revision f1f48e61 (git): * include/ruby/oniguruma.h: Rearranging flag assignments and making
space for titlecase indices; adding additional macros to add or
extract titlecase index; adding comments for better...
duerst (Martin Dürst)
12:30 PM Revision 169b867f (git): * random.c (limited_rand): Add a specialized path for the limit fits in 32 bit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:21 AM Revision d4819da6 (git): parse without $.
* io.c (rb_io_gets_internal): read one line from an IO without
setting ARGF.lineno.
* parse.y (lex_io_gets): use r...
nobu (Nobuyoshi Nakada)
04:33 AM Bug #12106: Behavior of double splatting of hashes with non symbol key is different according to splatted hash position
Small correction: for the 2nd, 3rd and 4th examples on each code block the error actually is "TypeError: wrong argume... pabloh (Pablo Herrero)
04:29 AM Bug #12106 (Closed): Behavior of double splatting of hashes with non symbol key is different according to splatted hash position
When doing double splatting with hash with non symbols keys you get different behaviors according to the position of ... pabloh (Pablo Herrero)
02:42 AM Revision 43f7eacd (git): parse.y: hide compile_option
* parse.y (parser_set_compile_option_flag): hide compile_option
hash from ObjectSpace.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
02:38 AM Revision 0cd34e96 (git): vm_method.c: for hidden object
* vm_method.c (rb_method_basic_definition_p): methods of hidden
objects cannot be overridden, return TRUE.
git-svn...
nobu (Nobuyoshi Nakada)
02:20 AM Revision 53ec85b5 (git): numeric.c: micro optimizations
* numeric.c (flo_to_s, rb_fix2str): use rb_usascii_str_new instead
of rb_usascii_str_new_cstr, when the length can ...
nobu (Nobuyoshi Nakada)
01:01 AM Bug #12105: JSON.pretty_generate throws a TypeError when there is a BigDecimal object as a value
Not sure if this is an active support bug or a ruby bug. if i try to create the hash regularly, it works fine:
[19...
zyren (Adnan Abdulally)
12:54 AM Bug #12105 (Third Party's Issue): JSON.pretty_generate throws a TypeError when there is a BigDecimal object as a value
As the title states, JSON.pretty_generate throws a TypeError when there is a BigDecimal object as a value. This used ... zyren (Adnan Abdulally)

02/23/2016

11:27 PM Bug #11838: Please backport r52883, r52884, r53046, r53198
usa san,
Please note that r53198 requires #11843 (r53202) too.
nagachika (Tomoyuki Chikanaga)
11:25 PM Revision 782b9a89 (git): merge revision(s) 53202: [Backport #11843]
* enc/windows_1250.c: Should not use C++ style comments (C99 feature).
[Bug #11843]
git-svn-id: svn+ssh:/...
nagachika (Tomoyuki Chikanaga)
11:25 PM Bug #11843: enc/windows_1250.c syntax error with fcc on Solaris -- C++(C99)-style comments should not be used
Backported into `ruby_2_2` at r53909. nagachika (Tomoyuki Chikanaga)
11:17 PM Bug #11843: enc/windows_1250.c syntax error with fcc on Solaris -- C++(C99)-style comments should not be used
ruby_2_2 に r53198 をバックポートしたため、これも必要になっていました。 nagachika (Tomoyuki Chikanaga)
04:51 PM Revision 7c14876b (git): * 2016-02-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:51 PM Revision c8b90210 (git): * test/ruby/test_exception.rb: fix bad spawn argument (multiple
args in single) in test_thread_signal_location.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53907 b2dd03c8-39d...
headius (Charles Nutter)
01:29 PM Bug #12098: Accessing a two level hash with invalid keys ignores the right side of expression
Nobuyoshi Nakada wrote:
> Fixed by r53485.
Thank you! I should have tested against master. Sorry about that :)
michel.boaventura (Michel Boaventura)
12:53 PM Revision 1cc579cb (git): * enc/unicode/case-folding.rb, casefold.h: Outputting actual titlecase
data (new table, with indices from other tables).
* enc/unicode.c: Ignoring titlecase data indices for the moment.
...
duerst (Martin Dürst)
10:26 AM Bug #12104: Procs keyword arguments affect value of previous argument
Looking deeper now it seems to be that this is because the first argument is an Array and that when that happens it's... cheerfulstoic (Brian Underwood)
10:19 AM Bug #12104: Procs keyword arguments affect value of previous argument
This seems to also happen when trying to use a options Hash as the second argument:
~~~
2.3.0 :009 > p = Proc.new...
cheerfulstoic (Brian Underwood)
10:15 AM Bug #12104 (Rejected): Procs keyword arguments affect value of previous argument
This seems like a bug to me:
~~~
2.3.0 :001 > p = Proc.new {|nodes, match_array: false| puts nodes.inspect }
=>...
cheerfulstoic (Brian Underwood)
09:46 AM Bug #12103 (Rejected): ruby process hangs while executing regular expression.
The following code hangs
~~~
regex = /(\((\w+([\p{Punct}\s]{,3}\w*)*)\))/i
detail = "(said companies being fictito...
antonyr (Antony Raj)
07:59 AM Revision 3c0bb8d6 (git): iseq.h: remove trailing comma
* iseq.h (iseq_mark_ary_index): get rid of trailing comma and name
the magic number for iseq_mark_ary_create.
git-...
nobu (Nobuyoshi Nakada)
06:21 AM Revision 8aa8847b (git): * enc/unicode/case-folding.rb, casefold.h: Reading casing data from
SpecialCasing.txt.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53904 b2dd03c8-39d4-4...
duerst (Martin Dürst)
02:03 AM Revision 0a0d4525 (git): Bump up timeout for slower-starting implementations/platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e headius (Charles Nutter)
12:58 AM Feature #11262: Make more objects behave like "Functions"
Fix link to the Clojure docs after they changed their URI structure. jwmittag (Jörg W Mittag)
12:55 AM Feature #11262: Make more objects behave like "Functions"
Victor Shepelev wrote:
> For me, this thing looks like some kind of over-simplification (leading to ambiguity).
> B...
jwmittag (Jörg W Mittag)

02/22/2016

11:41 PM Feature #12096: New notation for instance variables and class variables
I like the idea to some extent but the syntax strikes me as somewhat
peculiar.
```ruby
@'foo?'
```
In ruby o...
shevegen (Robert A. Heiler)
11:39 PM Bug #12099: Documentation for Proc#call and Proc#[] missing from Ruby-Doc.Org.
Jörg W Mittag wrote:
> The documentation for the instance methods [`Proc#call`](http://ruby-doc.org/core/Proc.html#m...
jwmittag (Jörg W Mittag)
03:34 PM Bug #12099 (Closed): Documentation for Proc#call and Proc#[] missing from Ruby-Doc.Org.
The documentation for the instance methods [`Proc#call`](http://ruby-doc.org/core/Proc.html#method-i-call) and [`Proc... jwmittag (Jörg W Mittag)
11:30 PM Bug #12102: Ruby Interpreter or extension library
Perhaps you can give some more information in what code is used specifically to make it
crash, on a pastie or even b...
shevegen (Robert A. Heiler)
08:11 PM Bug #12102: Ruby Interpreter or extension library
I would like to add that this is for a Rails Application with version 4.2.5.1 ralphie02 (Ralph Azucena)
08:05 PM Bug #12102 (Closed): Ruby Interpreter or extension library
I don't really know what the problem is so please bear with me and I apologize in advance...
I encountered this is...
ralphie02 (Ralph Azucena)
11:23 PM Revision 073cbf20 (git): * test/ruby/test_math.rb: use 64 bits in test_override_bignum_to_f
to ensure it's a bignum on all impls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53902 b2dd03c8-39d4-4d8f-98f...
headius (Charles Nutter)
11:22 PM Revision 4a147572 (git): * test/ruby/test_math.rb: override tests must always put to_f back
Conflicts:
test/ruby/test_math.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53901 b2dd03c8-39d4-4d8f...
headius (Charles Nutter)
11:22 PM Revision c06dd1ea (git): * 2016-02-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:22 PM Revision 9386ecf9 (git): * test/psych/test_emitter.rb: test_resizing_tags missing
start_stream call, caused strict parsers like on JRuby to err.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@538...
headius (Charles Nutter)
10:44 PM Revision 98011df3 (git): * test/ruby/test_math.rb: use 64 bits in test_override_bignum_to_f
to ensure it's a bignum on all impls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53898 b2dd03c8-3...
headius (Charles Nutter)
10:44 PM Revision 6863c409 (git): * test/ruby/test_math.rb: override tests must always put to_f back
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e headius (Charles Nutter)
07:00 PM Revision 80b13113 (git): merge revision(s) 52883,52884,53046,53198: [Backport #11838]
* enc/iso_8859_4.c: Added missing lower/upper-case character
pair (U+014A and U+014B, LATIN CAPITAL/SMALL L...
nagachika (Tomoyuki Chikanaga)
07:00 PM Bug #11838: Please backport r52883, r52884, r53046, r53198
Backported into `ruby_2_2` branch at r53896. nagachika (Tomoyuki Chikanaga)
06:30 PM Feature #12101: Add verbose failure messages and avoid infamous DRb::DRbConnError
I think printing out messages to $stdout is not the best way. If I'm running DRb as a server I may have no way of se... drbrain (Eric Hodel)
05:24 PM Feature #12101 (Closed): Add verbose failure messages and avoid infamous DRb::DRbConnError
Avoid the generic "DRb::DRbConnError" which gives very little information and make errors hard to debug.
When I st...
yagudaev (Michael Yagudaev)
06:17 PM Revision 0bd3a524 (git): * 2016-02-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:17 PM Revision c99e4339 (git): * test/psych/test_emitter.rb: test_resizing_tags missing
start_stream call, caused strict parsers like on JRuby to err.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/...
headius (Charles Nutter)
05:22 PM Bug #12100: CSV converters fail when using single arg proc
Thanks for the explanation Madman, that's super helpful. So the actual bug is reproduced when passing a proc/non-lamb... mdaubert (Matthew Daubert)
04:44 PM Bug #12100: CSV converters fail when using single arg proc
~~Upon further investigation it looks like this might actually stem from Symbol#to_proc returning a Proc with unspeci... mdaubert (Matthew Daubert)
04:41 PM Bug #12100: CSV converters fail when using single arg proc
I'm pretty sure this will introduce new bugs.
The meaning of an arity of -1 is "any number of arguments".
In real...
recursive-madman (Recursive Madman)
04:14 PM Bug #12100 (Rejected): CSV converters fail when using single arg proc
CSV#parse (and others) throw an ArgumentError when passing a single argument Proc as a converter because of a perform... mdaubert (Matthew Daubert)
03:56 PM Feature #12094: parameterized property assignment: o.prop(arg) = 1
Nobuyoshi Nakada wrote:
> This is a longstanding pending feature.
What is its status? Is there an existing issue ...
bughit (bug hit)
03:46 PM Feature #11262: Make more objects behave like "Functions"
For me, this thing looks like some kind of over-simplification (leading to ambiguity).
Both cases are handled with s...
zverok (Victor Shepelev)
02:54 PM Revision b0d81c10 (git): ruby.c: remove unnecessary context
* ruby.c (process_options): remove unnecessary context.
rb_parser_append_print and rb_parser_while_loop just append...
nobu (Nobuyoshi Nakada)
11:00 AM Revision f42d2ca8 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:34 AM Revision 4ca9138b (git): * enc/unicode/case-folding.rb, casefold.h: Adding flag for title-case,
not yet operational.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53891 b2dd03c8-39d4...
duerst (Martin Dürst)
09:17 AM Revision 5470ce82 (git): * enc/unicode/case-folding.rb, casefold.h: Fixed bug that avoided inclusion
of compatibility characters in uppper-/lower-case mappings.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-...
duerst (Martin Dürst)
08:06 AM Feature #12093: Eval InstructionSequence with binding
Depending on the context, an identifier may be a local variable or a method call.
I think that `RubyVM::InstructionS...
nobu (Nobuyoshi Nakada)
07:15 AM Revision cdc5ac2e (git): * 2016-02-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:15 AM Revision 01075263 (git): vm_core.h: CoreDataFromValue
* vm_core.h (CoreDataFromValue): split as an expression from
GetCoreDataFromValue, which can be a statement only.
...
nobu (Nobuyoshi Nakada)
07:15 AM Revision 1656b70c (git): internal.h: shortcut macros
* internal.h (RRATIONAL_SET_{NUM,DEN}): shortcut macros for
internal only.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
01:28 AM Feature #12039: Fixnum#infinite?/Bignum#infinite or Numeric#infinte, consistent with Float#infinite? and BigDecimal#infinite?
Another real-world use-case where I found Numeric#infinite? useful is JSON validation. Infinities are not allowed in... shyouhei (Shyouhei Urabe)
01:09 AM Bug #12098 (Closed): Accessing a two level hash with invalid keys ignores the right side of expression
Fixed by r53485. nobu (Nobuyoshi Nakada)
12:34 AM Bug #12098 (Closed): Accessing a two level hash with invalid keys ignores the right side of expression
Ruby 2.3 has a strange issue with hashes:
On Ruby 2.2:
~~~
irb(main):001:0> foo = {}
=> {}
irb(main):002:0> ...
michel.boaventura (Michel Boaventura)

02/21/2016

10:11 PM Bug #12071: Gem installation fails with 2.3.0 on Cygwin
Awesome, thank you! Panyamin (Benjamin Gueroult)
04:20 PM Feature #12096: New notation for instance variables and class variables
And of course, the range of available names for these variables should be extended. And `attr_reader :foo?` should al... sawa (Tsuyoshi Sawada)
03:09 PM Feature #12096 (Closed): New notation for instance variables and class variables
In order to create symbols that include non-word characters, we have the `:'...'` notation:
~~~RUBY
:'foo-bar'
:...
sawa (Tsuyoshi Sawada)
03:36 PM Feature #12005: Unify Fixnum and Bignum into Integer
Yui NARUSE wrote:
> CRuby has two `Integer` classes, `Fixnum` and `Bignum`.
> But it is implementation detail.
> T...
jwmittag (Jörg W Mittag)
12:01 PM Feature #11361: proposal for easy method to nil-guard for generated variable name.
masaki yamada wrote:
> It's easy to 'nil-guard' for normal variable.
> ~~~ruby
> def user
> @user ||= User.fi...
jwmittag (Jörg W Mittag)
10:42 AM Revision f66f9982 (git): vm.c (vm_cref_new0): adjust indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:54 AM Bug #12095 (Closed): ruby_vm_at_exit can sometime cause a crash.
This behavior has been seen erratically, but one of our users got it to reproduce almost systematically. We didn't ma... nicolasnoble (Nicolas Noble)
04:57 AM Revision d463c492 (git): cgi/escape: Optimize CGI.unescape
* cgi/escape/escape.c: Optimize CGI.unescape performance by C ext
for ASCII-compatible encodings. [Fix GH-1250]
g...
nobu (Nobuyoshi Nakada)
04:57 AM Revision 1b7109e1 (git): cgi/escape: Optimize CGI.unescapeHTML
* cgi/escape/escape.c: Optimize CGI.unescapeHTML performance by C
ext for ASCII-compatible encodings. [Fix GH-1242...
nobu (Nobuyoshi Nakada)
04:54 AM Feature #12094: parameterized property assignment: o.prop(arg) = 1
This is a longstanding pending feature. nobu (Nobuyoshi Nakada)
04:52 AM Revision 6b6b3689 (git): * 2016-02-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:52 AM Revision 74758a58 (git): NEWS: update [ci skip]
* NEWS: change of Symbol#match. [Bug #11991]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53882 b2dd03c8-39d4-...
nobu (Nobuyoshi Nakada)
03:22 AM Feature #8921: Allow select, reject, etc to accept a regex
Has there been any thought on this?
kyledecot (Kyle Decot)
02:14 AM Feature #12079: Loosening the condition for refinement
There is a point that needs to be made clear regarding this proposal: whether the symbol or string used in the constr... sawa (Tsuyoshi Sawada)

02/20/2016

05:32 PM Feature #12094 (Open): parameterized property assignment: o.prop(arg) = 1
```ruby
module Mod
@foo = {}
def self.foo(k)
@foo[k]
end
def self.foo=(k, v)
@foo[k] = v...
bughit (bug hit)
03:34 PM Feature #12079: Loosening the condition for refinement
To the list of relevant constructions, I would also like to add `inject` when it takes a symbol argument.
~~~RUBY
...
sawa (Tsuyoshi Sawada)
12:00 PM Feature #12093 (Rejected): Eval InstructionSequence with binding
Implementing this feature can boost template engine performance
Currently Kernel#eval can accept binding argument,...
pavel.evstigneev (Pavel Evstigneev)
09:36 AM Revision ab86bab9 (git): test_dir_m17n.rb: fix ASCII-8BIT env
* test/ruby/test_dir_m17n.rb (test_glob_encoding): get rid of
conversion when LC_ALL=C and filesystem encoding is A...
nobu (Nobuyoshi Nakada)
06:39 AM Revision 68d4d7e4 (git): doc/extension.rdoc: update paths for defs/ directory
These files were moved in r19844
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53880 b2dd03c8-39d4-4d8f-98ff-823...
Eric Wong
05:44 AM Revision 7cb7b5f7 (git): Fix Module#module_eval rdoc [ci skip]
* vm_eval.c (rb_mod_module_eval): [DOC] Fix documentation
signature for Module#module_eval. [Fix GH-1258]
git-svn...
nobu (Nobuyoshi Nakada)
05:41 AM Revision 27c7dfa7 (git): Update README.md
* README.md: a few grammatical changes to the main Ruby README.md.
[Fix GH-1259]
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
04:04 AM Revision 4f969f6e (git): dir.c: paths as UTF-8
* dir.c (push_pattern, push_glob): deal with read paths as UTF-8
to stat later, on Windows as well as OS X.
[ruby...
nobu (Nobuyoshi Nakada)
04:04 AM Bug #12081 (Closed): Dir['*'] doesn't list files which name include Chinese character on Simplefied Chinese Windows
Applied in changeset r53877.
----------
dir.c: paths as UTF-8
* dir.c (push_pattern, push_glob): deal with read pat...
nobu (Nobuyoshi Nakada)

02/19/2016

11:10 PM Feature #12075: some container#nonempty?
Perhaps the name .contains? might be good?
Although, .include? sort of is more or less synonymous with .contains? ...
shevegen (Robert A. Heiler)
08:34 PM Feature #12092 (Rejected): Allow Object#clone to yield cloned object before freezing
This allows creating modified clones of frozen objects that have
singleton classes:
~~~ruby
a = [1,2,3]
def a.f...
jeremyevans0 (Jeremy Evans)
07:27 PM Bug #12091 (Closed): Freezing a SortedSet breaks Enumerable
If you freeze a `SortedSet` it looses most functionality because of the way `to_a` is implemented:
```
irb(main):...
drewish (Andrew Morton)
05:01 PM Bug #12090: `Range#cover` does not raise an exception when comparison fails
Raising an error would break backward compatibility. Maybe `cover?` should just return `nil` to indicate incomparable... sos4nt (Stefan Schüßler)
03:37 PM Bug #12090 (Closed): `Range#cover` does not raise an exception when comparison fails
The documentation for `Range#cover?` says,
~~~
cover?(obj) → true or false
Returns true if obj is between the ...
sawa (Tsuyoshi Sawada)
04:54 PM Revision 094cfc44 (git): * 2016-02-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:54 PM Revision 8790fdce (git): object.c: fix error message
* object.c (rb_mod_const_get): make error message at uninterned
string consistent with symbols. [ruby-dev:49498] [...
nobu (Nobuyoshi Nakada)
04:53 PM Bug #12089 (Closed): Raise not stable NameError
Applied in changeset r53875.
----------
object.c: fix error message
* object.c (rb_mod_const_get): make error messa...
nobu (Nobuyoshi Nakada)
01:46 PM Bug #12089 (Closed): Raise not stable NameError
Is this intentional?
```
irb(main):001:0> Object.const_get('A')
NameError: uninitialized constant Object::A
irb...
alpaca-tc (Hiroyuki Ishii)
04:53 PM Bug #12088: Segmentation fault at 0x00000000000000 ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
Also sometimes getting this error
~~~
*** glibc detected *** ruby: double free or corruption (fasttop): 0x00007f...
twKrash (Maksim Dvoryanchenko)
02:21 PM Bug #12088 (Feedback): Segmentation fault at 0x00000000000000 ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
Seems a GC problem.
Could you try the latest 2.2?
nobu (Nobuyoshi Nakada)
11:09 AM Bug #12088 (Closed): Segmentation fault at 0x00000000000000 ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
Sometimes getting subj error on Jenkins machine
~~~ruby
# convert [[1,1][2,2]] to {1:1,2:2}
def columns_hash
...
twKrash (Maksim Dvoryanchenko)
02:38 PM Revision 3ad8210c (git): find.rb: raise with the name
* lib/find.rb (Find#find): raise with the given path name if it
does not exist. [ruby-dev:49497] [Bug #12087]
git...
nobu (Nobuyoshi Nakada)
02:37 PM Bug #12087 (Closed): Find.find に存在しないパスを渡した時のエラーにパス名がない
Applied in changeset r53874.
----------
find.rb: raise with the name
* lib/find.rb (Find#find): raise with the give...
nobu (Nobuyoshi Nakada)
09:08 AM Bug #12087 (Closed): Find.find に存在しないパスを渡した時のエラーにパス名がない
`ruby -rfind -e 'Find.find("/hoge"){}'` で /hoge が存在しない場合に発生するエラーが `No such file or directory (Errno::ENOENT)` でパス名が含ま... tommy (Masahiro Tomita)
12:02 PM Misc #12004: Code of Conduct
Brad Grzesiak wrote:
> I'm not a fan of the published document. I do not believe it adequately defines the qualities...
ph (ph ph)
07:58 AM Revision c7f815ee (git): test/ruby: suppress runtime warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:48 AM Revision 41f4317f (git): test/ruby: suppress parser warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:45 AM Revision 311b7154 (git): test: use assert_not_*
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:34 AM Feature #12086 (Open): using: option for instance_eval etc.
Currently refinements can be activated only in toplevel or class/module definitions.
If they can be activated in blo...
shugo (Shugo Maeda)
04:06 AM Bug #12071 (Closed): Gem installation fails with 2.3.0 on Cygwin
nobu (Nobuyoshi Nakada)
03:45 AM Revision 6286ff63 (git): * enc/unicode.c: Activated use of case mapping data in CaseUnfold_11 array.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
02:20 AM Feature #12043: Add a method to NoMethodError that tells if private methods are callable at the time of
This feature is **only** for "did_you_mean" gem, so I think that any name is OK, including implementation details.
...
nobu (Nobuyoshi Nakada)
02:09 AM Revision 1f5a0995 (git): * 2016-02-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:09 AM Revision 9bfa5d91 (git): extmk.rb: cygwin case
* ext/extmk.rb: add cygwin case, nothing excluded.
[ruby-core:73806] [Bug#12071]
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
02:02 AM Feature #12085 (Closed): [PATCH] openssl: document `exception: false' for *_nonblock
* ext/openssl/lib/openssl/buffering.rb
(read_nonblock, write_nonblock): document `exception: false'
Updated v2 ...
normalperson (Eric Wong)
 

Also available in: Atom