vendor/dependencies/bin/dep in benschwarz-smoke-0.5.3 vs vendor/dependencies/bin/dep in benschwarz-smoke-0.5.4
- 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(Dep.dependencies_file))
- rescue Dep::DependenciesFileNotFound
+ @deps ||= Dep.new(File.read("dependencies"))
+ rescue Errno::ENOENT
flunk "No dependencies file found."
end
def dependency(name)
deps.find { |dep| dep.name == name }