-
Notifications
You must be signed in to change notification settings - Fork 2
/
httpurr.rb
47 lines (40 loc) · 1.37 KB
/
httpurr.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Httpurr < Formula
desc "HTTP status codes on speed dial"
homepage "https://github.com/rednafi/httpurr"
version "0.1.1"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/rednafi/httpurr/releases/download/v0.1.1/httpurr_Darwin_x86_64.tar.gz"
sha256 "b03f1b13a851e08b8742ab5fcfd500fcd850e605c38695a7e8ae125dfe212575"
def install
bin.install "httpurr"
end
end
if Hardware::CPU.arm?
url "https://github.com/rednafi/httpurr/releases/download/v0.1.1/httpurr_Darwin_arm64.tar.gz"
sha256 "82acefd1222f6228636f2cda6518e0316f46624398adc722defb55c68ac3bb30"
def install
bin.install "httpurr"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/rednafi/httpurr/releases/download/v0.1.1/httpurr_Linux_arm64.tar.gz"
sha256 "ad95e8a68b7c48ddbe2a19f7a45d91d954058748ddb47411e3e6efa57dfc8432"
def install
bin.install "httpurr"
end
end
if Hardware::CPU.intel?
url "https://github.com/rednafi/httpurr/releases/download/v0.1.1/httpurr_Linux_x86_64.tar.gz"
sha256 "2bee752e7c93e8d0ff7564d6b39cf7780efdb07cfd395cc9c054a5148133c72c"
def install
bin.install "httpurr"
end
end
end
end