General

Profile

sakuro (Sakuro OZAWA)

  • Login: sakuro
  • Registered on: 08/29/2008
  • Last sign in: 09/12/2019

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 23 23

Activity

01/09/2019

05:44 AM Ruby Bug #15518 (Closed): good old Infinite range notation behavior
Ruby 2.5.3's behavior
~~~
# without step, it produces integer sequence
(1..Float::INFINITY).first(10) #=> [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
# with step, it produces floats instead of integers
(1..Float::INFINITY).step(1).first(10) #...
sakuro (Sakuro OZAWA)

06/21/2018

12:43 PM Ruby Bug #14795: Should 'net/http' require 'net/http/status' ?
naruse (Yui NARUSE) wrote:
> net/http itself doesn't need net/http/status.
Agreed. I'm OK to close this issue.
sakuro (Sakuro OZAWA)

05/29/2018

10:02 PM Ruby Bug #14795 (Closed): Should 'net/http' require 'net/http/status' ?
net/http/status.rb has been added (#12935) but it is [not required from net/http.rb](https://github.com/ruby/ruby/blob/0342fcbd51f2f423541f862c8d8e35873d849963/lib/net/http.rb#L1629-L1642) while other net/http/*.rb files are already requ... sakuro (Sakuro OZAWA)

01/24/2018

08:39 AM Ruby Feature #14371: New option "recursive: true" for Hash#transform_keys!
FYI, ActiveSupport implemented these functionalities as separate methods:
* [Hash#deep_transform_keys](http://api.rubyonrails.org/classes/Hash.html#method-i-deep_transform_keys)
* [Hash#deep_transform_keys!](http://api.rubyonrails.or...
sakuro (Sakuro OZAWA)

10/31/2016

06:41 AM Ruby Feature #7360: Adding Pathname#glob
ping? sakuro (Sakuro OZAWA)

07/02/2015

08:21 AM Ruby Bug #11324: Encoding to a String's own encoding with some options fails
See also #8123 sakuro (Sakuro OZAWA)
08:20 AM Ruby Bug #11324 (Closed): Encoding to a String's own encoding with some options fails
To encode a `String` instance to its own encoding seems to be a bad idea, but following result looks strange:
```ruby
s = "A\nB\r\nC".force_encoding('US-ASCII')
#=> "A\nB\r\nC"
s.encode('US-ASCII')
#=> "A\nB\r\nC"
s.encode('US-AS...
sakuro (Sakuro OZAWA)

12/20/2014

06:36 AM Ruby Bug #10625 (Closed): configure --with or --without-jemalloc fails
I have installed jemalloc(version 3.6.0) from MacPorts on OSX Yosemite and tried building ruby trunk@96fc310.
The result were
```
$ ../configure --srcdir=.. --with-opt-dir=/opt/local --with-jemalloc
:
checking size of long long....
sakuro (Sakuro OZAWA)

09/20/2014

03:27 PM Ruby Misc #10271 (Rejected): Drop exec bits from bundled gems
This is mere cosmetic matter, but it should be nice to drop exec bits from bundled *.gems in the tarball. They should not have exec bits even after installed.
In 2.2.0-preview1, they are 0755.
sakuro (Sakuro OZAWA)

08/01/2013

10:46 AM Ruby Bug #8651: /[#$]/ causes syntax error
=begin
Bah,
To people curious about why this does not cause error in 2.0, see #8375.
=end
sakuro (Sakuro OZAWA)

Also available in: Atom