-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget-jwt.rb
48 lines (41 loc) · 1.55 KB
/
get-jwt.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class GetJwt < Formula
desc "A helper utility to make it easier to get a JWT"
homepage "https://github.com/egineering-llc/get-jwt"
version "0.1.3"
license "Apache2"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/egineering-llc/get-jwt/releases/download/v0.1.3/get-jwt_0.1.3_darwin_amd64"
sha256 "d1de7ec8a7982416a0f107d9d4390f30fcb7362fd23f1b6b6cbdd4b5f9f461aa"
def install
bin.install "get-jwt_0.1.3_darwin_amd64" => "get-jwt"
end
end
if Hardware::CPU.arm?
url "https://github.com/egineering-llc/get-jwt/releases/download/v0.1.3/get-jwt_0.1.3_darwin_arm64"
sha256 "b67499d8440a55fb3aed262a683a5341207a08059e43b93c1ecbb1fd4705dda5"
def install
bin.install "get-jwt_0.1.3_darwin_arm64" => "get-jwt"
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/egineering-llc/get-jwt/releases/download/v0.1.3/get-jwt_0.1.3_linux_amd64"
sha256 "bfdd31d28fa390de409063df1c41d27790b55b34fa2fb30c26350627eebaeb2b"
def install
bin.install "get-jwt_0.1.3_linux_amd64" => "get-jwt"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/egineering-llc/get-jwt/releases/download/v0.1.3/get-jwt_0.1.3_linux_arm64"
sha256 "8226f4f706c146526c4800ecbcf5b545d5afdf57bb89af664f8897ee28b1fcd6"
def install
bin.install "get-jwt_0.1.3_linux_arm64" => "get-jwt"
end
end
end
end