General

Profile

fatkodima (Dima Fatko)

  • Login: fatkodima
  • Registered on: 08/24/2020
  • Last sign in: 07/26/2021

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 0 1

Activity

08/05/2024

02:28 AM Ruby Revision a35d3248 (git): [ruby/optparse] Fix parsing array arguments with `:into` option
https://github.com/ruby/optparse/commit/19700e96d8 fatkodima (Dima Fatko)

07/11/2024

01:51 AM Ruby Revision 70bdc0f7 (git): [ruby/net-http] Add ability to configure default settings for new connections
https://github.com/ruby/net-http/commit/fed3dcd0c2 fatkodima (Dima Fatko)

04/19/2024

05:18 AM Ruby Revision 09cbbe0e (git): [rubygems/rubygems] Add plugin hooks for Bundler.require
https://github.com/rubygems/rubygems/commit/b373b7ed0d fatkodima (Dima Fatko)

02/09/2024

03:31 AM Ruby Revision f7a407ca (git): [ruby/optparse] Fix `require_exact` to work with options defined as `--[no]-something`
https://github.com/ruby/optparse/commit/4e346ad337 fatkodima (Dima Fatko)

09/30/2020

04:22 PM Ruby Feature #17206: Introduce new Regexp option to avoid global MatchData allocations
znz (Kazuhiro NISHIYAMA) wrote in #note-1:
> What does `regexp_without_matchdata.match(string)` return when matched?
Thats what `when not explicitly needed by the method.` part was about: it returns `MatchData` in this case, as reque...
fatkodima (Dima Fatko)
03:42 PM Ruby Feature #17206 (Open): Introduce new Regexp option to avoid global MatchData allocations
Originates from https://bugs.ruby-lang.org/issues/17030
When this option is specified, ruby will not create global `MatchData` objects, when not explicitly needed by the method.
If the new option is named `f`, we can write as `/o/f...
fatkodima (Dima Fatko)

09/25/2020

06:13 PM Ruby Feature #14394: Class.descendants
While I needed `Class#descendants` many times, I never had a need for `Module#descendants`. But I can think of its usefulness.
For example, when inheritance is implemented through modules, but not classes, for example -
a quick searc...
fatkodima (Dima Fatko)
11:07 AM Ruby Feature #17056: Array#index: Allow specifying the position to start search as in String#index

Eregon (Benoit Daloze) wrote in #note-7:
> What if a block is given, and one want to use a start index? (for efficiency and not run the block for the first `start` elements).
> ...
ary.index(from: start) { |i| ... } or ary.index(star...
fatkodima (Dima Fatko)

09/08/2020

10:56 AM Ruby Misc #17138: DevelopersMeeting20200925Japan
* [Feature #14394] Class.descendants (fatkodima)
* Introduces `Module#descendants` method as a native way to track `Class`/`Module` descendants, instead of inefficient hack like crawling `ObjectSpace` or tracking descendants via `inher...
fatkodima (Dima Fatko)

08/30/2020

11:28 PM Ruby Feature #17056: Array#index: Allow specifying the position to start search as in String#index
I have implemented an `offset` parameter for `Array#index` - https://github.com/ruby/ruby/pull/3448
Will adjust to more methods if asked.
fatkodima (Dima Fatko)

Also available in: Atom