From 590b7e2f5d1664a89431e08d473c6d200b8b2513 Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Mon, 28 Mar 2022 17:02:34 +1100 Subject: [PATCH] style: rubocop --- lib/pact_broker/config/runtime_configuration_logging_methods.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pact_broker/config/runtime_configuration_logging_methods.rb b/lib/pact_broker/config/runtime_configuration_logging_methods.rb index 321ebd396..145339533 100644 --- a/lib/pact_broker/config/runtime_configuration_logging_methods.rb +++ b/lib/pact_broker/config/runtime_configuration_logging_methods.rb @@ -25,7 +25,7 @@ module InstanceMethods # base_url raises a not implemented error def log_configuration(logger) source_info = to_source_trace - (self.class.config_attributes - [:base_url]).collect(&:to_s).each_with_object({})do | (key, details), new_hash | + (self.class.config_attributes - [:base_url]).collect(&:to_s).each_with_object({})do | key, new_hash | new_hash[key] = { value: self.send(key.to_sym), source: source_info.dig(key, :source) || {:type=>:defaults}