-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
vulnapi.rb
52 lines (45 loc) · 1.45 KB
/
vulnapi.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Vulnapi < Formula
desc "Scan your APIs for security vulnerabilities and weaknesses"
homepage "https://vulnapi.cerberauth.com/"
version "0.8.2"
license "MIT"
on_macos do
on_intel do
url "https://github.com/cerberauth/vulnapi/releases/download/v0.8.2/vulnapi_Darwin_x86_64.tar.gz"
sha256 "44e6c2b138ff5c67f869d9f7787a5ee03a1f2c906bbc597536d40e4daaa3ec6f"
def install
bin.install "vulnapi"
end
end
on_arm do
url "https://github.com/cerberauth/vulnapi/releases/download/v0.8.2/vulnapi_Darwin_arm64.tar.gz"
sha256 "b445c0395ba4ae9d4e9b4540b51f55abc4e0a532fea61ea5ea9f537666352402"
def install
bin.install "vulnapi"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/cerberauth/vulnapi/releases/download/v0.8.2/vulnapi_Linux_x86_64.tar.gz"
sha256 "96b680337c5702f601c1f05699c9a2ea11e99fea2aae3b207c012b932fbf7058"
def install
bin.install "vulnapi"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/cerberauth/vulnapi/releases/download/v0.8.2/vulnapi_Linux_arm64.tar.gz"
sha256 "edee4fe101a16ec195cfcf53bad0cf03ae8ab3806f31cf8b94a830169941bc62"
def install
bin.install "vulnapi"
end
end
end
end
end