lib/easy-settings/path_source.rb in easy-settings-1.4.0 vs lib/easy-settings/path_source.rb in easy-settings-2.0.0

- old
+ new

@@ -16,10 +16,10 @@ Dir["#{base_path}/*"].each do |path| next unless File.file?(path) variable = path.gsub("#{base_path}/", "") keys = settings_root + variable.to_s.split(separator) - value = File.read(path).strip + value = File.binread(path).strip assign_value(data, keys, value) end end end