Added tag v0.11.0 for changeset 606749c67e3c
Bump the minor version, update history.
Update gem-signing cert, dependencies
Adding release checksum.
Added tag v0.10.0 for changeset 02f9b0a2d060
Bump the minor version, update history.
Require newer i18n for Faker fix under 3.1
Update my gem-signing cert
Merge pull request #1 from rgalanakis/master

Fix keyword argument decorators in Ruby 3.0
142f70aec0b4 — Rob Galanakis 2 years ago
Add authors to gemspec since it's a required field now
8c0d91846b97 — Rob Galanakis 2 years ago
Fix keyword argument decorators

If a decorator is keyword-only, like `do |x: nil, y: nil|`,
then the following does nto work properly:

	factory.mydecorator(x: 1, y: 2)

Instead, both of them remain nil.
Ruby 3.0 changed how keyword arguments work
which broke some metaprogramming-heavy libraries
(this bug does not reproduce under 2.7).

My fix for this is to unpack a trailing hash
in the provided decorator arguments
and double-splat it, so this:

	o.instance_exec(*args, &block)

becomes something like this:

	o.instance_exec(*args[0..-2], **args[-1], &block)
Add build manifest
Adding release checksum.
Added tag v0.9.0 for changeset 1220b06bb5ee
Bump the minor version, update history, fix docs
Update for Ruby 2.7

- Fix passing keywords as trailing hash
- De-hoeify
- Update project links (bitbucket -> sr.ht)
- Update my gem-signing cert
Next