Open jasonperrone opened 3 years ago
Hey @sebjacobs, is there any chance to get it released? I'm ready to improve this PR a bit as per my comment above )
ping! I am starting to use this on a Ruby 3 project now. Until this is fixed I'll only be able to use memoist on methods without arguments
FYI: Added this alert to the new memoist repo
[!IMPORTANT]
Recommendation
Consider using MemoWise instead, as it is maintained, fully tested, provides thread safety guarantees, and is much, much faster.
Other Alternatives
In case you need a tool with this feature set that is currently maintained, check out:
- https://github.com/makandra/memoized
- https://github.com/honzasterba/memoist
- https://github.com/AlexWayfer/alt_memery
[!TIP]
Seriously though, read the important note above.[!WARNING]
If you must continue - be aware that this is unmaintained software.
This is how I addressed the Ruby 3 keyword args splatting change incompatibility as mentioned here: https://bugs.ruby-lang.org/issues/14183.
Tests pass. Up to you if you want to accept this change.