vendor/dependencies/bin/dep in benschwarz-smoke-0.5.2 vs vendor/dependencies/bin/dep in benschwarz-smoke-0.5.3
- old
+ new
@@ -56,11 +56,11 @@
run "git clone #{dep.url} #{dep.name} -q --depth 1"
end
end
def deps
- @deps ||= Dep.new(File.read("dependencies"))
- rescue Errno::ENOENT
+ @deps ||= Dep.new(File.read(Dep.dependencies_file))
+ rescue Dep::DependenciesFileNotFound
flunk "No dependencies file found."
end
def dependency(name)
deps.find { |dep| dep.name == name }