From 3145d6d98a9dc7141c7a45b0a357cb7d8b199ef2 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 9 Dec 2024 14:02:49 +0000 Subject: [PATCH 1/2] himalaya 1.0.0 --- Formula/h/himalaya.rb | 46 +++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/Formula/h/himalaya.rb b/Formula/h/himalaya.rb index bc6a5bf731daf..eb9aaad308fb2 100644 --- a/Formula/h/himalaya.rb +++ b/Formula/h/himalaya.rb @@ -1,8 +1,8 @@ class Himalaya < Formula desc "CLI email client written in Rust" homepage "https://github.com/pimalaya/himalaya" - url "https://github.com/pimalaya/himalaya/archive/refs/tags/v0.9.0.tar.gz" - sha256 "9a5593a3a92dcce8227cea45870a88432d8df3a012636eb5461165cf599dbcbb" + url "https://github.com/pimalaya/himalaya/archive/refs/tags/v1.0.0.tar.gz" + sha256 "2f16737d4ff29b8495979045abb94723b684b200b98cab27ae45f8b270da5b9c" license "MIT" bottle do @@ -35,32 +35,30 @@ def install test do # See https://github.com/pimalaya/himalaya#configuration (testpath/".config/himalaya/config.toml").write <<~TOML - name = "Your full name" - downloads-dir = "/abs/path/to/downloads" - signature = """ - -- - Regards, - """ - - [gmail] + [accounts.gmail] default = true - email = "your.email@gmail.com" + email = "example@gmail.com" + + folder.alias.inbox = "INBOX" + folder.alias.sent = "[Gmail]/Sent Mail" + folder.alias.drafts = "[Gmail]/Drafts" + folder.alias.trash = "[Gmail]/Trash" - backend = "imap" - imap-host = "imap.gmail.com" - imap-port = 993 - imap-login = "your.email@gmail.com" - imap-auth = "passwd" - imap-passwd = { cmd = "echo password" } + backend.type = "imap" + backend.host = "imap.gmail.com" + backend.port = 993 + backend.login = "example@gmail.com" + backend.auth.type = "password" + backend.auth.raw = "*****" - sender = "smtp" - smtp-host = "smtp.gmail.com" - smtp-port = 465 - smtp-login = "your.email@gmail.com" - smtp-auth = "passwd" - smtp-passwd = { cmd = "echo password" } + message.send.backend.type = "smtp" + message.send.backend.host = "smtp.gmail.com" + message.send.backend.port = 465 + message.send.backend.login = "example@gmail.com" + message.send.backend.auth.type = "password" + message.send.backend.auth.cmd = "*****" TOML - assert_match "Error: cannot login to imap server", shell_output(bin/"himalaya 2>&1", 1) + assert_match "cannot authenticate to IMAP server", shell_output(bin/"himalaya 2>&1", 1) end end From 4e47b3cae3cfcb3b7a86d8f3467d293fa446286c Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 9 Dec 2024 16:05:32 +0000 Subject: [PATCH 2/2] himalaya: update 1.0.0 bottle. --- Formula/h/himalaya.rb | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/Formula/h/himalaya.rb b/Formula/h/himalaya.rb index eb9aaad308fb2..88b49d0eccc9f 100644 --- a/Formula/h/himalaya.rb +++ b/Formula/h/himalaya.rb @@ -6,15 +6,12 @@ class Himalaya < Formula license "MIT" bottle do - rebuild 1 - sha256 cellar: :any_skip_relocation, arm64_sequoia: "430d3049a25fdee8c6d38f80f0d2ef8103108d10ad81da506c2411caaf37cff1" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "f39d7f7e22b4baab36d1f4c659624dce597812b171b89d421ae91d631117c638" - sha256 cellar: :any_skip_relocation, arm64_ventura: "d23ecffec7b5be31097be6e9f1049c669ca8d490e0a740a5066aa5319d1d55a9" - sha256 cellar: :any_skip_relocation, arm64_monterey: "2dde1d0e5189c39327b5d9f822cc0bfbe6052881933741ac5f11925efd8db45d" - sha256 cellar: :any_skip_relocation, sonoma: "be468d9901621711cf7a45ecab8f7521216aa419a229e886ce21844315ca28c5" - sha256 cellar: :any_skip_relocation, ventura: "82b5bf9621d0785b49d14362d7bf933ef163acbc9740184f60dc3b7961019737" - sha256 cellar: :any_skip_relocation, monterey: "87ed060405e6243d47b0a93acae318c702b248c29041359d482b3efb0cb1e573" - sha256 cellar: :any_skip_relocation, x86_64_linux: "401182fcfee72d5ef3a1c42204dbd71687c3c17586bb2ac2e87fc158aa496d85" + sha256 cellar: :any_skip_relocation, arm64_sequoia: "e66116aba11287b4be107c4d469b2338bf77ed696cd2bfc1afa9ae79e9ebf2ad" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "a975bfebc4e4c1bd7d3c265013b26b7001d0ef5642027670ecc5ab9511f68725" + sha256 cellar: :any_skip_relocation, arm64_ventura: "e862a308f1bd66f94583c96c377c38a4711f12b7eeff917116611e9f29a3b86b" + sha256 cellar: :any_skip_relocation, sonoma: "90bb2235eede620bec1c0a372b4aa7ee01f294d262c1f02234f7e8ea83468516" + sha256 cellar: :any_skip_relocation, ventura: "296365ffa8b5da92cddad7153cc32526997d2df49dcc678ed3164466d2e090eb" + sha256 cellar: :any_skip_relocation, x86_64_linux: "ffd3f80deef93d97135976a3bef2c7f40642b0637be71f7bf4c95e2861ccbde4" end depends_on "pkgconf" => :build