Project

General

Profile

Activity

From 12/07/2016 to 12/13/2016

12/13/2016

11:31 PM Bug #13031 (Rejected): Error in Ruby on Rails
Below is the error found in the terminal. I usually would not copy and paste the entire error message but it told me to do so.
I didn't update anything, I just found it like this after logging in after roughly 2 weeks away.
My Ra...
higginni (Niall Higgins)
08:25 PM Bug #13030 (Closed): Unexpected T_IMEMO object when building with VMDEBUG
Hello,
I'm trying to build Ruby 2.4.0-rc1 with VMDEBUG=3 for research purposes, but I'm getting this error.
~~~
/home/user/.rubies/ruby-2.4.0-rc1/lib/fileutils.rb:90:in `<module:FileUtils>': method `inspect' called on unexpected T_I...
jesus_castello (Jesus Castello)
08:23 PM Bug #13029 (Closed): Update doc/contributors.rdoc
As the file says "Feel free to add your name if your patch was accepted into Ruby".
Some of my patches:
HTML5 tag maker patch: #6637 and #7110
documentation patches: #12311, #12246, #12228, #10576, and others;
and main committer ...
stomar (Marcus Stollsteimer)
04:27 PM Feature #12944: Change Kernel#warn to call Warning.warn
The attached patch uses `rb_ary_join` to create the string to pass to `Warning.warn`, which should do a better job of handling corner cases such as `warn ["foo", "bar"]`. jeremyevans0 (Jeremy Evans)
05:34 AM Feature #12944: Change Kernel#warn to call Warning.warn
One thing to be confirmed, this patch lets `warn ["foo", "bar"]` print one line while two lines are printed now.
Is this OK?
nobu (Nobuyoshi Nakada)
05:08 AM Feature #12944: Change Kernel#warn to call Warning.warn
Jeremy Evans wrote:
> This didn't make 2.4.0rc1, but as matz has already accepted it, it should probably be committed before 2.4.0 final. If further changes are needed to the patch, please let me know.
OK.
nobu, could you handle this?
naruse (Yui NARUSE)
02:27 PM Bug #13028 (Closed): Binding#irb upon exiting makes _ retain the value of the last expression and never change it
Given an open `irb` session. After exiting from `binding.irb` the `_`, which is the last value of the current context, somehow retains the value of the last expression evaluated in the context of `binding.irb` and then doesn't change it.... dskecse (Dzianis Dashkevich)
08:21 AM Bug #12997: Out-of-bounds read in regcomp.c
Sure, created https://github.com/k-takata/Onigmo/issues/81. rhenium (Kazuki Yamaguchi)
05:17 AM Bug #12994 (Closed): Embedded ruby vs2015 build crashes
Applied in changeset r57072.
----------
declare `rb_w32_sysinit` in header.
* include/ruby/win32.h (rb_w32_sysinit): declare.
[ruby-core:78444] [Bug #12994]
* ruby.c (ruby_sysinit): follow above change.
usa (Usaku NAKAMURA)
05:17 AM Revision 42d9712e (git): declare `rb_w32_sysinit` in header.
* include/ruby/win32.h (rb_w32_sysinit): declare.
[ruby-core:78444] [Bug #12994]
* ruby.c (ruby_sysinit): follow above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:55 AM Revision 5dad4ef8 (git): require "irb/output-method" for StdioOutputMethod
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:55 AM Revision 8270a493 (git): make-snapshot: fix circular dependency
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:01 AM Revision 910848f2 (git): Update description of XMLRPC section.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

12/12/2016

10:54 PM Bug #12830 (Closed): OpenSSL 1.1.0+ support?
Yes, I don't expect any further action. vo.x (Vit Ondruch)
06:00 PM Bug #12830: OpenSSL 1.1.0+ support?
This looks resolved. naruse (Yui NARUSE)
06:39 PM Bug #12852: URI.parse can't handle non-ascii URIs
Matthew Kerwin wrote:
> Your thinking here seems confused. If a String contains non-ASCII characters then it's not a URI. If it is a URI then it strictly matches the definition of a URI. If a String contains a valid IRI, then yeah, you'...
naruse (Yui NARUSE)
06:05 PM Bug #12997: Out-of-bounds read in regcomp.c
Could you report it to Onigmo?
https://github.com/k-takata/Onigmo
naruse (Yui NARUSE)
06:04 PM Bug #12994 (Assigned): Embedded ruby vs2015 build crashes
naruse (Yui NARUSE)
06:02 PM Bug #9974 (Rejected): Regression: URI.parse allows invalid URIs
Larry Kyrala wrote:
> The URI abstraction speaks to RFC3986 (DNS) more directly than RFC952 (hostnames). The confusion is understandable.
> ...
JavaScript's `new URL("http://test_example")` accepts underscore.
Therefore I don't think...
naruse (Yui NARUSE)
04:18 PM Revision e12265da (git): get rid of a test failure with VC10.
* numeric.c (round_half_up, round_half_down): use `round` always because it's
defined in this file even if doesn't exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:43 PM Feature #12802: Add BLAKE2 support to Digest
> Nobuyoshi Nakada wrote:
> ...
Kazuki Yamaguchi wrote:
> Is there still a supported environment without 64-bit integer support? ext/digest/sha2/sha2.c is already using 64-bit integers. It is compiled only when OpenSSL (or CommonCrypto...
naruse (Yui NARUSE)
03:36 PM Bug #12666: Fatal error: glibc detected an invalid stdio handle
George Koehler wrote:
> For both BSD and Linux, I want to suggest
> ...
It breaks FreeBSD.
```
irb(main):001:0> require"fiddle"
=> true
irb(main):002:0> Fiddle.dlopen("libc.so")
Fiddle::DLError: /usr/lib/libc.so: invalid file fo...
naruse (Yui NARUSE)
03:33 PM Feature #12882: Add caller/file/line information to internal Kernel#warn calls
matz, can you update this ticket and let me know which of these four options you prefer:
1) Add :caller keyword argument to Kernel#warn (not backwards compatible API-wise).
2) Change Kernel#warn to automatically prepend caller(1,1) (...
jeremyevans0 (Jeremy Evans)
03:24 PM Bug #10774 (Closed): Regression: URI::MAilTo#to_mailtext - undefined method unescape for URI::RFC3986_Parser
Applied in changeset r57066.
----------
Use URI.decode_www_form_component [Bug #10774]
`parser` refered RFC2396_Parser, but it is separated.
test is contributed by Dominik Menke
naruse (Yui NARUSE)
03:24 PM Revision e29f932c (git): * 2016-12-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:24 PM Revision 6c0aece5 (git): Use URI.decode_www_form_component [Bug #10774]
`parser` refered RFC2396_Parser, but it is separated.
test is contributed by Dominik Menke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:24 PM Feature #12944: Change Kernel#warn to call Warning.warn
This didn't make 2.4.0rc1, but as matz has already accepted it, it should probably be committed before 2.4.0 final. If further changes are needed to the patch, please let me know. jeremyevans0 (Jeremy Evans)
03:05 PM Bug #13024: Confusing error message matching a non-ASCII string with ASCII-regex
Hmm, maybe the error message express /.../n is ASCII-8BIT (binary) regexp... naruse (Yui NARUSE)
02:55 PM Revision 31f17f88 (git): st: Add 'static const'
patched by Ken Takata [ruby-core:78558]
https://github.com/k-takata/Onigmo/commit/44e3c0a16da1116be641ea807c1202434b743ace
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:43 PM Misc #13027 (Closed): Release Engineering 2.4
META ticket for Release Engineering 2.4.
see also version#33
* current status: feature freeze
* Q: Can I add a new feature?
* A: No. Its status is already "feature freeze".
* Q: Can I fix a bug?
* A: Yes
* Q: I want to com...
naruse (Yui NARUSE)
01:37 PM Revision 8f21d921 (git): fix command
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:20 PM Revision 325c8362 (git): Use 7z if exist
7z can compress with higher ratio than gzip/zip.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:12 PM Revision c45bf662 (git): NEWS: Add String#match? and Symbol#match? [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:12 PM Revision 908edb0d (git): NEWS: Use spaces instead of tab [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:12 PM Revision aa91e864 (git): NEWS: Sort entries [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:30 AM Feature #8158: lightweight structure for loaded features index
I've tried to simplify patch: remove `struct feature_str` and use just pointer with len.
https://bugs.ruby-lang.org/attachments/download/6295/load.c-loaded_features_numindex.patch
https://github.com/ruby/ruby/compare/trunk...funny-...
funny_falcon (Yura Sokolov)
10:44 AM Feature #8158: lightweight structure for loaded features index
I've uploaded fixed patch:
https://bugs.ruby-lang.org/attachments/download/6293/0001-load.c-reduce-memory-usage-of-loaded_features_index.patch
Github branch and diff:
https://github.com/funny-falcon/ruby/tree/loaded_features_strings...
funny_falcon (Yura Sokolov)
08:05 AM Feature #8158: lightweight structure for loaded features index
I'll fix patch today. funny_falcon (Yura Sokolov)
07:20 AM Feature #8158: lightweight structure for loaded features index
Usaku NAKAMURA wrote:
> In message "[ruby-core:78595] Re: [Ruby trunk Feature#8158] lightweight structure for loaded features index"
> ...
Other compilers fail, IIRC, Solaris, AIX, HP-UX, or something.
nobu (Nobuyoshi Nakada)
06:41 AM Feature #8158: lightweight structure for loaded features index
Hi,

In message "[ruby-core:78595] Re: [Ruby trunk Feature#8158] lightweight structure for loaded features index"
on Mon, 12 Dec 2016 06:06:13 +0000, [email protected] wrote:
> I'm not sure about the portability of initializing ...
usa (Usaku NAKAMURA)
06:09 AM Feature #8158: lightweight structure for loaded features index
[email protected] wrote:
> So patch now is shorter.
> https://bugs.ruby-lang.org/attachments/download/6182/0001-load.c-reduce-memory-usage-of-loaded_features_index.patch

Thanks; this got broken by trivial whitespace change in ...
normalperson (Eric Wong)
11:03 AM Feature #13026 (Open): Public singleton methods
Abstract
---------
I would like to propose the implementation of:
```
Object#public_singleton_methods
```
`Object#public_singleton_methods` should return a list of public singleton methods.
Background
------------
Curr...
subtileos (Daniel Ferreira)
07:18 AM Feature #13025 (Feedback): String equality operator does not perform implicit conversion
What documentation do you refer?
The document of 2.3 says:
> If `obj` is not an instance of String but responds to `to_str`, then the
> ...
(the method to be called is wrong, though)
Do you suggest changing the fallback method?
nobu (Nobuyoshi Nakada)
06:03 AM Feature #13025 (Feedback): String equality operator does not perform implicit conversion
According to the documentation, String#== should perform implicit conversion of non-strings, but this is not happening.
~~~ruby
class SomeClass
def initialize(value)
@value = value
end
def to_str
@value.to_s
e...
johncarney (John Carney)
07:12 AM Revision c95388a5 (git): string.c: fix method name in rdoc [ci skip]
* string.c (rb_str_equal): [DOC] fix fallback method name. the
peer's == method will be used, not ===.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:39 AM Misc #12976 (Closed): Update example of Hash#value? and Hash#has_value?
Thank you. shyouhei (Shyouhei Urabe)
03:19 AM Revision 9f379854 (git): test for Symbol#match? [Feature #12898]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:07 AM Revision e2583b17 (git): test_m17n.rb: escape
* test/ruby/test_m17n.rb (test_regexp_ascii_none): escape regexp
meta characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:56 AM Feature #12898 (Closed): String#match? method in addition to Regexp#match?
Applied in changeset r57053.
----------
String#match? and Symbol#match?
* string.c (rb_str_match_m_p): inverse of Regexp#match?. based on
the patch by Herwin Weststrate <[email protected]>.
[Fix GH-1483] [Feature #12898]
nobu (Nobuyoshi Nakada)
02:56 AM Revision 6dd5ee75 (git): String#match? and Symbol#match?
* string.c (rb_str_match_m_p): inverse of Regexp#match?. based on
the patch by Herwin Weststrate <[email protected]>.
[Fix GH-1483] [Feature #12898]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57053 b2dd03c8-39d4-4d8f-98f...
nobu (Nobuyoshi Nakada)
02:38 AM Revision 3f3fc018 (git): * 2016-12-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:38 AM Revision 2800e6a0 (git): re.c: char boundary
* re.c (rb_reg_match_m_p): consider char boundary. rb_str_subpos
does not adjust to the boundary if len == 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

12/11/2016

07:28 PM Bug #13024 (Closed): Confusing error message matching a non-ASCII string with ASCII-regex
```ruby
irb(main):001:0> "\u2603".match(/./n)
(irb):1: warning: regexp match /.../n against to UTF-8 string
=> #<MatchData "☃">
```
I actually had to read the source to discover the intention of this error (partly because I copied...
herwin (Herwin W)
02:40 PM Bug #13022 (Rejected): Nested array syntax error returns nil
marcandre (Marc-Andre Lafortune)
01:08 PM Feature #12898: String#match? method in addition to Regexp#match?
Accepted.
Matz.
matz (Yukihiro Matsumoto)
09:20 AM Misc #12976: Update example of Hash#value? and Hash#has_value?
This has been integrated, so this ticket can be closed herwin (Herwin W)
09:20 AM Revision 7e8b910a (git): parse.y: zero codepoints
* parse.y (parser_tokadd_utf8): relax restriction to allow zero or
more codepoints.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:13 AM Revision 1d51f427 (git): fix Zlib.gzip/gunzip document
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:24 AM Bug #13023 (Rejected): missing library when trying to install 2.3 via rvm - pointing to directory on someone computer
nobu (Nobuyoshi Nakada)

12/10/2016

10:18 PM Bug #13019: Fix st_hash* functions
It passes SMHasher (at least, little-endian variant). funny_falcon (Yura Sokolov)
09:36 PM Bug #13023 (Rejected): missing library when trying to install 2.3 via rvm - pointing to directory on someone computer
I don;t know who the Travis is but literally I cannot make 2.3.3 to work with rvm and gem.
See screenshot attached.
Didn't know where to post this.
If this is wrong group delete it.
Beyo (Sebastian Szwarc)
06:34 PM Revision 5ec23b52 (git): Updated documentation examples for Hash#value?
The same code is used for has_value? and value?, but according to
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/43765
has_value is deprecated. Use the non-deprecated syntax in the examples.
by Herwin Weststrate <herwin@snt....
naruse (Yui NARUSE)
06:23 PM Revision 66c9bb11 (git): Add missing :nodoc: comment
We were missing a `:nodoc:` magic comment that was making automated tools show
that this method was missing documentation, when it really didn't need to be
documented.
by Devon Estes <[email protected]>
https://github.com/ruby/ruby...
naruse (Yui NARUSE)
05:47 PM Revision 548ec36c (git): * 2016-12-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:47 PM Revision 2873edea (git): Merge Onigmo 6.0.0
* https://github.com/k-takata/Onigmo/blob/Onigmo-6.0.0/HISTORY
* fix for ruby 2.4: https://github.com/k-takata/Onigmo/pull/78
* suppress warning: https://github.com/k-takata/Onigmo/pull/79
* include/ruby/oniguruma.h: include onigmo.h.
* ...
naruse (Yui NARUSE)
05:28 PM Bug #13022: Nested array syntax error returns nil
Yes, this is expected behavior. Ruby parses this as:
~~~ ruby
[[1,3], [5,6].[](11, 15), [17,22]]
~~~
And Array#[] returns nil if the starting index (11) is out of range.
jeremyevans0 (Jeremy Evans)
05:07 PM Bug #13022 (Rejected): Nested array syntax error returns nil
If you leave out a comma in a nested array, ruby returns `nil` instead of raising a SyntaxError. Is this expected behavior?
1. Create a nested array with a missing comma:
[[1,3], [5,6] [11, 15], [17,22]] #=> [[1, 3], nil, [17, 22]]
harrywhelchel (Harry Whelchel)
01:16 PM Bug #12348 (Closed): PKey::EC.public_key returns EC::Point
There is an inconsistency with other OpenSSL::PKey classes in #public_key method. However I don't think it's worth breaking backwards compatibility in order to align the behavior with the other classes, as OpenSSL::PKey::{RSA,DSA,DH}#pub... rhenium (Kazuki Yamaguchi)
01:06 PM Feature #12085 (Closed): [PATCH] openssl: document `exception: false' for *_nonblock
Applied as 5c31e7233476 at the new repository:
https://github.com/ruby/openssl/commit/5c31e7233476bec184cac239b5d36de68dbd997e
and is already imported to trunk as a part of openssl v2.0.0.
rhenium (Kazuki Yamaguchi)
01:03 PM Bug #12952 (Closed): Incompatibility of a method signature between `Float#round` and `BigDecimal#round`
mrkn (Kenta Murata)
01:03 PM Bug #12952: Incompatibility of a method signature between `Float#round` and `BigDecimal#round`
I've fixed this in bigdecimal version 1.3.0.pre, which has already been imported in trunk. mrkn (Kenta Murata)
12:37 PM Bug #8831 (Closed): test-all error: OpenSSL::SSL::SSLError: SSL_write: bad write retry
#12126 should have fixed the root cause. r42790 is already reverted (EDIT: by f542fb60add7 at GitHub ruby/openssl and imported to trunk by r56946) and RubyCI seems to be happy with this. rhenium (Kazuki Yamaguchi)
12:28 PM Bug #10166 (Closed): Problem with openssl and ext/openssl - ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
rhenium (Kazuki Yamaguchi)
12:25 PM Feature #12254 (Closed): Add SSLCiphers option to webrick ssl.rb
The patch has already been merged by r54669. rhenium (Kazuki Yamaguchi)
08:56 AM Revision 42a677c8 (git): bigdecimal: version 1.3.0.pre.2
Import bigdecimal version 1.3.0.pre.2. The full commit log is here:
https://github.com/ruby/bigdecimal/compare/v1.3.0.pre...v1.3.0.pre.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
08:54 AM Revision 30540c56 (git): stringio.c: chomp CR
* ext/stringio/stringio.c (strio_getline): chomp CR not only LF,
as well as String#chomp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:26 AM Bug #13021 (Closed): `Zlib.gunzip` modifies argument String
Applied in changeset r57042.
----------
zlib.c: replace with substring
* ext/zlib/zlib.c (zstream_discard_input): replace with unread
portion substring, not modifying the input buffer directly.
[ruby-core:78567] [Bug #13021]
nobu (Nobuyoshi Nakada)
03:48 AM Bug #13021: `Zlib.gunzip` modifies argument String
```patch
diff --git i/ext/zlib/zlib.c w/ext/zlib/zlib.c
index 78860132df..0ce14198cc 100644
--- i/ext/zlib/zlib.c
+++ w/ext/zlib/zlib.c
@@ -879,9 +879,8 @@ zstream_discard_input(struct zstream *z, long len)
z->input = Qnil;
...
nobu (Nobuyoshi Nakada)
02:00 AM Bug #13021 (Closed): `Zlib.gunzip` modifies argument String
```
% irb -r irb/completion --simple-prompt
>> RUBY_DESCRIPTION
=> "ruby 2.4.0dev (2016-12-10 trunk 57036) [x86_64-linux]"
> ...
=> true
>> gz=Zlib.gzip('test')
=> "\x1F\x8B\b\x00\xBF`KX\x00\x03+I-.\x01\x00\f~\x7F\xD8\x04\x00\x00\x...
znz (Kazuhiro NISHIYAMA)
08:26 AM Revision f46a1377 (git): zlib.c: replace with substring
* ext/zlib/zlib.c (zstream_discard_input): replace with unread
portion substring, not modifying the input buffer directly.
[ruby-core:78567] [Bug #13021]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57042 b2dd03c8-39d4-4d8f-98f...
nobu (Nobuyoshi Nakada)
08:12 AM Revision 0c83666c (git): openssl: import v2.0.1
Import Ruby/OpenSSL 2.0.1. The full commit history since 2.0.0 (imported
at r56946) can be found at:
https://github.com/ruby/openssl/compare/v2.0.0...v2.0.1
This release contains only bug fixes. Note, the first two commits since
v2.0...
rhenium (Kazuki Yamaguchi)
07:49 AM Revision 8e129373 (git): bigdecimal: import version 1.3.0.pre
Import bigdecimal version 1.3.0.pre. The full commit log of this
changes can be found at:
https://github.com/ruby/bigdecimal/compare/5c43a9e...v1.3.0.pre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57040 b2dd03c8-39d4-4d8f-9...
Kenta Murata
07:23 AM Bug #9192 (Closed): Inconsistent comparison between Float and BigDecimal
mrkn (Kenta Murata)
07:23 AM Bug #9192: Inconsistent comparison between Float and BigDecimal
This is fixed in the latest master branch of [ruby/bigdecimal](https://github.com/ruby/bigdecimal). mrkn (Kenta Murata)
07:19 AM Bug #9689 (Closed): (BigDecimal + Float) no longer commutative due to #7176
This is fixed in the latest master branch of [ruby/bigdecimal](https://github.com/ruby/bigdecimal). mrkn (Kenta Murata)
07:14 AM Feature #12161 (Closed): Friendly BigDecimal#inspect
This is fixed in the latest master branch of [ruby/bigdecimal](https://github.com/ruby/bigdecimal). mrkn (Kenta Murata)
07:13 AM Bug #10286 (Closed): BigDecimal - inconsistency with other numeric classes
This was fixed in the latest master branch of [ruby/bigdecimal](https://github.com/ruby/bigdecimal). mrkn (Kenta Murata)
07:01 AM Bug #10613: SNI is not optional when using TLS
Which server? TLS servers conforming to the TLS/TLS extensions specification should simply ignore the extension if it is not supported. rhenium (Kazuki Yamaguchi)
06:36 AM Bug #11947 (Closed): BigDecimal#coerce: unexpected behavior with Float
This fixed on the current master branch of [ruby/bigdecimal](https://github.com/ruby/bigdecimal) repository.
So I close this issue.
mrkn (Kenta Murata)
06:25 AM Revision 2dd99307 (git): Fix grammer [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:36 AM Bug #12958 (Closed): Breaking change in how `#round` works
Applied in changeset r57038.
----------
internal.h: change the default rounding mode to half-up
* internal.h (ROUND_DEFAULT): changed to RUBY_NUM_ROUND_HALF_UP.
[Bug #12958] [ruby-core:78204]
* test/ruby/test_integer.rb: fix asserti...
mrkn (Kenta Murata)
02:20 AM Bug #12958: Breaking change in how `#round` works
OK, the default behavior should be kept unchanged.
Matz.
matz (Yukihiro Matsumoto)
02:36 AM Revision f72be814 (git): internal.h: change the default rounding mode to half-up
* internal.h (ROUND_DEFAULT): changed to RUBY_NUM_ROUND_HALF_UP.
[Bug #12958] [ruby-core:78204]
* test/ruby/test_integer.rb: fix assertions for the above change.
* test/ruby/test_rational.rb: ditto.
* test/test_mathn.rb: ditto.
git...
Kenta Murata
02:16 AM Revision adc9c71f (git): Fix document of gunzip and gzip [ci skip]
- fix a typo (`GzipReadr` -> `GzipReader`)
- `Zlib::GzipReader.new` does not take block
- fix encoding
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
12:21 AM Feature #13020: Zlib.gzip and Zlib.gunzip
[email protected] wrote:
> I added Zlib.deflate/inflate [Feature #4180] before, but writing/reading gzip is still too complex.
> It should have shorthand method.

I like the convenience, but I think encouraging use of
potentially l...
normalperson (Eric Wong)

12/09/2016

10:45 PM Feature #13020 (Closed): Zlib.gzip and Zlib.gunzip
Applied in changeset r57035.
----------
Zlib.gzip and Zlib.gunzip [Feature #13020]
Encode and Decode gzip data without creating files.
naruse (Yui NARUSE)
10:37 PM Feature #13020 (Closed): Zlib.gzip and Zlib.gunzip
I added Zlib.deflate/inflate [Feature #4180] before, but writing/reading gzip is still too complex.
It should have shorthand method.
naruse (Yui NARUSE)
10:45 PM Revision 5ae717f2 (git): * 2016-12-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:45 PM Revision 583b6dc3 (git): Zlib.gzip and Zlib.gunzip [Feature #13020]
Encode and Decode gzip data without creating files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:45 PM Revision 1f63c0fc (git): Suppress warning: this use of "defined" may not be portable
Use of defined() in macro expansion is considered non portable.
https://gcc.gnu.org/ml/gcc-patches/2014-10/msg01577.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:25 PM Bug #12958: Breaking change in how `#round` works
I would echo 100% of what mathew murphy wrote, and also add that this negatively affects ergonomics for the vast majority of cases where one wants to not use banker's rounding. I now need to know that Ruby rounds Floats differently than ... chrisccerami (Chris Cerami)
03:31 PM Bug #12958: Breaking change in how `#round` works
For the record, I think that the new choice of default is poor.
People have a normal everyday expectation for how numbers are rounded. I claim that the expectation is that >= .5 rounds up, <.5 rounds down.
I cite as evidence:
...
meta (mathew murphy)
07:14 PM Bug #13019: Fix st_hash* functions
Yura Sokolov wrote:
> Previous implementation had an issues:
> ...
Although performance of MRI hash benchmarks are not improved by this patch, I confirm a bad behaviour of the current variant of murmur hash in MRI. A half year ago, I...
vmakarov (Vladimir Makarov)
02:02 PM Bug #13019 (Closed): Fix st_hash* functions
Previous implementation had an issues:
- macros murmur1 assumes murmur_step takes rotation value
as a second argument
- but murmur_step second argument is "next block"
- this makes st_hash_uint and st_hash_end to not mix high bits ...
funny_falcon (Yura Sokolov)
06:48 PM Feature #13017: Switch SipHash from SipHash24 to SipHash13
Since we removed recently the code switching weak/strong hashes, the speed of the strong hash (siphash24) became important.
According to my measurements on i7-4790K, Switching from siphash24 to siphash13 improves MRI hash table benchm...
vmakarov (Vladimir Makarov)
08:19 AM Feature #13017: Switch SipHash from SipHash24 to SipHash13
Eric, you are right. Excuse me for that.
Just uploaded right version.
funny_falcon (Yura Sokolov)
01:11 AM Feature #13017: Switch SipHash from SipHash24 to SipHash13
[email protected] wrote:
> Feature #13017: Switch SipHash from SipHash24 to SipHash13
> https://bugs.ruby-lang.org/issues/13017

I think the wrong patch was uploaded to redmine:

> ---Files--------------------------------
> ...
normalperson (Eric Wong)
06:14 PM Bug #10613: SNI is not optional when using TLS
Is there any chance of this patch getting merged?
We're encountering this bug and are currently monkeypatching the Net::HTTP#connect method to disable SNI for the connections where it's problematic.
bschmeck (Ben Schmeckpeper)
11:07 AM Feature #12142: Hash tables with open addressing
I think the array `features` should be `static const`.
https://github.com/k-takata/Onigmo/commit/44e3c0a16da1116be641ea807c1202434b743ace
k_takata (Ken Takata)
03:25 AM Revision c047f58d (git): ruby.h: add prefix
* include/ruby/ruby.h (RB_TEST, RB_NIL_P): prefix RB to get rid of
name conflicts with other headers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:59 AM Revision d8761cf2 (git): Adjust indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:57 AM Revision b8095e59 (git): * 2016-12-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:57 AM Revision e9a8e8ab (git): remove core#hash_merge_ary
* compile.c (compile_array_): remove m_core_hash_merge_ary which
seems unreachable, and wrong number of arguments.
* vm.c (m_core_hash_merge_ary): removed because it is never used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57...
nobu (Nobuyoshi Nakada)
01:28 AM Feature #12982: ruby 2.3.1 got crash on macos

here is the detail procedure.
https://github.com/padrino/padrino-framework/issues/2097
hunterhu (Hunter Hu)

12/08/2016

09:16 PM Bug #8241: If uri host-part has underscore ( '_' ), 'URI#parse' raise 'URI::InvalidURIError'
Here is a unobtrusive workaround using the documented capabilities of URI:
~~~ ruby
module URI
DEFAULT_PARSER = Parser.new(:HOSTNAME => "(?:(?:[a-zA-Z\\d](?:[-\\_a-zA-Z\\d]*[a-zA-Z\\d])?)\\.)*(?:[a-zA-Z](?:[-\\_a-zA-Z\\d]*[a-zA-Z\...
coldnebo (Larry Kyrala)
08:34 PM Bug #9974: Regression: URI.parse allows invalid URIs
The URI abstraction speaks to RFC3986 (DNS) more directly than RFC952 (hostnames). The confusion is understandable.
Still, standards-based systems exist right now that allow this (e.g. we have an nginx deployed application that chose...
coldnebo (Larry Kyrala)
06:59 PM Bug #13018: end of file reached (EOFError) from SMTP
Fix typo tobymurray-nanometrics (Toby Murray)
06:53 PM Bug #13018 (Closed): end of file reached (EOFError) from SMTP
Originally filed against Rails: https://github.com/rails/rails/issues/27298
```
require 'net/smtp'
real_email_address = '' # This needs to actually be a real account
real_email_password = '' # This needs to actually be the corres...
tobymurray-nanometrics (Toby Murray)
05:36 PM Feature #13017 (Closed): Switch SipHash from SipHash24 to SipHash13
SipHash13 is secure enough to be used in hash-tables, and SipHash's author confirms that.
Rust already considered switch to SipHash13:
https://github.com/rust-lang/rust/issues/29754#issue-116174313
Jean-Philippe Aumasson confirmatio...
funny_falcon (Yura Sokolov)
02:14 PM Bug #12958: Breaking change in how `#round` works
> It is true that we fixed one inconsistency to introduce another.
The new inconsistency seems worse to me. Having Numeric classes like BigDecimal and Float being consistent is more important in my opinion. People will tend to use th...
jduff (John Duff)
01:51 PM Revision 761653db (git): compile.c: static_literal_value
* compile.c (static_literal_value): separate getter from predicate
function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:58 PM Revision f573eee2 (git): extension.rdoc: add ANYARGS to method definitions
* doc/extension.rdoc (rb_define_method, rb_define_singleton_method,
rb_define_private_method, rb_define_protected_method,
rb_define_module_function, rb_define_global_function): set ANYARGS
as arguments to their underlying functions...
znz (Kazuhiro NISHIYAMA)
11:30 AM Feature #13016: String#gsub(hash)
Shyouhei Urabe wrote:
> It seems there are quite few resources describing this feature on line.
Thanks!
> ...
Can you write the last sentence in Japanese? The word 'hustle' has lots of meanings, some of them confusing.
> ...
duerst (Martin Dürst)
10:16 AM Feature #13016: String#gsub(hash)
Martin Dürst wrote:
> Shyouhei Urabe wrote:
> ...
It seems there are quite few resources describing this feature on line.
- I learned it by command line "nkf --help". The output says "4: JISX0208 Katakana to JISX0201 Katakana".
- ...
shyouhei (Shyouhei Urabe)
09:22 AM Feature #13016: String#gsub(hash)
Shyouhei Urabe wrote:
> I noticed that I can't purge `NKF.nkf '-Z4'`. It can neither be rewritten using String#tr, String#encode, nor String#unicode_normalize.
Can you give (a pointer to) a detailed description of what NKF, and in p...
duerst (Martin Dürst)
08:50 AM Feature #13016: String#gsub(hash)
Akira Tanaka wrote:
> Is str.gsub(map) a shortcut for str.gsub(Regexp.union(map.keys)) { map[$&] } ?
Kind of yes. I was thinking of str.gsub(Regexp.union(map.keys), map) -equivalent behaviour.
shyouhei (Shyouhei Urabe)
08:29 AM Feature #13016: String#gsub(hash)
Is str.gsub(map) a shortcut for str.gsub(Regexp.union(map.keys)) { map[$&] } ? akr (Akira Tanaka)
08:21 AM Feature #13016 (Rejected): String#gsub(hash)
Background: I wanted to drop NKF dependency of my script. By doing so I noticed that I can't purge `NKF.nkf '-Z4'`. It can neither be rewritten using String#tr, String#encode, nor String#unicode_normalize. It is doable using String#gsu... shyouhei (Shyouhei Urabe)
10:11 AM Bug #13014: Adding clang volatile fixes from FreeBSD and NetBSD
Dimitry Andric wrote:
> Can we please backport these fixes to 2.1, 2.2 and 2.3?
2.1 won't be fixed because it's in the phase of security maintenance.
But 2.2 and 2.3 will be fixed.
> ...
You don't have to do anything now.
We s...
usa (Usaku NAKAMURA)
09:52 AM Bug #13014: Adding clang volatile fixes from FreeBSD and NetBSD
Can we please backport these fixes to 2.1, 2.2 and 2.3? I am willing to do the work for supplying the patches, as we already have them in the FreeBSD ports collection.
Does this require a new issue, or can we re-use this one?
_dim (Dimitry Andric)
08:31 AM Bug #13012 (Closed): irb fails to define a method with a reserved-word-ish keyword argument
Applied in changeset r57027.
----------
ruby-lex.rb: fix for label
* lib/irb/ruby-lex.rb (identify_identifier): treat identifier just
followed by a colon as a lable. this is not a precise solution
but enough for the time being. [...
nobu (Nobuyoshi Nakada)
08:31 AM Revision 519af468 (git): ruby-lex.rb: fix for label
* lib/irb/ruby-lex.rb (identify_identifier): treat identifier just
followed by a colon as a lable. this is not a precise solution
but enough for the time being. [ruby-core:78526] [Bug #13012]
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
08:25 AM Revision 18c9bf5d (git): test/unit.rb: fix -n option
* test/lib/test/unit.rb (non_options): turn name patterns into
Regexps.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:54 AM Revision ea07884a (git): compile.c: optimize literal nodes
* compile.c (static_literal_node_p): optimize literal nodes for
true, false, and nil, which are static literals in specific
nodes but not in NODE_LIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57025 b2dd03c8-39d4-4d8f-98ff-8...
nobu (Nobuyoshi Nakada)
06:19 AM Bug #13015 (Closed): Segfault when using super and underscore parameters
Applied in changeset r57024.
----------
vm.c: check type of hash to merge
* vm.c (core_hash_merge): check the type of the target hash to
merge. [ruby-core:78536] [Bug #13015]
nobu (Nobuyoshi Nakada)
04:36 AM Bug #13015 (Closed): Segfault when using super and underscore parameters
Having multiple parameters named `_` in a method works fine until you try to use the `super` keyword, at which point a segfault occurs. The use case where I ran into this was when I needed to create a child class which extends the initia... justcolin (Colin Fulton)
06:19 AM Revision 05f891cb (git): vm.c: check type of hash to merge
* vm.c (core_hash_merge): check the type of the target hash to
merge. [ruby-core:78536] [Bug #13015]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:16 AM Bug #12729 (Closed): crash after refining private method to public
Applied in changeset r57023.
----------
vm_insnhelper.c: zsuper in refinements
* vm_insnhelper.c (vm_call_zsuper): prevent infinite recursion
zsuper in refinements. [ruby-core:77161] [Bug #12729]
nobu (Nobuyoshi Nakada)
05:16 AM Revision 7bbab207 (git): vm_insnhelper.c: zsuper in refinements
* vm_insnhelper.c (vm_call_zsuper): prevent infinite recursion
zsuper in refinements. [ruby-core:77161] [Bug #12729]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:22 AM Feature #12871: Using the algorithm like math.fsum of Python for Array#sum
Thank you.
Julia's algorithm looks good. But in some case, Python's algorithm is still better than that.
~~~
# julia 0.5.0
sum_kbn([1.0e100, 1.0, 1.0e-100, -1.0, -1.0e100]) # => 0.0
~~~
~~~ python
# python 3.5.2
from math i...
labocho (Keisuke NISHI)
12:45 AM Revision 510f0ec8 (git): parse.y: ripper generic input
* parse.y (ripper_initialize): allow generic input as source, if
it has #gets method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

12/07/2016

11:47 PM Revision d8bcfd2b (git): Add volatile to a suppress warning.
Without the fix, the following warning is shown:
compiling cont.c
cont.c: In function ‘rb_callcc’:
cont.c:949:39: warning: passing argument 1 of ‘cont_capture’ discards ‘volatile’ qualifier from pointer target type [-Wdiscar...
shugo (Shugo Maeda)
11:27 PM Bug #13014 (Closed): Adding clang volatile fixes from FreeBSD and NetBSD
Applied in changeset r57020.
----------
Add clang volatile fixes from FreeBSD and NetBSD.
Use volatile instead of optnone to avoid optimization which causes
segmentation faults.
Patch by Dimitry Andric. [ruby-core:78531] [Bug #13014]
shugo (Shugo Maeda)
10:03 PM Bug #13014: Adding clang volatile fixes from FreeBSD and NetBSD
Ok, I also tested this on x86_64-freebsd12, and there it still got a segfault in `cont_capture()`. This was caused by the `stat` parameter being a pointer to a volatile int, while it should have been a volatile pointer to an int.
Here...
_dim (Dimitry Andric)
08:52 PM Bug #13014 (Closed): Adding clang volatile fixes from FreeBSD and NetBSD
Referring to bug #12893, where segfaults were observed when compiling with recent versions of clang. In particular in cont.c, about which Shugo Maeda noted that he could reproduce this on FreeBSD. These segfaults are most likely caused... _dim (Dimitry Andric)
11:27 PM Revision 472959f9 (git): Add clang volatile fixes from FreeBSD and NetBSD.
Use volatile instead of optnone to avoid optimization which causes
segmentation faults.
Patch by Dimitry Andric. [ruby-core:78531] [Bug #13014]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
11:20 PM Bug #12893: trunk fails on linux with clang on test with callcc
Dimitry Andric wrote:
> > > NetBSD pkgsrc and FreeBSD ports were fixed by adding volatile.
> ...
Adding the latter version to cont_capture() didn't work, but your full patch set did work.
Thank you!
shugo (Shugo Maeda)
08:54 PM Bug #12893: trunk fails on linux with clang on test with callcc
Shugo Maeda wrote:
> Yui NARUSE wrote:
> ...
Did you add it as `volatile rb_context_t *cont`, or as `rb_context_t *volatile cont`? Only the latter is correct.
Please refer to #13014 for the full patch set, including fix for `cont_n...
_dim (Dimitry Andric)
04:18 PM Bug #13013: Segmentation fault
Yes thank you. I just came back to report that. Thank you for your time. prees (Phil Rees)
04:13 PM Bug #13013 (Rejected): Segmentation fault
You are mixing Ruby 2.0.0 and Ruby 2.3.
You are running Ruby 2.0.0 with a gem built with Ruby 2.3.
usa (Usaku NAKAMURA)
03:38 PM Bug #13013 (Rejected): Segmentation fault
Using ruby 2.3.0 with rvm. Running a very basic script, with the gems in attached file. Generates the crash report, also attached. Happy to provide any more details needed to help solve this.
Tried a fresh ruby install, same problem.
prees (Phil Rees)
03:30 PM Revision e8914fb3 (git): * 2016-12-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:30 PM Revision 0fe7dc7a (git): fix typo in `IO#write_nonblock` example [ci skip]
This example explains when writing a value greater than 65536,
so the value specify must be greater than 65536.
This seems to be wrong in cee7f69
Patch by: Yuji Yaginuma <[email protected]>
[Fix GH-1496]
git-svn-id: svn+ssh://c...
znz (Kazuhiro NISHIYAMA)
02:39 PM Revision 1db7b0ad (git): ruby.c: dump option
* ruby.c (process_options): dump specified informations all, not
only first one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:26 PM Revision c9530982 (git): assertions.rb: defered message in FailDesc
* test/lib/test/unit/assertions.rb (FailDesc): allow to defer
message generation, as well as other assertion methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:59 PM Bug #13007 (Closed): Webbrick takes 5s to start when machine name looks like a real domain
Applied in changeset r57014.
----------
Delay Utils.getservername until needed.
There is no need to call Utils.getservername when the :ServerName option is
specified, so delay Utils.getservername until needed to avoid unnecessary
DNS l...
shugo (Shugo Maeda)
08:27 AM Bug #13007: Webbrick takes 5s to start when machine name looks like a real domain
Hmm, I see. No objection for the approach then. shyouhei (Shyouhei Urabe)
05:11 AM Bug #13007: Webbrick takes 5s to start when machine name looks like a real domain
Shyouhei Urabe wrote:
> Sad news is gethostbyname blocks under the hood in the system library, not in ruby's code.
> ...
It seems not a reverse lookup issue, but a forward lookup issue.
It sounds reasonable to delay the call of Util...
shugo (Shugo Maeda)
12:59 PM Revision 06a9b6bd (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:59 PM Revision 03ec7397 (git): Delay Utils.getservername until needed.
There is no need to call Utils.getservername when the :ServerName option is
specified, so delay Utils.getservername until needed to avoid unnecessary
DNS lookups. [ruby-core:78492] [Bug #13007]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
shugo (Shugo Maeda)
08:44 AM Revision 8d879ca3 (git): compile.c: remove dead code
* compile.c (DECL_ANCHOR, INIT_ANCHOR): make anchor name an array
and unassignable.
* compile.c (iseq_compile_each): ret is never 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:54 AM Bug #13012 (Closed): irb fails to define a method with a reserved-word-ish keyword argument
For example
```
def a(if:) end
```
is a valid ruby code but this doesn't work on irb.
This seems to be happening for all keywords that are listed in `RubyLex::ENINDENT_CLAUSE`
matsuda (Akira Matsuda)
04:28 AM Feature #10208 (Feedback): Passing block to Enumerable#to_h
FYI if there are people who need this functionality: so far we have not found an appropriately sounding name of this method. It should be a method of Enumerable (not only Hash), that takes a block, and returns a Hash. shyouhei (Shyouhei Urabe)
04:25 AM Revision f2b6e9f0 (git): hash.c: hash should be long
* hash.c (any_hash): should return `long', because ruby assumes
the hash value of the object id of an object is `long'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:19 AM Revision 9db0b2d7 (git): win32.c: suppress warning
* win32/win32.c (rb_w32_home_dir): suppress sequence-point
warning, REALLOC_N re-assigns the variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:41 AM Revision f4b51e69 (git): Extend timeout for Solaris unstable10s.
http://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10s/ruby-trunk/log/20161206T181910Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
02:19 AM Bug #13008 (Closed): File::basename fails if extension contains a colon
Applied in changeset r57009.
----------
file.c: cygwin behavior
* file.c: recent cygwin hides NTFS specific features.
[ruby-core:78497] [Bug #13008]
nobu (Nobuyoshi Nakada)
02:19 AM Revision 7eb8d74f (git): file.c: cygwin behavior
* file.c: recent cygwin hides NTFS specific features.
[ruby-core:78497] [Bug #13008]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:03 AM Revision 2201331d (git): * 2016-12-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:03 AM Revision 3826f177 (git): const pointer is not able to be free.
* win32/file.c (rb_default_home_dir): should not be marked as const.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:09 AM Bug #13005: Inline rescue is inconsistent when rescuing NoMethodError
Martin Dürst wrote:
> @matz: Is there a good reason that `o.a = 1 rescue $!.class` is interpreted as `o.a = (1 rescue $1.class)`, while it looks to me as if `o.a = 1 if $!.class` is `(o.a = 1) if $!.class`?
> ...
I guess issue #12402 i...
shyouhei (Shyouhei Urabe)
12:07 AM Bug #13010 (Third Party's Issue): Tried utilizing RBENV & now RVM...from 2.3.0 to 2.3.1 to 2.3.3 - same errors over and over
Ryan R wrote:
> Complete removal and reinstall of openssl resolved the issue.
Good to hear that. Thank you reporting anyway.
shyouhei (Shyouhei Urabe)
 

Also available in: Atom