lib/i18n/tasks/configuration.rb in i18n-tasks-0.9.18 vs lib/i18n/tasks/configuration.rb in i18n-tasks-0.9.19

- old
+ new

@@ -35,13 +35,12 @@ {}.with_indifferent_access end end def config=(conf) - @config = file_config.deep_merge(conf) + @config = file_config.deep_merge(conf) @config_sections = {} - @config end # data config # @return [Hash<adapter: String, options: Hash>] def data_config @@ -108,10 +107,10 @@ @config_sections end def config_for_inspect to_hash_from_indifferent(config_sections.reject { |_k, v| v.blank? }).tap do |sections| - sections.each do |_k, section| + sections.each_value do |section| section.merge! section.delete('config') if section.is_a?(Hash) && section.key?('config') end end end