app/models/aranha/address.rb in aranha-0.14.1 vs app/models/aranha/address.rb in aranha-0.14.2
- old
+ new
@@ -72,19 +72,19 @@
def instanciate_processor
processor_instancier.call(*processor_instancier_arguments)
end
def url_to_process
- ::EacRubyUtils::Yaml.load_common(url)
+ ::EacRubyUtils::Yaml.load(url)
end
def processor_instancier
processor.constantize.method(:new)
end
def processor_instancier_arguments
if processor_instancier_arity == 2 || processor_instancier_arity.negative?
- [url_to_process, EacRubyUtils::Yaml.load_common(extra_data)]
+ [url_to_process, EacRubyUtils::Yaml.load(extra_data)]
elsif processor_instancier_arity == 1
[processor_instancier.call(url_to_process)]
else
raise("#{processor}.initialize should has 1 or 2 or * arguments")
end