Skip to content

Commit

Permalink
zabbix-cli 3.1.0
Browse files Browse the repository at this point in the history
zabbix-cli: update deps

Signed-off-by: Rui Chen <[email protected]>

zabbix-cli: update test

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
BrewTestBot authored and chenrui333 committed Sep 28, 2024
1 parent 5f723f9 commit e562aa0
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions Formula/z/zabbix-cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ class ZabbixCli < Formula

desc "CLI tool for interacting with Zabbix monitoring system"
homepage "https://unioslo.github.io/zabbix-cli/"
url "https://github.com/unioslo/zabbix-cli/archive/refs/tags/3.0.3.tar.gz"
sha256 "b91d5d1314d59441bac55dc8f314057adad760ab35b04e53d60a0b60148cd701"
url "https://github.com/unioslo/zabbix-cli/archive/refs/tags/3.1.0.tar.gz"
sha256 "334cfda8cecc13c33a75d3ddb3e7238d24e6ddfaf159d77c70dea86aa186ca73"
license "GPL-3.0-or-later"
head "https://github.com/unioslo/zabbix-cli.git", branch: "master"

Expand Down Expand Up @@ -32,8 +32,8 @@ class ZabbixCli < Formula
end

resource "anyio" do
url "https://files.pythonhosted.org/packages/e6/e3/c4c8d473d6780ef1853d630d581f70d655b4f8d7553c6997958c283039a2/anyio-4.4.0.tar.gz"
sha256 "5aadc6a1bbb7cdb0bede386cac5e2940f5e2ff3aa20277e991cf028e0585ce94"
url "https://files.pythonhosted.org/packages/78/49/f3f17ec11c4a91fe79275c426658e509b07547f874b14c1a526d86a83fc8/anyio-4.6.0.tar.gz"
sha256 "137b4559cbb034c477165047febb6ff83f390fc3b20bf181c1fc0a728cb8beeb"
end

resource "click" do
Expand Down Expand Up @@ -82,23 +82,23 @@ class ZabbixCli < Formula
end

resource "platformdirs" do
url "https://files.pythonhosted.org/packages/f5/19/f7bee3a71decedd8d7bc4d3edb7970b8e899f3caef257b0f0d623f2f7b11/platformdirs-4.3.3.tar.gz"
sha256 "d4e0b7d8ec176b341fb03cb11ca12d0276faa8c485f9cd218f613840463fc2c0"
url "https://files.pythonhosted.org/packages/13/fc/128cc9cb8f03208bdbf93d3aa862e16d376844a14f9a0ce5cf4507372de4/platformdirs-4.3.6.tar.gz"
sha256 "357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907"
end

resource "prompt-toolkit" do
url "https://files.pythonhosted.org/packages/47/6d/0279b119dafc74c1220420028d490c4399b790fc1256998666e3a341879f/prompt_toolkit-3.0.47.tar.gz"
sha256 "1e1b29cb58080b1e69f207c893a1a7bf16d127a5c30c9d17a25a5d77792e5360"
url "https://files.pythonhosted.org/packages/2d/4f/feb5e137aff82f7c7f3248267b97451da3644f6cdc218edfe549fb354127/prompt_toolkit-3.0.48.tar.gz"
sha256 "d6623ab0477a80df74e646bdbc93621143f5caf104206aa29294d53de1a03d90"
end

resource "pydantic" do
url "https://files.pythonhosted.org/packages/14/15/3d989541b9c8128b96d532cfd2dd10131ddcc75a807330c00feb3d42a5bd/pydantic-2.9.1.tar.gz"
sha256 "1363c7d975c7036df0db2b4a61f2e062fbc0aa5ab5f2772e0ffc7191a4f4bce2"
url "https://files.pythonhosted.org/packages/a9/b7/d9e3f12af310e1120c21603644a1cd86f59060e040ec5c3a80b8f05fae30/pydantic-2.9.2.tar.gz"
sha256 "d155cef71265d1e9807ed1c32b4c8deec042a44a50a4188b25ac67ecd81a9c0f"
end

resource "pydantic-core" do
url "https://files.pythonhosted.org/packages/5c/cc/07bec3fb337ff80eacd6028745bd858b9642f61ee58cfdbfb64451c1def0/pydantic_core-2.23.3.tar.gz"
sha256 "3cb0f65d8b4121c1b015c60104a685feb929a29d7cf204387c7f2688c7974690"
url "https://files.pythonhosted.org/packages/e2/aa/6b6a9b9f8537b872f552ddd46dd3da230367754b6f707b8e1e963f515ea3/pydantic_core-2.23.4.tar.gz"
sha256 "2584f7cf844ac4d970fba483a717dbe10c1c1c96a969bf65d61ffe94df1b2863"
end

resource "Pygments" do
Expand Down Expand Up @@ -172,9 +172,7 @@ def install
end

test do
sample_config = testpath/".zabbix-cli/zabbix-cli.conf"
sample_config.write Utils.safe_popen_read("#{bin}/zabbix-cli", "sample_config")
assert_match <<~EOS, sample_config.read
assert_match <<~EOS, shell_output("#{bin}/zabbix-cli sample_config")
[api]
url = "https://zabbix.example.com"
username = "Admin"
Expand Down

0 comments on commit e562aa0

Please sign in to comment.