<commit_before>class Spaceship < Formula
  desc "Zsh prompt for Astronauts"
  homepage "https://spaceship-prompt.sh"
  url "https://github.com/spaceship-prompt/spaceship-prompt/archive/v4.3.2.tar.gz"
  sha256 "0739d3f06787bdd65bfe6456f7af1a6e4ec477b4caddad43fb9b3adf49c9ccd0"
  license "MIT"
  head "https://github.com/spaceship-prompt/spaceship-prompt.git", branch: "master"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "6eb49f4f7f10c6ddb3811b757979791562e8c387a706d6837faba9a4a951602c"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "58151f9c8979fff1eb2efec422dbcca236ea986b78ef7ef6376d311577c3d518"
    sha256 cellar: :any_skip_relocation, monterey:       "7bd9aaf4251a425a44a29c82f7aaa76d3c66c20f52e8efe7c9d84caa5a347125"
    sha256 cellar: :any_skip_relocation, big_sur:        "0157e9d431a9af498d2ee954239c9b3d3dbc9e0ec40de913332985f3d496d23b"
    sha256 cellar: :any_skip_relocation, catalina:       "14f081d7091eae38379e2174ba48747ba07fe35af2a5eab29cd6e66429ba6621"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "3016bdb00a915c6aeb0681f438943c3e35979996b61f353eba146a65dd8035f8"
  end

  depends_on "zsh-async"
  uses_from_macos "zsh" => :test

  def install
    system "make", "compile"
    prefix.install Dir["*"]
  end

  def caveats
    <<~EOS
      To activate Spaceship, add the following line to ~/.zshrc:
        source "#{opt_prefix}/spaceship.zsh"
      If your .zshrc sets ZSH_THEME, remove that line.
    EOS
  end

  test do
    assert_match "SUCCESS",
      shell_output("zsh -fic '. #{opt_prefix}/spaceship.zsh && (( ${+SPACESHIP_VERSION} )) && echo SUCCESS'")
  end
end<commit_msg>spaceship: update 4.3.2 bottle.<commit_after>class Spaceship < Formula
  desc "Zsh prompt for Astronauts"
  homepage "https://spaceship-prompt.sh"
  url "https://github.com/spaceship-prompt/spaceship-prompt/archive/v4.3.2.tar.gz"
  sha256 "0739d3f06787bdd65bfe6456f7af1a6e4ec477b4caddad43fb9b3adf49c9ccd0"
  license "MIT"
  head "https://github.com/spaceship-prompt/spaceship-prompt.git", branch: "master"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "6c7d9e2e0fc199fb4d53fb4b80d617f6b8cbbf6a1c81e6496d3bee146e8060c7"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "60f087d2aa35e74d332b45973f2843825d9b9ecb66d07d9987f5f1ac8961544b"
    sha256 cellar: :any_skip_relocation, monterey:       "2e4e8a51866f21babe2c92e2c299d725fb9b760a9e650938b2bb530263f3e8d2"
    sha256 cellar: :any_skip_relocation, big_sur:        "e7f96b830b50bf03a3ce7c5eee2863a6208154cad34708354c0d064672c423cc"
    sha256 cellar: :any_skip_relocation, catalina:       "f770e3fed932204c293ef8c2f1c1d91a13b77aae3cdeab19ba12b2c4ce1f3988"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "f7bef70d61a70af4443150fd67627fdc20602da58d99a17273fc26b404d3975d"
  end

  depends_on "zsh-async"
  uses_from_macos "zsh" => :test

  def install
    system "make", "compile"
    prefix.install Dir["*"]
  end

  def caveats
    <<~EOS
      To activate Spaceship, add the following line to ~/.zshrc:
        source "#{opt_prefix}/spaceship.zsh"
      If your .zshrc sets ZSH_THEME, remove that line.
    EOS
  end

  test do
    assert_match "SUCCESS",
      shell_output("zsh -fic '. #{opt_prefix}/spaceship.zsh && (( ${+SPACESHIP_VERSION} )) && echo SUCCESS'")
  end
end
{'fraction_non_alphanumeric': 0.09096385542168675, 'fraction_numerical': 0.1852409638554217, 'mean_word_length': 4.9837837837837835, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, 'https://': 6, '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': '5069436', 'n_tokens_mistral': 1763, 'n_tokens_neox': 1430, 'n_words': 206}