lib/verifier.rb in inqlude-0.0.7 vs lib/verifier.rb in inqlude-0.0.8

- old
+ new

@@ -97,7 +97,15 @@ else @result.valid = false return @result end end - + + def verify_file filename + manifest = JSON File.read filename + manifest["filename"] = filename + filename =~ /^(.*?)\./ + manifest["libraryname"] = $1 + verify manifest + end + end