lib/legion/extensions/core.rb in legionio-0.4.3 vs lib/legion/extensions/core.rb in legionio-1.2.0
- old
+ new
@@ -82,10 +82,10 @@
auto_generate_transport
extension_class::Transport.build
end
end
- def build_settings # rubocop:disable Metrics/AbcSize
+ def build_settings
if Legion::Settings[:extensions].key?(lex_name.to_sym)
Legion::Settings[:default_extension_settings].each do |key, value|
Legion::Settings[:extensions][lex_name.to_sym][key.to_sym] = if Legion::Settings[:extensions][lex_name.to_sym].key?(key.to_sym)
value.merge(Legion::Settings[:extensions][lex_name.to_sym][key.to_sym])
else