lib/table_sync/receiving/config.rb in table_sync-6.0.4 vs lib/table_sync/receiving/config.rb in table_sync-6.1.0

- old
+ new

@@ -99,15 +99,15 @@ proc do |option_name, new_value| unless new_value.is_a? Hash raise TableSync::WrongOptionValue.new(model, option_name, new_value) end - new_value.to_a.map do |key, value| + new_value.to_a.to_h do |key, value| [ instance_exec("#{option_name} keys", key, &block_for_keys), instance_exec("#{option_name} values", value, &block_for_values), ] - end.to_h + end end end any_value = proc do |_option_name, new_value| new_value