Skip to content

Commit

Permalink
Merge pull request #202436 from Homebrew/ripsecrets-patch
Browse files Browse the repository at this point in the history
ripsecrets: scope patch for stable build
  • Loading branch information
BrewTestBot authored Dec 25, 2024
2 parents 2d27cd0 + 919f905 commit e23519d
Showing 1 changed file with 11 additions and 8 deletions.
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

0 comments on commit e23519d

Please sign in to comment.