<commit_before>class CartridgeCli < Formula
  desc "Tarantool Cartridge command-line utility"
  homepage "https://tarantool.org/"
  url "https://github.com/tarantool/cartridge-cli.git",
      tag:      "2.7.0",
      revision: "ac1c3c6a7a9893a92fd46ce08817eb5880d20f7d"
  license "BSD-2-Clause"

  bottle do
    sha256 cellar: :any_skip_relocation, big_sur:  "ff39fd0b62f09cc676a6b01a18e7e18d8fe589e6e3408759d8cf486d60e212ae"
    sha256 cellar: :any_skip_relocation, catalina: "39c31066aad3af3418ac3bc631c9ca03c8944b8b1db83faa9161c297f18cf0e6"
    sha256 cellar: :any_skip_relocation, mojave:   "5736ad20783b9045904fcf187ecdb86689fe443bb1576dc7e8651fec538c8389"
  end

  depends_on "go" => :build
  depends_on "mage" => :build

  def install
    system "mage", "build"
    bin.install "cartridge"
    system bin/"cartridge", "gen", "completion"

    bash_completion.install "completion/bash/cartridge"
    zsh_completion.install "completion/zsh/_cartridge"
  end

  test do
    project_path = Pathname("test-project")
    project_path.rmtree if project_path.exist?<commit_msg>cartridge-cli: update 2.7.0 bottle.<commit_after>class CartridgeCli < Formula
  desc "Tarantool Cartridge command-line utility"
  homepage "https://tarantool.org/"
  url "https://github.com/tarantool/cartridge-cli.git",
      tag:      "2.7.0",
      revision: "ac1c3c6a7a9893a92fd46ce08817eb5880d20f7d"
  license "BSD-2-Clause"

  bottle do
    sha256 cellar: :any_skip_relocation, big_sur:      "ff39fd0b62f09cc676a6b01a18e7e18d8fe589e6e3408759d8cf486d60e212ae"
    sha256 cellar: :any_skip_relocation, catalina:     "39c31066aad3af3418ac3bc631c9ca03c8944b8b1db83faa9161c297f18cf0e6"
    sha256 cellar: :any_skip_relocation, mojave:       "5736ad20783b9045904fcf187ecdb86689fe443bb1576dc7e8651fec538c8389"
    sha256 cellar: :any_skip_relocation, x86_64_linux: "f64fed0e2b3e6cc4ba2a48e53ac7cfcc672888acd4e65c6a8633245485de33e5"
  end

  depends_on "go" => :build
  depends_on "mage" => :build

  def install
    system "mage", "build"
    bin.install "cartridge"
    system bin/"cartridge", "gen", "completion"

    bash_completion.install "completion/bash/cartridge"
    zsh_completion.install "completion/zsh/_cartridge"
  end

  test do
    project_path = Pathname("test-project")
    project_path.rmtree if project_path.exist?
{'fraction_non_alphanumeric': 0.09315424610051994, 'fraction_numerical': 0.1559792027729636, 'mean_word_length': 4.875318066157761, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '5595729', 'n_tokens_mistral': 1142, 'n_tokens_neox': 928, 'n_words': 137}