<commit_before>class IpinfoCli < Formula
  desc "Official CLI for the IPinfo IP Address API"
  homepage "https://ipinfo.io/"
  url "https://github.com/ipinfo/cli/archive/ipinfo-2.0.2.tar.gz"
  sha256 "9a81a5dc28067975f706295cc65cbde0a5028e3d1117fbd2c520e71711825cea"
  license "Apache-2.0"

  livecheck do
    url :stable
    regex(/^ipinfo[._-]v?(\d+(?:\.\d+)+)$/i)
  end

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "aa19540de7e6a5a07401f87df2a3df232c6464171842cc57c7ff0d4f36c9ff27"
    sha256 cellar: :any_skip_relocation, big_sur:       "d9aa10ccd5db7e49054624cd5a48a1a1c8299708c496906302d7d993efa2ba48"
    sha256 cellar: :any_skip_relocation, catalina:      "9bdff53d550c8f26d424ce72a6693a089f55722424fbbf6380be58bf9ed03c77"
    sha256 cellar: :any_skip_relocation, mojave:        "273baa563315200db6e37a434f2fd270b05256c8fa275bed0449d9eb4a5656ec"
    sha256 cellar: :any_skip_relocation, x86_64_linux:  "000b5eab7567d37e4c5a8ef280d3ccc8b7d6e3c1feceebd0a5accae72c93ae31"
  end

  depends_on "go" => :build

  conflicts_with "ipinfo", because: "ipinfo and ipinfo-cli install the same binaries"

  def install
    system "./ipinfo/build.sh"
    bin.install "build/ipinfo"
  end

  test do
    assert_equal version.to_s, shell_output("#{bin}/ipinfo version").chomp
    assert_equal "1.1.1.0\n1.1.1.1\n1.1.1.2\n1.1.1.3\n", `#{bin}/ipinfo prips 1.1.1.1/30`
  end<commit_msg>ipinfo-cli: update 2.0.2 bottle.<commit_after>class IpinfoCli < Formula
  desc "Official CLI for the IPinfo IP Address API"
  homepage "https://ipinfo.io/"
  url "https://github.com/ipinfo/cli/archive/ipinfo-2.0.2.tar.gz"
  sha256 "9a81a5dc28067975f706295cc65cbde0a5028e3d1117fbd2c520e71711825cea"
  license "Apache-2.0"

  livecheck do
    url :stable
    regex(/^ipinfo[._-]v?(\d+(?:\.\d+)+)$/i)
  end

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "b00dabc143ee2301b952774b60b2d178f4ec6f2ac80ea26119f3776444f2734e"
    sha256 cellar: :any_skip_relocation, big_sur:       "448a4e1aa0da2d405e9e1d2ef9c22a8f676cc80d6ed73c7a2e7cdac6a967ef3d"
    sha256 cellar: :any_skip_relocation, catalina:      "c26fd18395a62ea85fce86d26599fe5063af58c3c175ffb795236628497df443"
    sha256 cellar: :any_skip_relocation, mojave:        "36c4c0c130fe5331d5593313b00266831fd0665d4bf8bb38604d32e2643e1390"
    sha256 cellar: :any_skip_relocation, x86_64_linux:  "c790566eaa4aaafb10eecf842849df5444edaf40d1db4e62915f17d277611203"
  end

  depends_on "go" => :build

  conflicts_with "ipinfo", because: "ipinfo and ipinfo-cli install the same binaries"

  def install
    system "./ipinfo/build.sh"
    bin.install "build/ipinfo"
  end

  test do
    assert_equal version.to_s, shell_output("#{bin}/ipinfo version").chomp
    assert_equal "1.1.1.0\n1.1.1.1\n1.1.1.2\n1.1.1.3\n", `#{bin}/ipinfo prips 1.1.1.1/30`
  end
{'fraction_non_alphanumeric': 0.10898118565850196, 'fraction_numerical': 0.20766773162939298, 'mean_word_length': 4.704453441295547, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 10, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5133730', 'n_tokens_mistral': 1561, 'n_tokens_neox': 1275, 'n_words': 174}