lib/i18n/tasks/configuration.rb in i18n-tasks-0.9.33 vs lib/i18n/tasks/configuration.rb in i18n-tasks-0.9.34

- old
+ new

@@ -1,13 +1,13 @@ # frozen_string_literal: true module I18n::Tasks::Configuration # rubocop:disable Metrics/ModuleLength DEFAULTS = { - base_locale: 'en', + base_locale: 'en', internal_locale: 'en', - search: ::I18n::Tasks::UsedKeys::SEARCH_DEFAULTS, - data: ::I18n::Tasks::Data::DATA_DEFAULTS + search: ::I18n::Tasks::UsedKeys::SEARCH_DEFAULTS, + data: ::I18n::Tasks::Data::DATA_DEFAULTS }.freeze # i18n-tasks config (defaults + config/i18n-tasks.yml) # @return [Hash{String => String,Hash,Array}] def config @@ -45,10 +45,10 @@ # @return [Hash<adapter: String, options: Hash>] def data_config @config_sections[:data] ||= begin { adapter: data.class.name, - config: data.config + config: data.config } end end # translation config