thbar / kiba

Data processing & ETL framework for Ruby
https://www.kiba-etl.org
Other
1.75k stars 87 forks source link

[WIP] Ruby 3.0 keywords argument compatibility #86

Closed thbar closed 4 years ago

thbar commented 4 years ago

See #85 for more context.

When working with Kiba and in particular when defining pipelines and components initialize method , it is very frequent to rely on keyword arguments.

Ruby 2.7 introduces warnings due upcoming changes in keyword arguments (to prepare for Ruby 3).

When using Ruby 2.8.0-dev, these warnings usually become blocking errors.

This PR (WIP, not ready since more work is needed, but opened to create visibility on this specific topic) introduces preliminary support for keyword arguments.

thbar commented 4 years ago

Closing in favour of #93 (which uses ruby2_keyword for a better implementation at this point).