General

Profile

esparta (Espartaco Palma)

  • Login: esparta
  • Registered on: 09/14/2017
  • Last sign in: 08/24/2019

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

10/07/2021

08:46 AM Ruby Revision b23fba91 (git): [ruby/ipaddr] Removing superfluos assingments & return
Also adding test for ntop
https://github.com/ruby/ipaddr/commit/0ba16cca10
esparta (Espartaco Palma)

07/30/2020

09:34 AM Ruby Revision cfbae7da (git): [skip-ci] Clarification for dup vs clone docs
Both clone & dup returns a new object when executed
on the documentation looks like they are returning the
same object cloned or dup'ed which is true for method
as extend, but not for the above mentioned.
esparta (Espartaco Palma)

08/23/2019

10:41 PM Ruby Feature #15815: Add option to raise NoMethodError for OpenStruct
Personally I found the proposed signature confusing, more when taking in account that OpenStruct calls:
```ruby
os = OpenStruct.new(a: 1, exception: true)
# vs
os = OpenStruct.new({a: 1}, exception: true)
```
> I'd like t...
esparta (Espartaco Palma)

08/15/2019

04:38 PM Ruby Revision 2665e585 (git): Adding missing test for Net::HTTPGenericRequest initializer (#1835)
A new exception is raised if an URI::HTTP is received and that object doesn't
have a hostname property.
Complementary to #1278
esparta (Espartaco Palma)

08/06/2019

12:01 AM Ruby Revision 146cf2f4 (git): Removing duplicated assertions on test_array.rb - MINUS method
Closes: https://github.com/ruby/ruby/pull/1790 esparta (Espartaco Palma)

06/21/2019

06:29 AM Ruby Revision 4149fd60 (git): Fix small typo on block_scanf example [ci-skip]
Closes: https://github.com/ruby/ruby/pull/2247 esparta (Espartaco Palma)

11/15/2017

06:32 AM Ruby Feature #14109 (Closed): FileUtils: Use Dir.children instead of Dir.entries
Dir.children is available since Feature #11302. FileUtils uses
Dir.each on an internal method encapsulated on a private class
Entry_#entry, having no '.' neither '..' entries would make
now superfluous a chained reject filtering.
T...
esparta (Espartaco Palma)

10/11/2017

09:34 AM Ruby Misc #14000: OpenStruct with #frozen_string_literal: true
For your consideration: https://github.com/ruby/ruby/pull/1714 esparta (Espartaco Palma)
09:00 AM Ruby Misc #14000 (Closed): OpenStruct with #frozen_string_literal: true
The current implementation of OpenStruct needs minimal changes in order to support frozen strings.
The mutable strings are only on inspect method.
IMO, we have two options:
a) leave the code as it is and just adding .dup where is ...
esparta (Espartaco Palma)

09/14/2017

06:32 AM Ruby Feature #13896 (Closed): Find.find -> Use Dir.children instead of Dir.entries
Dir.children is available since Feature #11302. Find.find can
use of the new list (having no '.' neither '..' entries), making
now superflous an if statement.
This change can improve the performance of Find.find when the path
has l...
esparta (Espartaco Palma)

Also available in: Atom