Chromedriver 2.22 (#1817)

* Chromedriver 2.22

* Chromedriver: fix audit problem "Please set plist_options when using a formula-defined plist"

* Update plist_options to allow manual and startup
This commit is contained in:
Rowan Beentje 2016-06-09 14:14:37 +01:00 committed by Dominyk Tiller
parent b1f69a75ec
commit 14c7f7415b

View file

@ -1,9 +1,9 @@
class Chromedriver < Formula class Chromedriver < Formula
desc "Tool for automated testing of webapps across many browsers" desc "Tool for automated testing of webapps across many browsers"
homepage "https://sites.google.com/a/chromium.org/chromedriver/" homepage "https://sites.google.com/a/chromium.org/chromedriver/"
url "https://chromedriver.storage.googleapis.com/2.21/chromedriver_mac32.zip" url "https://chromedriver.storage.googleapis.com/2.22/chromedriver_mac32.zip"
version "2.21" version "2.22"
sha256 "41f21005b498adc5896e4c3e264d718e4ade09609a7544ea8753d4e8ef1e787f" sha256 "086943786ce736c72f790d85bc810cd541d97abdf81d51e30da62a6d3e2152e3"
bottle :unneeded bottle :unneeded
@ -11,6 +11,8 @@ class Chromedriver < Formula
bin.install "chromedriver" bin.install "chromedriver"
end end
plist_options :startup => "true", :manual => "chromedriver"
def plist; <<-EOS.undent def plist; <<-EOS.undent
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">