lib/linner/environment.rb in linner-0.6.7 vs lib/linner/environment.rb in linner-0.7.0
- old
+ new
@@ -18,17 +18,21 @@
groups.map { |group| group["paths"] }.flatten.uniq
end
def watched_paths
[app_folder, vendor_folder, test_folder].select do |path|
- File.exists? path
+ File.exist? path
end
end
- %w(revision notification manifest).each do |method|
+ %w(revision notification).each do |method|
define_method("#{method}") do
@env[method]
end
+ end
+
+ def manifest
+ revision["manifest"]
end
def bundles
@env["bundles"] || []
end