General

Profile

chucke (Tiago Cardoso)

  • Registered on: 01/18/2016
  • Last connection: 11/03/2018

Issues

Activity

11/03/2018

12:06 AM Ruby trunk Bug #15278 (Closed): Refinements don't work well with Forwardable
Refined methods become unreachable when called through def_delegator.
```ruby
require "forwardable"
module URI...
chucke (Tiago Cardoso)

03/17/2018

11:52 PM Ruby trunk Bug #14612 (Open): IPv6 address inconsistency (downcase vs. upcase)
I've noticed that sometimes ip addresses re shown using a-f characters in downcase, other times upcase. Here is a sma... chucke (Tiago Cardoso)

10/22/2017

11:01 AM Ruby trunk Feature #2567: Net::HTTP does not handle encoding correctly
Bitten by this as well. I'd go the route proposed earlier:
1. By default, encode the body using the charset set in...
chucke (Tiago Cardoso)

10/15/2017

05:11 PM Ruby trunk Bug #14017: Hash.sort_by inconsistent between 2.2.6 and upper versions
got it, forgot to check the doc. Thx for clearing that up! chucke (Tiago Cardoso)
04:25 PM Ruby trunk Bug #14017 (Rejected): Hash.sort_by inconsistent between 2.2.6 and upper versions
The bug occurs when sorting by a numeric value and two different keys have similar values: It is very easily demonstr... chucke (Tiago Cardoso)

10/14/2017

11:28 PM Ruby trunk Bug #14016: URI IPv6 address can't be used to open socket
And more inconsistencies when trying to patch Net::HTTP's usage:
```ruby
# forcing here "::1" so that I can open ...
chucke (Tiago Cardoso)
11:15 PM Ruby trunk Bug #14016: URI IPv6 address can't be used to open socket
Another notable inconsistency (when compared with the second example above):
```ruby
uri.host = "::1" #=> URI::I...
chucke (Tiago Cardoso)
11:08 PM Ruby trunk Bug #14016: URI IPv6 address can't be used to open socket
I got the last one wrong:
```ruby
TCPSocket.new("[::1]", 9292) #=> getaddrinfo: nodename nor servname provided, ...
chucke (Tiago Cardoso)
11:07 PM Ruby trunk Bug #14016 (Rejected): URI IPv6 address can't be used to open socket
The example occurred when trying to use IPv6 to establish communication between HTTP client and server.
I first cr...
chucke (Tiago Cardoso)

10/06/2017

11:59 AM Ruby trunk Feature #12533: Refinements: allow modules inclusion, in which the module can call internal methods which it defines.
How about redefining `#include` in the context of refine as what would be expected of the new `#inject` method? I get... chucke (Tiago Cardoso)

Also available in: Atom