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.
This updates the
setting
declarations to use the updated dry-configurable API, which usesdefault:
andconstructor:
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.