lib/dbt.rb in dbt-1.1.4 vs lib/dbt.rb in dbt-1.1.5
- old
+ new
@@ -8,10 +8,10 @@
providers = {}
default_providers = {}
files = app.files.flatten.uniq
files.flatten.each do |filename|
- File.open(filename, 'r') do |file|
+ File.open(filename, 'r:UTF-8') do |file|
file.each_line do |line|
command = false
if line =~ /^#--+>/
command, dep = line.rstrip.sub(/^#--+> */, '').split(' ', 2)