<commit_before>class Fetch < Formula
  desc "Download assets from a commit, branch, or tag of GitHub repositories"
  homepage "https://www.gruntwork.io/"
  url "https://github.com/gruntwork-io/fetch/archive/v0.3.13.tar.gz"
  sha256 "d4935a50565eaad3a9376c761276293181b7f912fe646e4ab66a724389e8fd8b"
  license "MIT"
  head "https://github.com/gruntwork-io/fetch.git"

  bottle do
    sha256 cellar: :any_skip_relocation, big_sur: "65120b76f68775953d031c64ce61534a9cdf4e1147472a36eb3a26efd361c3bd"
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "8f7e8e5825e53aa7a94aa4f8b1d644b96e905aa5aa36801fd7ec3079b4939453"
    sha256 cellar: :any_skip_relocation, catalina: "b8fb96174cd37b851c82fd778a3e8ddf05f38e4e5dac2bd83c105a14ea5999b7"
    sha256 cellar: :any_skip_relocation, mojave: "b82c58ff4af5d06d99bf4f0a665579a416280a7f5df57811f7ebe49b595baded"
  end

  depends_on "go" => :build

  def install
    system "go", "build", "-ldflags", "-X main.VERSION=v#{version}", *std_go_args
  end

  test do
    repo_url = "https://github.com/gruntwork-io/fetch"

    assert_match "Downloading release asset SHA256SUMS to SHA256SUMS",
      shell_output("#{bin}/fetch --repo=\"#{repo_url}\" --tag=\"v0.3.10\" --release-asset=\"SHA256SUMS\" . 2>1&")
  end<commit_msg>fetch 0.3.14<commit_after>class Fetch < Formula
  desc "Download assets from a commit, branch, or tag of GitHub repositories"
  homepage "https://www.gruntwork.io/"
  url "https://github.com/gruntwork-io/fetch/archive/v0.3.14.tar.gz"
  sha256 "af6513aadf2105bb2355c3b6acc74fa2b12df12d963292750df197b879c32868"
  license "MIT"
  head "https://github.com/gruntwork-io/fetch.git"

  bottle do
    sha256 cellar: :any_skip_relocation, big_sur: "65120b76f68775953d031c64ce61534a9cdf4e1147472a36eb3a26efd361c3bd"
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "8f7e8e5825e53aa7a94aa4f8b1d644b96e905aa5aa36801fd7ec3079b4939453"
    sha256 cellar: :any_skip_relocation, catalina: "b8fb96174cd37b851c82fd778a3e8ddf05f38e4e5dac2bd83c105a14ea5999b7"
    sha256 cellar: :any_skip_relocation, mojave: "b82c58ff4af5d06d99bf4f0a665579a416280a7f5df57811f7ebe49b595baded"
  end

  depends_on "go" => :build

  def install
    system "go", "build", "-ldflags", "-X main.VERSION=v#{version}", *std_go_args
  end

  test do
    repo_url = "https://github.com/gruntwork-io/fetch"

    assert_match "Downloading release asset SHA256SUMS to SHA256SUMS",
      shell_output("#{bin}/fetch --repo=\"#{repo_url}\" --tag=\"v0.3.10\" --release-asset=\"SHA256SUMS\" . 2>1&")
  end
{'fraction_non_alphanumeric': 0.11591901548233426, 'fraction_numerical': 0.18936085748312823, 'mean_word_length': 5.363636363636363, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4962360', 'n_tokens_mistral': 1323, 'n_tokens_neox': 1075, 'n_words': 156}