Activity
From 01/06/2016 to 01/12/2016
01/12/2016
-
07:38 PM Bug #11977: Bug with array literals caused by r53376
- tenderlove@ruby-lang.org wrote:
> Thanks for the patch. That indeed fixes it for me. Can you apply it?
Thanks for the confirmation, r53518
> I guess this is due to the hash table change? I can't say I fully understand
> why t... -
07:25 PM Bug #11977 (Closed): Bug with array literals caused by r53376 - Applied in changeset r53518.
----------
resolve class name earlier and more consistently
This further avoids class name resolution issues which came
about due to relying on hash table ordering before r53376.
Pre-caching the class name... -
06:31 PM Bug #11977: Bug with array literals caused by r53376
- Eric Wong wrote:
> I can't seem to reproduce the problem with array_bug.git on my end.
> ...
Thanks for the patch. That indeed fixes it for me. Can you apply it?
I guess this is due to the hash table change? I can't say I fully u... -
02:28 AM Bug #11977: Bug with array literals caused by r53376
- I can't seem to reproduce the problem with array_bug.git on my end.
Can you try this?
http://80x24.org/spew/20160112021410.27364-1-e%4080x24.org/raw
Thanks
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscri... - 07:26 PM Revision 244916d4 (git): resolve class name earlier and more consistently
- This further avoids class name resolution issues which came
about due to relying on hash table ordering before r53376.
Pre-caching the class name when it is never used raises memory
use, but the overall gain from moving away from st sti... -
05:46 PM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
- alex maznev wrote:
> Running into the same issue here. https://github.com/mperham/sidekiq/issues/2763
Using `bundle exec` seems to clear this up for me. I think there is still a problem somewhere though. -
02:35 AM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
- Running into the same issue here. https://github.com/mperham/sidekiq/issues/2763
-
05:31 PM Bug #11968: OpenSSL extension only supports weak (512-bit, 1024-bit) Diffie-Hellman groups
- I have opened a PR on GitHub here:
https://github.com/ruby/ruby/pull/1196 -
05:10 PM Revision 8c8f92cd (git): drop osx and clang because they are often fails and slow
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:37 PM Revision 05f1caa1 (git): Fix typo [ci skip]
- * man/ruby.1: fix double word typo. [Fix GH-1194]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:26 PM Bug #11983 (Rejected): define_method not raising error for invalid method name
- It's a spec that `define_method` can define any name and `__send__` also can call it.
-
02:18 PM Bug #11983 (Rejected): define_method not raising error for invalid method name
- ## Steps to Reproduce:
Inside irb:
~~~ruby
Class A
end
A.send(:define_method, "may_run!?") do |*args, &block|
p "random text"
end
a = A.new
a.may_run!?
~~~
* never return from this function.
------------------... - 03:17 PM Revision a0f60979 (git): * 2016-01-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:17 PM Revision 1b39a6e5 (git): iseq.c: mark parents of wrapped iseq
- * iseq.c (iseqw_mark): as wrapped iseq is isolated from the call
stack, it needs to take care of its parent and ancestors, so
that they do not become orphans. [ruby-core:72620] [Bug #11928]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
03:16 PM Bug #11928 (Closed): Segmentation fault in did_you_mean extension
- Applied in changeset r53514.
----------
iseq.c: mark parents of wrapped iseq
* iseq.c (iseqw_mark): as wrapped iseq is isolated from the call
stack, it needs to take care of its parent and ancestors, so
that they do not become orph... -
02:15 PM Bug #11979: gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
- This IS a GCC version specific issue.
~~~
make -j16 optflags="-O0 -fno-fast-math"
~~~
can compile ruby-2.3.0, but
~~~
make -j16 optflags="-O1 -fno-fast-math"
~~~
cannot.
I want to know which file in ruby-2.3.0 reveals ... -
10:54 AM Bug #11979 (Closed): gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
- This may be a GCC version specific issue.
gcc-6, an experimental snapshot from http://ftp.tsukuba.wide.ad.jp/software/gcc/snapshots/6-20160110/ ,
fails to compile ruby-2.2.4 and ruby-2.3.0 with an error of
**template/encdb.h.tmpl:63:i... -
02:11 PM Feature #11982: Rename test-sample
- Benoit Daloze wrote:
> test-basic maybe?
You are right. I have to learn English :-( -
02:05 PM Feature #11982: Rename test-sample
- Usaku NAKAMURA wrote:
> Hiroshi SHIBATA wrote:
> ...
test-basic maybe? -
01:55 PM Feature #11982: Rename test-sample
- Hiroshi SHIBATA wrote:
> It contains basically syntax tests, assigning tests, etc.
You've already found the suitable name.
test-basical is good enough, I think. -
01:41 PM Feature #11982 (Closed): Rename test-sample
- Ruby test suites named `make check` are following instructions.
* test
* test-sample
* btest-ruby
* test-knownbug
* test-testframework
* test-almost
`test-sample` invokes `sample/test.rb`. It name is sample, but it's... -
01:45 PM Bug #11973: IO#advise should raise NotImplementedError on platforms that do not support that call
- I may have miscommunicated, so let me try to clarify. I think these should be the rules
1. If the platform supports posix_fadvise, then it should NOT raise NotImplementedError under any circumstances.
2. If the platform supports po... -
12:48 PM Bug #11980: External methods are appearing as instance methods for String
- Those results were from IRB. Here's my results from a Ruby script.
"test_scope_creep.rb"
~~~ruby
puts "".methods.count
puts defined? "".a
def a
"foo"
end
puts "".methods.count
puts defined? "".a
puts String.private_metho... -
12:32 PM Bug #11980: External methods are appearing as instance methods for String
- It's not just String.
~~~ruby
Array.instance_method(:a).owner
# => Object
~~~
-
12:30 PM Bug #11980 (Closed): External methods are appearing as instance methods for String
- It appears we're having methods creep into the String scope.
~~~ruby
"".methods.count
# => 170
defined? "".a
# => nil
def a
"foo"
end
"".methods.count
# => 171
defined? "".a
# => "method"
"bar".a
# => "foo"
~~~ -
12:05 PM Revision 9efd4dbe (git): * common.mk: update URL and name for the Ruby spec suite.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:23 AM Revision 09cb46b9 (git): correction to proper word
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:19 AM Revision f425e0fc (git): * lib/forwardable.rb: Convert given accessors to String.
- r53381 changed to accept only Symbol or String for accessors, but
there are several rubygems that pass classes (e.g. Array,
Hash, ...) as accessors. Prior r53381, it was accepted because Class#to_s
returns its class name. After r53... -
09:42 AM Revision 4a5d3572 (git): string.c: made a variable name more grammatically correct
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:38 AM Bug #11975: Range#last is not consistent and possibly does not do what is expected.
- I haven't found this behaviour surprising at all. Maybe it’s because I'm
almost always using literal ranges and this lead me to think of
`Range#last` as “give me the last element of the range’s _definition_
(regardless of exclude_... -
09:08 AM Bug #11975: Range#last is not consistent and possibly does not do what is expected.
- Nakada-san, `(0.0...1.0).last` would probably give the same error as `(0.0...1.0).to_a`?
Marc, even though it's intentional, and even documented, it's still not obvious that this is desirable behaviour. What I did find, is an equivale... -
09:35 AM Revision f23658f1 (git): string.c: minor grammar fix [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:24 AM Revision 9835b48a (git): merge revision(s) 53346,53347,53348,53349: [Backport #11898]
- * process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
reported by naruse via twitter.
* process.c (rb_execarg_addopt): need to convert to ospath.
* process.c (rb_execarg_parent_start1): need to... -
08:24 AM Bug #11898: backport r53346-r53349
- ruby_2_3 r53508 merged revision(s) 53346,53347,53348,53349,53391.
-
07:44 AM Revision 42b809f2 (git): fix test to follow r53503
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:09 AM Revision dd80902f (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:09 AM Revision 92dc9e55 (git): test/ruby/enc/test_casing_options.rb: Tests for option
- parsing/checking for upcase/downcase/capitalize/swapcase
(see r53503; with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:03 AM Revision d956652d (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:03 AM Revision 2788cd98 (git): string.c: Added option parsing/checking for upcase/downcase/
- capitalize/swapcase (with Kimihito Matsui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:31 AM Bug #11978 (Closed): r53493 is also needed for ruby_2_3 branch
-
06:31 AM Bug #11978: r53493 is also needed for ruby_2_3 branch
- ruby_2_3 r53502 merged revision(s) 53493.
-
05:19 AM Bug #11978 (Closed): r53493 is also needed for ruby_2_3 branch
- r53493 should be backported into ruby_2_3 branch.
I've already created the PR: https://github.com/ruby/ruby/pull/1193 -
06:22 AM Revision c0e208bc (git): merge revision(s) 53493: [Backport #11978]
- * include/ruby/missing.h (explicit_bzero_by_memset_s): remove
inline implementation by memset_s, which needs a macro before
including headers and can cause problems in extension libraries
by the order of the... - 01:51 AM Revision 3a7c12c2 (git): * 2016-01-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:51 AM Revision 242b1d8f (git): escape brackets
- * configure.in: escape char class brackets in regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/11/2016
-
10:37 PM Bug #11974 (Closed): segmentation fault when executing rake doc:app
-
07:40 PM Bug #11974: segmentation fault when executing rake doc:app
- I have just checked and the problem doesn't happen with the latest version (ruby 2.4.0dev (2016-01-11 trunk 53498) [x86_64-linux]).
So, would you like to close this issue?
(Thanks.) -
12:40 AM Bug #11974 (Feedback): segmentation fault when executing rake doc:app
- Seems something broken in an IO object.
Can't you try with recent 2.2? -
06:58 PM Bug #11973: IO#advise should raise NotImplementedError on platforms that do not support that call
- On Sun, Jan 10, 2016 at 5:26 PM, <git@chuckremes.com> wrote:
> Issue #11973 has been reported by Chuck Remes.
>
> ----------------------------------------
> Bug #11973: IO#advise should raise NotImplementedError on platforms that d... -
04:21 PM Bug #11977 (Closed): Bug with array literals caused by r53376
- Hi,
I'm seeing a bug with the class name of array literals, and I believe it is caused by r53376 (reverting that commit seems to fix the issue).
The bug is that array literals will have the class name "ThreadSafe::Array" when I exp... -
03:06 PM Bug #11928 (Open): Segmentation fault in did_you_mean extension
- With the just experimental patch, I didn't encounter SEGV.
I suspect about GC mark matter of T_IMEMO iseq, referenced by `NameError#local_variables`.
```diff
diff --git a/gc.c b/gc.c
index 874cb98..e34da14 100644
--- a/gc.c
+++ ... -
12:28 PM Revision eb86cd6b (git): include/ruby/oniguruma.h: Added flags needed for upcase/downcase
- Unicode addition (with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:52 AM Bug #11976 (Closed): Assigning to nil as a hash short-circuits without error.
- Fixed at r53485.
-
06:10 AM Bug #11976 (Closed): Assigning to nil as a hash short-circuits without error.
- When assigning to nil as a hash, the RHS gets short-circuited, and the hash assignment on nil returns nil.
To reproduce:
~~~ruby
nil[:some_key] = undefined_method
# Expected: NameError: undefined local variable or method `undefined... -
02:33 AM Bug #11975: Range#last is not consistent and possibly does not do what is expected.
- Range is not only for discrete values.
What will you expect for `(0.0...1.0).last`? -
01:02 AM Bug #11975 (Rejected): Range#last is not consistent and possibly does not do what is expected.
- This is intentional and documented:
"Note that with no arguments +last+ will return the object that defines the end of the range even if #exclude_end? is +true+."
Changing that would create incompatibilities that would far outweigh... -
12:50 AM Revision c97c37a5 (git): configure.in: check API version
- * configure.in: check if the API version number is consistent with
the program version number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:01 AM Revision 948c7689 (git): * 2016-01-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:01 AM Revision d138a110 (git): io.h: remove old macros
- * include/ruby/io.h (RB_IO_BUFFER_INIT, RB_IO_FPTR_NEW): remove
old macros only for internal use and obsolete since 2.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/10/2016
-
11:12 PM Bug #11975 (Rejected): Range#last is not consistent and possibly does not do what is expected.
- The following example demonstrates an inconsistency with Range:
This is expected behaviour:
~~~
(0..10).last => 10
(0..10).to_a.last => 10
~~~
This is unexpected behaviour:
~~~
(0...10).last => 10 # (should be 9?)
(0...1... -
10:41 PM Bug #11657: Abort Trap 6 when running a test suite
- Excellent, many thanks for the patches :-)
-
10:33 PM Bug #11974 (Closed): segmentation fault when executing rake doc:app
- This segmentation fault (see attached file) occurs when executing rake doc:app for any Rails project.
=======
Rails 4.2.5
rake, version 10.4.2
-
10:26 PM Bug #11973 (Rejected): IO#advise should raise NotImplementedError on platforms that do not support that call
- Right now IO#advise returns nil when passed legal arguments even on platforms that do not support that POSIX function (like OS X). To be consistent with other calls in core, I think that IO#advise should raise NotImplementedError for uns...
-
01:12 PM Bug #11972 (Closed): CGI::pretty がコメント内のhtmlタグにより範囲を見失う
- 以下のようなコードで ArgumentError が再現します。
~~~
#!/usr/bin/env ruby
require 'cgi'
puts CGI.pretty(DATA.read)
__END__
<script>
// <!--
alert('<p></p>');
// -->
</script>
~~~
手元では CGI::pretty の1行目を
lines = string.gsub(/(?!\A)<[^!... -
11:57 AM Revision e6f6c77d (git): compile.c: fix lhs splat in massign
- * compile.c (compile_massign_lhs): when index ends with splat,
append rhs value to it like POSTARG, since VM_CALL_ARGS_SPLAT
splats the last argument only. [ruby-core:72777] [Bug #11970]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
11:57 AM Bug #11970 (Closed): Multiple Assignment Into a Hash with Destructuring causes segfault
- Applied in changeset r53495.
----------
compile.c: fix lhs splat in massign
* compile.c (compile_massign_lhs): when index ends with splat,
append rhs value to it like POSTARG, since VM_CALL_ARGS_SPLAT
splats the last argument only.... -
09:43 AM Revision a5beed9f (git): ext/-test-: reduce feature names
- * ext/-test-/**/extconf.rb: bring up extension libraries which
have same name as the parent directory to reduce feature names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:58 AM Bug #11971 (Third Party's Issue): Gem.path lost default path '[installdir]/lib/ruby/gems/2.3.0' when both GEM_HOME and GEM_PATH has seted
- Thank you, confirmed with all of 1.9..trunk.
It is an issue of rubygems. -
06:05 AM Bug #11971: Gem.path lost default path '[installdir]/lib/ruby/gems/2.3.0' when both GEM_HOME and GEM_PATH has seted
- Nobuyoshi Nakada wrote:
> ~~~
> ...
Sorry for my fault, It needs both GEM_HOME and GEM_PATH has seted.
-
06:45 AM Revision 09bdb791 (git): missing.h: remove explicit_bzero_by_memset_s
- * include/ruby/missing.h (explicit_bzero_by_memset_s): remove
inline implementation by memset_s, which needs a macro before
including headers and can cause problems in extension libraries
by the order of the macro and headers.
git... -
05:23 AM Feature #10548: remove callcc (Callcc is now going obsoleted. Please use Fiber.)
- Please don't do it. Continuations are awesome
- 04:44 AM Revision 2b26565e (git): io.c: remove obsolete rb_deferr global variable
- This was made obsolete by r4190 back in July 2003. Furthermore,
this existed less than 3 months as it was only introduced in
r3782.
So with absolutely no references to rb_deferr, I doubt any vim
plugin would care anymore.
ChangeLog: f... - 04:43 AM Revision 18ca559d (git): ChangeLog: fixup indent for r53488
- Oops :x
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:07 AM Revision 645d2395 (git): insns.def: description [ci skip]
- * insns.def: [DOC] add missing English description.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:35 AM Revision ec0198fd (git): * 2016-01-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:35 AM Revision 778bbac8 (git): stdlib: avoid extra calls to eliminate "\n" from Base64
- We may use the '0' (zero) to avoid adding the line feed.
Furthermore, the '*' (asterisk) modifier is not needed for
a single-element arrays.
* ext/psych/lib/psych/visitors/yaml_tree.rb (visit_String):
eliminate chomp
* lib/net/http.rb... -
12:35 AM Feature #11938 (Closed): [PATCH] cleanup: stdlib: avoid extra calls to eliminate "\n" from Base64 - Applied in changeset r53488.
----------
stdlib: avoid extra calls to eliminate "\n" from Base64
We may use the '0' (zero) to avoid adding the line feed.
Furthermore, the '*' (asterisk) modifier is not needed for
a single-element arrays...
01/09/2016
-
07:20 PM Bug #11967 (Rejected): Mixing kwargs with optional parameters changes way method parameters are parsed
- This behavior may be surprising but it is intentional.
It boils down to giving priority to filling keyword arguments first instead of filling unnamed parameters. It is actually the only possible way to go. Among other things, think ab... -
02:23 PM Bug #11970: Multiple Assignment Into a Hash with Destructuring causes segfault
- https://github.com/nobu/ruby/tree/bug/11970-massign-lhs-splat
-
09:34 AM Bug #11970: Multiple Assignment Into a Hash with Destructuring causes segfault
- Seems incorrect results also in 2.0 and 2.1.
-
02:19 PM Revision 4b346b0e (git): test_hash.rb: add test
- * test/ruby/test_hash.rb (test_try_convert): Add test for
Hash.try_convert. [Fix GH-1190]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:15 PM Revision fa892028 (git): openssl: fix examples [ci skip]
- * ext/openssl/ossl.c: Add missing variables to documentation
examples. [Fix GH-1189]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:38 PM Bug #10653: do-end block in ternary operator is syntax error
- Currently it's a bit flag in parse.y too.
-
11:26 AM Bug #10653: do-end block in ternary operator is syntax error
- I was implementing this in my Ruby parser and I found a much simpler solution than what you've implemented here: https://github.com/whitequark/parser/commit/113442eff1f9c6f7e7205ec0dac8cb858b3b0fc7
In short, instead of explicitly enum... -
09:51 AM Bug #11971 (Feedback): Gem.path lost default path '[installdir]/lib/ruby/gems/2.3.0' when both GEM_HOME and GEM_PATH has seted
- ~~~
$ GEM_PATH=/ ruby2.3 -e 'p Gem.path'
["/", "/opt/local/lib/ruby2.3/gems/2.3.0"]
$ GEM_HOME=/ ruby2.3 -e 'p Gem.path'
["/Users/nobu/.gem/ruby/2.3.0", "/opt/local/lib/ruby2.3/gems/2.3.0", "/"]
~~~
Seems present. -
06:56 AM Bug #11971 (Third Party's Issue): Gem.path lost default path '[installdir]/lib/ruby/gems/2.3.0' when both GEM_HOME and GEM_PATH has seted
- Version: ruby 2.3.0 and gem 2.5.1
Gem.path lost default path '[installdir]/lib/ruby/gems/2.3.0' when both GEM_HOME and GEM_PATH has been set
So require stdlib like 'test-unit' or 'rake' will raise 'LoadError'
But ruby 2.2.3 and ... -
09:39 AM Bug #11956: RUBYOPT parses after rubygems loaded
- Am I Who wrote:
> RUBYOPT parse prior to rubygems before ruby 2.3.0, why ruby 2.3.0 change this?
I have explained: https://bugs.ruby-lang.org/issues/11956#note-4
> ...
It hasn't changed, just a gem is loaded before `RUBYOPT`.
Ano... -
05:04 AM Bug #11956: RUBYOPT parses after rubygems loaded
- Nobuyoshi Nakada wrote:
> I'm uncertain if rubygems expects such usage of `RUBYOPT` or not.
> ...
RUBYOPT parse prior to rubygems before ruby 2.3.0, why ruby 2.3.0 change this? -
01:52 AM Bug #11956: RUBYOPT parses after rubygems loaded
- I'm uncertain if rubygems expects such usage of `RUBYOPT` or not.
Another way is to put your code in `rubygems/defaults/ruby.rb` under `RUBYLIB`.
This file is read only when `RUBY_ENGINE` is `"ruby"` at initialization of rubygems. -
12:15 AM Bug #11956: RUBYOPT parses after rubygems loaded
- Nobuyoshi Nakada wrote:
> Rubygems sets `Gem.path` at loading the first gem.
> ...
Because I uses MRI ruby and jruby at the same time, if I just set env variable GEM_HOME and GEM_PATH many gems will conflict within MRI ruby and jruby -
09:26 AM Revision c79402c4 (git): symbol.h: unexpected safe call
- * symbol.h (is_attrset_id): ASET is an attrset ID. fix
unexpected safe call instead of an ordinary ASET.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:49 AM Revision f6dcbf74 (git): nmake VPATH
- * ext/rbconfig/sizeof/depend (sizes.c): add nmake VPATH prefix.
reapply r53482 with '#' as separator not to be removed in
make-snapshot.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:24 AM Revision 52ddf1f8 (git): Revert r53482 "nmake VPATH"
- it breaks `make dist`.
http://rubyci.s3.amazonaws.com/tk2-243-31075/ruby-trunk/log/20160109T034902Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:33 AM Revision 64e22859 (git): nmake VPATH
- * ext/rbconfig/sizeof/depend (sizes.c): add nmake VPATH prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:32 AM Revision 445e11da (git): probes.h including dummy header
- * Makefile.in, win32/Makefile.sub (probes.h): include dummy header
instead of copying.
* common.mk (probes.dmyh): add nmake VPATH prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:46 AM Revision a4c091a6 (git): fix rc files conflict in parallel build
- * cygwin/GNUmakefile.in (%.rc): generate .rc files separately to
get rid of conflict in parallel build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:15 AM Revision c0e36de0 (git): vcs.rb: srcdir accessor
- * tool/vcs.rb (VCS#srcdir): add accessor for VCS::GIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:03 AM Revision 612edc77 (git): use stringized macros
- * version.h (RUBY_COPYRIGHT): use stringized macros,
RUBY_BIRTH_YEAR_STR and RUBY_RELEASE_YEAR_STR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:44 AM Revision d43ef66b (git): RUBY_PROGRAM_VERSION from RUBY_VERSION
- * configure.in, win32/setup.mak: extract RUBY_PROGRAM_VERSION from
RUBY_VERSION in version.h instead of RUBY_API_VERSION numbers in
include/ruby/version.h, and cut it into version numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby... -
01:02 AM Revision d58e799d (git): extract version from version.h
- * tool/mkconfig.rb: extract version numbers from version.h but not
from API version in include/ruby/version.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:23 AM Revision 1fbfa718 (git): RUBY_RELEASE_DATE in verconf.mk
- * win32/setup.mak (verconf.mk): extract RUBY_RELEASE_DATE without
quotation marks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:20 AM Revision 34b1c7dd (git): fix library teeny
- * configure.in, win32/Makefile.sub: fix teeny of library version
to 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:20 AM Revision 6837c648 (git): configure.in: RUBY_PROGRAM_VERSION
- * configure.in: use $(RUBY_PROGRAM_VERSION) instead of the triplet
macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:19 AM Revision bc8a7f9a (git): revert r53459, r53427, r53314
- Revert "* tool/make-snapshot: fix for the changes of version.h in r53314."
Revert "* version.h (RUBY_BUILD_VERSION_STR_3): Workaround for old version of"
Revert "program version from API version"
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
01/08/2016
-
10:15 PM Revision fca0cf6e (git): * gc.c: rename PAGE_* to HEAP_PAGE_* because PAGE_SIZE is used
- in Mac OS X.
* test/ruby/test_gc.rb: catch up this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:46 PM Revision 1f1f3112 (git): * gc.c: PAGE_BITMAP_PLANES (the number of bitmap) is 4, not 3.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:45 PM Revision 17c7bdc0 (git): * 2016-01-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:45 PM Revision f8827cef (git): * gc.c: rename constant names HEAP_* to PAGE_*.
- Keys of GC::INTERNAL_CONSTANTS are also renamed.
* test/ruby/test_gc.rb: catch up this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:27 PM Bug #11970: Multiple Assignment Into a Hash with Destructuring causes segfault
- I apologize for whatever I did to mangle the formatting.
-
06:20 PM Bug #11970 (Closed): Multiple Assignment Into a Hash with Destructuring causes segfault
- Segfaults in 2.2.3 and 2.3.0, In 2.1.0 and below, produces `{[:foo]=>:bar}`
~~~ruby
foo = [:foo]
bar = [:bar]
h = {}
h[*foo], _tail = *bar # Segfault
~~~
Using hash assignment/destructuring in this way may very well be undef... -
05:00 PM Feature #11955: Expose Object that Receives logs in Logger
- > Your example doesn't seem to able to get rid of adding stdout_logger twice or more, even with logger.destination.
It took a long time to write that example to be short, maybe I missed some details. A real world example is in that li... - 01:34 PM Revision 066b8254 (git): * doc/regexp.rdoc: [DOC] Elaborate on the \G anchor. [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:07 PM Bug #11956: RUBYOPT parses after rubygems loaded
- Rubygems sets `Gem.path` at loading the first gem.
Ruby 2.3 bundles `did_you_mean` and activates it by default.
Why don't you set `GEM_HOME` and `GEM_PATH` directly instead of setting them in that file? -
12:09 PM Bug #11969 (Closed): [PATCH] IRB: Final newline missing in truncated backtraces
- If IRB shows a backtrace that gets truncated because of `back_trace_limit`, the last line of the backtrace does not end with a newline.
Steps to reproduce:
~~~
$ irb -f --back-trace-limit 1
irb(main):001:0> foo
~~~
Actual out... -
10:56 AM Revision b6261054 (git): * gc.c: remove heap_page::body. Instead of this field,
- heap_page::start field works well.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:52 AM Revision 92f33ef2 (git): iseq.c: volatile only on gcc4.8
- * iseq.c (rb_iseq_compile_with_option): no volatile on gcc other
than 4.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:34 AM Revision 3ccafdb0 (git): * gc.c: rename rb_heap_t::page_length to rb_heap_t::total_pages.
- `page_length' is not clear (we may understand with length of
a page).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:24 AM Revision 4ebaed6b (git): test_tempfile.rb: use assert_file
- * test/test_tempfile.rb (test_create_with{,out}_block): use
assert_file for descriptive failure messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:23 AM Revision 98311146 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:23 AM Revision e5e37c20 (git): * gc.c: remove heap_page::heap. This field is only used to recognize
- whether a page is in a tomb or not. Instead of this field,
heap_page::flags::in_tomb (1 bit field) is added.
Also type of heap_page::(total|free|final)_slots are changed from
int to short. 2B is enough for them.
git-svn-id: sv... -
07:47 AM Revision 0455a255 (git): iseq.c: make local variables volatile
- * iseq.c (rb_iseq_compile_with_option): prepare arguments outside
EXEC_TAG, and make local variables volatile not to be clobbered
by longjmp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:35 AM Revision 1645833e (git): * tool/make-snapshot: fix for the changes of version.h in r53314.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:08 AM Misc #11876: Scheduled maintenance 2016/01/01
- shibata.hiroshi@gmail.com wrote:
> LA of svn server is 0.10 to 0.20.
> We have enough resources includes memory, disk, network.
>
> No need to worry :)
Thank you, I am now running svnsync on http://svn.ruby-lang.org/repos/ruby
... -
01:25 AM Misc #11876: Scheduled maintenance 2016/01/01
- >Sorry, I meant "loaded" in terms of resource use
> ...
ah. Thanks for your explanation.
LA of svn server is 0.10 to 0.20.
We have enough resources includes memory, disk, network.
No need to worry :)
-
01:48 AM Bug #11954 (Assigned): "self has wrong type to call super in this context" under weird circumstances
- The bug was introduced in r52104 by ko1, and it seems to be fixed by the attached patch, but Im' not sure.
-
01:21 AM Bug #11967: Mixing kwargs with optional parameters changes way method parameters are parsed
- This looks like a spec issue, so I have assigned it to Matz. I can see arguments for both ways, the current one and the one proposed by Markus. But we can't have it both ways :-(.
-
12:38 AM Revision 11516342 (git): * iseq.c (rb_iseq_compile_with_option): move variable initialization
- code to avoid maybe-uninitialized warnings by gcc 4.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/07/2016
-
10:48 PM Misc #11876: Scheduled maintenance 2016/01/01
- SHIBATA Hiroshi <hsbt@ruby-lang.org> wrote:
> > Btw, how loaded is the SVN server nowadays?
>
> I used svnadmin load/dump at this time.
Sorry, I meant "loaded" in terms of resource use
(loadavg/memory/disk/network).
Having a ... -
04:28 AM Misc #11876: Scheduled maintenance 2016/01/01
- shibata.hiroshi@gmail.com wrote:
> restore done.
Curious, what broke/changed?
Btw, how loaded is the SVN server nowadays?
I might create a mirror using the svnsync(1) for git-svn
development/testing purposes. However, I do... -
03:44 AM Misc #11876 (Closed): Scheduled maintenance 2016/01/01
- restore done.
-
08:47 PM Bug #11966 (Closed): YAML#load fails with OpenStruct object
- Thanks for filing this. Already fixed, see #11884.
-
12:45 PM Bug #11966 (Closed): YAML#load fails with OpenStruct object
- Code that can be used to reproduce the issue (works on 2.2.3, fails on 2.3.0):
~~~
require 'ostruct'
require 'yaml'
yaml = "
args:
- !ruby/object:OpenStruct
table:
:body: foo "
YAML.load(yaml)
~~~
Stacktrace:
... -
07:11 PM Bug #11968 (Closed): OpenSSL extension only supports weak (512-bit, 1024-bit) Diffie-Hellman groups
- The following D-H groups are enabled per default:
https://github.com/ruby/ruby/blob/trunk/ext/openssl/lib/openssl/pkey.rb
These use 512-bit and 1024-bit primes respectively. These are considered weak in 2015 by all present methods ... - 03:07 PM Revision 7fbd9349 (git): * 2016-01-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:07 PM Revision 3dcd4b2a (git): * enum.c (enum_min, enum_max): do the same optimization as r53454.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:38 PM Bug #11954: "self has wrong type to call super in this context" under weird circumstances
- I can reproduce this bug on 2.3.0 and was able to reduce the broken code even more increasing the amount of iterations:
https://gist.github.com/splattael/7b45e0f16e0084f50668
-
02:25 PM Bug #11967 (Rejected): Mixing kwargs with optional parameters changes way method parameters are parsed
- I have the following method:
def test(first_param = nil, keyword_arg: nil)
puts "first_param: #{first_param}"
puts "keyword_arg: #{keyword_arg}"
end
All the following calls do what I expect them to do:
... - 01:35 PM Revision 98e565ec (git): * ruby.h: undef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P
- and HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P on C++.
[ruby-core:72736] [Bug #11962]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:35 PM Bug #11962 (Closed): Ruby 2.3.0 causing compile failure on extensions using a C++ compiler
- Applied in changeset r53455.
----------
* ruby.h: undef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P
and HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P on C++.
[ruby-core:72736] [Bug #11962] -
12:33 PM Bug #11962: Ruby 2.3.0 causing compile failure on extensions using a C++ compiler
- I found the other place to be fixed.
The following patch is the complete version.
```diff
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index 7aabf5b..a2f42c8 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@... -
07:16 AM Bug #11962: Ruby 2.3.0 causing compile failure on extensions using a C++ compiler
- Can I fix it by the following change?
~~~diff
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index 7aabf5b..72523c6 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -874,7 +874,7 @@ struct RBasic {
VALUE rb... -
01:06 PM Revision 9f44b77a (git): * enum.c (enum_minmax): optimize object comparison in
- Enumerable#minmax.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:28 PM Revision a1115a1b (git): * ext/ripper/depend: Just like BSDmake, nmake also recognize the rule of
- ".eventids2.check" as inference one. but nmake is not cheated by macro.
this fixes build failure introduced at r53448. see also the commit log of
r53452.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53453 b2dd03c8-39d4-4d8f-9... -
10:12 AM Feature #11963: Add a simple static web server to `ruby`
- I guess somebody providing code/a patch would go a long way to moving this issue forward. The invocation syntax is probably a detail that will solve itself somehow when we have an implementation.
As to introducing another way to do th... -
02:28 AM Feature #11963: Add a simple static web server to `ruby`
- sgharms@stevengharms.com wrote:
> "Good artists copy, great artists steal." - Pablo Picasso
<snip>
> I believe the best and shortest chant is the following:
>
> `ruby -run -e httpd . -p <PORT>`
If we steal from Python, we m... -
12:09 AM Feature #11963 (Closed): Add a simple static web server to `ruby`
- # Introduction
"Good artists copy, great artists steal." - Pablo Picasso
`python -m SimpleHTTPServer` starts a static webserver in the local directory. It is
helpful in many surprising ways. Ruby lacks a similar idiom. I advocate... -
10:01 AM Misc #11957: svn リポジトリのリビジョンがずれている
- 復旧していることを確認できました。ありがとうございます
-
02:52 AM Misc #11957 (Closed): svn リポジトリのリビジョンがずれている
- 11:30(JST) に再構築しました。ご指摘のあったリビジョンは復旧していると思います。
-
08:33 AM Bug #11956: RUBYOPT parses after rubygems loaded
- Nobuyoshi Nakada wrote:
> Yes.
> ...
I change GEM_HOME and GEM_PATH in loader.rb , but it doesn't affect Gem.path.
The same loader.rb works at ruby 2.2.3(and before) and jruby.
I uses both MRI ruby and jruby,so I uses RUBYOPT to chan... -
03:13 AM Bug #11956 (Feedback): RUBYOPT parses after rubygems loaded
- Yes.
And what is your problem? -
07:59 AM Bug #4044: Regex matching errors when using \W character class and /i option
- Hmmm... When I try it with any other combination it never matches. Its only when I add the /i then it doesn't matter which case of "f"
~~~
"ffffFFFF".scan(/[\W]/) # []
"ffffFFFF".scan(/[\W]/i) # ["ff", "ff", "FF", "FF"]
"ff... -
05:40 AM Bug #4044: Regex matching errors when using \W character class and /i option
- Sam Eaton wrote:
> /[\W]/ =~ "00FF00" # nil
> ...
It's spec.
Its mechanism is, \W includes U+FB00 (LATIN SMALL LIGATURE FF).
/i option expands it into FF.
The the "FF" match given string. -
07:11 AM Revision 93bf5472 (git): fix r53448
- avoid mkmf.rb's suffix rule scanner (lib/mkmf.rb:2085), it detects
suffix rule from depend file and adds .SUFFIXES.
It breaks bsdmake to generate check file named ".eventids2.check".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@534... -
06:51 AM Revision 84d9d485 (git): Additional fix of r53450
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:37 AM Revision f2ba23ac (git): mkmf.rb: fix for ODE make
- * lib/mkmf.rb (create_makefile): get rid of placing @ at the
beginning of replacement, which is the loop expansion mechanism
from the OSF Development Environment (ODE) make. fix failures
with bmake by r53448.
git-svn-id: svn+ssh:... -
05:50 AM Bug #10738: Parsing invalid URI results in undefined method `split' for nil:NilClass (NoMethodError)
- Here is the reproduction steps:
~~~
$ rbenv shell 2.2.4
$ ruby -ruri -e 'URI "mailto:/example.com/"'
/Users/rafaelfranca/.rbenv/versions/2.2.4/lib/ruby/2.2.0/uri/mailto.rb:138:in `initialize': undefined method `split' for nil:NilCl... -
05:47 AM Bug #10738: Parsing invalid URI results in undefined method `split' for nil:NilClass (NoMethodError)
- This issue is also present in Ruby 2.2. Is it possible to backport?
-
05:49 AM Revision 557a00f1 (git): thread.c: interrupt queue on uninitialized thread
- * thread.c (rb_thread_pending_interrupt_p): no pending interrupt
before initialization.
* thread.c (thread_raise_m, rb_thread_kill): uninitialized thread
cannot interrupt. [ruby-core:72732] [Bug #11959]
git-svn-id: svn+ssh://ci.rub... -
05:49 AM Bug #11959 (Closed): Segfault during `exit' in thread initialize (Extended class).
- Applied in changeset r53449.
----------
thread.c: interrupt queue on uninitialized thread
* thread.c (rb_thread_pending_interrupt_p): no pending interrupt
before initialization.
* thread.c (thread_raise_m, rb_thread_kill): uninitiali... -
05:44 AM Feature #11955: Expose Object that Receives logs in Logger
- Your example doesn't seem to able to get rid of adding `stdout_logger` twice or more, even with `logger.destination`.
Maybe won't it be better to do in `LogDevice` layer? -
05:04 AM Feature #11965 (Closed): provide default basename parameter Tempfile.create
- **Tempfile.new** have default basename from 2.3.0
https://github.com/ruby/ruby/commit/05c108cdba62545bb50616726f0b7261cb89ad4e
So, I propose that **Tempfile.create** also set default basename.
ref https://github.com/ruby/ruby/pu... -
03:06 AM Revision b032d111 (git): mkmf.rb: library installation messages
- * lib/mkmf.rb (configuration, dummy_makefile, create_makefile):
show library installation messages only when any files need to
be updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:34 AM Revision 9a0b64fd (git): * 2016-01-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:34 AM Revision 7aab062e (git): version.c: no exit in ruby_show_copyright
- * include/ruby/backward.h (ruby_show_copyright_to_die): for source
code backward compatibility.
* ruby.c (process_options): return Qtrue to exit the process
successfully.
* version.c (ruby_show_copyright): no longer exit.
git-svn-id... -
02:34 AM Bug #8316: Can't pass hash to first positional argument; hash interpreted as keyword arguments
- This is unfortunately still an issue with default values in positional arguments:
2.2.2 > def foo(hash={}, opt: true); p hash; p opt; end
=> :foo
2.2.2 > foo({a: 1})
ArgumentError: unknown keyword: a
Expected behavior is that f... -
01:44 AM Bug #11964 (Closed): __callee__ in aliased methods defined in a module returns an incorrect value - With Ruby 2.3, instead of following snippet printing bar (as it does with ruby 2.2.4) it prints foo.
If the methods are defined within the class instead of an included module, the snippet prints bar.
~~~ruby
module Mod
def foo
...
01/06/2016
-
11:26 PM Bug #4044: Regex matching errors when using \W character class and /i option
- I am experiencing this issue with Ruby 2.3.0 on both OS X 10.10.5 and Ubuntu 14.04.3. When i have a double "f" i get a regex match with the non-word symbol and case insensitivity.
~~~
/[\W]/ =~ "00FF00" # nil
/[\W]/i =~ "00FF00... -
10:49 PM Bug #11937 (Closed): did_you_mean and other bundled gems are not installed by make install
- Thanks for your comments and commits, it is clearer now :)
-
05:14 PM Bug #11962 (Closed): Ruby 2.3.0 causing compile failure on extensions using a C++ compiler
- Hello,
I'm a contributor with the SciRuby foundation, and we have a gem called [nmatrix](https://github.com/SciRuby/nmatrix), which is a ruby gem for linear algebra processing in Ruby.
For representing different types of data, nmat... -
04:34 PM Bug #11961 (Closed): Array#delete_if gets an unexpected behavior when Array is modified during execution
- However strange is the code below the behavior is not which expected.
a = %w(aue)
a.delete_if { a.delete_if { true }; true}
p a
with ruby 2.3 it produces:
["aue", false, false]
with ruby 2.2 it procudes:
[]
After a gi... -
04:27 PM Feature #11955: Expose Object that Receives logs in Logger
- Here is a patch to Rails that could benefit from standardizing access to the logger destination object: https://github.com/rails/rails/pull/22933
-
04:19 PM Misc #11960 (Closed): Tiny documentation improvement for URI.escape
- This just cropped up on Reddit. A user was confused by URI.escape's behavior, why it was obsolete, and what should be used instead. So, here's a trivial doc patch:
```
diff --git a/lib/uri/common.rb b/lib/uri/common.rb
index 4c7d112... -
04:11 PM Bug #11959 (Closed): Segfault during `exit' in thread initialize (Extended class).
- https://ideone.com/jluEsq (ruby 2.1.5p273)
https://eval.in/498185 (ruby 2.3.0)
Minimal reproduction:
~~~
require 'thread'
class A < Thread
def initialize
exit
end
end
A.new
~~~
-
12:37 PM Misc #11876 (Assigned): Scheduled maintenance 2016/01/01
- I found broken revisions before r53353.
I try to dump and restore svn repository. I will maintenance svn.ruby-lang.org tomorrow afternoon(JST).
Sorry for your inconvenience experience. -
12:34 PM Misc #11957 (Assigned): svn リポジトリのリビジョンがずれている
- ご報告ありがとうございます。
旧サーバーにてデータを確認したところ、ご指摘のあったリビジョンは別のデータとなっており
確かに移行先のリポジトリのデータが壊れているようです。
今回の移設では日時で作成しているバックアップデータを用いて再構築を行いましたが、それらの
データが壊れていた可能性があります。改めて旧サーバーからダンプデータを作成しなおし、
再構築を行っている最中です。
完了したらこの issue でご連絡します。
-
11:25 AM Misc #11957 (Closed): svn リポジトリのリビジョンがずれている
- r34900-r53360 あたりでコミットが重複したりリビジョン番号が以前と変わってしまっています。
先月は正常だった気がするので、おそらく #11876 のメンテナンスの影響ではないかと思います。
例えば、もともと r34900 だったコミットが、現在のリポジトリでは r34900 と r34920 で重複しています。
https://github.com/ruby/ruby/commit/e5ac15998d29d5a239827fadc95ec3ff6... -
12:26 PM Bug #11958 (Closed): TCPSocket.getsockopt().bool raises a TypeError on windows
- The following code snippet works as expected on linux (it returns "false"):
~~~ruby
require 'net/http'
http = Net::HTTP.new('192.168.111.21', 8080)
http.start
socket = http.instance_variable_get(:@socket).io
socket.getsockopt(S... -
09:26 AM Bug #11947 (Assigned): BigDecimal#coerce: unexpected behavior with Float
- 08:23 AM Revision 1491c418 (git): * 2016-01-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:23 AM Revision 49684589 (git): optparse.rb: into kwdarg
- * lib/optparse.rb (OptionParser#order!): add `into` optional
keyword argument to store the results. [Feature #11191]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:23 AM Feature #11191 (Closed): Add #to_h method to OptionParser
- Applied in changeset r53444.
----------
optparse.rb: into kwdarg
* lib/optparse.rb (OptionParser#order!): add `into` optional
keyword argument to store the results. [Feature #11191] -
04:08 AM Bug #11953: ThreadError in 2.3 on code that works on 2.2.4
- My recreation may not be useful though as it has the same error on Ruby 2.2.4. The longer code does not.
-
03:49 AM Bug #11953: ThreadError in 2.3 on code that works on 2.2.4
- This is the minimal reproduction I could come up with:
~~~ruby
require "forwardable"
require "singleton"
class Surprise
include Singleton
class << self
extend Forwardable
def method_added(method)
(class... -
02:18 AM Bug #11956 (Closed): RUBYOPT parses after rubygems loaded
- RUBYOPT=-rloader but loader.rb loads after rubygems.rb loaded
I change GEM_HOME and GEM_PATH in loader.rb , but it doesn't affect Gem.path.
The same loader.rb works at ruby 2.2.3(and before) and jruby.
I uses both MRI ruby and jruby...