From e48edf08e3bc6d675b20e94b9f1e388bb7c06556 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 6 Mar 2024 18:24:39 +0000 Subject: [PATCH 1/2] asnmap 1.1.0 asnmap: update test Signed-off-by: Rui Chen --- Formula/a/asnmap.rb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Formula/a/asnmap.rb b/Formula/a/asnmap.rb index 3950fb156d16c..8656c5cfdbf1b 100644 --- a/Formula/a/asnmap.rb +++ b/Formula/a/asnmap.rb @@ -1,8 +1,8 @@ class Asnmap < Formula desc "Quickly map organization network ranges using ASN information" homepage "https://github.com/projectdiscovery/asnmap" - url "https://github.com/projectdiscovery/asnmap/archive/refs/tags/v1.0.6.tar.gz" - sha256 "a11b7262134b959347b8bb3e380e8788d1fb07d5a0c31860f7053a96e4134612" + url "https://github.com/projectdiscovery/asnmap/archive/refs/tags/v1.1.0.tar.gz" + sha256 "3372a0d4b4cef1e1754171a0a631c2068c61e6e4aecaf1f3b61ceb1e93a18802" license "MIT" head "https://github.com/projectdiscovery/asnmap.git", branch: "main" @@ -24,6 +24,11 @@ def install test do assert_match version.to_s, shell_output("#{bin}/asnmap -version 2>&1") - assert_match "1.1.1.0/24", shell_output("#{bin}/asnmap -i 1.1.1.1") + + # Skip linux CI test as test not working there + return if OS.linux? && ENV["HOMEBREW_GITHUB_ACTIONS"] + + # need API key for IP lookup test, thus just run empty binary test + assert_match "no input defined", shell_output("#{bin}/asnmap 2>&1", 1) end end From 84c07422a8c22d66240b4374f40fa5c972a9b252 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Thu, 7 Mar 2024 14:36:52 +0000 Subject: [PATCH 2/2] asnmap: update 1.1.0 bottle. --- Formula/a/asnmap.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Formula/a/asnmap.rb b/Formula/a/asnmap.rb index 8656c5cfdbf1b..f18571ff5df31 100644 --- a/Formula/a/asnmap.rb +++ b/Formula/a/asnmap.rb @@ -7,13 +7,13 @@ class Asnmap < Formula head "https://github.com/projectdiscovery/asnmap.git", branch: "main" bottle do - sha256 cellar: :any_skip_relocation, arm64_sonoma: "0d584d116081a7064acc68e52693045a494032bfc51c42d8b80c05063fa64ef7" - sha256 cellar: :any_skip_relocation, arm64_ventura: "1c051624c0d8aab30fd9ff384ea7ffb1a645d8c04579b49b085586849c746086" - sha256 cellar: :any_skip_relocation, arm64_monterey: "598ba2103f7cb3b295e38725893390fe73e3088386639ffcdf6eb5912e557e71" - sha256 cellar: :any_skip_relocation, sonoma: "a9c5137a3353a681dd04fdca643f859521a09d4bc1c943e5244af194af17008f" - sha256 cellar: :any_skip_relocation, ventura: "7c0208b8f4b8bc508849fb9bfa0a221336efd5aa112ab0035ba425696089be2d" - sha256 cellar: :any_skip_relocation, monterey: "31226ca6a4a5decf96c4245183f91aeb96cbca8b843a41500f2c78a95a38fcf6" - sha256 cellar: :any_skip_relocation, x86_64_linux: "e515aab2b535554c861cb31d29b507ad883a108f37ff442ab6c1854e3921370a" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "21bd51fa6d9f2533ed8622ec1563ee9b8d9998c1fe6148fc937383b85c1f365a" + sha256 cellar: :any_skip_relocation, arm64_ventura: "c73123e558f2efca071719399b266ded3a9e32ec70ac878c3484bb49c8cfc816" + sha256 cellar: :any_skip_relocation, arm64_monterey: "92ccdacc599ebad70d948d7a717df8f84236ef4fa05c3d0bdb441189e043926e" + sha256 cellar: :any_skip_relocation, sonoma: "e8ea6f7d0aebb88c87c1e3f6f7f553240eb58091f4abe2a084bf7e9d5fcf2d38" + sha256 cellar: :any_skip_relocation, ventura: "767081ee905e47916985b70ee93223e9812c2a244481cdc9cc64474a9ba05495" + sha256 cellar: :any_skip_relocation, monterey: "7bbe35b63f110d492008fa0d75b66692b9d403223e83c73d94d3ddb2f26a0c55" + sha256 cellar: :any_skip_relocation, x86_64_linux: "86109e0e34fdf46da3043e0069f625b50c7059448c2bf4c7bfdb1c1642c28ab7" end depends_on "go" => :build