General

Profile

marcandre (Marc-Andre Lafortune)

Issues

Projects

Activity

01/01/2018

05:41 PM Ruby trunk Bug #14263: Array Intersection does not seem to use hash
> If two instances are .eql? but their hashes are not
Then `eql?` or `hash` are ill-defined. The definition of `ha...

12/18/2017

08:27 PM Ruby trunk Bug #14201 (Closed): Regression due to over optimization of hash splat
The following doesn't print anything nor raise anything in 2.5.0-rc1 or trunk:
```
$ ruby -e "{**puts('hello')}; ...

12/17/2017

06:21 PM Ruby trunk Feature #12753: Useful operator to check bit-flag is true or false
When writing specs, I discovered that coercion was failing for allbits.
I modified all three methods to apply coer...
06:19 PM Ruby trunk Revision 61305 (trunk): Integer#{any|all|no}_bits: Fix coercion. Add specs [#12753]

12/15/2017

08:15 PM Ruby trunk Revision 61286 (trunk): lib/erb: Update doc [ci-skip] [doc]

12/13/2017

06:33 PM Ruby trunk Bug #14176: Unclear error message when calling method with keyword arguments
Note that Ruby 2.5 improves this since #13196 if `options` has only symbol keys:
asd(42, {a:1}) # => Argument...

12/11/2017

11:50 PM Ruby trunk Revision 61127 (trunk): NEWS: add changes for Matrix [ci-skip] [doc]
10:07 PM Ruby trunk Feature #13583 (Closed): Adding `Hash#transform_keys` method
Nevermind, I just remembered that ActiveSupport also defines `transform_keys!`, so best match its behavior.
09:59 PM Ruby trunk Feature #9108 (Closed): Hash sub-selections
09:28 PM Ruby trunk Feature #13583 (Open): Adding `Hash#transform_keys` method
I'm not sure I like the current behavior of `transform_keys!`.
Two possibilities: `transform_keys!` is `each_key {...

Also available in: Atom