wpscan: depend on ruby instead of :ruby

Closes #22800.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
commitay 2018-01-13 07:05:24 +10:00 committed by ilovezfs
parent 8181ced908
commit fadc26afbf

View file

@ -3,7 +3,7 @@ class Wpscan < Formula
homepage "https://wpscan.org" homepage "https://wpscan.org"
url "https://github.com/wpscanteam/wpscan/archive/2.9.3.tar.gz" url "https://github.com/wpscanteam/wpscan/archive/2.9.3.tar.gz"
sha256 "1bacc03857cca5a2fdcda060886bf51dbf73b129abbb7251b8eb95bc874e5376" sha256 "1bacc03857cca5a2fdcda060886bf51dbf73b129abbb7251b8eb95bc874e5376"
revision 3 revision 4
head "https://github.com/wpscanteam/wpscan.git" head "https://github.com/wpscanteam/wpscan.git"
@ -13,7 +13,7 @@ class Wpscan < Formula
sha256 "469a94fdf86b201508e72fbc3900aed3c82b3891393dda1d7fa5d4e042754442" => :el_capitan sha256 "469a94fdf86b201508e72fbc3900aed3c82b3891393dda1d7fa5d4e042754442" => :el_capitan
end end
depends_on :ruby => "2.1.9" depends_on "ruby"
def install def install
inreplace "lib/common/common_helper.rb" do |s| inreplace "lib/common/common_helper.rb" do |s|