Activity
From 02/07/2017 to 02/13/2017
02/13/2017
-
09:02 PM Feature #13212 (Closed): Syntax proposal: don't require begin-end to rescue exceptions inside do-end blocks
- Blocks are ubiquitous in Ruby world. There's as many blocks in every Ruby code as methods - if not even more. It would be very nice to treat blocks as first class citizens like methods and reduce the undesirable begin-end boilerplate ins...
-
06:35 PM Feature #5481: Gemifying Ruby standard library
- Please coordinate with us on the JRuby team. The released gems will need to be loadable in JRuby, since people will start depending on specific versions, upgrading them independently, etc.
MOST of stdlib in JRuby is identical to that ... -
05:53 PM Misc #13209: fact.rb in ruby/sample variations
- Added another version using the **step** method, in **fact3**.
It's faster than using **downto** and neck-in-neck with using **reduce** as n gets bigger.
```
def fact(n)
return 1 if n == 0
f = 1
n.downto(1) do |i|
f *... -
12:59 AM Misc #13209 (Open): fact.rb in ruby/sample variations
- I was looking at some of the Sample files that come with Ruby and
saw the example for doing factorials. It's an old example that I
thought I could make simpler/faster. Below are the results.
Maybe upgrading to show the difference be... -
04:38 PM Feature #13211 (Closed): Hash#delete taking a splat
- Hi there,
I would like to add the ability for Hash#delete to take a splat of arguments that would delete entries at each of the given keys. I've run into this quite a few times where it would be useful in application code. Something l... -
03:28 PM Revision c59f2b03 (git): gmake.mk: test-ruby
- * defs/gmake.mk (ORDERED_TEST_TARGETS): add test-ruby target, test
for ruby core without bundled libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:19 PM Revision 69aa9bd5 (git): * 2017-02-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:19 PM Revision b1c61c6e (git): thread.c: use ASSUME only on gcc 5 or later
- * thread.c (rb_fd_no_init): on gcc 4, ASSUME macro affects
something too much.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:08 PM Revision c9929d9f (git): ruby.h: remove comment
- * include/ruby/ruby.h (RB_GC_GUARD): remove comment unsupported by
Solaris AS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:16 PM Revision ad97d483 (git): lib/find.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:12 AM Bug #13210 (Rejected): Wrong float substraction result
- Floating point calculations have limited precision!
Please read http://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html.
It's linked from the top page of this site (https://bugs.ruby-lang.org/). -
09:35 AM Bug #13210 (Rejected): Wrong float substraction result
- ~~~ ruby
0.1 - 0.0001 => 0.0999
0.1 - 0.001 => 0.099
0.1 - 0.01 => 0.09000000000000001
0.01 - 0.0001 => 0.00999
0.01 - 0.001 => 0.0099
0.01 - 0.01 => 0.009000000000000001
~~~
There is something strange going on.
As you c... -
10:08 AM Bug #13150: TestMarshal failures on FreeBSD with gcc7 because of GC
- On 2017/02/13 10:04, Eric Wong wrote:
> I still support fixing `RB_GC_GUARD` to be stronger for GCC7.
I think it is stronger than GCC7 now.
> ...
Seems nice.
--
Nobu Nakada
-
01:08 AM Bug #13150: TestMarshal failures on FreeBSD with gcc7 because of GC
- Eric Wong <normalperson@yhbt.net> wrote:
> naruse@ruby-lang.org wrote:
> ...
I still support fixing `RB_GC_GUARD` to be stronger for GCC7.
But in marshal.c, I think we can use `klass==0` to hide the object
and use `rb_gc_force_recy... -
08:14 AM Revision 9eb54f7f (git): ruby.h: RB_GC_GUARD stronger than gcc7
- * include/ruby/ruby.h (RB_GC_GUARD): prevent guarded pointer from
optimization by using as an input to inline asm.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:57 AM Bug #13081: resolv.rb may be the cause of the rubygems bug on Windows
- Nobuyoshi Nakada wrote:
> Applied in changeset r57265.
> ...
How can I reflect this update to our local Ruby+Windows environment?
(of course this fails.)
~~~ text
C:\Ruby23\bin>gem update --system
ERROR: While executing gem ..... -
06:22 AM Feature #13207: Allow keyword local variable names like `class` or `for`
- I don't have any pro or con on the proposal itself. I also have no idea if
this is a difficult change or whether matz likes it or not, but I wanted
to comment on just one other part.
Kasper Timm Hansen gave this example with keyword... -
05:44 AM Revision 959aac29 (git): suppress warnings
- * string.c (rb_str_enumerate_lines): hint to suppress a
maybe-uninitialized warning by gcc.
* thread.c (rb_fd_no_init): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:23 AM Revision 5c0aa3ad (git): compile.c: suppress a warning
- * compile.c (iseq_build_kw): suppress an alloc-size-larger-than
warning by gcc 7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:11 AM Revision 44e36c79 (git): gmake.mk: tests step
- * defs/gmake.mk (TEST_TARGETS): run tests step by step.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:53 AM Feature #13173: Gemify webrick
- webrick gem is already registered.
* https://rubygems.org/gems/webrick (It's masked yet)
this gem is registered by @nahi. I ask him about this namespace after unmasked on rubygems.org. -
02:52 AM Feature #13197: Gemify fileutils
- fileutils gem is already registered.
* https://rubygems.org/gems/fileutils (It's masked yet)
I ask about this namespace to rubygems.org admin. -
02:50 AM Feature #13201 (Open): Gemify dbm
- DBM gem is already registered. see. https://rubygems.org/gems/dbm
- 02:04 AM Revision 302ae913 (git): array.c (ary_recycle_hash): use rb_gc_force_recycle
- Hidden objects (RBASIC_CLASS(hash) == 0) can never become
visible to other threads or signal handlers via
ObjectSpace.each_object or similar means. Thus it is safe to
forcibly recycle the object slot for future use, here.
git-svn-id: s... - 01:05 AM Revision d6de5804 (git): cont.c: avoid needless branch for dmark callbacks
- gc.c (gc_mark_children, case T_DATA) does not use
the dmark function pointer if DATA_PTR is NULL
* cont.c (cont_mark, fiber_mark): remove branch, ptr is never NULL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57614 b2dd03c8-39d4-4...
02/12/2017
- 11:37 PM Revision ba77cb7c (git): * 2017-02-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:37 PM Revision be92fcab (git): gmake.mk: -n for tests
- * defs/gmake.mk (gnumake_recursive): do not invoke tests if -n
option is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:58 PM Feature #13208: Vector.zero(n) and vector.zero?
- Looks good.
I think the short description is probably good enough. The example makes it clear if someone has doubts...
I'm travelling, will commit in a few days. -
08:15 PM Feature #13208: Vector.zero(n) and vector.zero?
- I think the method is fine but of course that is just my own opinion,
the core team and matz will decide that.
One hopefully small request though:
- Do you think you could make the description for the method a
bit more explicit... -
08:19 PM Feature #13166: Feature Request: Byte Arrays for Ruby 3
- I want to using an Array8 that has the same semantics, and inherits the same module methods (`Enumerables`, etc),
as Array. I need its elements to be numberical values from 0..255 and/or -128..0..127.
Since 8-bit bytes are the minim... -
04:22 PM Feature #2740: Extend const_missing to pass in the nesting
- This would still be very useful for people implementing auto loading systems, not just Rails
-
12:53 PM Feature #13207 (Feedback): Allow keyword local variable names like `class` or `for`
- `Binding#local_variable_get` is for that purpose.
Or do you have any concrete proposal? -
12:40 PM Feature #5588: add negation flag (v) to Regexp
- Onigmo 6.1.1 was merged by r57603.
It supports absent operator `(?~pattern)` which can be a replacement of `(?v:pattern)`. -
08:43 AM Revision 425d52df (git): parse.y: ripper_intern is no longer used
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:33 AM Revision 2c51dc50 (git): parse.y: logop
- * defs/id.def (predefined): add keywords `and` and `or`.
* parse.y (log_op): unify parser and ripper, and use tokens
instead of node types and symbols.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57610 b2dd03c8-39d4-4d8f-98ff-8... -
04:31 AM Revision b2345fec (git): ext/objspace: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:23 AM Revision 737d6f36 (git): parse.y: call_bin_op
- * parse.y (call_bin_op): unify parser and ripper, and use IDs
instead of tokens.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:20 AM Revision a062d030 (git): parse.y: call_uni_op
- * defs/id.def (predefined): add keyword `not`.
* parse.y (call_uni_op): unify parser and ripper, and use IDs
instead of tokens.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:15 AM Revision 549a3b74 (git): ripper: fix %-op on_operator_ambiguous
- * parse.y (ambiguous_operator): separate token and string
representation of operators, to fix %-operator argument. in a
warning message, needs to be escaped by '%' but the symbol
should not be.
git-svn-id: svn+ssh://ci.ruby-lang.... -
02:48 AM Revision 01134984 (git): symbol/init.c: ID value
- * ext/-test-/symbol/init.c (sym_pinneddown_p): return ID value or
nil for debugging.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/11/2017
-
07:54 PM Feature #13208 (Closed): Vector.zero(n) and vector.zero?
- Found that I need this recently, and class `Matrix` has these two function while `Vector` not.
So I add two function based on `Matrix` counterpart and also add test.
Usage
``` ruby
require 'matrix'
v = Vector.zero(3) # => Vecto... -
03:47 PM Feature #13207 (Feedback): Allow keyword local variable names like `class` or `for`
- Sometimes when trying to write expressive Ruby you enevitably hit a case
that would sound just right if the variable name matches a Ruby keyword.
E.g. writing a method to output HTML tags:
```ruby
def label_tag(text, class:)
%... - 03:08 PM Revision 6d0f7c3c (git): * 2017-02-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:08 PM Revision 6b1c6e0e (git): Merge Onigmo 6.1.1
- * Support absent operator https://github.com/k-takata/Onigmo/issues/82
* https://github.com/k-takata/Onigmo/blob/Onigmo-6.1.1/HISTORY
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:37 AM Revision 238b9276 (git): appveyor.yml: extract zlib_version
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:33 AM Revision 0da70829 (git): fiddle/depend: build-libffi
- * ext/fiddle/depend (build-libffi): get rid of making $(LIBFFI_A)
a sole target, which may be empty when installed libffi is
found.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:05 AM Misc #13072: Current state of date standard library
- Just wanted to add - for a new user of ruby, it may be confusing to
know the difference between Time, Date, DateTime and DuckTime (ok
the last one is made up but you get the point).
So from that point of view, it may be easier to un... -
08:59 AM Feature #5481: Gemifying Ruby standard library
- Looks as if this ticket may soon be resolved/finished after 5 years. :)
The only one on the todo list above is "Related to Ruby trunk - Misc #13072:
Current state of date standard library", or is there something else missing
that ha... -
03:12 AM Revision 78295b6b (git): appveyor.yml: Update zlib
- * Update zlib to 1.2.11
* Use https instead of http
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:14 AM Revision 8a4382a7 (git): * 2017-02-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:14 AM Revision 58e97c4e (git): parse.y: TOKEN2ID
- * parse.y (TOKEN2ID): add macro which maps static tokens to IDs.
* template/id.h.tmpl (TOKEN2*ID, DEFINE_*ID_FROM_TOKEN): separate
into macros, token to ID mapping and enum definitions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru... -
02:03 AM Bug #13187 (Third Party's Issue): In rails console ,excute "User.all" or "User.new",remind a bugreport
02/10/2017
-
11:21 PM Bug #13188: Reinitialize Ruby VM.
- Eric Wong <normalperson@yhbt.net> wrote:
> SASADA Koichi <ko1@atdot.net> wrote:
> > On 2017/02/08 7:18, Eric Wong wrote:
> > > But yeah, having VM struct passed with every function call
> > > (like mrb_state in mruby) is probably mo... -
07:53 PM Bug #13187: In rails console ,excute "User.all" or "User.new",remind a bugreport
- This should be closed as it's seemingly unrelated to ruby core as evidence by the fact that it is happening in `rails console` and nothing would indicate that it's a ruby issue.
-
01:25 PM Bug #13195 (Closed): bigdecimal/util.rb: [DOC] Fix documentation errors
- 01:23 PM Revision 70f772c3 (git): bigdecimal: version 1.3.1
- Import bigdecimal version 1.3.1. The full commit log is here:
https://github.com/ruby/bigdecimal/compare/v1.3.0...v1.3.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:22 AM Bug #8996: pthread_mutex_lock EINVAL
- I filled Backport field according to the reported version.
-
08:17 AM Bug #8996 (Closed): pthread_mutex_lock EINVAL
- r57595 fixes this problem. Sorry for late response and thank you for your great simple reproducing code!
-
09:41 AM Feature #13206 (Closed): Gemify fcntl
- Applied in changeset r57596.
----------
Added initial gemspec for Fcntl module.
[Feature #13206]
* ext/fcntl/fcntl.gemspec: initial commit.
* doc/maintainers.rdoc, doc/standard_library.rdoc: Move Fcntl module
to Default gems... -
09:39 AM Feature #13206 (Closed): Gemify fcntl
- This issue is tracking for gem release of Fcntl module.
-
09:41 AM Revision 5d906263 (git): Added initial gemspec for Fcntl module.
- [Feature #13206]
* ext/fcntl/fcntl.gemspec: initial commit.
* doc/maintainers.rdoc, doc/standard_library.rdoc: Move Fcntl module
to Default gems section.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57596 b2dd03c8-39d4-4d8... -
08:17 AM Bug #13205 (Closed): Backport r57589 (parallel.rb: fix intervention)
- 以前から稀にワーカープロセスからの出力が混じることがあったのですが、r57555で_reportを呼ぶ回数が増えたことで確率が上がって頻繁に起きるようになったようです。
-
08:15 AM Revision 38bc085f (git): check thread deadness correctly.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:12 AM Revision 92b710e6 (git): MFLAGS for nmake
- * common.mk (mflags): pass make flags to sub-makes, for nmake
which cannot pass them by the environment variable.
* defs/gmake.mk (mflags): filter out -j option for sub-makes.
* template/exts.mk.tmpl (MFLAGS): extract MFLAGS from sub... -
06:07 AM Bug #13204: Search order of constant is different
- Thank you for response!
-
04:31 AM Bug #13204 (Closed): Search order of constant is different
- Intentional.
Top level constants are constants defined in `Object`, but `BasicObject` does not inherit `Object`. -
02:31 AM Bug #13204 (Closed): Search order of constant is different
- ```ruby
class CleanRoom < BasicObject
def call
instance_eval(<<-CODE)
$stdout.puts ::ENV.size
CODE
end
def call2
instance_eval(<<-CODE)
$stdout.puts ENV.size
CODE
end
def call3
insta... -
04:24 AM Revision 35533d03 (git): fiddle: fix $(SUBMAKE_PRE)
- * ext/fiddle/extconf.rb: fix $(SUBMAKE_PRE) to chdir to
$(LIBFFI_DIR) instead of $(@D), since $(LIBFFI_A) is not
underneath libffi but under .libs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57593 b2dd03c8-39d4-4d8f-98ff-823f... -
03:59 AM Revision ef004b1a (git): openssl: fix broken openssl check
- * ext/openssl/deprecation.rb: check for broken OpenSSL only on mac
OS. [ruby-core:79475] [Bug #13200]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:58 AM Bug #13200 (Closed): Ruby 2.4.0 Stable Fails to Build from Source on openSUSE
- Applied in changeset r57590.
----------
extmk.rb: split notes
* ext/extmk.rb: split notes and echo per lines, for multiple lines
messages. [ruby-core:79475] [Bug #13200] -
03:57 AM Bug #13200: Ruby 2.4.0 Stable Fails to Build from Source on openSUSE
- Fix of openssl/extconf.rb should be backported to older versions, not only 2.4.
-
03:58 AM Revision 9101875d (git): openssl: fix broken openssl check
- * ext/openssl/extconf.rb: check for broken OpenSSL only on mac OS.
[ruby-core:79475] [Bug #13200]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:58 AM Revision f9694cdb (git): extmk.rb: split notes
- * ext/extmk.rb: split notes and echo per lines, for multiple lines
messages. [ruby-core:79475] [Bug #13200]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:58 AM Bug #13203 (Third Party's Issue): mysql2-0.4.1/mysql2/mysql2.so: [BUG] Segmentation fault
- Please report it to mysql2.
Note that 2.1.2 is outdated and 2.1 EOL is soon. -
01:13 AM Revision 0f9554ef (git): parallel.rb: fix intervention
- * test/lib/test/unit/parallel.rb (_report): send a response and a
newline atomically, to get rid of intervention with "p" which
runs in a separate thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57589 b2dd03c8-39d4-4d8f-98... -
12:58 AM Revision 97795849 (git): Use `unpack1` instead of `unpack` and `first`
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:58 AM Revision 07b88b26 (git): lib/base64.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/09/2017
-
08:38 PM Bug #13200: Ruby 2.4.0 Stable Fails to Build from Source on openSUSE
For a quick glance the file MIGHT be also available from
[http://temporary.softf1.com/2017/bugs/2017_02_09_bugs_ruby-lang_org_issues_13200_exts_mk.txt](http://temporary.softf1.com/2017/bugs/2017_02_09_bugs_ruby-lang_org_issues_1320...-
08:36 PM Bug #13200: Ruby 2.4.0 Stable Fails to Build from Source on openSUSE
- Nobuyoshi Nakada wrote:
> Please show lines around the line 1468 in file exts.mk.
The exts.mk is attatched as
~~~
2017_02_09_bugs_ruby-lang_org_issues_13200_exts_mk.txt
~~~
but some of the lines are:
~~~
ext/zlib/realcle... -
03:50 AM Bug #13200 (Feedback): Ruby 2.4.0 Stable Fails to Build from Source on openSUSE
- Please show lines around the line 1468 in file exts.mk.
-
08:00 PM Bug #13196: Improve keyword argument errors when non-keyword arguments given
- Nobuyoshi Nakada wrote:
> wrong number of arguments (given 1, expected 0 with required keyword code)
IMO still unclear, sounds somewhat like _"given 1 argument with required keyword code, but expected 0"_. Also, `code` would have to ... -
05:18 PM Bug #13203 (Third Party's Issue): mysql2-0.4.1/mysql2/mysql2.so: [BUG] Segmentation fault
- Trying to install a ruby app on a server. Whenever the gem mysql2 is invoked, I get a segmentation fault. Please see attached file for details. In addition to mysql2-0.4.1, I have also tried mysql2-0.3.18 and mysql2-0.3.10. I have also t...
- 04:12 PM Revision bb262d0f (git): * 2017-02-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:12 PM Revision b15f8b6d (git): lib/abbrev.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:28 PM Bug #13202 (Closed): Enumerable#slice_before does not take both argument and block at the same time, as it ought to.
- Applied in changeset r57584.
----------
[DOC] Update an obsolete example for slice_before.
The argument for Enumerable#slice_before is is removed at Ruby 2.3.
Reported by Shyouhei Urabe. [Bug #13202] -
10:14 AM Bug #13202 (Closed): Enumerable#slice_before does not take both argument and block at the same time, as it ought to.
- Both RDoc and Rurema have descriptions of Enumerable#slice_before with this example:
```ruby
# split mails in mbox (slice before Unix From line after an empty line)
open("mbox") { |f|
f.slice_before(emp: true) { |line, h|
pr... -
02:28 PM Revision cd5f5715 (git): [DOC] Update an obsolete example for slice_before.
- The argument for Enumerable#slice_before is is removed at Ruby 2.3.
Reported by Shyouhei Urabe. [Bug #13202]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:08 PM Revision 3c06d3a6 (git): fiddle: jobserver for libffi
- * ext/fiddle/depend (libffi): use $(MAKE) explicitly for recursive
make, so that jobserver works.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:46 AM Revision f2e1c710 (git): Update maintainers list.
- * Added Default gems section and move some libraries to it section.
* Added Bundled gems section and added upstream repositories of bundled gems.
* Added upstream repositories to some default gems.
git-svn-id: svn+ssh://ci.ruby-lang.o... -
11:26 AM Revision ab29cd80 (git): Update latest infomation of standard libraries.
- * Added Bundled gems section.
* Added IO::console to Default gems.
* Move XMLRPC to Bundled gems section.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:49 AM Revision 6de9cae6 (git): Separated default gems section.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:53 AM Revision e54a7919 (git): * 2017-02-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:53 AM Revision 715094c2 (git): parse.y: fix idCOLON2
- * defs/id.def: remove idDSTAR and idCOLON3.
* parse.y (tCOLON2): make same as id.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:42 AM Feature #5555: rename #include? to #includes?
- Please stop beating this dead horse.
02/08/2017
-
05:59 PM Feature #5555: rename #include? to #includes?
- Steve Bachmair wrote:
> Then we could just write whatever is most readable in a given circumstance (which will usually be the third-person form).
I just wanted to point out that "usual" depends: I almost always use names in pluralize... -
02:56 PM Feature #5555: rename #include? to #includes?
- The `include?`, `start_with?`, etc. issue is one of my very few gripes about this most beautiful of all languages. Is this the last word on this?
I'm puzzled at the the no third-person-singular naming convention, since 90% of my vari... -
10:05 AM Feature #13201 (Closed): Gemify dbm
- Applied in changeset r57577.
----------
Added initial gemspec for DBM module.
[Feature #13201] -
09:56 AM Feature #13201 (Closed): Gemify dbm
- This issue is tracking for gem release of DBM module.
-
10:05 AM Revision f72e43a4 (git): Added initial gemspec for DBM module.
- [Feature #13201]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:06 AM Revision b4ac19f7 (git): parse.y: named caputre into match_op_gen
- * parse.y (match_op_gen): move making named capture assignment
nodes. remove repeated conditions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:59 AM Revision 47056433 (git): remove warning about enum and int comparison.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:18 AM Revision 5c548689 (git): * 2017-02-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:18 AM Revision d1b386a2 (git): node.c: compress logop sequence
- * node.c (dump_node): compress sequence of same logical binary
operators, NODE_AND/NODE_OR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:41 AM Bug #13188: Reinitialize Ruby VM.
- SASADA Koichi <ko1@atdot.net> wrote:
> On 2017/02/08 7:18, Eric Wong wrote:
> > But yeah, having VM struct passed with every function call
> > (like mrb_state in mruby) is probably most portable and fast.
>
> Yes. Ruby 3 will use... -
12:05 AM Bug #13188: Reinitialize Ruby VM.
- On 2017/02/08 7:18, Eric Wong wrote:
> But yeah, having VM struct passed with every function call
> (like mrb_state in mruby) is probably most portable and fast.
Yes. Ruby 3 will use it.
--
// SASADA Koichi at atdot dot net -
12:41 AM Feature #12967: Add a default for RUBY_GC_HEAP_GROWTH_MAX_SLOTS out-of-the-box
- ko1@atdot.net wrote:
> Issue #12967 has been updated by Koichi Sasada.
>
> Status changed from Open to Rejected
>
> > My suggestion is to ship with a far safer default of: RUBY_GC_HEAP_GROWTH_MAX_SLOTS=100000
>
> To define "s...
02/07/2017
-
11:47 PM Bug #13200 (Closed): Ruby 2.4.0 Stable Fails to Build from Source on openSUSE
An excerpt of a "make" console output
from a LLVM/clang based build session of the
https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.0.tar.gz
that has the SHA256 sum of
152fd0bd15a90b4a18213448f485d4b53e9f7662e1508190aa5b702446b...-
10:21 PM Bug #13188: Reinitialize Ruby VM.
- SASADA Koichi <ko1@atdot.net> wrote:
> On 2017/02/06 10:10, shyouhei@ruby-lang.org wrote:
> > VM-stored pointers
>
> More correctly, thread-local variables (on pthread).
Was it function call overhead from pthread_getspecific?
... -
09:07 PM Bug #13195: bigdecimal/util.rb: [DOC] Fix documentation errors
I guess the GitHub repo is now the correct place for issues concerning bigdecimal...? Or isn't it?
Anyhow, I opened a PR there, see https://github.com/ruby/bigdecimal/pull/57.
_Update: merged upstream_-
05:39 PM Bug #12613: iseq_set_sequence: adjust bug -1 < 0 (retry inside begin/rescue)
- ruby_2_3 r57572 merged revision(s) 57368.
-
05:39 PM Revision 8e25d645 (git): merge revision(s) 57368: [Backport #12613]
- compile.c: check err_info
* compile.c (iseq_setup): bail out if any errors found.
[ruby-core:76531] [Bug #12613]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@57572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:29 PM Bug #12604: Win32::Resolv.get_resolv_info returns unavailable DNS servers
- ruby_2_3 r57571 merged revision(s) 55781,55783.
-
05:28 PM Revision c59b3913 (git): merge revision(s) 55781,55783: [Backport #12604]
- * ext/win32/resolv/resolv.c (get_dns_server_list): [Win32] get DNS
servers only for connected network devices by GetNetworkParams
API. [Bug #12604]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@5757... -
05:18 PM Bug #12478: ruby2.2.5でオブジェクトに対して def_delegatorを行うとNoMethodError undefined method `method_defined?' が発生する。
- ruby_2_3 r57570 merged revision(s) 53383,55366.
-
05:18 PM Revision 1034b6d2 (git): merge revision(s) 53383,55366: [Backport #12478]
- * lib/forwardable.rb (def_instance_delegator): adjust backtrace of
method body by tail call optimization. adjusting the delegated
target is still done by deleting backtrace.
* lib/forwardable.rb (def_single_... -
05:02 PM Bug #13054: MatchData segfaults if RMatch::regexp is nil
- ruby_2_3 r57569 merged revision(s) 57123.
-
05:02 PM Revision 161f08ba (git): merge revision(s) 57123: [Backport #13054]
- re.c: consider the case of RMatch::regexp is nil
Follow r49675, r57098 and r57110. Don't assume RMatch::regexp always
contains a valid Regexp instance; it will be Qnil if the MatchData is
created by rb_backref_se... -
04:45 PM Bug #12991: Documentation of Thread.abort_on_exception is wrong: it raises error again in main thread
- ruby_2_3 r57568 merged revision(s) 56928.
-
04:45 PM Revision 13a55f43 (git): merge revision(s) 56928: [Backport #12991]
- thread.c: fix doc of abort_on_exception [ci skip]
* thread.c (rb_thread_s_abort_exc, rb_thread_s_abort_exc_set):
[DOC] the raised exception will be re-raised in the main thread,
and then follows the ordinary exception sequen... -
04:44 PM Bug #13066: 2.4.0-rc1, VC14, Segmentation fault on RSS::TestRSS10Core#test_to_xml
- ruby_2_3 r57567 merged revision(s) 57172.
-
04:44 PM Revision 15fbd0aa (git): merge revision(s) 57172: [Backport #13066]
- time.c: fix type of usec2subsecx
* time.c (usec2subsecx): fix return type, which is a numeric
object but not a long int. [ruby-dev:49912] [Bug #13066]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@57567 b2dd0... -
04:42 PM Bug #12910: TestFileUtils#test_chown_R_force might get stuck when process has no supplementary groups
- ruby_2_3 r57566 merged revision(s) 56892.
-
04:42 PM Revision 24a57580 (git): merge revision(s) 56892: [Backport #12910]
- test_fileutils.rb: fix deadlock
* test/fileutils/test_fileutils.rb (assert_output_lines): ensure
that write pipe is closed, not the reader thread to deadlock
when an exception raised in the given block.
[ruby-core:78053] [... -
04:38 PM Bug #12785: misc/test_ruby_mode.rb failed with emacs 25.1.1
- ruby_2_3 r57565 merged revision(s) 56224.
-
04:38 PM Revision 7d3b03f9 (git): merge revision(s) 56224: [Backport #12785]
- * test/misc/test_ruby_mode.rb (assert_indent): since write-region
in Emacs 25.1 no longer displays the "Wrote file" message, shows
the explicit message to check if successfully finished.
[ruby-core:77355] [B... -
12:49 PM Revision 026ded93 (git): {ext,test}/zlib: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:56 AM Feature #12732: An option to pass to `Integer`, `Float`, to return `nil` instead of raise an exception
- Although it does not solve Aaron's use case, I would suggest to have a `Integer.try_convert`, `Float.try_convert`, `Rational.try_convert`, and `Complex.try_convert` which do not raise exceptions, but just return `nil`. To keep consistenc...
-
10:13 AM Feature #13199 (Closed): Gemify strscan
- Commited at r57560
-
07:09 AM Feature #13199 (Closed): Gemify strscan
- This issue is tracking for gem release of StringScanner class.
-
08:16 AM Revision 75111307 (git): test/unit.rb: old GNU make
- * test/lib/test/unit.rb (Test::Unit::Parallel#non_options):
support old GNU make, which uses --jobserver-fds option instead
of --jobserver-auth.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57563 b2dd03c8-39d4-4d8f-98ff-823fe69... -
08:09 AM Revision d686b022 (git): test_parallel.rb: match the count
- * test/testunit/test_parallel.rb (test_should_run_all_without_any_leaks):
match the final test count instead of progressing indicators.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:55 AM Bug #13198 (Assigned): Tempfile#size is nil when nothing is written, expected 0
- It is because `Fie.size?` is used instead of `File.size`, since r50682.
I suspect that it would be a typo and unintentional.
```diff
diff --git i/lib/tempfile.rb w/lib/tempfile.rb
index d068dd603c..b36c6638b6 100644
--- i/lib/temp... -
07:14 AM Revision 2507e900 (git): Fix a required ruby version on gemspec of gemified libraries.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:14 AM Revision 4a02608b (git): Added initial gemspec for StringScanner class.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:35 AM Feature #13197: Gemify fileutils
- Note: Pathname class depends FileUtils. If we added breaking changes to `FileUtils`, Pathname is also broken.
https://github.com/ruby/ruby/blob/trunk/ext/pathname/lib/pathname.rb#L569
So, We need to add dependency FileUtils to Path... -
02:49 AM Feature #13197 (Assigned): Gemify fileutils
-
05:19 AM Revision a02a8dfa (git): test/unit.rb: most-asserted
- * test/lib/test/unit.rb (Statistics#record): record most asserted
tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:24 AM Revision 950d15bc (git): TRUE is not defined here...
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:14 AM Revision 361edea7 (git): remove compare with enum value.
- * vm_core.h (vm_block_handler_verify): some compilers warn about comparison
with enum value and 0. Real assertion is in vm_block_handler_type() so
we only need to call vm_block_handler_type() and the value should be TRUE.
git-svn-i... -
03:58 AM Revision 8dedf08b (git): test/unit.rb: defined
- * test/lib/test/unit.rb (Test::Unit::Statistics#record): check if
@longest is set first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:55 AM Revision 406c5252 (git): test/unit: record in parallel
- * test/lib/test/unit.rb (Test::Unit::Parallel#deal): deal with
record.
* test/lib/test/unit/parallel.rb (Test::Unit::Worker#record):
report test records to the master.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57555 b2dd03c... -
02:49 AM Revision 10c51ff5 (git): test/unit.rb: statistics
- * test/lib/test/unit.rb (Test::Unit::Statistics): show statistics.
only --longest option is implemented right now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:49 AM Revision ad57f92f (git): * 2017-02-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:49 AM Revision 8ebdec34 (git): rbinstall.rb: umask hack
- * tool/rbinstall.rb (Gem::Installer#install): moved umask hack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e