Activity
From 06/22/2016 to 06/28/2016
06/28/2016
-
11:46 PM Bug #12531 (Closed): Segmentation fault occurred when execute curry with block
- Applied in changeset r55531.
----------
Passed block symbol to proc
* proc.c (passed_block): convert passed block symbol to proc.
based on the patch by Daisuke Sato in [ruby-dev:49695].
[Bug #12531] -
09:58 PM Bug #12531: Segmentation fault occurred when execute curry with block
- Remove useless tests.
-
09:46 PM Bug #12531 (Closed): Segmentation fault occurred when execute curry with block
- When I execute code below:
~~~
$ ./ruby -e '-> { true }.curry.call(&:to_s)'
~~~
I create a patch for fix and test. I hope for your help :)
And logs:
~~~
[trunk][~/devel/ruby]$ ./ruby -e 'proc { true }.curry.call(&:to_s)' ... -
11:45 PM Revision 86a756ae (git): Passed block symbol to proc
- * proc.c (passed_block): convert passed block symbol to proc.
based on the patch by Daisuke Sato in [ruby-dev:49695].
[Bug #12531]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:03 PM Revision e3503ee2 (git): Octal mode in un.rb
- * lib/fileutils.rb (FileUtils#symbolic_modes_to_i): revert r55524.
* lib/un.rb (install, chmod): support octal mode string. fix up
r55513.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:37 PM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
- Kazuki Yamaguchi wrote:
> This is based on r55162 (openssl: drop OpenSSL 0.9.6/0.9.7 support) so backporting 1.1.0 support is not so simple.
well, openssl 0.9.x is long gone from all supported Debian releases, so including that would... -
07:00 PM Bug #12514: Refinements: when including Module as refinement, can't call other module methods
- Don't get me wrong, but you're trying to explain me why it doesn't work. I'm making the point it should work. Why?
If I reopen the string class and include the extensions module, it just works. This is the expected meta-behaviour, as ... -
01:49 AM Bug #12514: Refinements: when including Module as refinement, can't call other module methods
- Tiago Cardoso wrote:
> potatoe is not a variable, but a method call. The method is defined right after. That should be the whole point of it, right?
The potatoe is defined in Extension, but String is only refined in the scope where u... - 06:42 PM Revision f29d43a3 (git): * 2016-06-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:42 PM Revision 236b5e97 (git): * bignum.c (rb_big2ulong): the old logic seems to try to avoid
- calculating `-(long)(num-1)-1` if `num` is not LONG_MIN. (Note that
`-LONG_MIN` may be larger than LONG_MAX) But C compilers can
optimize it into single NEG instruction.
Therefore those two conditions can be single if-body.
* bign... -
05:55 PM Bug #12528: Ruby 2.3.1 Fails to Compile on FreeBSD 8.4-STABLE
- Nobuyoshi Nakada wrote:
> What configure options do you use?
> ...
It seems that You are right, the `--enable-shared` solved the problem.
Is it possible to make the `--enable-shared` to be switched on by default?
If it is de facto m... -
02:50 PM Bug #12528 (Feedback): Ruby 2.3.1 Fails to Compile on FreeBSD 8.4-STABLE
- What configure options do you use?
Could you try `--enable-shared` if it is not used? -
11:40 AM Bug #12528 (Closed): Ruby 2.3.1 Fails to Compile on FreeBSD 8.4-STABLE
Build commands:
~~~
make clean
CFLAGS=" -mtune=native -ftree-vectorize " CXXFLAGS=" -mtune=native -ftree-vectorize " ./configure --prefix=/www/apache/domains/www.softf1.com/private_tree_1/m_local/bin_p/Ruby/v_2_3_1 --enable-mul...-
03:03 PM Bug #12530 (Rejected): Module Refinements
- Hi guys, I noticed strange situation with module refinements.
There is difference with using methods which you refine.
*User.new.users* will return ["a", "b", "c", "d%"]
*User.new.users_not_work* will fail with error **"undefine... -
02:03 PM Feature #6943: pstore in FIPS mode
- Seems nothing to block, since md5 seems used just to see if the data is modified.
https://github.com/ruby/ruby/compare/trunk...nobu:feature/6943-pstore-checksum_algorithm -
12:13 PM Feature #6943: pstore in FIPS mode
- Using internal implementation is just hiding the issue. I don't think this would be acceptable solution for FIPS certification, what would be the point then? It is quite easy to generate colliding hashes these days. It might not be that ...
-
01:55 PM Revision c9df0f82 (git): PStore::CHECKSUM_ALGO
- * lib/pstore.rb (PStore::CHECKSUM_ALGO): extract the algorithm for
checksum, instead of qualified names for each times.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:39 PM Bug #11844: Please update unicode-licensed files (license issue)
- > I am going to open/write new issue page for this kind of issue because above issue have already been closed.
Created, though it is focusing on LEGAL file.
https://bugs.ruby-lang.org/issues/12529
-
12:06 PM Bug #11844: Please update unicode-licensed files (license issue)
- Jun Aruga wrote:
> I could not find the license information for enc/trans/GB/*.src from the mapping page. [1]
> ...
I am going to open/write new issue page for this kind of issue because above issue have already been closed.
Sorry for... -
01:36 PM Misc #12529 (Closed): LEGAL file covering all the license information within Ruby
- # Summary
LEGAL file is used to describe the licenses and the files that Ruby license does not cover.
Below Japanese archive is the old discussion in 2001 about the LEGAL file.
This said "please tell me if there is lacked or wrong... -
01:29 PM Revision cafeeb4b (git): bootstraptest/runner.rb may run on older ruby
- * bootstraptest/runner.rb: do not use safe navigation operator.
this runner may run on older ruby. partially revert r53110
(GH-1142 patched by @mlarraz).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55526 b2dd03c8-39d4-4d8f-98... -
01:14 PM Bug #12520 (Closed): CIFS raises Errno::EACCES for chown while UID not found in remote system
- Applied in changeset r55525.
----------
Tue Jun 28 22:09:09 2017 Akio Tajima <artonx@yahoo.co.jp>
* lib/fileutils.rb: rescue Errno:EACCES for chown.
[Bug #12520] -
01:14 PM Revision f2f16f2a (git): Tue Jun 28 22:09:09 2017 Akio Tajima <artonx@yahoo.co.jp>
- * lib/fileutils.rb: rescue Errno:EACCES for chown.
[Bug #12520]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:03 PM Feature #12519 (Rejected): Expansion of modifier_if and modifier_unless
- Agreed to Marcus.
Matz.
-
12:33 PM Revision d34b3c9a (git): Octal mode
- * lib/fileutils.rb (symbolic_modes_to_i): support octal mode
string. fix up r55513.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:54 AM Bug #12527 (Closed): warning: macro redefined: REG_PC and REG_SP on Solaris 10
- Solaris 10 上にて、vm.c のコンパイル中に、以下のマクロ再定義のwarningが出ます。
```
cc -errtags=yes -xO4 -xtarget=sparc64viiplus -m64 -DRUBY_EXPORT -I/usr/local/64/lib/libffi-3.0.10/include -I/usr/local/64/include -D_XOPEN_SOURCE=500 -I. -I.ext/include/spar... -
10:31 AM Bug #12526 (Rejected): Error trying to compile enc/euc_jp.c
- On a fresh checkout of ruby trunk on a fresh installation of cygwin, I get the error below.
gperf (3.0.4) is available, but it may not always have been available during the build process. For commands such as `make enc/jis/props.h`, I g... -
09:42 AM Bug #12524 (Closed): Excess semicolons in ext/digest and ext/openssl
- Applied in changeset r55523.
----------
* ext/digest/md5/md5ossl.h: Remove excess semicolons.
Suppress warning on Solaris with Oracle Solaris Studio 12.
[ruby-dev:49692] [Bug #12524]
* ext/digest/md5/md5cc.h: ditto.
* ext/diges... -
09:30 AM Bug #12524 (Closed): Excess semicolons in ext/digest and ext/openssl
- ext/digest については r49564 以降、 ext/openssl については r55285 以降、
Solaris 10 上の Oracle Solaris Studio 12.x によるコンパイル時に以下のwarningが出ます。
```
compiling md5init.c
"md5ossl.h", line 11: warning: syntax error: empty declaration (E_EMPTY_DECLARATIO... -
09:42 AM Revision 8b251c6c (git): * ext/digest/md5/md5ossl.h: Remove excess semicolons.
- Suppress warning on Solaris with Oracle Solaris Studio 12.
[ruby-dev:49692] [Bug #12524]
* ext/digest/md5/md5cc.h: ditto.
* ext/digest/sha1/sha1cc.h: ditto.
* ext/digest/sha1/sha1ossl.h: ditto.
* ext/digest/sha2/sha2cc.h: ditto.
* ext... -
09:37 AM Feature #12525 (Closed): Get some inspiration from the Red programming language!
- I know this is probably not the right place for a this, but I love Ruby and I can't resist sharing the following information with you, hoping that it will sparkle something interesting in the Ruby language development community.
On Ma... -
07:04 AM Revision ad724308 (git): Move CaseTest
- * test/ruby/enc/test_case_comprehensive.rb (CaseTest): move under
the test case not to pollute the global name space.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:56 AM Bug #12433 (Closed): uncommon.mk:614: recipe for target 'yes-test-almost' failed - missing UnicodeData.txt
- Applied in changeset r55521.
----------
Skip unavailable tests
* test/ruby/enc/test_case_comprehensive.rb: noting to test if
Unicode data files are available.
[ruby-core:76160] [Bug #12433]
* test/test_unicode_normalize.rb: ditto. -
04:07 AM Bug #12433: uncommon.mk:614: recipe for target 'yes-test-almost' failed - missing UnicodeData.txt
- Yes, they show that the Unicode data files didn't get downloaded, and therefore, it's not possible to run the tests in test_case_comprehensive.rb and test_unicode_normalize.rb.
-
06:56 AM Revision 023aaa51 (git): Skip unavailable tests
- * test/ruby/enc/test_case_comprehensive.rb: noting to test if
Unicode data files are available.
[ruby-core:76160] [Bug #12433]
* test/test_unicode_normalize.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55521 b2dd03c8... -
06:20 AM Revision 5026a663 (git): Cache no proxy case
- * lib/net/http.rb (Net::HTTP#proxy_uri): cache the case no proxy
is used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:19 AM Revision 8ff99ded (git): Use conditional operator
- * lib/net/http.rb (Net::HTTP#proxy): use conditional operator to
get rid of confusing ruby-mode.el.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:38 AM Revision 0e585b37 (git): Revert "Use gperf 3.0.4"
- It is wrong commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:52 AM Feature #12523: `Object#values_at`
- I'm not that strongly against it, but wonder if it has actual usage where it is convenient. Do you have any use cases?
-
12:56 AM Revision f1707e44 (git): Fix typo [ci skip]
- * object.c (rb_mod_eqq): [DOC] Fix typo in RDoc. [Fix GH-1393]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/27/2016
- 06:30 PM Revision fc1b4bd6 (git): * 2016-06-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:30 PM Revision 1e791f43 (git): * insns.def (opt_plus): use `- 1` instead of `& (~1)` to allow
- compilers to use x86 LEA instruction (3 operand).
Even if 3 operand LEA's latency is 3 cycle after SandyBridge,
it reduces code size and can be faster because of super scalar.
* insns.def (opt_plus): calculate and use rb_int2big.
... -
06:30 PM Revision 4b31485a (git): Use gperf 3.0.4
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:20 PM Bug #12514: Refinements: when including Module as refinement, can't call other module methods
- the error message in the example is wrong, my bad, it is "potatoe" the undefined method, not "vegetables".
-
03:02 PM Bug #12514: Refinements: when including Module as refinement, can't call other module methods
- potatoe is not a variable, but a method call. The method is defined right after. That should be the whole point of it, right?
-
02:59 PM Feature #12523 (Open): `Object#values_at`
- It might be convenient to have a method that returns multiple attributes of an object.
~~~ruby
class A
attr_accessors :foo, :bar, :baz
def initialize foo, bar, baz; @foo, @bar, @baz = foo, bar, baz end
end
a = A.new("a", ... -
02:05 PM Bug #12433: uncommon.mk:614: recipe for target 'yes-test-almost' failed - missing UnicodeData.txt
- I experiencing two issues with preview1:
```
1) Failure:
TestComprehensiveCaseFold#test_AAAAA_data_files_available [/builddir/build/BUILD/ruby-2.4.0-preview1/test/ruby/enc/test_case_comprehensive.rb:223]:
File /builddir/build/BUI... -
01:26 PM Feature #11195: Add "no_proxy" parameter to Net::HTTP.new
- +1, I'm also having issues with this.
-
12:02 PM Bug #12520: CIFS raises Errno::EACCES for chown while UID not found in remote system
- まぁそれはそれとして入れといていいんじゃないでしょうか。
そういう環境があるということであれば。 -
09:55 AM Bug #12520 (Feedback): CIFS raises Errno::EACCES for chown while UID not found in remote system
- installは次の2点がcp_rと違って、あまり使いたくはないというのが本音です。
1. file_compareで内容を比較する=> 実行ファイルのインストールなら理解できますが、サイズが違うかどうかで十分(この場合、全体量が数100GBあるので中まで読ませたくない。インストールならせいぜい100MB程度~数GB程度が対象とは思う)
2. やりたいことはinstallではなく、再帰的なコピー(名前重要)
とはいえ、代替案としては許容範囲でしょうね。
(もうち... -
01:30 AM Bug #12520 (Assigned): CIFS raises Errno::EACCES for chown while UID not found in remote system
-
10:11 AM Bug #10802: strict-aliasing warning on RHEL/CentOS 6
- I could see still this error on trunk
http://rubyci.s3.amazonaws.com/c64b/ruby-trunk/log/20160627T090203Z.log.html.gz
```
compiling string.c
string.c: In function ‘rb_fstring_new’:
string.c:349: 警告: dereferencing pointer ‘fake_... -
08:02 AM Bug #12522 (Rejected): Keyword arguments should supercede double-splat arguments
- ```ruby
foo **{x: 'fallback'}, x: 1
``` -
06:10 AM Bug #12522 (Rejected): Keyword arguments should supercede double-splat arguments
- I propose that it is more intuitive (and much better for FREST functions; see #12521) if explicit keyword arguments supercede the double-splat argument, rather than the opposite as it is now.
This:
```ruby
def foo(x:)
p "Foo x:... -
07:58 AM Revision 2a5183c2 (git): FileUtils#install: symbolic mode
- * lib/fileutils.rb (FileUtils#install): accecpt symbolic mode, as
well as chmod.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:55 AM Revision 10fcca8f (git): FileUtils#install: owner/group options
- * lib/fileutils.rb (FileUtils#install): add owner and group
options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:17 AM Bug #12521: Syntax for retrieving argument without removing it from double-splat catch-all
- #12522 is a related issue; keyword arguments lvalues have a related issue.
-
06:03 AM Bug #12521 (Closed): Syntax for retrieving argument without removing it from double-splat catch-all
- There is an interesting style of programming that is *almost* really easy to do in Ruby. It would work elegantly with a simple change. A double-colon keyword argument should be available that will still leave the same argument captured b...
-
01:24 AM Revision 71db7bd3 (git): Refactor
- * lib/fileutils.rb (FileUtils::Entry_#copy_metadata): eliminate
common statements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:22 AM Feature #12519: Expansion of modifier_if and modifier_unless
- variable = true ? 1 : 2
isnt that short enough? -
12:32 AM Feature #12519: Expansion of modifier_if and modifier_unless
- Yes, confusing and also not very pretty.
06/26/2016
-
11:57 PM Bug #12517 (Closed): def_delegators broken on ruby-head?
- Applied in changeset r55509.
----------
Coverage on non-positive lines
* compile.c (ADD_TRACE): ignore trace instruction on non-positive
line.
* parse.y (coverage): get rid of ArgumentError when the starting
line number is not posi... -
11:53 PM Bug #12517: def_delegators broken on ruby-head?
- Thanks!
-
12:06 PM Bug #12517: def_delegators broken on ruby-head?
- Here's the repro (OS X 10.11.5 / FreeBSD 10.2):
~~~ruby
require 'coverage'
require 'forwardable'
Coverage.start
class Fail
extend Forwardable
def_delegator :foo, :bar
end
~~~ - 11:56 PM Revision 4c4f809e (git): * 2016-06-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:56 PM Revision f5404751 (git): Coverage on non-positive lines
- * compile.c (ADD_TRACE): ignore trace instruction on non-positive
line.
* parse.y (coverage): get rid of ArgumentError when the starting
line number is not positive. [ruby-core:76141] [Bug #12517]
git-svn-id: svn+ssh://ci.ruby-lang... -
06:17 PM Bug #12520: CIFS raises Errno::EACCES for chown while UID not found in remote system
- 試してはいないのですが、`FileUtils.install(preserve: true)` ではどうでしょうか。
-
11:43 AM Bug #12520 (Closed): CIFS raises Errno::EACCES for chown while UID not found in remote system
- `FileUtils`を利用した`:preserve => true`の`cp_r`中に例外となります。(題名が真の原因かは不明。それ以外に思い当たる点がない)
システムはDebian jessieです。
~~~
Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt2... -
11:02 AM Feature #12519: Expansion of modifier_if and modifier_unless
- Matthew Kerwin wrote:
> It's too confusing.
Agree.
-
06:42 AM Feature #12519: Expansion of modifier_if and modifier_unless
- I am against.
It seems to rewrite the precedence of modifier if. I would expect it to evaluate like this:
~~~ruby
false ? (variable = 1) : 2
~~~
Also does it only apply to assignment? How about other method calls? What would h... -
05:05 AM Feature #12519 (Rejected): Expansion of modifier_if and modifier_unless
- Hi all.
I propose a syntax change to allow the below to be valid ruby.
```ruby
variable = 1 if false else 2
```
This is an extension of the current `modifier_if` below which accomplishes the same result.
```ruby
variable =... -
10:35 AM Revision 06c57968 (git): Convert arguments first
- * ext/win32/lib/Win32API.rb (Win32API#initialize): convert
arguments before dlopen.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:00 AM Bug #12518 (Feedback): You may have encountered a bug in the Ruby interpreter or extension libraries.
- The C level backtrace information you sent says the bug is inside libmysqlclient.20.dylib. Is it possible for you to ask its authors if it is their issue or not? I guess a procedure to reproduce this situation is vital to track this ki...
-
01:20 AM Revision 1f235900 (git): Explicit ".dll" suffix
- * ext/win32/lib/Win32API.rb (Win32API#initialize): Cygwin
2.5.2-1 (perhaps) seems to no longer append ".dll" suffix
implicitly.
* ext/win32/lib/win32/resolv.rb (Win32::Resolv): ditto. Fix the
error reported by yamataka AT u08.itsc... - 12:28 AM Revision 1e03af80 (git): * 2016-06-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:28 AM Revision 60a063d8 (git): Remove -jN option
- * {cygwin,template}/GNUmakefile.in (MAKEFLAGS): remove -jN option
from MAKEFLAGS as well as MFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/25/2016
-
11:45 PM Bug #12517: def_delegators broken on ruby-head?
- I couldn't reproduce it with r55504 on OS X 11.11.5 and Ubuntu 16.04.
-
06:47 AM Bug #12517 (Feedback): def_delegators broken on ruby-head?
- Could you show a small code to reproduce?
-
06:16 AM Bug #12517 (Closed): def_delegators broken on ruby-head?
- I found the following issue:
https://travis-ci.org/ioquatix/build-files/jobs/140181966
~~~
/home/travis/.rvm/rubies/ruby-head/lib/ruby/2.4.0/forwardable.rb:200:in `compile': negative array size (or size too big) (ArgumentError)
... -
11:19 PM Bug #11102 (Feedback): Segmentation fault while running the db:create command in Rails
- Please try with Ruby 2.2.5 or 2.3.1
-
06:09 PM Bug #12518 (Third Party's Issue): You may have encountered a bug in the Ruby interpreter or extension libraries.
- You ask me to send you this crash report
-
08:54 AM Revision fc1af699 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:01 AM Feature #11653: Add to_proc on Hash
- Jörg W Mittag wrote:
> This is basically a subset of what I proposed a year ago in #11262.
Commenting on a closed issue won't help much to move an open issue forward. One thing that might help is to split Feature #11262 into smalle... -
02:32 AM Revision 38f6fe64 (git): Refine assertion
- * test/openssl/test_ocsp.rb: assert_in_delta for better message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:08 AM Revision 5ff2e418 (git): openssl: ignore test failure caused by LibreSSL bug
- * test/openssl/test_ocsp.rb: Ignore errors caused by bugs that exist in
LibreSSL >= 2.3.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/24/2016
-
05:33 PM Bug #12353 (Closed): Regression with Marshal.dump on ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
- Applied in changeset r55500.
----------
No respond_to? as if the default definition
* vm_method.c (vm_respond_to): try method_missing if respond_to?
is undefined, as if it is the default definition.
[ruby-core:75377] [Bug #12353] -
09:48 AM Bug #12353: Regression with Marshal.dump on ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
- Using Ruby 2.3, Marshal.dump(1.day) works with ActiveSupport 4.2.6 but not 4.1.15 because ActiveSupport::Duration inherits from BasicObject in 4.1.15 and Object in 4.2.6.
The issue is that as of Ruby 2.3, Marshal.dump no longer works ... - 05:33 PM Revision 2fb292b6 (git): * 2016-06-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:33 PM Revision b51174a6 (git): No respond_to? as if the default definition
- * vm_method.c (vm_respond_to): try method_missing if respond_to?
is undefined, as if it is the default definition.
[ruby-core:75377] [Bug #12353]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55500 b2dd03c8-39d4-4d8f-98ff-823fe6... -
03:12 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- Let's leave `TrueClass`/`FalseClass`!!
-
07:23 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- Loren Segal wrote:
> This actually comes up fairly often:
> ...
The search results aren't very convincing to me. Where there's a `Boolean` `class` or `module`, it's usually really tiny. And there are checks for `TrueClass` and `False... -
12:47 PM Bug #9962 (Rejected): Numeric.new
-
12:45 PM Bug #9962: Numeric.new
- 使ってる人がいるならしゃーないですね、と思ってそのままでした。
値の定義がないNumericオブジェクトの存在意義はわからないですし、Numericの子クラスでnewできることの意味もわからないですし、意味があるなら自分でnew定義して正しく意味を付与せよとも思いますが、使ってる人にとっては何らかの意味はあるのでしょうね、多分。 -
07:26 AM Bug #9962 (Feedback): Numeric.new
-
09:07 AM Revision 9de2af7b (git): Fixed accidentally commit miss.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:06 AM Bug #11988 (Closed): YAML.dump doesn't quote string starting with 0 which will be recognized as float in YAML 1.2
- Applied in changeset r55497.
----------
* ext/psych/*, test/psych/*: Upate psych 2.1.0
This version fixed [Bug #11988][ruby-core:72850] - 09:06 AM Revision ae3cb8bc (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:06 AM Revision a099c542 (git): * ext/psych/*, test/psych/*: Upate psych 2.1.0
- This version fixed [Bug #11988][ruby-core:72850]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:43 AM Feature #11262: Make more objects behave like "Functions"
- Note that [`Hash#to_proc`](http://ruby-doc.org/core/Hash.html#method-i-to_proc) has already been implemented as part of another proposal: #11653
-
08:34 AM Feature #11653: Add to_proc on Hash
- Daniel P. Clark wrote:
> Procs can be called the same way a hash is with `[]`. But a Hash is not mappable as a Proc.
> ...
This is basically a subset of what I proposed a year ago in #11262. I additionally proposed that `Hash` also im... -
08:02 AM Feature #11735: Porting String#squish and String#squish! from Ruby on Rails' Active Support
- I don't stop you to do what you want.
But you are requesting it into core. There are so many miserably misused APIs around the world. Isn't it just another example of such thing? Isn't it "too easy to fail"? For instance is it OK ... -
06:52 AM Bug #11147 (Feedback): [SEGFAULT] While looping gets
- Please try with Ruby 2.2.5 or 2.3.1
-
06:51 AM Feature #12399 (Feedback): Restricted, safe version of `Kernel#eval`
-
06:47 AM Bug #12429 (Feedback): http.rb:933: [BUG] Segmentation fault at 0x00000000000000
- Please try with Ruby 2.3.1
-
06:46 AM Bug #12451 (Rejected): ruby yaml strangely parses string as fixnum
-
06:45 AM Bug #12453 (Feedback): 2.3.1p112 version running demo of array methods about 3x slower than running it with 2.2.0p0 version
-
06:32 AM Bug #12516 (Feedback): rails server aborts
- Please attach log file and show an instruction of reproducing server aborts.
-
06:22 AM Feature #12079: Loosening the condition for refinement
- > I would like to propose to loosen the condition for refinement so that as long as the relevant construction (such as the use of & to provoke Symbol#to_proc or calling of send or __send__) is within the valid scope of refinement, allow ...
-
06:14 AM Bug #12491 (Assigned): TestRefinement#test_prepend_after_refine_wb_miss too slow
- Christian Hofstaedtler wrote:
> In Debian we've recently enabled the full test suite (make test-all) on all architectures.
> ...
(snip)
> Please consider bumping the timeout and/or excluding the test?
Does the following fix work?
... -
05:41 AM Bug #12514 (Rejected): Refinements: when including Module as refinement, can't call other module methods
- > #=> in <main>': undefined methodvegetables' for "tomatoe":String
On my box, the following exception is raised instead:
```
t.rb:2:in `vegetables': undefined local variable or method `potatoe' for "tomatoe":String (NameError)
f... -
05:29 AM Revision 656c4586 (git): Read CaseFolding.txt in binary mode
- * enc/unicode/case-folding.rb (CaseFolding#load): read in binary
mode to deal with non-ASCII charater in CaseFolding.txt.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:13 AM Revision bddf4b02 (git): * lib/rubygems.rb, lib/rubygems/*, test/rubygems/*:
- Update rubygems 2.6.5 and 2.6.6.
Release note of 2.6.5: https://github.com/rubygems/rubygems/commit/656f5d94dc888d78d0d00f3598a4fa37391aac80
Release note of 2.6.6: https://github.com/rubygems/rubygems/commit/ccb9c3300c063f5b565666997... -
12:23 AM Revision eff68733 (git): touch
- * enc/unicode/case-folding.rb: touch the destination file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:17 AM Revision 417a000d (git): * 2016-06-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:17 AM Revision d1e2c50a (git): Updating casefold.h
- * common.mk (lib/unicode_normalize/tables.rb): should not depend
on Unicode data files unless ALWAYS_UPDATE_UNICODE=yes, to get
rid of downloading Unicode data unnecessary. [ruby-dev:49681]
* common.mk (enc/unicode/casefold.h): upda...
06/23/2016
-
11:38 PM Bug #9715: ENV data yield ASCII-8BIT encoded strings under Windows with unicode username
- FYI, I've been working on fixing several (including this) Ruby's Unicode issues on Windows and I hope to submit my patches within next 2 weeks, maybe sooner.
-
10:36 PM Bug #12480: Restarting Coverage does not capture additional coverage for already loaded files
- Solved this by using Coverage.peek_result in the before-fork part of my code to capture the current state and then merged it after the fork is done :D
Feel free to close this now! -
05:47 PM Feature #11266: [PATCH] WEBrick: allow subclassing of Response and Request
- It has been a year. Is there still anything I can do/change?
-
05:33 PM Feature #11735: Porting String#squish and String#squish! from Ruby on Rails' Active Support
- Shyouhei Urabe wrote:
> I had no pro et contra to the proposal until now. From what you said I started thinking squish can be a bad smell of indiscreet data treatment.
I think you're missing the point here. Squish is used to cleanup... -
03:54 PM Bug #12516 (Closed): rails server aborts
- I opened rails s , and it wouldn't work - Aborted. Sorry for not really knowing how to report this..
-
03:53 PM Feature #9999: Type Annotations (Static Type Checking)
- Existing ruby has interesting bits of a kind of formal duck-typing for some core library classes, like String#to_s and #to_str. There are a lot of methods that want 'a String', and will silently accept anything that can be made one with...
-
12:42 PM Revision 6cfe8b0e (git): Revert r55486,r55488,r55489
- They breaks build:
http://rubyci.s3.amazonaws.com/debian/ruby-trunk/log/20160623T123002Z.fail.html.gz
Revert "Unicode files for casefold.h"
Revert "casefold.h dependency"
Revert "Get rid of downloading Unicode data"
git-svn-id: svn+ssh... -
08:28 AM Bug #11152: Resolv::DNS should use Search Domains provided in /etc/resolv.conf by default
- Aaron Patterson wrote:
> Hi,
> ...
I am seeing the same problem, tested with Ruby 2.2.5 and 2.3.1.
My code is running on a [kubernetes](http://kubernetes.io/) cluster with docker just like David's.
This is the resolv.conf and Dav... -
07:21 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- In reality it's very common to treat `true`/`false` as a separate thing. The "everything is boolean" argument falls apart when you have something like var args in a method declaration and you want to perform distinct operations based on ...
-
05:25 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- At http://qiita.com/yatemmma/items/3597a0e20556fb846d3f, Matz explained the reason why Ruby doesn't have Boolean.
* `true` and `false` are just representative samples of boolean values.
* There is no method to be defined in `Boolean`... -
04:46 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- - I'm not a big fan of `Integer`, too. However,
- `Integer` has been there since the beginning. It was just not used before. You are always free to reopen this class. `Boolean` on the other hand, is something new. The situation is ... -
04:24 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- This was brought up in the past a lot:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/96321
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/186881
There's also this: http://stackoverflow.com/questions/31... -
02:51 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- edit: as a sidenote, adding a `Boolean` class to Ruby-core is unlikely to break any of the linked code, because Ruby is just defining an empty `Boolean` class. Existing libraries will just re-open the class as normal.
-
02:24 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- Shyouhei Urabe wrote:
> https://github.com/search?l=ruby&q=%22class+Boolean%22&type=Code
> ...
As Olivier pointed out, isn't this an argument to revert the `Integer` patch? Why is the `Integer` change okay but not `Boolean`? -
02:10 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- Shyouhei Urabe wrote:
> You failed here.
This admittedly could be lost in translation but I don't think this a very nice way to react to Loren's proposal. He didn't fail here. He just proposed something. You either think it's a good ... -
01:47 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- Loren Segal wrote:
> should be back compat unless someone already has a "`Boolean`" class at toplevel out there.
You failed here.
https://github.com/search?l=ruby&q=%22class+Boolean%22&type=Code
https://rubygems.org/search?query=... -
01:13 AM Feature #12515 (Rejected): Create "Boolean" superclass of TrueClass / FalseClass
- Since Ruby 2.4 is unifying Bignum/Fixnum into Integer (https://bugs.ruby-lang.org/issues/12005), it seems reasonable to do something similar for TrueClass / FalseClass, and create a proper Boolean hierarchy. The implementation would be f...
- 05:27 AM Revision 5b3db1f2 (git): * 2016-06-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:27 AM Revision b607f747 (git): Unicode files for casefold.h
- * common.mk (enc/unicode/casefold.h): update Unicode files in a
sub-make, not to let the header depend on the files always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:52 AM Bug #6408: DelegateClass#eql? and <=> don't work as expected
- I was bitten by something similar, expecting equal? to work correctly between non-delegate and delegate instances. Where are we at with this patch?
06/22/2016
-
04:13 PM Feature #12299: Add Warning module for customized warning handling
- Wrapping regular expressions feels very clumsy to me.
I still prefer the approach I put forward in https://bugs.ruby-lang.org/issues/11588 -
04:06 PM Bug #8822: Incorrect encoding for ENV in Windows
- I don't believe this is properly fixed.
I just left a comment at https://bugs.ruby-lang.org/issues/9715#note-5, and will leave the same comment here:
The expectation is that regardless of current locale / codepage, I should get UTF... -
03:42 PM Bug #9715: ENV data yield ASCII-8BIT encoded strings under Windows with unicode username
- I agree that ENV corruption continues to be a problem in Ruby. The expectation is that regardless of current locale, I should get UTF-8 strings when using ENV on Windows. Here is a simple reproduction of the failure on `2.3.0`:
``... -
03:09 PM Bug #12514 (Rejected): Refinements: when including Module as refinement, can't call other module methods
- Very simple script which reproduces the problem:
-
01:03 PM Feature #10208: Passing block to Enumerable#to_h
- I like this proposal. I think it is reasonable for `to_h` to take an optional block to specify how to make a hash from a given enumerable object because most enumerable objects are not composed of two element arrays. (IIRC that was the ...
-
01:02 PM Revision 2708f9dc (git): casefold.h dependency
- * common.mk (enc/unicode/casefold.h): add dependency and update by
incs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:29 AM Revision bf2ddb57 (git): * 2016-06-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:29 AM Revision d1daf466 (git): Get rid of downloading Unicode data
- * common.mk (lib/unicode_normalize/tables.rb): should not depend
on Unicode data files unless ALWAYS_UPDATE_UNICODE=yes, to get
rid of downloading Unicode data unnecessary. [ruby-dev:49681]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
07:25 AM Feature #12513 (Closed): Update Unicode data to Unicode Version 9.0
- Unicode 9.0 was just published yesterday (see
http://blog.unicode.org/2016/06/announcing-unicode-standard-version-90.html).
Ruby should be updated to this newest version of Unicode.
For details, please see http://unicode.org/version... -
12:18 AM Feature #12512: Import Hash#transform_values and its destructive version from ActiveSupport
- CF: https://github.com/rails/rails/pull/15819
I believe no one is against the feature itself.