Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ripsecrets: scope patch for stable build #202436

Merged
merged 1 commit into from
Dec 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions Formula/r/ripsecrets.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
class Ripsecrets < Formula
desc "Prevent committing secret keys into your source code"
homepage "https://github.com/sirwart/ripsecrets"
url "https://github.com/sirwart/ripsecrets/archive/refs/tags/v0.1.8.tar.gz"
sha256 "4d7209605d3babde73092fed955628b0ecf280d8d68633b9056d2f859741109d"
license "MIT"
head "https://github.com/sirwart/ripsecrets.git", branch: "main"

stable do
url "https://github.com/sirwart/ripsecrets/archive/refs/tags/v0.1.8.tar.gz"
sha256 "4d7209605d3babde73092fed955628b0ecf280d8d68633b9056d2f859741109d"

# shell completion generation patch, upstream pr ref, https://github.com/sirwart/ripsecrets/pull/89
patch do
url "https://github.com/sirwart/ripsecrets/commit/06168aaa3571503bf191bf8403dcabcd2709c0e7.patch?full_index=1"
sha256 "8733b9e9006af2c03312831fb2b67e992f68bcefd5d09ee878f0e8d40ac43039"
end
end

bottle do
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sequoia: "ba853f83dde44a9483c4554889ead1de75c52ee339dc5796909857754597c748"
Expand All @@ -18,12 +27,6 @@ class Ripsecrets < Formula

depends_on "rust" => :build

# shell completion generation patch, upstream pr ref, https://github.com/sirwart/ripsecrets/pull/89
patch do
url "https://github.com/sirwart/ripsecrets/commit/06168aaa3571503bf191bf8403dcabcd2709c0e7.patch?full_index=1"
sha256 "8733b9e9006af2c03312831fb2b67e992f68bcefd5d09ee878f0e8d40ac43039"
end

def install
system "cargo", "install", *std_cargo_args

Expand Down
Loading