dependency-check 1.4.4 (#6633)

This commit is contained in:
colezlaw 2016-11-06 16:33:14 -05:00 committed by Mike McQuaid
parent dce1da833d
commit 88948a2137

View file

@ -1,9 +1,9 @@
class DependencyCheck < Formula
desc "OWASP Dependency Check"
homepage "https://www.owasp.org/index.php/OWASP_Dependency_Check"
url "https://dl.bintray.com/jeremy-long/owasp/dependency-check-1.4.3-release.zip"
version "1.4.3"
sha256 "53ce0904475897cb79a4ef162fe6e9068f8c23a788d8855bb46fe059cf8664c3"
url "https://dl.bintray.com/jeremy-long/owasp/dependency-check-1.4.4-release.zip"
version "1.4.4"
sha256 "48f224b178d2f8ae9a7e0207e0a4a86f1291a36f8b396ad29b1e023d17a38086"
bottle :unneeded
@ -32,7 +32,7 @@ class DependencyCheck < Formula
output = shell_output("#{libexec}/bin/dependency-check --version").strip
assert_match "Dependency-Check Core version #{version}", output
(testpath/"temp-props.properties").write "cve.startyear=2015"
(testpath/"temp-props.properties").write "cve.startyear=2016"
system bin/"dependency-check", "-P", "temp-props.properties", "-f", "XML",
"--project", "dc", "-s", libexec, "-d", testpath, "-o", testpath
assert File.exist?(testpath/"dependency-check-report.xml")