Project

General

Profile

Activity

From 09/19/2017 to 09/25/2017

09/25/2017

11:18 PM Misc #13938: [ANN] Rolling MinGW trunk build
Does it work? :> shevegen (Robert A. Heiler)
04:14 AM Misc #13938 (Closed): [ANN] Rolling MinGW trunk build
I decided it was time to start an Appveyor MinGW build. It's rolling, starts builds at 0:00 JST and 12:00 JST (3 & 15 UTC). Using the [MSP-Greg/ruby-loco repo](https://github.com/MSP-Greg/ruby-loco). This weekend, I've used the builds... MSP-Greg (Greg L)
10:30 PM Feature #13927: Integrate module_function as a core language type
phluid61 (Matthew Kerwin) wrote:
> Sounds to me like you want a new type of object which is like `Module` but can't be `include`d. If that's the case, I'd suggest a name like `Library` or `Namespace`.
> ...
Yes, something like this :) ...
rocifier (Ryan O'Connor)
01:11 PM Feature #13927: Integrate module_function as a core language type
Sounds to me like you want a new type of object which is like `Module` but can't be `include`d. If that's the case, I'd suggest a name like `Library` or `Namespace`.
I'm still not sold on the value of the proposition. Maybe if its me...
phluid61 (Matthew Kerwin)
09:40 AM Feature #13927: Integrate module_function as a core language type
shevegen (Robert A. Heiler) wrote:
> Rocifier, can you say which ruby you have had in mind primarily?
I hadn't thought about it, just wanted to see what people thought of the idea first initially. But now that you explain this, ver...
rocifier (Ryan O'Connor)
07:23 AM Feature #13927: Integrate module_function as a core language type
rocifier (Ryan O'Connor) wrote:
> Using ruby commercially we have discovered that modules are no longer serving their original intended purpose of mixins. Another usage of the module has been shoehorned by using module_function. We have...
duerst (Martin Dürst)
09:52 PM Revision 6a169a49 (git): vm.c: unused function
* vm.c (rb_vm_jump_tag_but_local_jump): no longer used since
r51292.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:51 PM Revision d352d0a0 (git): vm.c: fetch retval iff necessary
* vm.c (rb_vm_make_jump_tag_but_local_jump): get rid of fetching
retval when it is not used. it is necessary for local jump
state only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:39 PM Bug #13939: Ruby 2.4.2 has issue supporting Seattle.rb style for define_method
It's a bug in 2.4.0 and 2.4.1 only.
Braces just after a literal has caused a syntax error before, like as:
danielpclark (Daniel P. Clark) wrote:
> I apologize I wrote that earlier with a different error message. Here's what importi...
nobu (Nobuyoshi Nakada)
09:19 PM Bug #13939: Ruby 2.4.2 has issue supporting Seattle.rb style for define_method
> Perhaps the error message could be more indicative of the error or what the exact
problem is or how to solve it. I understand that the () provide additional information
that is in some way useful to the parser, or whatever is respons...
danielpclark (Daniel P. Clark)
09:10 PM Bug #13939: Ruby 2.4.2 has issue supporting Seattle.rb style for define_method
I think this was introduced in https://github.com/ruby/ruby/commit/9987109
Basically, any call `foo arg { }` when `arg` is a literal now gives an error.
I think this is a huge breaking change, for example if you had something like:...
asterite (Ary Borenszweig)
06:15 PM Bug #13939: Ruby 2.4.2 has issue supporting Seattle.rb style for define_method
Let's ignore the "Seattle.rb style" for the moment because I don't know of such a
thing - may well be seattle-duck style. :P
But anyway, I agree with you in at the least one point, which is the warning message:
> Anyone who tries ...
shevegen (Robert A. Heiler)
03:43 PM Bug #13939 (Rejected): Ruby 2.4.2 has issue supporting Seattle.rb style for define_method
In Ruby 2.3 & 2.4.0 you can do this
~~~ruby
define_method :some_method_name { "asdf" }
~~~
As of my trying 2.4.2 this is no longer supported. Anyone who tries to load my 'read_source' gem will get a failure message in require wi...
danielpclark (Daniel P. Clark)
06:47 PM Feature #13923: Idiom to release resources safely, with less indentations
shyouhei (Shyouhei Urabe) wrote:
> We looked at this issue in a developer meeting today and nobu's library solution written in comment #7 was popular there.
> ...
fwiw, combined with new #12906, comment #7 makes me happy.
KonaBlend (Kona Blend)
12:49 PM Feature #13923 (Feedback): Idiom to release resources safely, with less indentations
We looked at this issue in a developer meeting today and nobu's library solution written in comment #7 was popular there.
Is that OK for you, or you still want a new syntax than a library (and if that is the case; can you tell us why)?
shyouhei (Shyouhei Urabe)
06:32 PM Feature #13221: [PATCH] gems/bundled_gems: add "curses" RubyGem
naruse@airemix.jp wrote:
> As far as I understand, curses has still no active maintainer.

I am willing to maintain curses on Free Software platforms using
only Free Software, with no GUIs (because curses and Ruby
itself has no GUI...
normalperson (Eric Wong)
05:01 PM Feature #13221: [PATCH] gems/bundled_gems: add "curses" RubyGem
As far as I understand, curses has still no active maintainer.
Ruby intends to keep wide portability; it's tough work especially for curses, the tty thing.
CRuby project gave up to maintain curses under such circumstances.
Separate ...
naruse (Yui NARUSE)
05:38 PM Revision 4ea46ca0 (git): * 2017-09-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:38 PM Revision 42d4f9ea (git): Switch Build to use 2.4 with certs files
patched by MSP-Greg <MSP-Greg@users.noreply.github.com>
fix https://github.com/ruby/ruby/pull/1702
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:04 PM Bug #13940 (Rejected): em-http-request (HttpConnectionOptions) over-write :sni_hostname if provided
We CRuby project doesn't handle em-http-request.
Could you ask on https://github.com/igrigorik/em-http-request ?
naruse (Yui NARUSE)
04:55 PM Bug #13940 (Third Party's Issue): em-http-request (HttpConnectionOptions) over-write :sni_hostname if provided
Breaking change introduced in 1.1.4
http_connnection_options.rb:23
@tls[:sni_hostname] = ori.host
This OVER-write the sni_hostname value which MAY have been passed in.
# Suggested Change to SET sni_hostname ONLY IF not provided
...
steve.misky (Stephen Misk)
04:26 PM Feature #13602 (Rejected): Optimize instance variable access if $VERBOSE is not true when compiling
ko1 (Koichi Sasada) wrote:
> It seems 5% can not justify this kind of optimization.
> ...
I think this can be rejected then. Reverting the optimized instructions would require compiling both the unoptimized version and the optimized v...
jeremyevans0 (Jeremy Evans)
06:34 AM Feature #13602 (Feedback): Optimize instance variable access if $VERBOSE is not true when compiling
It seems 5% can not justify this kind of optimization.
We can use your technique when we revert all of optimized instructions when $VERBOSE was changed. But I'm not sure this kind of modification is valuable than implementation cost (...
ko1 (Koichi Sasada)
02:29 PM Bug #13926 (Closed): Non UTF response headers raise an Argument error since 2.4.2p198
Applied in changeset trunk|r60021.
----------
HTTPHeader#add_field should allow binary [Bug #13926]
naruse (Yui NARUSE)
02:28 PM Revision 56f91c6e (git): HTTPHeader#add_field should allow binary [Bug #13926]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:04 PM Revision 0c482713 (git): tool/run-lcov.rb: Filter test files out
And refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
01:31 PM Feature #13630: :[] method should accept block in nice syntax
And now mruby does too.
Matz.
matz (Yukihiro Matsumoto)
12:18 PM Feature #13630 (Closed): :[] method should accept block in nice syntax
We looked at this at a developer meeting today and confirmed that this is already done. shyouhei (Shyouhei Urabe)
12:45 PM Feature #13893: Add Fiber#[] and Fiber#[]= and restore Thread#[] and Thread#[]= to their original behavior
This sounds in fact cleaner. However I'm afraid it is too difficult to design a transition path. Fiber#[] could be okay but changing Thread#[] seems almost impossible... Can we warn users about such change in some way? shyouhei (Shyouhei Urabe)
12:41 PM Feature #13821 (Assigned): Allow fibers to be resumed across threads
In the today's developer meeting Ko1 said that migrating fibers across threads is currently not possible. I think he would like to explain why, so let me assign this issue to him. shyouhei (Shyouhei Urabe)
12:37 PM Feature #13696: Add exchange and noreplace options to File.rename
I think it's hard to have platform-specific API extensions like this to be in-core. If atomicity is such an important feature (and I'm sure it is), it's hard to emulate this in pure-userland for people without OS that support it.
Thi...
shyouhei (Shyouhei Urabe)
08:54 AM Feature #13696: Add exchange and noreplace options to File.rename
nobu (Nobuyoshi Nakada) wrote:
> Glass_saga (Masaki Matsushita) wrote:
> ...
I think both `exchange:` and `noreplace:` are difficult to understand for an outside user. I think `overwrite:` is much easier to understand.
duerst (Martin Dürst)
12:30 PM Feature #13677: Add more details to error "Name or service not known (SocketError)"
The proposed functionality sounds fine but no one currently have spare time to implement this; patch welcomed. shyouhei (Shyouhei Urabe)
08:27 AM Feature #13677 (Feedback): Add more details to error "Name or service not known (SocketError)"
akr (Akira Tanaka)
08:26 AM Feature #13677: Add more details to error "Name or service not known (SocketError)"
It sounds fine. akr (Akira Tanaka)
12:28 PM Feature #12533: Refinements: allow modules inclusion, in which the module can call internal methods which it defines.
We looked at this issue at a developer meeting today.
The OP's intension is clear. We can describe how it works, but that seems to be different from how it _should_ work. Matz was there at the discussion so he understands the situat...
shyouhei (Shyouhei Urabe)
07:05 AM Feature #12533: Refinements: allow modules inclusion, in which the module can call internal methods which it defines.
chucke (Tiago Cardoso) wrote:
> module Refinary
If possible, please change the spelling to "Refinery".
duerst (Martin Dürst)
12:21 PM Feature #13922: Consider showing warning messages about same-named aliases - either directly or perhaps via the "did you mean gem"
In following example, `ruby -w` warns `alias_after_def` and `duplicated_def` only, but rubocop warns all combinations.
```
% cat /tmp/a.rb
#!/usr/bin/ruby -w
class Foo
def m
end
def alias_after_def
end
alias alia...
znz (Kazuhiro NISHIYAMA)
12:20 PM Feature #9001 (Rejected): Please package better standard library
Let me close this issue because its goal is too vague to be achieved. For instance if someone wants to add Nokogiri to core, please file a specific issue to request such thing. shyouhei (Shyouhei Urabe)
12:16 PM Feature #13613: Prefer that require/require_relative/load to tell us permission error if the target file is unreadable
We looked at this issue in a developer meeting today. It seems we need to define "fatality" of each situations for requiring a library. For instance, ENOENT seems less fatal than EACCESS. For ENOENT situation we can silently ignore th... shyouhei (Shyouhei Urabe)
12:11 PM Bug #13438: Fix heap overflow due to configure.in not being updated for HEAP_* -> HEAP_PAGE_* variable renaming
We looked at this issue several times in recent developer meeting and it seems okay to merge. shyouhei (Shyouhei Urabe)
09:06 AM Feature #13936: Make regular expressions debugable
It needs to keep maintainability with original Onigmo/Oniguruma. naruse (Yui NARUSE)
01:27 AM Feature #13936 (Open): Make regular expressions debugable
Ruby has all kinds of features that allow a programmer to look at internals, in particular for debugging. However, one important part of Ruby, regular expressions, don't have any such features yet.
Onigmo, the regular expression engin...
duerst (Martin Dürst)
09:05 AM Feature #13683 (Feedback): Add strict Enumerable#single
Hmm, I don't like the name `single`. Besides that, I think it may be useful for database access, but I don't see the use-case of this method for generic Enumerable.
Matz.
matz (Yukihiro Matsumoto)
09:01 AM Feature #13551: Add a method to alias class methods
shevegen (Robert A. Heiler) wrote:
> Martin showed this example:
> ...
Sorry, I should have used another example than Array. This issue is about aliasing class methods, and aliasing a method in a builtin class would be a problem whethe...
duerst (Martin Dürst)
08:13 AM Feature #13551 (Rejected): Add a method to alias class methods
As Martin-sensei pointed out, use singleton class notation.
class Foo
class <<Foo
def foo; end
alias bar foo
end
end
I don't think it's worth adding a new method to avoid this simple thing.
Matz.
matz (Yukihiro Matsumoto)
08:48 AM Feature #13693 (Rejected): Allow String#to_i and / or Kernel::Integer to parse e-notation
We quickly discussed this issue at today's Ruby committer's meeting.
For everybody, converting exponential (scientific) notation to integer looked strange. Exponential notation is usually used to express very large numbers or very sma...
duerst (Martin Dürst)
08:35 AM Feature #9323 (Feedback): IO#writev
Is there benchmark?
What the situation that writev is actually fast?
akr (Akira Tanaka)
08:30 AM Misc #13915 (Closed): Updated docs of ThreadGroup
sonots (Naotoshi Seo)
08:30 AM Misc #13915: Updated docs of ThreadGroup
fixed via https://github.com/ruby/ruby/pull/1700
applied in changeset r60016
sonots (Naotoshi Seo)
08:27 AM Feature #13626: Add String#byteslice!
normalperson (Eric Wong) wrote:
> Fwiw, I'm also not convinced String#<< behavior about changing
> ...
This behavior may not be the best for this specific case, but in general, if one string is US-ASCII, and the other is UTF-8, then...
duerst (Martin Dürst)
08:10 AM Feature #13626: Add String#byteslice!
At the developer meeting, we discuss that byteslice! and byteslice method should take same arguments. akr (Akira Tanaka)
08:08 AM Feature #13626: Add String#byteslice!
Sounds OK to me.
Matz.
matz (Yukihiro Matsumoto)
08:20 AM Feature #13332 (Feedback): Forwardable#def_instance_delegator nil
The proposed solution seems to be too generic. Show us the use-case except for `nil for nil'. For example, it is acceptable that `allow_nil: true` keyword argument we see in ActiveSupport.
Matz.
matz (Yukihiro Matsumoto)
08:19 AM Bug #13748 (Closed): [PATCH] Fix mul overflow detection for LLP64 arch.
Applied in changeset trunk|r60019.
----------
Fix overflow detection for LLP64 arch [Bug #13748]
FIXNUMs are expected to fit into a long type, but the test is about a
VALUE type. Since long is < than VALUE on LLP64, the overflow is not...
naruse (Yui NARUSE)
08:19 AM Revision c04b6232 (git): Fix overflow detection for LLP64 arch [Bug #13748]
FIXNUMs are expected to fit into a long type, but the test is about a
VALUE type. Since long is < than VALUE on LLP64, the overflow is not
detected. As a result "2**31" evaluates to "-2147483648" on Windows with
gcc-7.1.0.
patched by Lar...
naruse (Yui NARUSE)
08:15 AM Bug #13758: TestRubyOptions#test_segv_setproctitle segfaults on AARCH64
Eregon (Benoit Daloze) wrote:
> vo.x (Vit Ondruch) wrote:
> ...
Therefore use `Process.pid` instead.
naruse (Yui NARUSE)
08:03 AM Bug #13925 (Closed): string.split(pattern, 1) should return [self.dup], but it returns [self]
nobu (Nobuyoshi Nakada)
07:28 AM Feature #11484: add output offset for readpartial/read_nonblock/etc
How about bufoffset? akr (Akira Tanaka)
06:56 AM Feature #11484 (Feedback): add output offset for readpartial/read_nonblock/etc
I like the idea but do not like the name `off_out`. Any other candidate?
Matz.
matz (Yukihiro Matsumoto)
06:31 AM Bug #13931 (Closed): correct install_name of libruby on macOS (libruby.2.5.0.dylib -> libruby.2.5.dylib)
Applied in changeset trunk|r60018.
----------
configure.in: install_name without teeny
* configure.in (RUBY_API_VERSION): remove teeny from install_name
to allow link extension libraries for the same minor version.
patched by kimur...
nobu (Nobuyoshi Nakada)
06:31 AM Revision 2c644a50 (git): configure.in: install_name without teeny
* configure.in (RUBY_API_VERSION): remove teeny from install_name
to allow link extension libraries for the same minor version.
patched by kimuraw (Wataru Kimura) at [ruby-dev:50262].
[Bug #13931]
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
06:29 AM Feature #13608 (Rejected): Add TracePoint#thread
`Thread#current` should be enough. ko1 (Koichi Sasada)
06:20 AM Feature #13919 (Closed): Add a new method to create Time instances from unix time and nsec
Applied in changeset trunk|r60017.
----------
Time#at receives 3rd argument which specifies the unit of 2nd argument [Feature #13919]
naruse (Yui NARUSE)
05:51 AM Feature #13919: Add a new method to create Time instances from unix time and nsec
I agree with the new behavior (except for accepting `nil` as a unit).
Matz.
matz (Yukihiro Matsumoto)
06:20 AM Revision 97c5a33f (git): Time#at receives 3rd argument which specifies the unit of 2nd argument [Feature #13919]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:05 AM Revision 1aad241a (git): thread.c: Use 'Class.new' instead of 'Class::new' in doc codes.
patched by Herwin [Fix GH-1700]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sonots (Naotoshi Seo)
05:54 AM Bug #13917 (Rejected): Comparable#clamp is slower than using Array#min,max.
`Array#{min,max}` are optimized because they are used frequently. I don't think `clamp` is used that much.
Matz.
matz (Yukihiro Matsumoto)
05:28 AM Bug #13917: Comparable#clamp is slower than using Array#min,max.
Hanmac (Hans Mackowiak) wrote:
> i can explain why Array#min/max isn't much slower, because it was optimized to not create Array overhead WHEN using variables
> ...
It's expected behavior.
doc/NEWS-2.4.0 says
```
* In some conditi...
naruse (Yui NARUSE)
05:18 AM Feature #13934: [Feature request] Being able to set a default encoding other than Unicode on a "per-project" basis
In addition to what Matthew and Yui said, I have some more questions:
What about files with more than one module, or with code outside a module and code inside the module?
Are you planning to have actual content e.g. in Latin-1 in ...
naruse (Yui NARUSE)
03:51 AM Bug #13937 (Rejected): ARGV doesn't behave like an array
lucascaton (Lucas Caton) wrote:
> Ruby allows us to access an array item by passing its index, regardless if there is or not a space between the array and the [] with the index.
> ...
This isn't a bug, you just need to understand how t...
jeremyevans0 (Jeremy Evans)
03:29 AM Bug #13937 (Rejected): ARGV doesn't behave like an array
Ruby allows us to access an array item by passing its index, regardless if there is or not a space between the array and the [] with the index.
Ie.: both of the following lines work:
~~~ ruby
[][0] # nil
[] [0] # nil
~~~
**ARGV...
lucascaton (Lucas Caton)
12:09 AM Revision 5d12e826 (git): test/ruby/test_iseq.rb: Skip test_safe_call_chain if Coverage is running.
Follow up to r59990.
When Coverage is running, trace2 instructions are inserted
to take branch coverages for safe method invocations.
This insertion makes safe call chains unable to be optimized
and breaks this test case.
So we test it o...
yui-knk (Kaneko Yuichiro)

09/24/2017

05:14 PM Feature #13933: Add Range#empty?
Range mixes in Enumerable so you can use #none?.
~~~
('a'..'b').none? #=> false
('b'..'a').none? #=> true
~~~
shan (Shannon Skipper)
02:33 PM Feature #13933: Add Range#empty?
Note that `Range#size` currently returns `nil` for ranges of string, so it's not clear what `empty?` would return for ranges of strings. marcandre (Marc-Andre Lafortune)
01:32 PM Feature #13933: Add Range#empty?
Would be nice. shevegen (Robert A. Heiler)
11:17 AM Feature #13933 (Rejected): Add Range#empty?
Range already responds to #size. It would be nice if it also responded to predicate #empty? :-) ted (Ted Johansson)
04:54 PM Bug #13935 (Closed): Backport openssl v2.0.7
ruby_2_4 maintainer:
The attached patch (0001-openssl-import-v2.0.7.patch) updates the bundled openssl gem from v2.0.5 to v2.0.7. It applies on top of current ruby_2_4 (r60626). All changes are already in trunk as part of v2.1.0.
h...
rhenium (Kazuki Yamaguchi)
04:26 PM Revision fc8bacf9 (git): * 2017-09-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:26 PM Revision fdd01b53 (git): openssl: import e72d960db262
Sync with master branch of ruby/openssl.git to import changes in
v2.1.0.beta1..v2.0.6. The commit log since v2.1.0.beta1 which was
imported by r59734 can be found at:
https://github.com/ruby/openssl/compare/v2.1.0.beta1...e72d96...
rhenium (Kazuki Yamaguchi)
02:29 PM Feature #13934: [Feature request] Being able to set a default encoding other than Unicode on a "per-project" basis
If it's a method, that means you have to parse the file and execute it, before you can know how to parse it ..? phluid61 (Matthew Kerwin)
02:07 PM Feature #13934 (Open): [Feature request] Being able to set a default encoding other than Unicode on a "per-project" basis
Hello ruby-core team and everyone else,
I propose a "project-wide encoding" or a "toplevel namespace wide encoding".
I'll soon explain what I mean there; but first, allow me to start with a
problem description or more, a slight i...
shevegen (Robert A. Heiler)
01:26 PM Feature #13923: Idiom to release resources safely, with less indentations
IMHO this defer idea is not appropriate to manage resources at it just moves the release of the resources at the end of the method.
But this is often not appropriate or later than needed.
A block captures more explicitly the scope in w...
Eregon (Benoit Daloze)
12:59 PM Feature #13923: Idiom to release resources safely, with less indentations
How about:
```ruby
class Deferred
def initialize
@list = []
yield self
ensure
@list.reverse_each do |res, clean|
clean.(res)
end
end
def defer(res = true, &clean)
@list << [res, clean||CLOS...
nobu (Nobuyoshi Nakada)
02:30 AM Feature #13923: Idiom to release resources safely, with less indentations
While `ensure` in ruby is a syntax and share the scope, `defer` in go dynamically registers the clean-up code with capturing local variables implicitly.
So a `defer` in a loop may registers multiple times with different objects, or may ...
nobu (Nobuyoshi Nakada)
12:36 PM Feature #13884: Reduce number of memory allocations for "and", "or" and "diff" operations on small arrays
Can anyone review this patch? DmitryBochkarev (Dmitry Bochkarev)
12:10 PM Bug #13887: test/ruby/test_io.rb may get stuck with FIBER_USE_NATIVE=0 on Linux
normalperson (Eric Wong) wrote:
> s.wanabe@gmail.com wrote:
> ...
Thank you for your advice. I didn't care about callcc.
Your refined patch [ruby-core:82925] looks good for me, but I want to hear the opinion of Evaluator Maintainer ju...
wanabe (_ wanabe)
10:07 AM Revision 444d0910 (git): common.mk: force link exe/ruby
* common.mk (exe/ruby): force link exe/ruby with miniruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:44 AM Revision 6aaa2ca5 (git): test_gc.rb: relax criterion
* test/ruby/test_gc.rb (TestGc#test_expand_heap): relax the
criterion and compare by epsilon.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:35 AM Revision cf24b381 (git): gem.rb: load rubygems.rb
* test/rubygems/test_gem.rb: load rubygems.rb explicitly, for the
case configured as --disable-rubygems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:10 AM Revision f9ca5093 (git): Added NEWS entry for r60008
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
07:52 AM Revision e5e1f904 (git): Removed ubygems.rb. rubygems.rb is always loaded now.
* tool/sync_default_gems.rb: removed ubygems.rb from sync target.
* test/rubygems/test_gem.rb: only enable "-rubygems" option when
running under the Ruby 1.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60008 b2dd03c8-39d4-4...
hsbt (Hiroshi SHIBATA)
05:22 AM Revision 6f968cab (git): load.c: fix rb_load_protect condition
* load.c (rb_load_protect): fix the condition to load the found
file. fixup of r59155.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:48 AM Revision 1d44d10b (git): ruby-runner.c: RUBYLIB
* ruby-runner.c (insert_env_path): extracted the function which
insert path list to an environment variable.
* ruby-runner.c (main): append library paths to RUBYLIB.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60006 b2dd03c8-39...
nobu (Nobuyoshi Nakada)
01:45 AM Feature #5481: Gemifying Ruby standard library
Hi, I have some feedback implying a possibility of unexpected dependency on features packaged in Ruby installation when their gem versions are intended to be used.
I use Bundler v1.13.7 provided by CentOS SCL. The version always uses ...
akihikodaki (Akihiko Odaki)
12:15 AM Revision a2026d89 (git): common.mk: link exe/ruby
* common.mk (exe/ruby): make fixed name symbolic link exe/ruby to
exe/$(PROGRAM), to run hardcoded bundler tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

09/23/2017

11:58 PM Revision 846311a4 (git): * 2017-09-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:58 PM Revision 69759938 (git): test/coverage/test_coverage.rb: Refactor coverage tests.
Add `assert_coverage` to invoke Ruby script under coverage measurement
and to compare the result with an expected value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
09:40 PM Bug #13736 (Closed): ruby -00 should be the same as setting $/=""
As I asked matz about the intention and then committed, this has not been backported yet.
WARNING: the condition that "Status = Closed" and "Backport is REQUIRED" is the trigger to backport, it will never get backported if you change ...
nobu (Nobuyoshi Nakada)
09:20 PM Feature #13927: Integrate module_function as a core language type
I wanted to write a reply but it was too long, so here just a shorter one.
Even new syntax may make a language more complex but also simpler at the same time.
People may have to learn/understand what a concept means in a language. Ne...
shevegen (Robert A. Heiler)
08:36 PM Bug #13757: TestBacktrace#test_caller_lev segaults on PPC
v.ondruch@tiscali.cz wrote:
> normalperson (Eric Wong) wrote:
> > Oh, check the *_STACK_SIZE #defines in vm_core.h for what the
> > defaults are, and maybe binary search until you find something
> > which works/breaks. I made t...
normalperson (Eric Wong)
06:31 PM Bug #13887: test/ruby/test_io.rb may get stuck with FIBER_USE_NATIVE=0 on Linux
s.wanabe@gmail.com wrote:
> I guess `cont->machine.stack_src` should not contain the under thread_start_func_1() stack.
> Because this area will be used and overwritten by pthread, especially stack_list_{add,del} in nptl/allocatestack...
normalperson (Eric Wong)
04:48 PM Bug #13932 (Closed): [PATCH] Extension libraries take precedence in checks of later Kernel.#require calls for features without file extensions
Extension libraries take precedence in checks of later `Kernel.#require` calls for features without file extensions. That behavior is inconsistent with the first call, and can cause problems.
For instance, feature `openssl` has `opens...
akihikodaki (Akihiko Odaki)
11:45 AM Bug #13931 (Closed): correct install_name of libruby on macOS (libruby.2.5.0.dylib -> libruby.2.5.dylib)
ruby-dev:50256 で質問した件です。
ruby-2.4以降ではlibrubyのファイル名に実際のリリースバージョンのTEENYが反映されるようになったようですが
macOS上でlibrubyのinstall name(linuxでのsoname相当)がTEENYを含んだもののため、
rubyを2.4.1から2.4.2など更新すると以前のバージョンで作成した拡張ライブラリでLoadErrorが発生します。
linuxなどではsonameをTEE...
kimuraw (Wataru Kimura)
08:33 AM Bug #13905 (Assigned): files in gemspec
default gems の `Gem::Specification#files` は記載されていても、実際には処理されないので、便宜上 upstream または gem としてリリースされているファイルを記載するようにしています。
こうした方が良い、という提案はありますか?
hsbt (Hiroshi SHIBATA)
07:09 AM Revision 8c59fdb8 (git): dup String#split return value
* string.c (rb_str_split): return duplicated receiver, when no
splits. patched by tompng (tomoya ishida) in [ruby-core:82911],
and the test case by Seiei Miyagi <hanachin@gmail.com>.
[Bug#13925] [Fix GH-1705]
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
07:09 AM Revision e1be1d0c (git): dup String#rpartition return value
* string.c (rb_str_rpartition): return duplicated receiver, when
no splits. [ruby-core:82911] [Bug#13925]
Author: Seiei Miyagi <hanachin@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60001 b2dd03c8-39d4-4d8f-98ff-8...
nobu (Nobuyoshi Nakada)
07:09 AM Revision b0326bce (git): dup String#partition return value
* string.c (rb_str_partition): return duplicated receiver, when no
splits. [ruby-core:82911] [Bug#13925]
Author: Seiei Miyagi <hanachin@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60000 b2dd03c8-39d4-4d8f-98ff-82...
nobu (Nobuyoshi Nakada)
06:49 AM Revision 80aa804a (git): parse.y: token type by identifer ID type
* parse.y (parse_ident): leave identifier type decision (local or
const) to rb_enc_symname_type, and set the token type by ID
type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:49 AM Revision 5983fd75 (git): parse.y: missing semicolon
* parse.y (stmt_or_begin): fix missing semicolon.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:43 AM Bug #13925: string.split(pattern, 1) should return [self.dup], but it returns [self]
I added some tests and send a Pull Request to ruby/ruby
https://github.com/ruby/ruby/pull/1705
hanachin (Seiei Miyagi)
04:37 AM Revision 6a0ce111 (git): removed bin/bundle_ruby, It was ignored upstream gemspec.
* spec/bundler/other/*: Marked exclude tags for ruby repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
02:57 AM Revision ebfc4c48 (git): update section styles for psych, rubygems, bundler.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:55 AM Revision 479c83f7 (git): Added sections of pysch library to LEGAL.
* ext/psych/yaml/LICENSE: Integrate libyaml license to LEGAL and
removed this file from repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
02:37 AM Revision 572d2c27 (git): Added bundler's license to LEGAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:26 AM Revision 6c52cdab (git): Added missing "ubygems.rb" file of rubygems to LEGAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:24 AM Revision 1aa4a40d (git): Integrate LICENSE file of rubygems to LEGAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:17 AM Revision 4b5fb69e (git): * 2017-09-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:17 AM Revision 7da13f05 (git): Enable to take branch coverages for safe method invocations
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yui-knk (Kaneko Yuichiro)

09/22/2017

06:31 PM Bug #13921: buffered read_nonblock doesn't work as expected using SSLSocket
chucke (Tiago Cardoso) wrote:
> I have something similar to the following code that handles both tcp as well as ssl sockets. The idea is to use the #read_nonblock API which uses a buffer when passed in the argument (instead of creating ...
rhenium (Kazuki Yamaguchi)
05:14 PM Bug #13736 (Feedback): ruby -00 should be the same as setting $/=""
Try:
$ printf "1\n1b\n\n\n\n\n2\n2b\n\n3\3b" | ruby -00 -F"\n" -lane 'END{p $.}'
4
vs
$ printf "1\n1b\n\n\n\n\n2\n2b\n\n3\3b" | ruby -F"\n" -lane 'BEGIN{$/=""}; END{p $.}'
3
vs
$ printf "1\n1b\...
dawg (Andrew Dumke)
04:58 PM Bug #13736: ruby -00 should be the same as setting $/=""
This does not seem to be corrected on ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin16]
Exactly the same results as before.
dawg (Andrew Dumke)
02:31 PM Bug #13930 (Closed): Exception is caught in rescue above ensure
Given the following code:
~~~ ruby
def foo
i = 0
3.times do |n|
begin
puts "a"
i += 1
next if i > 1
puts "b"
rescue => e
puts "rescue in foo, caught #{e}"
ensure
puts "en...
msauter (Michael Sauter)
02:28 PM Bug #13757: TestBacktrace#test_caller_lev segaults on PPC
normalperson (Eric Wong) wrote:
> v.ondruch@tiscali.cz wrote:
> ...
I passes with 262144 but fails with 131072. Should I try to find some value in between?
vo.x (Vit Ondruch)
11:21 AM Revision fb38cfb9 (git): Update trick2013/yhara for Ruby 2.4
I need to raise LocalJumpError here (for the first "J" of the
output "JUST ANOTHER RUBY HACKER"), but this `return` does
not raise error in Ruby 2.4.
[Fix GH-1703]
Author: Yutaka HARA <yutaka.hara+github@gmail.com>
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
10:18 AM Feature #13927: Integrate module_function as a core language type
matz (Yukihiro Matsumoto) wrote:
> I admit modules with module_function play different role from ordinary modules, and so do refinements.
> ...
Hi Matz thanks for your reply. I think we would have a reasonably significant gain in makin...
rocifier (Ryan O'Connor)
05:21 AM Feature #13927: Integrate module_function as a core language type
I admit modules with module_function play different role from ordinary modules, and so do refinements.
I am not sure how much gain we would have by making them their own objects. Adding new syntax, keywords, or concepts may make the lan...
matz (Yukihiro Matsumoto)
08:29 AM Bug #13926: Non UTF response headers raise an Argument error since 2.4.2p198
shevegen (Robert A. Heiler) wrote:
> Can you add a link to Net::HTTPHeader#add_header?
> ...
Apologies, I meant `Net::HTTPHeader#add_field` (https://ruby-doc.org/stdlib-2.4.2/libdoc/net/http/rdoc/Net/HTTPHeader.html#method-i-add_field)...
petehamilton (Pete Hamilton)
04:03 AM Bug #13926: Non UTF response headers raise an Argument error since 2.4.2p198
Can you add a link to Net::HTTPHeader#add_header?
I was trying to find it but I can not find it at https://ruby-doc.org/stdlib/libdoc/net/http/rdoc/Net/HTTPHeader.html - I do find []= though https://ruby-doc.org/stdlib-2.4.2/libdoc/n...
shevegen (Robert A. Heiler)
05:42 AM Feature #13613: Prefer that require/require_relative/load to tell us permission error if the target file is unreadable
I tried to write a patch which just adding `strerror(errno)` to error message.
https://github.com/sonots/ruby/commit/4af8960b65aec1c4a82d81431ed812bcebcdf7f8
But, I noticed that it was very fragile.
```
$:.replace([IO::NULL])
r...
sonots (Naotoshi Seo)
04:56 AM Revision 05ee7f2f (git): numeric.c: reduced repeated calls
* numeric.c (rb_num2ll, rb_num2ull, fix_pow): turn repeated
RFLOAT_VALUE calls into local variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:40 AM Bug #13929 (Feedback): TypeError: no implicit conversion of XXXX into string
Anon92929 (Anon Ymous) wrote:
> This causes SO MANY ISSUES! Instead of CRASHING, why doesn't it just apply the `.to_s` operator in this case???
What is "this case"?
nobu (Nobuyoshi Nakada)
03:58 AM Bug #13929: TypeError: no implicit conversion of XXXX into string
> This causes SO MANY ISSUES!
If you build up a `String` such as:
```ruby
x = 42
y = # String here
```
Then you can use:
```ruby
y = "The answer to everything is #{x}"
```
For global variables this is even shorter, th...
shevegen (Robert A. Heiler)
12:23 AM Bug #13929 (Rejected): TypeError: no implicit conversion of XXXX into string
This causes SO MANY ISSUES! Instead of CRASHING, why doesn't it just apply the .to_s operator in this case???
Anon92929 (Anon Ymous)
03:05 AM Bug #13928 (Closed): Calling Integer.fdiv with BigDecimal returns unexpected result
Applied in changeset trunk|r59986.
----------
numeric.c: use NUM2DBL
* numeric.c (fix_fdiv_double), bignum.c (rb_big_fdiv_double): use
NUM2DBL on unknown object. RFLOAT_VALUE is only applicable to
T_FLOAT object. [ruby-cor...
nobu (Nobuyoshi Nakada)
03:05 AM Revision d58ccfee (git): * 2017-09-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:05 AM Revision 24ef8ad1 (git): numeric.c: use NUM2DBL
* numeric.c (fix_fdiv_double), bignum.c (rb_big_fdiv_double): use
NUM2DBL on unknown object. RFLOAT_VALUE is only appliicable to
T_FLOAT object. [ruby-core:82924] [Bug #13928]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5998...
nobu (Nobuyoshi Nakada)

09/21/2017

10:28 PM Bug #13887: test/ruby/test_io.rb may get stuck with FIBER_USE_NATIVE=0 on Linux
s.wanabe@gmail.com wrote:
> But I believe it is never correct.
> (`(char*)` cast is ugly, I want change `cont->machine.stack_src` but not `th->machine.stack_start`, ruby should change the behaviour only when `FIBER_USE_NATIVE == 0`, a...
normalperson (Eric Wong)
09:13 PM Bug #13928 (Closed): Calling Integer.fdiv with BigDecimal returns unexpected result
After upgrading a Rails project from 2.3.1 to 2.4.2 I ran into a number of failing tests. Seems like to behaviour of fdiv and conjuction with bigdecimal is wrong.
### Reproduce by running:
```ruby
irb(main):001:0> require 'bigdecima...
calle.vander@gmail.com (Carl Vander)
07:57 PM Feature #13927 (Open): Integrate module_function as a core language type
Using ruby commercially we have discovered that modules are no longer serving their original intended purpose of mixins. Another usage of the module has been shoehorned by using module_function. We have found that when developers use mod... rocifier (Ryan O'Connor)
06:01 PM Bug #13926 (Closed): Non UTF response headers raise an Argument error since 2.4.2p198
When setting headers using `Net::HTTPHeader#add_field` or `Net::HTTPHeader#[]=` in v2.4.2, an `ArgumentError (invalid byte sequence in UTF-8)` is raised.
In 2.4.1, this behaviour didn't exist and it looks like it was introduced in on...
petehamilton (Pete Hamilton)
03:34 PM Bug #13758: TestRubyOptions#test_segv_setproctitle segfaults on AARCH64
vo.x (Vit Ondruch) wrote:
> it actually takes down the bash instance it is running within. Is this expected?
Yes, Bash interprets the $$ inside the "":
echo "$$"
17490
echo '$$'
$$
Eregon (Benoit Daloze)
10:32 AM Bug #13758: TestRubyOptions#test_segv_setproctitle segfaults on AARCH64
naruse (Yui NARUSE) wrote:
> I can't reproduce on ruby -v: ruby 2.5.0dev (2017-09-01 trunk 59707) [aarch64-linux].
> ...
You are using way older components then we do :/ I would blame glibc, binutils or something like that, since it se...
vo.x (Vit Ondruch)
01:49 PM Bug #13856: MinGW / mswin intermittent failure in test/socket/test_socket.rb
Shirosaki-san,
'Breakfast build' is finished, passed `test-all`, and the following also passed:
```
ruby runner.rb -I../lib -I. --repeat-count=50 --show-skip socket/test_socket.rb -ntest_closed_read
```
This has been an intermit...
MSP-Greg (Greg L)
11:39 AM Bug #13856: MinGW / mswin intermittent failure in test/socket/test_socket.rb
Shirosaki-san, your patch seems ok.
Could you check in?
usa (Usaku NAKAMURA)
10:36 AM Bug #13856: MinGW / mswin intermittent failure in test/socket/test_socket.rb
I found that another exception raises while executing rb_exc_raise() in rb_threadptr_execute_interrupts().
This reentering exception would cause segfault for some reason.
Socket is closed releasing GVL before rb_exc_raise() in rb_threa...
h.shirosaki (Hiroshi Shirosaki)
12:26 PM Bug #10222 (Closed): require_relative and require should be compatible with each other when symlinks are used
Applied in changeset trunk|r59984.
----------
load.c: real path to load
* load.c (rb_construct_expanded_load_path): expand load paths to
real paths to get rid of duplicate loading from symbolic-linked
directories. [Feature #10222]
nobu (Nobuyoshi Nakada)
12:26 PM Revision e3bb5c4b (git): gmake.mk: order test-bundler
* defs/gmake.mk (ORDERED_TEST_TARGETS): order test-bundler too to
get rid of mixing outputs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:39 AM Bug #13917: Comparable#clamp is slower than using Array#min,max.
Thank you, Hanmac. I understand why `Array#min/max` is so fast.
I guess `clamp` would be implemented in `numeric.c` and so on to be as fast as `Array#min/max`.
kei-s (Kei Shiratsuchi)
09:23 AM Bug #13834: RubyGems test suite occasionally changes working directory and breaks the rest of test suite
Another instance of this bug:
http://rubyci.s3.amazonaws.com/fedora26/ruby-trunk/log/20170919T063002Z.log.html.gz
vo.x (Vit Ondruch)
08:31 AM Bug #13757: TestBacktrace#test_caller_lev segaults on PPC
v.ondruch@tiscali.cz wrote:
> normalperson (Eric Wong) wrote:
> > If you have time, can you try to find larger values changed by
> > r59047 (RUBY_THREAD_MACHINE_STACK_SIZE and
> > RUBY_FIBER_MACHINE_STACK_SIZE) which do not get s...
normalperson (Eric Wong)
05:15 AM Bug #13757: TestBacktrace#test_caller_lev segaults on PPC
normalperson (Eric Wong) wrote:
> If you have time, can you try to find larger values changed by
> ...
Any idea what should be rasonable value? I started naively with 2 and then continued with 5, 10, 100, 1000, 10000 and it is still c...
vo.x (Vit Ondruch)
07:29 AM Revision b6d3927e (git): load.c: real path to load
* load.c (rb_construct_expanded_load_path): expand load paths to
real paths to get rid of duplicate loading from symbolic-linked
directories. [Feature #10222]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59984 b2dd03c8-39d4-4d...
nobu (Nobuyoshi Nakada)
07:29 AM Revision 5754f159 (git): file.c: rb_check_realpath
* file.c (rb_check_realpath): returns real path which has no
symbolic links. similar to rb_realpath except for returning
Qnil if any parts did not exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59983 b2dd03c8-39d4-4d8f-98...
nobu (Nobuyoshi Nakada)
07:25 AM Feature #12637: Unified and consistent method naming for safe and dangerous methods
duerst (Martin Dürst) wrote:
> r.smitala (Radovan Smitala) wrote:
> ...
You are right about migration. I don't count all variations of method using.
>
> ...
I think it is why Ruby popularity stagnatess or slightly decreases. No ne...
r.smitala (Radovan Smitala)
04:40 AM Feature #12637: Unified and consistent method naming for safe and dangerous methods
r.smitala (Radovan Smitala) wrote:
> I also think migration to new method naming is really easy with simple regex replacing.
It's not so easy. There may be programs with variable names such as `fill`, user written classes with meth...
duerst (Martin Dürst)

09/20/2017

11:48 PM Bug #13925: string.split(pattern, 1) should return [self.dup], but it returns [self]
There are same problem in partition and rpartition
I expect the s is "abc", but it is modified.
```rb
s = "abc"; s.partition("d").map(&:upcase!); s
# => "ABC"
```
I expect the s is "abc", but it is modified.
```rb
s = "ab...
hanachin (Seiei Miyagi)
04:38 PM Bug #13925 (Closed): string.split(pattern, 1) should return [self.dup], but it returns [self]
```ruby
msg = 'abababababa'
msg.split('b', 4).map(&:upcase!) # won't overwrite msg
puts msg # abababababa (expected)
msg.split('b', 1).map(&:upcase!) # this overwrites msg
puts msg # ABABABABABA (abababababa is expected)
```
I w...
tompng (tomoya ishida)
10:02 PM Revision 5193ad13 (git): check_funcall_missing() should call respond_to_missing?(name, priv=true)
* Improve spec rather than constrain implementation.
* Coercion ignores visibility in Ruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
09:50 PM Revision 2dd35a74 (git): Prefer adapting specs to complicating library code
* lib/net/ftp.rb (Net::FTP#initialize): simplify as per
the original intent.
* spec/ruby/library/net/ftp/initialize_spec.rb: adapt specs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
09:31 PM Bug #13921: buffered read_nonblock doesn't work as expected using SSLSocket
I've setup some test cases with yahns on https://80x24.org:8443/
to handle large uploads and return the MD5

curl -v -T large_file https://80x24.org:8443/
curl -v -T large_file https://80x24.org:8443/gets_read_mix
curl -v -T large_...
normalperson (Eric Wong)
08:31 PM Bug #13921: buffered read_nonblock doesn't work as expected using SSLSocket
cardoso_tiago@hotmail.com wrote:
> Issue #13921 has been updated by chucke (Tiago Cardoso).
>
>
> > Are you using sysread or sysread_nonblock directly, anywhere?
>
> I'm not. But can you reproduce the error as well?

I haven'...
normalperson (Eric Wong)
09:43 AM Bug #13921: buffered read_nonblock doesn't work as expected using SSLSocket
> Are you using sysread or sysread_nonblock directly, anywhere?
I'm not. But can you reproduce the error as well?
chucke (Tiago Cardoso)
09:31 PM Feature #13919: Add a new method to create Time instances from unix time and nsec
Following is a patch based on akr's API.
```diff
diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb
index c92aafc149..31d245ade7 100644
--- a/test/ruby/test_time.rb
+++ b/test/ruby/test_time.rb
@@ -236,6 +236,17 @@ def ...
naruse (Yui NARUSE)
01:46 PM Feature #13919: Add a new method to create Time instances from unix time and nsec
I think new method is possible if we find a good method name.
Another idea is adding an optional argument, unit, for Time.at.
Time.at(s, ns, :nanosecond) for example.
akr (Akira Tanaka)
06:50 AM Feature #13919: Add a new method to create Time instances from unix time and nsec
`Time.at_nsec` is ok for me, but it seems to take just one argument of nano seconds from epoch.
* `Time.at_nsec(nsec_from_epoch)`
* `Time.at_nsec(seconds_from_epoch, nsec)`
Is it not confusing? Or should it get exactly two arguments?
tagomoris (Satoshi Tagomori)
09:20 PM Feature #10849: Adding an alphanumeric function to SecureRandom
As an end user of Ruby, I'd like to be able to generate all sorts of cryptographically secure random characters. There's value in having only alphabetical or alphanumeric chars as they are slightly more human readable.
My use case is ...
f3ndot (Justin Bull)
08:19 PM Misc #13792 (Closed): Rename spec/rubyspec to spec/ruby
Applied in changeset trunk|r59979.
----------
Move spec/rubyspec to spec/ruby for consistency
* Other ruby implementations use the spec/ruby directory.
[Misc #13792] [ruby-core:82287]
Eregon (Benoit Daloze)
06:25 PM Misc #13792: Rename spec/rubyspec to spec/ruby
I will do it since I am assigned. Eregon (Benoit Daloze)
08:19 PM Revision aaf07f7a (git): Adapt tools to follow spec/rubyspec => spec/ruby rename
* [Misc #13792] [ruby-core:82287]
* Prefer test-spec over test-rubyspec in spec/README.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
08:18 PM Revision 1d15d5f0 (git): Move spec/rubyspec to spec/ruby for consistency
* Other ruby implementations use the spec/ruby directory.
[Misc #13792] [ruby-core:82287]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
07:58 PM Bug #13916 (Closed): Race condition when sending a signal to a new fork
closing to trigger backport of r59975
normalperson (Eric Wong)
07:56 PM Bug #13916 (Open): Race condition when sending a signal to a new fork
backport status change
normalperson (Eric Wong)
06:51 PM Bug #13916: Race condition when sending a signal to a new fork
Eric Wong <normalperson@yhbt.net> wrote:
> russell.davis@gmail.com wrote:
> > https://bugs.ruby-lang.org/issues/13916
> https://80x24.org/spew/20170919223250.22840-1-e@80x24.org/raw

Cleaned up and added test, committed as r59975
normalperson (Eric Wong)
06:47 PM Bug #13916 (Closed): Race condition when sending a signal to a new fork
Applied in changeset trunk|r59975.
----------
process: block/unblock signals around fork
As with forking for execve(2) in `spawn', we must block signals
to ensure they are handled correctly in a freshly `fork'-ed child.
* process.c (r...
Anonymous
07:45 PM Revision 75bfc644 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:45 PM Revision cf475b86 (git): Update to ruby/spec@e3b6811
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
06:47 PM Revision 812d5040 (git): * 2017-09-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:47 PM Revision 5be38692 (git): process: block/unblock signals around fork
As with forking for execve(2) in `spawn', we must block signals
to ensure they are handled correctly in a freshly `fork'-ed child.
* process.c (retry_fork_ruby): block/unblock signals around fork
(rb_fork_ruby): re-enable signals in f...
Eric Wong
06:21 PM Bug #12644: Support debug build on Windows with MSVC
Most likely your ucrtbased.dll differs in such way that can't locate that structure, so either need to update implementation to work for it (you'll need to look at disassembly)
or you will need to compile with probably older version o...
davispuh (Dāvis Mosāns)
05:01 PM Feature #13923: Idiom to release resources safely, with less indentations
I like `defer` idea, although adding a new keyword is hard.
Matz.
matz (Yukihiro Matsumoto)
04:01 PM Feature #13923: Idiom to release resources safely, with less indentations
maybe new keyword **defer** which simply builds an array of blocks to be called at end of scope;
specifically immediately before **end** of **ensure** section;
i.e. if there is ensure code then defer underlying support should come afte...
KonaBlend (Kona Blend)
11:01 AM Feature #13923: Idiom to release resources safely, with less indentations
tagomoris (Satoshi TAGOMORI) wrote:
> With this code, storage will not be closed if `buffer.close` raises exceptions.
IMHO if buffer.close raises an exception then that should be fixed and not silently ignored.
(e.g. if close fails ...
Eregon (Benoit Daloze)
10:41 AM Feature #13923: Idiom to release resources safely, with less indentations
nobu (Nobuyoshi Nakada) wrote:
> Probably a way which is close to it right now would be:
> ...
With this code, storage will not be closed if `buffer.close` raises exceptions.
tagomoris (Satoshi Tagomori)
08:42 AM Feature #13923: Idiom to release resources safely, with less indentations
Probably a way which is close to it right now would be:
```ruby
begin
storage = getStorage()
buffer = storage.get(buffer_id)
# ...
rescue StorageError => e
# ...
ensure
buffer&.close
storage&.close
end
```
nobu (Nobuyoshi Nakada)
06:21 AM Feature #13923 (Feedback): Idiom to release resources safely, with less indentations
In programs which grabs and releases resources very often, we need to write so much begin-ensure clauses.
```ruby
begin
storage = getStorage()
begin
buffer = storage.get(buffer_id)
# ...
ensure
buffer.close ...
tagomoris (Satoshi Tagomori)
01:39 PM Feature #13924 (Open): Add headings/hints to RubyVM::InstructionSequence#disasm
As the official document mentions, this method will return a String with the human readable instructions. However, it is quite hard to read since we can not understand the definition of each column, for example:
~~~ ruby
puts RubyVM:...
tonytonyjan (Weihang Jian)
10:14 AM Feature #12637: Unified and consistent method naming for safe and dangerous methods
matz (Yukihiro Matsumoto) wrote:
> Ruby is not Scheme.
> ...
I know my reply could be annoying. I am apologise before.
After a year of using Ruby in mid-sized project we had some unlikely issues with mutating receiver. Because we are ...
r.smitala (Radovan Smitala)
08:38 AM Revision 5da2f77b (git): parse.y: literal term lex_state
* parse.y (parser_string_term, parser_parse_string): move setting
lex_state operations from parser_yylex per each token types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:49 AM Bug #13920: prepping io for stdin returns "access denied" on windows
MSP-Greg (Greg L) wrote:
> rocifier (Ryan O'Connor) wrote:
> ...
Thanks my issue is very similar. The issue you linked to presents some undocumented requirements. When I try calling `rb_w32_sysinit` it crashes on this line:
https://...
rocifier (Ryan O'Connor)
05:05 AM Feature #13849 (Closed): Show --dump options in help
sonots (Naotoshi Seo)
05:05 AM Feature #13849: Show --dump options in help
fixed via https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/59973 sonots (Naotoshi Seo)
05:01 AM Revision c18503c2 (git): ruby.c: show help messages of --dump
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sonots (Naotoshi Seo)
02:32 AM Revision 71345cf1 (git): fix up r59949
* ext/ripper/lib/ripper/lexer.rb (List#inspect): splat self data
to local variables same as members of Elem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:40 AM Revision da1b14bc (git): Add MonitorMinx#mon_locked? and #mon_owned? to check states of objects
Patched by Satoshi "Moris" Tagomori <tagomoris@gmail.com>. [Fix GH-1699]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
12:53 AM Bug #13736 (Closed): ruby -00 should be the same as setting $/=""
Applied in changeset trunk|r59970.
----------
ruby.c: paragraph mode by -00
* ruby.c (proc_options): set to paragraph mode, if -00 is given,
as well as perl and -R0 option in 0.49.
[ruby-core:81987] [Bug #13736]
nobu (Nobuyoshi Nakada)
12:53 AM Revision 79e0a193 (git): ruby.c: paragraph mode by -00
* ruby.c (proc_options): set to paragraph mode, if -00 is given,
as well as perl and -R0 option in 0.49.
[ruby-core:81987] [Bug #13736]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

09/19/2017

11:53 PM Feature #13922 (Open): Consider showing warning messages about same-named aliases - either directly or perhaps via the "did you mean gem"
I file here rather than at https://github.com/yuki24/did_you_mean because I am not sure
if the site by Yuki Nishijima may be appropriate, so I think first ruby core has to
decide on this.
Consider the following code:
#!/usr/...
shevegen (Robert A. Heiler)
11:49 PM Feature #13919: Add a new method to create Time instances from unix time and nsec
I have no objection to a new method at all.
I think the name "Time.of()" is strange though.
With Time.at(), we can say "ok, at this or that moment, we want the time".
With Time.of(), I am confused what that should mean. I am not...
shevegen (Robert A. Heiler)
06:59 AM Feature #13919 (Closed): Add a new method to create Time instances from unix time and nsec
Time object contains `nsec`, but Time class doesn't have method to create an instance with nsec.
Time.at() accepts 2nd argument, but it's micro-sec, and we need to divide nsec by 1000.0.
```ruby
t1 = Time.now
t1.nsec #=> nsec value...
tagomoris (Satoshi Tagomori)
11:09 PM Bug #13910: Seg Fault from require_relative
Problem fixed. I assume Nobu's work has taken care of this. Thank you again.
2017-09-17_59946 Fails
2017-09-18_59956 Passes
2017-09-19_59967 Passes
I'm okay to close.
MSP-Greg (Greg L)
11:09 PM Revision 6743bc37 (git): * 2017-09-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:09 PM Revision b823ecc3 (git): adjust indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:36 PM Bug #13916: Race condition when sending a signal to a new fork
russell.davis@gmail.com wrote:
> https://bugs.ruby-lang.org/issues/13916

Oops, I don't think we block signals properly for plain `fork' (vs `spawn').
We need to use pthread_sigmask / sigprocmask to block signal.

I am testing thi...
normalperson (Eric Wong)
01:43 AM Bug #13916 (Closed): Race condition when sending a signal to a new fork
To reproduce, run this script:
~~~ ruby
1_000_000.times do |i|
pid = fork {sleep}
puts pid
Process.kill(:TERM, pid)
Process.wait(pid)
end
~~~
Expected behavior: it should print a million pids and then exit.
Actual...
russelldavis (Russell Davis)
08:51 PM Bug #13921: buffered read_nonblock doesn't work as expected using SSLSocket
Reading the implementation of read_nonblock and consume_rbuff in
ext/openssl/lib/openssl/buffering.rb and I'm not seeing a
problem in those pure Ruby methods...

Are you using sysread or sysread_nonblock directly, anywhere?
That wo...
normalperson (Eric Wong)
06:25 PM Bug #13921: buffered read_nonblock doesn't work as expected using SSLSocket
Just confirmed that the problem only happens because I pass `exception: false`. chucke (Tiago Cardoso)
06:20 PM Bug #13921 (Closed): buffered read_nonblock doesn't work as expected using SSLSocket
I have something similar to the following code that handles both tcp as well as ssl sockets. The idea is to use the #read_nonblock API which uses a buffer when passed in the argument (instead of creating a string every time).
```
cl...
chucke (Tiago Cardoso)
05:08 PM Feature #11365: Change Webrick to support SHA htpasswd files
merch-redmine@jeremyevans.net wrote:
> Apache labels the SHA1 support "insecure". It's unsalted, so
> weak passwords would fall quickly to a rainbow table attack.
> While the first SHA1 collision attack was reported earlier
> this ...
normalperson (Eric Wong)
04:07 PM Feature #11365 (Closed): Change Webrick to support SHA htpasswd files
normalperson (Eric Wong) wrote:
> This is an old issue; and nowadays SHA-1 is on it's way out...
> ...
I didn't think SHA-256 was supported in .htpasswd files. I suppose we could roll our own, but I figured the only reason crypt(3) w...
jeremyevans0 (Jeremy Evans)
08:41 AM Feature #11365: Change Webrick to support SHA htpasswd files
hsbt@ruby-lang.org wrote:
> Issue #11365 has been updated by hsbt (Hiroshi SHIBATA).
>
> Status changed from Open to Assigned
> Assignee set to normalperson (Eric Wong)
>
> ----------------------------------------
> Feature #11...
normalperson (Eric Wong)
06:00 AM Feature #11365 (Assigned): Change Webrick to support SHA htpasswd files
hsbt (Hiroshi SHIBATA)
02:56 PM Revision e219f95d (git): fix a typo in NEWS at r59966.
* NEWS: fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:44 PM Bug #13918: Appveyor failure - svn 59961 Use https instead of ftp for libffi downloading
As you know, without X509::DEFAULT_CERT_FILE or ENV['SSL_CERT_FILE'], properly setup verification won't occur. At present, all Appveyor ruby versions previous to 2.4 have this issue. The above link shows that info.
EDIT: I added an ...
MSP-Greg (Greg L)
05:05 AM Bug #13918: Appveyor failure - svn 59961 Use https instead of ftp for libffi downloading
I added workaround used http at r59964.
I will investigate this later.
hsbt (Hiroshi SHIBATA)
04:04 AM Bug #13918: Appveyor failure - svn 59961 Use https instead of ftp for libffi downloading
usa (Usaku NAKAMURA) wrote:
> It's not only on 2.4 but also on trunk.
> ...
I'm sorry, I wasn't clear. Certs aren't configured correctly on Appveyor for ruby builds previous to 2.4. Hence, a ruby script using them can't verify a http...
MSP-Greg (Greg L)
03:49 AM Bug #13918 (Assigned): Appveyor failure - svn 59961 Use https instead of ftp for libffi downloading
It's not only on 2.4 but also on trunk.
See https://rubyci.org/logs/www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20170919T024800Z.fail.html.gz
usa (Usaku NAKAMURA)
03:20 AM Bug #13918 (Closed): Appveyor failure - svn 59961 Use https instead of ftp for libffi downloading
See [PR 1702](https://github.com/ruby/ruby/pull/1702).
Builds previous to 2.4 don't have cert files, hence, can't verify.
See [Appveyor Ruby & MinGW detail](https://ci.appveyor.com/project/MSP-Greg/appveyor-ruby), which has ruby i...
MSP-Greg (Greg L)
12:35 PM Bug #13920: prepping io for stdin returns "access denied" on windows
rocifier (Ryan O'Connor) wrote:
> `fileno(stdin)` returns `-2`
Sounds similar to #13546
MSP-Greg (Greg L)
10:15 AM Bug #13920: prepping io for stdin returns "access denied" on windows
I am linking to the static library from a win32 application (not console app) set to use the same runtime version as the ruby build. I have tried setting up a console with AllocConsole() and assigning *stdin to this console before initia... rocifier (Ryan O'Connor)
10:10 AM Bug #13920 (Closed): prepping io for stdin returns "access denied" on windows
https://github.com/ruby/ruby/blob/c08f7b80889b531865e74bc5f573df8fa27f2088/io.c#L12730
`rb_stdin = prep_stdio(stdin, FMODE_READABLE, rb_cIO, "<STDIN>");`
When this line (io.c) is called upon initialising ruby with `ruby_init()` or ...
rocifier (Ryan O'Connor)
09:30 AM Bug #8037 (Rejected): rdoc issues preventing docs generating after ruby was compiled
https://github.com/ruby/rdoc/issues/193 and https://github.com/ruby/rdoc/issues/194 are already closed. hsbt (Hiroshi SHIBATA)
09:28 AM Bug #11092 (Rejected): rdoc-generated *.gz files contain references to full path of the original, breaking rpmbuild
https://github.com/ruby/rdoc/pull/341 was merged 1yr ago.
If you still have this problem, try with rdoc-6.0.0.beta2 and report again. Thank you.
hsbt (Hiroshi SHIBATA)
09:07 AM Feature #10344: [PATCH] Implement Fiber#raise
Let me add another use case which I discussed with naruse and akr in RubyKaigi.
`Fiber#raise` is helpful to improve compatibility of methods with blocks (internal iterators) and `Enumerator` (external iterators).
This happened for me...
yugui (Yuki Sonoda)
08:52 AM Bug #11310 (Closed): CSV::Table#to_csv should use concat not +
applied at r59657 hsbt (Hiroshi SHIBATA)
08:51 AM Bug #13757: TestBacktrace#test_caller_lev segaults on PPC
v.ondruch@tiscali.cz wrote:
> Issue #13757 has been updated by vo.x (Vit Ondruch).
>
> Assignee set to normalperson (Eric Wong)

Sorry, I did not notice earlier. Feel free to Cc: me directly
in the future.

> Ok, so I did my h...
normalperson (Eric Wong)
08:48 AM Feature #13801: Implement case equality test for Set#===
I don't remember but I guess I didn't define `Set#===` probably because Array didn't, but I agree `Set#===` could be useful and intuitive, so I've merged your PR with a slight modification (alias to save an extra method call) and a test ... knu (Akinori MUSHA)
08:45 AM Feature #13801 (Closed): Implement case equality test for Set#===
Applied in changeset trunk|r59966.
----------
Alias Set#=== to #include?
* set.rb (Set#===): Added via [Feature #13801] by davidarnold.
Closes #1673.
knu (Akinori MUSHA)
08:45 AM Revision 2aee703e (git): Alias Set#=== to #include?
* set.rb (Set#===): Added via [Feature #13801] by davidarnold.
Closes #1673.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
08:39 AM Bug #12130 (Closed): WEBrick::HTTPProxy closes connection when the socket is not writable temporally
Applied in changeset trunk|r59965.
----------
webrick: handle EAGAIN/EWOULDBLOCK on proxy connections
* lib/webrick/httpproxy.rb (do_CONNECT): high-level IO methods
[ruby-core:82861] [Bug #12130]
Patch by: Keisuke NISHI
Anonymous
06:00 AM Bug #12130: WEBrick::HTTPProxy closes connection when the socket is not writable temporally
> Eric
Could you review and handle this issue?
hsbt (Hiroshi SHIBATA)
08:39 AM Revision b40a9475 (git): webrick: handle EAGAIN/EWOULDBLOCK on proxy connections
* lib/webrick/httpproxy.rb (do_CONNECT): high-level IO methods
[ruby-core:82861] [Bug #12130]
Patch by: Keisuke NISHI
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
07:34 AM Bug #13917: Comparable#clamp is slower than using Array#min,max.
i can explain why Array#min/max isn't much slower, because it was optimized to not create Array overhead WHEN using variables
(interesting it isn't optimized when only using literals)
~~~ ruby
RubyVM::InstructionSequence.compile("[4...
Hanmac (Hans Mackowiak)
02:26 AM Bug #13917 (Rejected): Comparable#clamp is slower than using Array#min,max.
Comparable#clamp is slower than using Array#min,max.
(I noticed it by @onk's tweet. https://twitter.com/onk/status/907856892604461056)
### Performance
```
user system total real
minmax: 0.740000 ...
kei-s (Kei Shiratsuchi)
07:19 AM Bug #12644: Support debug build on Windows with MSVC
davispuh (Dāvis Mosāns) wrote:
> When building debug build with MSVC (`-MDd` flag) then it will be linked to `ucrtbased.dll` where `_isatty` function obviously differs.
> ...
I'm running into a similar issue to this trying to build wit...
rocifier (Ryan O'Connor)
06:12 AM Feature #8126 (Assigned): OpenSSL::SSL::SSLSocket does not define #recv and #send messages
hsbt (Hiroshi SHIBATA)
05:42 AM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
Improved implementation and test.
Added documentation.
Glass_saga (Masaki Matsushita)
05:01 AM Revision eccbd8c0 (git): Fixup r59961. Use http for libffi downloading.
A few environments couldn't handle https download.
* https://rubyci.org/logs/mswinci.japaneast.cloudapp.azure.com/vc12-x64/ruby-trunk/log/20170919T032511Z.fail.html.gz
* https://rubyci.org/logs/www.rubyist.net/~akr/chkbuild/debia...
hsbt (Hiroshi SHIBATA)
03:47 AM Feature #13904: getter for original information of Enumerator
Well, this issue states that the motivation for introducing the getter methods is for getting return values of Range#step(n) to be handled specially by some libraries or individual methods, and as I said it is to me a typical misuse of s... knu (Akinori MUSHA)
02:42 AM Bug #13163 (Closed): Uncaught exceptions may not be reported when Thread#report_on_exception=true and Thread#abort_on_exception=true
Applied in changeset trunk|r59963.
----------
thread.c: report then abort
* thread.c (thread_start_func_2): report then abort on exception,
if both are set. [ruby-core:79280] [Bug #13163]
nobu (Nobuyoshi Nakada)
02:02 AM Bug #13163 (Assigned): Uncaught exceptions may not be reported when Thread#report_on_exception=true and Thread#abort_on_exception=true
Hmm, indeed this seems considered a bug.
@nobu Could you commit it?
naruse (Yui NARUSE)
02:42 AM Revision ab81cc4d (git): thread.c: report then abort
* thread.c (thread_start_func_2): report then abort on exception,
if both are set. [ruby-core:79280] [Bug #13163]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:39 AM Bug #13724 (Closed): make install does not install bundled gems
Applied in changeset trunk|r59962.
----------
Added documentation
Added documentaiton for installation of bundled gems.
[Bug #13724][ruby-core:81938]
hsbt (Hiroshi SHIBATA)
02:39 AM Revision d61b1e9e (git): Added documentation
Added documentaiton for installation of bundled gems.
[Bug #13724][ruby-core:81938]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
02:25 AM Revision e9f5265b (git): Use https instead of ftp for libffi downloading.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
01:54 AM Feature #10798 (Closed): Define the MIME type for JSON in WEBrick::HTTPUtils::DefaultMimeTypes
Applied in changeset trunk|r59960.
----------
Define the MIME type for JSON in WEBrick::HTTPUtils::DefaultMimeTypes.
[Feature #10798][ruby-core:67879]
hsbt (Hiroshi SHIBATA)
01:54 AM Revision 2b86b6f3 (git): Define the MIME type for JSON in WEBrick::HTTPUtils::DefaultMimeTypes.
[Feature #10798][ruby-core:67879]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:37 AM Revision 08a0927c (git): Enabled temporary disabled examples of bundler rspec.
These are fails when merging at r59779. But these are
working now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:22 AM Revision 23589094 (git): * 2017-09-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:22 AM Revision 50f7d64f (git): parse.y: lex by lvar
* parse.y (parse_ident): disable tLPAREN_ARG state by local
variable. [ruby-list:50578]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom