Skip to content

Commit

Permalink
Merge pull request #166370 from Homebrew/bump-cidr-2.0.0
Browse files Browse the repository at this point in the history
cidr 2.0.0
  • Loading branch information
BrewTestBot committed Mar 17, 2024
2 parents 84bb2af + 3c17264 commit f560a49
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/autobump.txt
Expand Up @@ -287,6 +287,7 @@ choose-rust
chromaprint
chronograf
chuck
cidr
cilium-cli
cimg
circleci
Expand Down
20 changes: 10 additions & 10 deletions Formula/c/cidr.rb
@@ -1,19 +1,19 @@
class Cidr < Formula
desc "CLI to perform various actions on CIDR ranges"
homepage "https://github.com/bschaatsbergen/cidr"
url "https://github.com/bschaatsbergen/cidr/archive/refs/tags/v1.4.0.tar.gz"
sha256 "e1b7859bebcd88f9f67844973188766da48d73f8c1c0d47c4b66f34daf12e9e8"
url "https://github.com/bschaatsbergen/cidr/archive/refs/tags/v2.0.0.tar.gz"
sha256 "ce3d0bd65ba9b74c3c56646f1a6b58a712ad622ace1cb8c1b72bf9f6b6d44bba"
license "MIT"
head "https://github.com/bschaatsbergen/cidr.git", branch: "main"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "954a4ae2bea00e60565f5cd70b756c488ebbcb7440b375742a26cf968d6334cd"
sha256 cellar: :any_skip_relocation, arm64_ventura: "f7c74e841555e1dd7a2a11361e81378cf4e8274084f48445094cdbe0a1fda2aa"
sha256 cellar: :any_skip_relocation, arm64_monterey: "ce93979795e63d01c0f5b1f0bb7fcbdcecbd3b41483a461d18692790875f0dbf"
sha256 cellar: :any_skip_relocation, sonoma: "a601025529ac9cd8e1e010b8cd4ead7c963b4e9ad503c0260f9c048534cc063f"
sha256 cellar: :any_skip_relocation, ventura: "6c104cd86c3294b7a82c3fec3a304c7fed44de0c93a90825126bbff9fecedc1d"
sha256 cellar: :any_skip_relocation, monterey: "2e110a2578bcfdd8749259dfba64250e55d39750c01ad5a985e4d4dc20a17224"
sha256 cellar: :any_skip_relocation, x86_64_linux: "490147e7760138e8c66e4575acda724d22f7f75ab22fdfde31f8c5f577613aa9"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "ae215e663006801d31126fe27f48837684ad6b1b64ee4d26695face667bed495"
sha256 cellar: :any_skip_relocation, arm64_ventura: "3670db621c237ce9040a5bfcef371cbadb18bdaab15cb4d2f39ec17f79b6e2ea"
sha256 cellar: :any_skip_relocation, arm64_monterey: "7f443e1ab26996941cbff63b7f9c940a2482604870702bfab14d70c7eaaed336"
sha256 cellar: :any_skip_relocation, sonoma: "ff90244ebada45a81ae12bc461f1c4b2c0e88a09fccad9b3a7d5c45718e52c9a"
sha256 cellar: :any_skip_relocation, ventura: "166fe35bf94f2484fee8246d15977a11e4660426d533a4ab63ffb309f8bf6377"
sha256 cellar: :any_skip_relocation, monterey: "769be268a5d810daed3c4211f1eef872b35180321ce3730f8090a7ac3c908c75"
sha256 cellar: :any_skip_relocation, x86_64_linux: "47fc7c12caef7ec7ed404fdb794bbdf8bd0d9b37a9b7a53fd51a621ba268a2d2"
end

depends_on "go" => :build
Expand All @@ -28,7 +28,7 @@ def install

test do
assert_match version.to_s, shell_output("#{bin}/cidr --version")
assert_equal "65534\n", shell_output("#{bin}/cidr count 10.0.0.0/16")
assert_equal "65536\n", shell_output("#{bin}/cidr count 10.0.0.0/16")
assert_equal "1\n", shell_output("#{bin}/cidr count 10.0.0.0/32")
assert_equal "false\n", shell_output("#{bin}/cidr overlaps 10.106.147.0/24 10.106.149.0/23")
end
Expand Down

0 comments on commit f560a49

Please sign in to comment.