|
1 | 1 | class Toast < Formula
|
2 | 2 | desc "Tool for running tasks in containers"
|
3 | 3 | homepage "https://github.com/stepchowfun/toast"
|
| 4 | + url "https://github.com/stepchowfun/toast/archive/refs/tags/v0.47.7.tar.gz" |
| 5 | + sha256 "532a883c0e96ab274c25e3256ad532e525fd2d5e393ebd4712e591de64a2f7c9" |
4 | 6 | license "MIT"
|
5 | 7 | head "https://github.com/stepchowfun/toast.git", branch: "main"
|
6 | 8 |
|
7 |
| - stable do |
8 |
| - url "https://github.com/stepchowfun/toast/archive/refs/tags/v0.47.6.tar.gz" |
9 |
| - sha256 "6cda205ec551232106a05a94b6a71d9eb90e4d3bf1541e629062c65257aa3e6a" |
10 |
| - |
11 |
| - # eliminate needless lifetimes, upstream pr ref, https://github.com/stepchowfun/toast/pull/524 |
12 |
| - patch :DATA |
13 |
| - end |
14 |
| - |
15 | 9 | bottle do
|
16 | 10 | sha256 cellar: :any_skip_relocation, arm64_sequoia: "32d64e56a321339f6c83f3df40c5078da1b9327bdda1db3c96a1f0d59fb2cb27"
|
17 | 11 | sha256 cellar: :any_skip_relocation, arm64_sonoma: "e1dad05bd1a76d6196771c60a29cc3c2256daa2aefd8d0876f24456e5d53a920"
|
@@ -43,18 +37,3 @@ def install
|
43 | 37 | assert_match "homebrew_test", shell_output("#{bin}/toast --list")
|
44 | 38 | end
|
45 | 39 | end
|
46 |
| - |
47 |
| -__END__ |
48 |
| -diff --git a/src/failure.rs b/src/failure.rs |
49 |
| -index bb01653..05ab70b 100644 |
50 |
| ---- a/src/failure.rs |
51 |
| -+++ b/src/failure.rs |
52 |
| -@@ -24,7 +24,7 @@ impl fmt::Display for Failure { |
53 |
| - } |
54 |
| - |
55 |
| - impl error::Error for Failure { |
56 |
| -- fn source<'a>(&'a self) -> Option<&(dyn error::Error + 'static)> { |
57 |
| -+ fn source(&self) -> Option<&(dyn error::Error + 'static)> { |
58 |
| - match self { |
59 |
| - Self::System(_, source) => source.as_ref().map(|e| &**e), |
60 |
| - Self::User(_, source) => source.as_ref().map(|e| &**e), |
0 commit comments