hanami / view

Views, templates and presenters for Ruby web applications
http://hanamirb.org
MIT License
173 stars 80 forks source link

Use setting kwargs to fit new dry-configurable API #190

Closed timriley closed 3 years ago

timriley commented 3 years ago

This updates the setting declarations to use the updated dry-configurable API, which uses default: and constructor: instead of second positional arg and trailing block arg respectively.

This will also unbreak the view integration tests on hanami/hanami for Ruby 2.6 and 2.7, due to their misinterpretation of a hash argument as keyword arguments.