Activity
From 12/31/2014 to 01/06/2015
01/06/2015
- 08:56 PM Revision bc5fd04f (git): * 2015-01-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:56 PM Revision cd3bf498 (git): * test/ruby/test_method.rb: Add test for &-coersion of an
- UnboundMethod.
* test/ruby/test_module.rb: Add test for define_method given an
UnboundMethod.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:06 PM Bug #10450: multiple assignment in conditional
- We just got a report on JRuby that we DO NOT error if masgn is in a conditional: https://github.com/jruby/jruby/issues/2433#issuecomment-68882716
My main two takeaways:
1. I don't think many people ever try to do this since it took s... -
03:28 PM Bug #10700: On case-sensitive filesystem on OS X, Dir.glob("*.TXT") matches case-insensitively
- I just told @arsarih some of the horrific details of an environment I worked where they had case-insensitity built into a forked SVN client on a case sensitive filesystem. When people do not expect this behavior it leads to really confu...
-
01:05 PM Bug #10700 (Closed): On case-sensitive filesystem on OS X, Dir.glob("*.TXT") matches case-insensitively
- My Mac has the disk reformatted so that it is case-sensitive (HFS+):
~~~
$ touch foo.txt foo.TXT FOO.txt FOO.TXT
$ ls -li foo.* FOO.*
286444732 -rw-r--r-- 1 asari staff 0 Jan 6 08:00 FOO.TXT
286444731... -
03:24 PM Feature #10701: Class:Array 2 New methods
- i think this functions might be interesting, but i would try to write them to that they are available in Enumerable too
-
02:48 PM Feature #10701 (Open): Class:Array 2 New methods
- Hi,
New to this, but this is an Array method that I use a lot and thought it might be included in a release, it's basic, but very helpful when you need to rotate certain defined values ie. log rotation with monthly timestamps
~~~ru... -
12:42 PM Revision d50a8dd0 (git): Refine an assertion message.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:41 PM Bug #10698 (Closed): Time#local behaves differently during clock change
- Applied in changeset r49162.
----------
* time.c (timelocalw): Set tm_isdst field -1 if vtm->isdst is
VTM_ISDST_INITVAL. This bug is introduced at packing struct
vtm (r45155).
[ruby-core:67345] [Bug #10698] Reported by Boris Ruf. -
12:41 PM Revision 9bbe6b9d (git): * time.c (timelocalw): Set tm_isdst field -1 if vtm->isdst is
- VTM_ISDST_INITVAL. This bug is introduced at packing struct
vtm (r45155).
[ruby-core:67345] [Bug #10698] Reported by Boris Ruf.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:22 AM Bug #10699: m(*a, **b) doesn't recognize integer options.
- https://github.com/nobu/ruby/compare/Bug%2310699-kwrest-all
-
02:16 AM Bug #10699: m(*a, **b) doesn't recognize integer options.
- #10118 is only for splat, not rest keywords argument.
-
05:32 AM Revision c0ee6f2a (git): generic_object.rb: useless methods
- * ext/json/lib/json/generic_object.rb (JSON::GenericObject):
remove useless overriding methods, [] and []=.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:01 AM Feature #10118: Double splat for non-symbol keys
- Yukihiro Matsumoto wrote:
> Double splat was introduced to pass a hash given from keyword arguments.
> ...
I've always considered the final hash to be a hash of options. I can't think of a reason to split the options hash in two based ... -
01:19 AM Revision 57a00210 (git): add bold to headers
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/05/2015
-
11:01 PM Bug #10699: m(*a, **b) doesn't recognize integer options.
- I thought that was a feature. I proposed to extend the use of double splat, and a patch has already been provided by Nobu in #10118.
-
10:19 PM Bug #10699 (Closed): m(*a, **b) doesn't recognize integer options.
- It seems a method defined as m(*a, **b) doesn't recognize integer options.
```
% ./ruby -v -e '
def m(*a, **b)
p [a, b]
end
m(1, 2 => 3)
m(1, :foo => 3)
'
ruby 2.3.0dev (2015-01-06 trunk 49159) [x86_64-linux]
[[1, {2=>3}], ... -
10:29 PM Bug #10115 (Assigned): Error in OpenSSL documentation section: Loading a key
- moving to ruby tracker
-
10:25 PM Bug #10694 (Assigned): Improve Thread#value rubydoc
-
08:53 PM Bug #10698 (Closed): Time#local behaves differently during clock change
- This is probably not a bug but since it changes previous behavior it should be noted somewhere.
Ruby 2.1.5:
~~~
>> ENV['TZ'] = 'Europe/Berlin'
=> "Europe/Berlin"
> ...
=> "CET"
~~~
Ruby 2.2.0:
~~~
>> ENV['TZ'] = 'Europe/... -
06:11 PM Revision 37360f82 (git): * test/fiddle/test_handle.rb: fix syntax.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:20 PM Bug #9917: TestIO#test_io_select_with_many_files results in timeout expiration on AIX
- Backported into ruby_2_1 branch at r49158.
-
05:58 AM Bug #9917 (Closed): TestIO#test_io_select_with_many_files results in timeout expiration on AIX
- Applied in changeset r49148.
----------
* test/ruby/test_io.rb: added timeout for AIX environment.
[ruby-core:62983][Bug #9917] -
03:17 PM Revision 79d041db (git): merge revision(s) r49148: [Backport #9917]
- * test/ruby/test_io.rb: added timeout for AIX environment.
[ruby-core:62983][Bug #9917]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:16 PM Bug #10384 (Closed): Fiddle::DLError: unknown symbol "Init_objspace" during Fiddle::TestHandle#test_NEXT and Fiddle::TestHandle#test_static_sym on Solaris
- Applied in changeset r49157.
----------
test_handle.rb: use -test-/dln/empty
* test/fiddle/test_handle.rb (test_NEXT): use -test-/dln/empty
which is always a shared object and is not used by others.
[ruby-dev:48629] [Bug #10384] -
03:16 PM Revision 64e24064 (git): test_handle.rb: use -test-/dln/empty
- * test/fiddle/test_handle.rb (test_NEXT): use -test-/dln/empty
which is always a shared object and is not used by others.
[ruby-dev:48629] [Bug #10384]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49157 b2dd03c8-39d4-4d8f-98ff-... -
03:15 PM Revision fb793640 (git): test_handle.rb: separate blocks
- * test/fiddle/test_handle.rb (test_static_sym, test_NEXT):
separate each rescue blocks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:15 PM Revision 3e8687a2 (git): test_handle.rb: remove skips
- * test/fiddle/test_handle.rb (test_static_sym, test_DEFAULT):
remove useless skips.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:14 PM Revision c9b3950d (git): ext/-test-/dln/empty: move from ext/-test-/win32/dln
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:14 PM Revision 8ddffedb (git): * 2015-01-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:14 PM Revision 7b452037 (git): ext/-test-/win32/dln: add depend file
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:01 PM Revision 63f9fa6e (git): * 2015-01-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:01 PM Revision 50a611e8 (git): * test/ruby/test_string.rb(test_LSHIFT_neary_long_max):
- increase timeout for Arch Linux CI environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:37 PM Bug #10697 (Closed): WIN32OLE: WIN32OLE_RECORD を使用したスクリプト終了時にruby.exe がクラッシュすることがある
- 以下のスクリプトまたは、Ruby のソース内のテスト `test/win32ole/test_win32ole_record.rb` を実行すると数回に一度程度の確率で ruby プロセスの終了時にSEGVが発生します。
```ruby
require 'win32ole'
obj = WIN32OLE.new('RbComTest.ComSrvTest')
book = WIN32OLE_RECORD.new('Book', obj)
obj.getBo... -
12:33 PM Revision 53d9cb73 (git): mkmf.rb: clean timestamps
- * lib/mkmf.rb (create_makefile): clean timestamp files of
destination directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:04 PM Bug #10656: mkmf have_func fails if Ruby is compiled with static libruby
- You were right. I've fixed this in Passenger 4.0.57. Thanks Nobuyoshi.
-
06:58 AM Bug #10696: Digest implementation on Windows faulty
- Yes works correclty.
Sorry for the unnecessary Bugreport. At least it is documented now. -
05:58 AM Revision 471f5a7a (git): * test/ruby/test_io.rb: added timeout for AIX environment.
- [ruby-core:62983][Bug #9917]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:27 AM Revision 39ad4175 (git): ostruct.rb: table
- * lib/ostruct.rb (OpenStruct#table): revert for JSON.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:05 AM Bug #10677: Regression: Time#parse no longer automatically converts to localtime
- Thank you for the explanation. I'll continue to debug and see if I can help measure it's impact. I more clearly understand the issue, and agree with the change. Unfortunately, I feel it's going to have a bigger impact than anticipated. I...
-
03:58 AM Bug #10677: Regression: Time#parse no longer automatically converts to localtime
- It seems a small issue that no one notice before 2.2.0 released
You may know Ruby sometimes break compatibility to achieve better specs/functions.
For Time class it didn't save its time zone before.
After 1.9 whose time objects can ... - 01:57 AM Revision 32636e8e (git): * 2015-01-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:57 AM Revision 10ce9986 (git): ostruct.rb: append suffixes to protected methods
- * lib/ostruct.rb (modifiable?, new_ostruct_member!, table!):
append suffixes to protected methods so that they will not clash
with assigned members. [Fix GH-806]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49145 b2dd03c8-39d4... -
12:48 AM Bug #5829 (Closed): /dl/test_cptr.rb Segmentation fault on Ruby 1.9.3 P0
- DL is removed from stdlib of Ruby 2.2.0
-
12:47 AM Feature #10663: Consider adding support for String input to File. methods
- Robert A. Heiler wrote:
> File.chmod 444,'test.rb'
I think this should be
File.chmod 0444,'test.rb'
At least that's what the documentation says.
> ...
Eric Wong wrote:
> Try FileUtils.chmod instead. FileUtils is where the ...
01/04/2015
-
10:19 PM Bug #10696 (Rejected): Digest implementation on Windows faulty
-
07:34 PM Bug #10696: Digest implementation on Windows faulty
- This is probably a line ending issue, with ASCII CR getting removed by File.read on Windows. You need to read the file in binary mode to get correct results on Windows:
Digest::SHA1.hexdigest(File.binread('test.file')) -
07:10 PM Bug #10696 (Rejected): Digest implementation on Windows faulty
- The example I made with SHA1, but the same happens for other digests, so it seems to affect the generic implementation of the interface and not the specific hash implementations.
> Digest::SHA1.hexdigest(File.read('test.file'))
> ...... -
04:11 PM Bug #10695 (Closed): Segmentation fault with *args and **kwargs
-
03:40 PM Bug #10695 (Closed): Segmentation fault with *args and **kwargs
- The following will raise a Segmentation fault:
~~~ruby
def foo(*args, **kwargs)
puts "args: #{args}"
puts "kwargs: #{kwargs}"
end
foo('foo' => 'bar')
~~~
Segmentation fault in [here](https://gist.github.com/tbuehlmann/5... -
03:40 PM Bug #9962: Numeric.new
- ふと検索したところ、Numeric からの継承を使っている gem はそれなりに存在するようです。
(結果を下につけます。スコープの都合により ::Numeric ではないものを参照しているのが混じっているかもしれません。)
Numeric.new をできないようにすると、こういうのは動かなくなるんでしょうか。
もし動かなくなるとしたら、その問題以上の利点が必要だと思いますが、どんな利点があるでしょうか。
```
M500-0.9.2/lib/M500... -
02:53 PM Revision 530f543e (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:33 PM Feature #10682 (Closed): Add "excludes" support to test suite, for alternative implementations and platforms
- Applied in changeset r49143.
----------
test/unit.rb: ExcludesOption
* test/lib/test/unit.rb (ExcludesOption): add "excludes" support
to test suite, for alternative implementations and platforms.
[Feature #10682] -
10:19 AM Feature #10682: Add "excludes" support to test suite, for alternative implementations and platforms
- leafchecker should be used on CRuby.
But the patch comment out it so it is disabled regardless of ruby implementations.
-
01:33 PM Revision 1b7efc13 (git): test/unit.rb: ExcludesOption
- * test/lib/test/unit.rb (ExcludesOption): add "excludes" support
to test suite, for alternative implementations and platforms.
[Feature #10682]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49143 b2dd03c8-39d4-4d8f-98ff-823fe69b... -
01:32 PM Revision 54bfb333 (git): test/unit.rb: reorder Test::Unit
- * test/lib/test/unit.rb (Test::Unit): reorder modules and merge
each modules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:32 PM Revision 42bb2c71 (git): test/unit.rb: split Test::Unit
- * test/lib/test/unit.rb (Test::Unit): split the large class into
each modules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:33 PM Bug #10693 (Closed): Regression in Ripper for keyword arg default params
- Applied in changeset r49140.
----------
parse.y: fix f_label result
* parse.y (f_label): return tLABEL value as it is.
[ruby-core:67315] [Bug #10693] -
02:09 AM Bug #10693 (Closed): Regression in Ripper for keyword arg default params
- Easy to reproduce, seems to only be present in 2.2:
```ruby
$ ruby -v
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]
$ ruby -rripper -e 'p Ripper.sexp "def x(a:1) end"'
[:program, [[:def, [:@ident, "x", [1, 4]], [:pare... -
12:32 PM Revision 3977fd33 (git): parse.y: fix f_label result
- * parse.y (f_label): return tLABEL value as it is.
[ruby-core:67315] [Bug #10693]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:14 AM Bug #10694 (Closed): Improve Thread#value rubydoc
- Thread#value can also raise an exception. Document this.
Patch based on trunk b9c630f999, 04-jan-2015. -
07:47 AM Bug #10677: Regression: Time#parse no longer automatically converts to localtime
- Ben Johnson wrote:
> I have a strong feeling this is going to be a **major** problem as people try to move forward. Adding "local" time everywhere you use Time.parse simply is not feasible. This change is also outside of the scope of a ... -
06:50 AM Bug #10677: Regression: Time#parse no longer automatically converts to localtime
- Akira Tanaka wrote:
> There is no direct issue.
> ...
I'd also like to add that Parker's post, and the explanation in the bottom half, is spot on ( https://byparker.com/blog/2014/ruby-2-2-0-time-parse-localtime-regression/ ).
I have... -
05:02 AM Revision b9c630f9 (git): parallel.rb: expand path
- * test/lib/test/unit/parallel.rb (run): expand the file name to be
loaded, so that relative paths work in parallel mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:41 AM Revision dd2d43d9 (git): * test/test_tempfile.rb: use assert_file for more descriptive message.
- following r49131.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:10 AM Feature #10322 (Closed): [PATCH] Improve doc for String#<=>
- Applied in changeset r49137.
----------
* string.c: improve docs for String#<=>. [ruby-core:65399][Feature #10322] -
04:10 AM Revision e717341e (git): * string.c: improve docs for String#<=>. [ruby-core:65399][Feature #10322]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:46 AM Misc #10307 (Closed): Add doc for Array.reject, it maintains ordering
-
03:45 AM Revision b600ceb8 (git): * array.c: improve docs for Array#reject. [ruby-core:65324][misc #10307]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:37 AM Bug #10476 (Closed): String.strip remove characters different than pure whitespace
- Applied in changeset r49135.
----------
* string.c: improve docs for String#strip and variations. [ruby-core:66081][Bug #10476] -
03:37 AM Revision 6abaf764 (git): * string.c: improve docs for String#strip and variations. [ruby-core:66081][Bug #10476]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:15 AM Revision cf0006ea (git): testcase.rb: call super
- * test/lib/test/unit/testcase.rb (method_added): hook methods
should call super.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:04 AM Revision 49243b99 (git): unit.rb: no insult method
- * test/lib/minitest/unit.rb (i_suck_and_my_tests_are_order_dependent!):
remove.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:04 AM Revision 8a57298c (git): unit.rb: no UNDEFINED
- * test/lib/minitest/unit.rb (UNDEFINED): remove.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:58 AM Revision 8d7f6552 (git): test_tempfile.rb: assert_file
- * test/test_tempfile.rb (test_default_basename): use assert_file
for more descriptive message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:51 AM Feature #10652: Automatic detection of user and password from env
- curl, wget and apt-get supports storing passwords in .curlrc, .wgetrc, .netrc or apt.conf.
So users can store password in a file if environment variable is not appropriate.
Your patch only supports environment variable.
It encourage... -
12:21 AM Revision 837d3037 (git): * lib/drb/drb.rb: removed unused argument. Patch by @vipulnsward
- [fix GH-515]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:18 AM Revision 05c108cd (git): * lib/tempfile.rb: provide default basename parameter.
- [fix GH-523] Patch by @dissolved
* test/test_tempfile.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/03/2015
-
07:01 PM Bug #10677: Regression: Time#parse no longer automatically converts to localtime
- Akira Tanaka wrote:
> There is no direct issue.
> ...
Can we start a discussion? I'm surprised major changes like this are made without one. I didn't see anything in the changelogs either. This will undoubtedly cause significant proble... -
03:46 PM Revision b85a4eea (git): * README.ja.md: add guidance of mailing list and bugs.r-l.o.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:13 PM Bug #10487: [PATCH 3/3] More than 3 arguments Passing to CMath.log doesn't make sense.
- Hi Tanaka-san
Please post new patch which was applied Marc's review.
I would help you for assign the right person of ruby-core for this issue.
Regards.
-
03:00 PM Bug #10612 (Closed): Documentation: Document behaviour of Hash#invert
- Applied in changeset r49126.
----------
* hash.c: fix docs for Hash#invert. [ruby-core:66917] [Bug #10612] - 03:00 PM Revision 7e8795e3 (git): * 2015-01-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:00 PM Revision 45ecc027 (git): * hash.c: fix docs for Hash#invert. [ruby-core:66917] [Bug #10612]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:01 PM Bug #10689: `unexpected break' occurs when TracePoint#binding is called
- r33064(http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=33064&view=revision)
> I'll try to change throw mechanism (not save target dfp, but save target cfp).
この方針でパッチを書き直しました。
-
12:49 PM Feature #10652: Automatic detection of user and password from env
- I've sent the patch because this behavior is the expected since many unix tools (curl, wget, apt-get) and programming languagues (nodejs, python) respect the environment variable http_proxy.
This makes very hard to use some ruby tools... -
11:36 AM Feature #10652 (Closed): Automatic detection of user and password from env
- Applied in changeset r49124.
----------
Revert r49118 [Feature #10652] -
11:35 AM Feature #10652: Automatic detection of user and password from env
- I confirmed RFC1738, it says "No user name or password is allowed." for HTTP.
So, I will revert r49118, sorry. -
10:58 AM Feature #10652: Automatic detection of user and password from env
- I'm sorry that I missed this issue. However I think it's reasonable to storing the credential into env.
I believe that the ruby should provide way to access credential which is put on environment as a tool. Using this feature or not is ... -
10:08 AM Feature #10652: Automatic detection of user and password from env
- ayumin committed the patch at r49118.
However, I think there should be security consideration.
Storing secret information in environment variables is not a trivially safe behavior.
For example, I read two articles recently:
-... -
12:21 PM Bug #10667: thread_variable_set/get doesn't work for dynamically created symbols
- ruby_2_2 r49125 merged revision(s) 49055.
-
12:20 PM Revision eb076140 (git): merge revision(s) 49055: [Backport #10667]
- * thread.c (rb_thread_variable_get): fix dynamic symbol keys.
rb_check_id() returns non-zero only for static symbols, whereas
thread local variable keys can be dynamic symbols.
[ruby-core:67185] [Bug #10667]... -
11:36 AM Revision 1711e80c (git): Revert r49118 [Feature #10652]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:52 AM Revision e396ba84 (git): intern.h: rb_str_new_literal
- * include/ruby/intern.h (rb_str_new_literal): define on all
platforms, not only gcc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:28 AM Revision 7a6934f3 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:53 AM Revision 544651a2 (git): cparser.rb: limit word number
- * ext/fiddle/lib/fiddle/cparser.rb (parse_ctype): limit split word
number as the rest are not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:49 AM Revision 91bcb092 (git): ChangeLog: typo
- * ChangeLog: fix a probable typo, s/brake/broke/.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:23 AM Revision 1ba6e886 (git): * ext/fiddle/lib/fiddle/cparser.rb: r49110 brake Fiddle::Import with
- type_alias
* test/fiddle/test_cparser.rb: added type_alias test for parse_ctype
and parse_struct_signature.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:21 AM Revision 68f7424b (git): * lib/net/http.rb (proxy_user): retrieve proxy user from http_proxy.
- * lib/net/http.rb (proxy_pass): retrieve proxy password from http_proxy.
Patch by Rafael dos Santos Silva. [fix GH-763]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:52 AM Revision ce80a49f (git): Refine help message.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:50 AM Revision f0577b75 (git): * ext/openssl/ossl.h: avoid to build failure of Windows environment.
- * ext/openssl/ossl_ssl_session.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:28 AM Revision e9ebaaa1 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:27 AM Revision 57442273 (git): * array.c: Improve performance of Array#shift. use shared instead of
- MEMMOVE if with arguments. Patch by @ksss [fix GH-537]
* test/ruby/test_array.rb: ditto.
* benchmark/bm_array_shift.rb: Added benchmark of GH-537 issue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49114 b2dd03c8-39d4-4d8f-98ff-823... -
01:38 AM Revision a84bfcbf (git): * lib/net/http.rb: More descriptive error message when net/http fails
- to connect to a server. Patch by @xaviershay [fix GH-700]
* test/net/http/test_http.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:17 AM Bug #10613: SNI is not optional when using TLS
- Hi, any feedback on this?
The patch adds the ability to turn off SNI triggering behavior, but by default it continues the previous behavior.
Not all SSL servers support SNI, and by forcing SNI without an option to disable it, makes... -
01:14 AM Revision 2758be26 (git): * ext/openssl/ossl.h: Make `SSL_SESSION_cmp` use `CRYPTO_memcmp`
- [fix GH-591] Patch by @PiPeep
* ext/openssl/ossl_ssl_session.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:54 AM Revision f661c0be (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:54 AM Revision 3afd0f9a (git): * ext/fiddle/lib/fiddle/cparser.rb: Support for Fiddle::CParser
- to handle rich signatures including parameter names and function
pointer types. Patch by @theryan [fix GH-590]
* test/fiddle/test_cparser.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49110 b2dd03c8-39d4-4d8f-98ff-823fe... -
12:01 AM Revision 4690241f (git): * NEWS: added compatibility entry of r49101.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/02/2015
-
10:42 PM Bug #10677: Regression: Time#parse no longer automatically converts to localtime
- There is no direct issue.
It is inspired by [Bug #9794]. -
09:58 PM Bug #10677: Regression: Time#parse no longer automatically converts to localtime
- I hear you, Akira. I am asking for a link to the issue or conversation that tracked this change. I want to know why the change was made in more detail, so I would like to read the discussion.
- 07:03 PM Revision 69b64e00 (git): * 2015-01-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:03 PM Revision 8d0d7da4 (git): tracepointchecker.rb: for older TracePoint
- * test/lib/tracepointchecker.rb (TracePointChecker): needs recent
version of TracePoint, so that older versions can run to compare
the resuls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:03 PM Revision 4ef6097f (git): leakchecker.rb: for older IO.console
- * test/lib/leakchecker.rb (check_fd_leak): do not call older
version IO.console to get rid of ArgumentError, so that older
versions can run to compare the resuls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49106 b2dd03c8-39d4... -
06:04 PM Feature #10682: Add "excludes" support to test suite, for alternative implementations and platforms
- Patch updated: https://gist.github.com/headius/4226cd94bbcf7b150e65
I only made the rescue change requested by nobu. If there's a strong preference to use prepend or to add "exclude" once as a singleton method to some superclass, I ca... -
05:53 PM Feature #10682: Add "excludes" support to test suite, for alternative implementations and platforms
- Nobuyoshi Nakada wrote:
> I agree on the feature, and have a few questions.
> ...
Perhaps? I think the only conflict possible would be if there's a class-level method in some test that is also named "exclude". Seems unlikely? We also r... -
02:36 AM Feature #10682: Add "excludes" support to test suite, for alternative implementations and platforms
- I agree on the feature, and have a few questions.
* Isn't the name `exclude` too generic?
* Why do you define it as each singleton methods, not a singleton
method of `MiniTest::Unit::TestCase`?
* What part of `LeakChecker` doesn'... -
04:31 PM Bug #10690 (Rejected): Tempfile new ArgumentError wrong number of arguments
- It's your bug.
`Tempfile.new` hasn't accepted such argument, but just ignored. -
02:10 PM Bug #10690 (Rejected): Tempfile new ArgumentError wrong number of arguments
- After updating to 2.2.0, I ran into an ArgumentError when calling Tempfile.new (wrong number of arguments (3 for 1..2).
I was able to narrow it down to this sample script which works on 2.1.3 and fails on 2.2.0.
`require 'tempfile'... -
03:52 PM Bug #10692 (Closed): there is no response body with HEAD request (fixed at r49105)
- See https://github.com/ruby/ruby/pull/520
The issue was already fixed on trunk.
This ticket is only for backport management.
The related test was added at r49104. -
03:14 PM Bug #10691 (Closed): Bad or Non-existent class names listed on 'Index of Files, Classes & Methods in Ruby' page.
- On this page: [Index of Files, Classes & Methods in Ruby 2.2.0 (Ruby 2.2.0)](http://www.ruby-doc.org/core-2.2.0/)
There are Classes:

I found some o... -
02:04 PM Bug #10643 (Assigned): 2.2: TestRubyOptions#test_command_line_progname_nonascii test failure (MinGW)
- Hello Nobu,
Just tested trunk, this is still happening:
~~~
TestRubyOptions#test_command_line_progname_nonascii [C:/Users/Luis/Code/ruby/ruby/test/ruby/test_rubyoptions.rb:726]:
[ruby-dev:48752] [Bug #10555].
<[" .rb"]> expected... -
12:07 PM Revision 2743ad8c (git): * lib/net/http.rb (Net::HTTP#send_request): there is no response body
- with HEAD request. Patch by @rodrigosaito [fix GH-520]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:04 PM Revision 57ee6eae (git): * test/net/http/test_http.rb (_test_send_request__HEAD): Added
- failing test for send_request with HEAD method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:49 AM Revision d4959439 (git): * eval.c (ruby_init): Print ruby_setup() error only in debug mode.
- Unsupressable error message is not a good idea.
Note that the message is printed sometimes with following
code (highly timing dependent, though):
pid = spawn("ruby -e ''"); Process.kill(:TERM, pid)
git-svn-id: svn+ssh://ci.ruby-... -
09:49 AM Bug #10689 (Closed): `unexpected break' occurs when TracePoint#binding is called
- 以下のコードでunexpected breakになります。
~~~ruby
class Bug
include Enumerable
def each
[0].each do
yield
end
end
end
TracePoint.trace(:c_return) do |tp|
tp.binding
end
Bug.new.all? { false }
~~~
all?中... -
07:58 AM Bug #10669: Incorrect url parsing in 2.2.0
> we have a workaround but it seems a bit odd as a default, is there a reason RFC3986 was picked as a default over RFC2396?
RFC 3986 already is turning 10 years old (published January 2005) and has been an Internet Standard for that...-
07:21 AM Bug #9240 (Closed): TestModule Test No Longer Valid
- Applied in changeset r49102.
----------
* test/ruby/test_module.rb: Refactor invalid testcase.
[fix GH-472][ruby-core:59035][Bug #9240] -
07:21 AM Revision c7d6c0d0 (git): * test/ruby/test_module.rb: Refactor invalid testcase.
- [fix GH-472][ruby-core:59035][Bug #9240]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:53 AM Revision 73fc0cc5 (git): * lib/webrick/utils.rb: removed unused argument variable.
- [fix GH-356] Patch by @vipulnsward
* lib/webrick/server.rb: ditto.
* lib/webrick/ssl.rb: ditto.
* test/webrick/test_utils.rb: added test for WEBrick::Utils#create_listeners.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49101 b2dd03... -
06:36 AM Revision 045de8a9 (git): * lib/securerandom.rb: improve syntax and grammar of documentation.
- [fix GH-796][ci skip] Patch by @Erol
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:12 AM Bug #10046 (Open): OpenSSL::TestSSLSession#test_ctx_server_session_cb and OpenSSL::TestSSLSession#test_ctx_client_session_cb test failures
- I committed patch of ```OpenSSL#test_ctx_client_session_cb```, but ```test_ctx_server_session_cb``` fix is broken with my OSX environment(Mavericks).
-
06:10 AM Bug #10046 (Closed): OpenSSL::TestSSLSession#test_ctx_server_session_cb and OpenSSL::TestSSLSession#test_ctx_client_session_cb test failures
- Applied in changeset r49099.
----------
* test/openssl/test_ssl_session.rb (OpenSSL#test_ctx_client_session_cb):
fix test failure with OpenSSL disabled SSLv3 protocol.
[ruby-core:63772] [Bug #10046] -
06:10 AM Revision dc599c2c (git): * test/openssl/test_ssl_session.rb (OpenSSL#test_ctx_client_session_cb):
- fix test failure with OpenSSL disabled SSLv3 protocol.
[ruby-core:63772] [Bug #10046]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:00 AM Feature #10683: fix inconsistent behavior of Kernel.Hash()
- > I don't think either of your proposed options will be accepted.
I can see that making `Hash(obj)` equivalent to `obj.to_h` would be a major change in functionality.
The primary reasons for opening up this issue are two points:
*... -
03:47 AM Bug #9591 (Closed): io-console versioning
-
03:40 AM Revision f5da412c (git): test_yield.rb: assert_all_sentences
- * test/ruby/test_yield.rb (assert_all_sentences): test all
sentences and report all results at the end.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:37 AM Revision 6d65806f (git): tracepointchecker.rb: needs TracePoint
- * test/lib/tracepointchecker.rb: available only if TracePoint is
available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:41 AM Revision 163ecb32 (git): test_m17n.rb: split test_scrub
- * test/ruby/test_m17n.rb (TestM17N#test_scrub): split into some
tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:10 AM Revision ec7f1f5d (git): * lib/resolv.rb (Resolv::DNS::Label::Str#==): Check class equality.
- (Resolv::DNS::Name#initialize): Normalize labels as
Resolv::DNS::Label::Str objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/01/2015
- 03:50 PM Revision 31d24fae (git): * 2015-01-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:49 PM Revision 331b0ac5 (git): [DOC]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:21 PM Bug #10677: Regression: Time#parse no longer automatically converts to localtime
- This change is intentional to preserve the original information.
Please use localtime method if you need a Time object in your local time. -
02:07 PM Bug #10688: fix non-symbol keys hash. (fixed at r49088, 49089)
- Oops, this is duplicate of #10685.
sorry for noise. -
02:05 PM Bug #10688 (Closed): fix non-symbol keys hash. (fixed at r49088, 49089)
- The issue was already fixed on trunk at r49088.
This ticket is only for backport management.
I've confirmed that this isn't reproduced on 2.1.5 and 2.0.0-head.
-
12:42 PM Bug #10624 (Closed): \sには\vも含まれる
- Applied in changeset r49092.
----------
* doc/regexp.rdoc: fix regexp docs for whitespace character.
[ruby-dev:48765] [Bug #10624] -
12:41 PM Revision d03c8639 (git): * doc/regexp.rdoc: fix regexp docs for whitespace character.
- [ruby-dev:48765] [Bug #10624]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:51 AM Bug #10643 (Closed): 2.2: TestRubyOptions#test_command_line_progname_nonascii test failure (MinGW)
- Applied in changeset r49091.
----------
test_rubyoptions.rb: locale name
* test/ruby/test_rubyoptions.rb: try locale encoding name.
[ruby-core:67109] [Bug #10643] -
08:50 AM Revision 418c1375 (git): test_rubyoptions.rb: locale name
- * test/ruby/test_rubyoptions.rb: try locale encoding name.
[ruby-core:67109] [Bug #10643]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:42 AM Bug #10687 (Closed): ArgumentError in certain cases of instance_exec (new bug in 2.2) - a.rb:
~~~
foo = ->(a = nil) do
p(a)
end
instance_exec(["a", "b", "c", "d"], &foo)
~~~
~~~
#=> rvm use 2.1 && ruby -v && ruby a.rb
Using /home/micaeked/.rvm/gems/ruby-2.1.5
ruby 2.1.5p273 (2014-11-13 revision 48405) [... -
03:55 AM Feature #10683: fix inconsistent behavior of Kernel.Hash()
- Since `nil.to_h` is `{}`, which equals `Hash(nil)`, and `some_hash.to_h` is `some_hash`, which equals `Hash(some_hash)`, your claim:
* change `Hash()` to call `to_h` on it's argument, when the argument is neither `nil` nor a `Hash`.
... -
03:14 AM Feature #10683: fix inconsistent behavior of Kernel.Hash()
- Interesting. [] is indeed treated differently than
Hash([nil])
TypeError: can't convert Array into Hash
Hash([1,2])
TypeError: can't convert Array into Hash
Perhaps there is a reason for [] as input is being
... -
02:18 AM Bug #10686 (Closed): Memory leaking from torture test of symbol GC - Applied in changeset r49090.
----------
symbol.c: fix memory leak from global fstr hash
* symbol.c (rb_gc_free_dsymbol): delete from global fstr hash
* test/ruby/test_symbol.rb (test_symbol_fstr_leak): test for bug
[ruby-core:67268] ... -
01:58 AM Bug #10686: Memory leaking from torture test of symbol GC
- nobu@ruby-lang.org wrote:
> Rather you may want call `rb_hash_delete_entry()`.
Thanks, updated
http://80x24.org/spew/m/bug10686-dsym-fstr-leak-v2@r49089.txt -
01:24 AM Bug #10686: Memory leaking from torture test of symbol GC
- Rather you may want call `rb_hash_delete_entry()`.
-
12:58 AM Bug #10686: Memory leaking from torture test of symbol GC
- This seems to fix it:
~~~diff
--- a/symbol.c
+++ b/symbol.c
@@ -664,6 +664,7 @@ rb_gc_free_dsymbol(VALUE sym)
if (str) {
RSYMBOL(sym)->fstr = 0;
unregister_sym(str, sym);
+ rb_hash_delete(global_symbols.dsymbol_fstr_ha... -
12:35 AM Bug #10686: Memory leaking from torture test of symbol GC
- Confirming code:
```ruby
require 'objspace'
require 'pp'
def sym_num; Symbol.all_symbols.size; end
x = 0
loop {
(x += 1).to_s.to_sym
if (x % 1000_000) == 0
pp ObjectSpace.count_objects
end
}
```
We can see th... -
12:31 AM Bug #10686 (Closed): Memory leaking from torture test of symbol GC
- The following code appears to grow without bounds when running on MRI 2.2p0 (and grows *very* fast...hold on to your RAM):
```ruby
x = 0; loop { (x += 1).to_s.to_sym }
```
I asked ko1 about this on Twitter and he said it appears ... - 02:18 AM Revision 8717a9ec (git): symbol.c: fix memory leak from global fstr hash
- * symbol.c (rb_gc_free_dsymbol): delete from global fstr hash
* test/ruby/test_symbol.rb (test_symbol_fstr_leak): test for bug
[ruby-core:67268] [Bug #10686]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49090 b2dd03c8-39d4-4d8f-9... -
01:27 AM Bug #10685: Segfault from keyword rest arg when coercing an object that defines to_hash
- Chris Seaton wrote:
> I think this is the equivalent code extracted from MSpec. But I can't get this to crash on 2.2.0p0.
It's another failure, but false positive.
-
01:20 AM Bug #10685 (Closed): Segfault from keyword rest arg when coercing an object that defines to_hash
- Applied in changeset r49089.
----------
vm_args.c: add ref r49088
* vm_args.c (keyword_hash_p): fix non-symbol keys hash.
rb_extract_keywords() returns 0 not Qnil when no symbol keys is
included. [ruby-core:67264] [Bug #10685] -
12:38 AM Bug #10685: Segfault from keyword rest arg when coercing an object that defines to_hash
- Thanks for the report, looks like nobu committed a fix as r49088
> This spec appears to cause the segfault mentioned in
> http://rubini.us/2014/12/31/matz-s-ruby-developers-don-t-use-rubyspec/
> today.
Fwiw, I do run "make test-... -
12:14 AM Bug #10685: Segfault from keyword rest arg when coercing an object that defines to_hash
- I think this is the equivalent code extracted from MSpec. But I can't get this to crash on 2.2.0p0.
~~~ruby
def m(a) yield a end
class Mock
def to_hash
puts 'to_hash called'
{x: 9}
end
end
obj = Mock.new
res... -
01:20 AM Revision abe15ddd (git): vm_args.c: add ref r49088
- * vm_args.c (keyword_hash_p): fix non-symbol keys hash.
rb_extract_keywords() returns 0 not Qnil when no symbol keys is
included. [ruby-core:67264] [Bug #10685]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49089 b2dd03c8-39d4-... -
12:14 AM Revision 6a37b8cd (git): vm_args.c: fix non-symbol keys hash
- * vm_args.c (keyword_hash_p): fix non-symbol keys hash.
rb_extract_keywords() returns 0 not Qnil when no symbol keys is
included.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:03 AM Bug #10684: Block arity changes through Enumerable methods
- It’s not that surprising to me.
While `Enumerable#detect` is written in C, in Ruby I might implement it as:
```ruby
module Enumerable
def detect2
return enum_for(:detect2) unless block_given?
v = each { |x| break x if...
12/31/2014
-
11:39 PM Bug #10685 (Closed): Segfault from keyword rest arg when coercing an object that defines to_hash
- This spec appears to cause the segfault mentioned in http://rubini.us/2014/12/31/matz-s-ruby-developers-don-t-use-rubyspec/ today.
```ruby
it "calls #to_hash on the last element if keyword arguments are present" do
obj = m... -
11:38 PM Bug #10657: 2.2: Generated binaries misses resource information (MinGW)
- ruby_2_2 r49087 merged revision(s) 49042.
-
11:38 PM Revision 017eb0f1 (git): merge revision(s) 49042: [Backport #10657]
- * cygwin/GNUmakefile.in (EXTOBJS): override to add resource files
always. [ruby-core:67153] [Bug #10657]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:22 PM Bug #10659: can't dup Fixnum (TypeError)
- ruby_2_2 r49081 merged revision(s) 49041.
-
11:15 PM Bug #10642 (Third Party's Issue): 2.2: TestMath#test_gamma test failure (MinGW)
-
08:43 PM Bug #10684: Block arity changes through Enumerable methods
- Blocks traveling through methods in Enumerable have their arity changed before reaching #each. Example:
```ruby
class MyEnumerable
include Enumerable
def initialize(ary)
@ary = ary
end
def each(&block)
puts bl... -
08:39 PM Bug #10684 (Rejected): Block arity changes through Enumerable methods
- Blocks traveling through methods in Enumerable have their arity changed before reaching #each. Example:
class MyEnumerator
include Enumerable
def initialize(ary)
@ary = ary
end
def each(&block)
puts block.... -
07:35 PM Feature #10683 (Open): fix inconsistent behavior of Kernel.Hash()
- I find the way the global function `Hash` (aka `Kernel.Hash`) works a bit confusing.
To illustrate:
```ruby
Hash(nil) #=> {} (1)
Hash({}) #=> {} (2)
Hash([]) #=> {} (3)
# but
Hash([[1,2]]) #! TypeError (4)
```
Case (1... -
07:18 PM Feature #10682: Add "excludes" support to test suite, for alternative implementations and platforms
- Pardon the leakchecker changes in that diff. leakchecker uses MRI-specific features we can't support (or simply don't support) in JRuby right now.
-
07:12 PM Feature #10682 (Closed): Add "excludes" support to test suite, for alternative implementations and platforms
- JRuby uses MRI's test suite as our primary compatibility suite. We would like to enhance the suite to support excluding tests.
Before the juggling of minitest versions in stdlib, JRuby was using minitest-excludes to exclude tests we k... - 03:00 PM Revision 10269074 (git): * 2015-01-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:00 PM Revision d9689bc3 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:59 PM Revision 54bd85d1 (git): resolv.rb: String#b
- * lib/resolv.rb (Resolv::DNS::Label::Str#initialize): use String#b.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:19 AM Feature #10085: Add non-ASCII case conversion to String#upcase/downcase/swapcase/capitalize
- The related issue, [Bug #10550] Resolv::DNS.getaddresses, needs ASCII-only case conversion.
Unicode aware case conversion is not suitable for the issue.
See RFC 4343. -
08:50 AM Revision 6cf00e15 (git): * lib/resolv.rb (Resolv::DNS::Label::Str#initialize): Set encoding
- ASCII-8BIT before downcase. case insensivity of DNS labels doesn't
apply non-ASCII characters. [RFC 4343]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:04 AM Bug #10661: The "possible reference to past scope" warning is quite frustrating and is forcing me to change my variable names from what I want
- Thank you, @nobu!
-
07:49 AM Bug #10661 (Closed): The "possible reference to past scope" warning is quite frustrating and is forcing me to change my variable names from what I want
- Applied in changeset r49082.
----------
parse.y: disable past scope warnings
* parse.y (gettable_gen): disable warnings of possible reference
to a local variable defined in a past scope.
[ruby-core:67162] [Bug #10661] -
07:58 AM Feature #10617: Change multiple assignment in conditional from parse error to warning
- Just in private:
- Adding some tests to the patch is a good idea.
- If there's no more action, I'd wait for the next call
for proposals for features in Ruby 2.3,
then produce a slide summarizing your proposal
(see e.g. ... -
07:48 AM Revision ac47d6a8 (git): parse.y: disable past scope warnings
- * parse.y (gettable_gen): disable warnings of possible reference
to a local variable defined in a past scope.
[ruby-core:67162] [Bug #10661]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:33 AM Bug #10680 (Rejected): hangs forever on certain regexp
- Ruby doesn't prohibit you from shooting your foot.
-
06:27 AM Revision c7cb2128 (git): merge revision(s) 49041: [Backport #10659]
- * parse.y (f_kwrest, new_args_tail_gen): unnamed rest keyword and
keywords bits arguments should be unique. since internal IDs
depend on the local variable index in the current scope, new ID
should be made ... -
05:13 AM Bug #10662: fix to invoke correct function of tcllib. (fixed at r49034)
- ruby_2_2 r49080 merged revision(s) 49034.
-
05:13 AM Revision 3b53af45 (git): merge revision(s) 49034: [Backport #10662]
- * ext/tk/lib/tkextlib/tcllib/plotchart.rb: fix to invoke correct function
of tcllib. Patch by @zalt50 [fix GH-787]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:45 AM Revision 76838786 (git): * 2014-12-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:45 AM Revision e36d40f9 (git): * lib/resolv.rb (Resolv::DNS::Name#==): Compare an array of Label:Str
- objects. Label#Str#== is case-insensitive.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:36 AM Bug #10630: ERB tags nested in escaped blocks are skipped
- No.
-
04:27 AM Bug #10681 (Third Party's Issue): Segfault on Debian Jessie Linux
-
12:18 AM Bug #10681: Segfault on Debian Jessie Linux
- louis@lpil.uk wrote:
> I've just installed `ruby 2.1.0p0 (2013-12-25 revision 44422)
> [x86_64-linux]` and the same thing happens. I tried it on my other
> computer, also Debian Jessie, and it ran happily without segfault.
I guess... -
04:27 AM Bug #10660: [PATCH] unreverse Thread.*list order
- ruby_2_2 r49077 merged revision(s) 49036.
-
04:27 AM Revision 488561c6 (git): merge revision(s) 49036: [Backport #10660]
- * vm_core.h (rb_vm_living_threads_insert): preserve order
[Bug #10660] [ruby-core:67154] [ruby-core:67159]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e