lib/messaging/config.rb in messaging-3.7.2 vs lib/messaging/config.rb in messaging-3.7.3
- old
+ new
@@ -1,4 +1,9 @@
+if Dry::Configurable.respond_to?(:warn_on_setting_positional_default)
+ Dry::Configurable.warn_on_setting_constructor_block false
+ Dry::Configurable.warn_on_setting_positional_default false
+end
+
module Messaging
class Config
extend ::Dry::Configurable
setting :app_name, 'messaging', reader: true