<commit_before>class Testkube < Formula
  desc "Kubernetes-native framework for test definition and execution"
  homepage "https://testkube.io"
  url "https://github.com/kubeshop/testkube/archive/refs/tags/v1.2.24.tar.gz"
  sha256 "88752b8fec8de13bd9d98ff6eb82d8cf59284cfacd5b95061505d46dca0a2642"
  license "MIT"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "44f60367e4a6324d82c2dd659937497aad9326ce7c1715b6311b8c1319123f50"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "44f60367e4a6324d82c2dd659937497aad9326ce7c1715b6311b8c1319123f50"
    sha256 cellar: :any_skip_relocation, monterey:       "4b222cb515c394fc129b5d32c0d9e0fcf98b00303c25cfa04e4d210d4151e2bc"
    sha256 cellar: :any_skip_relocation, big_sur:        "4b222cb515c394fc129b5d32c0d9e0fcf98b00303c25cfa04e4d210d4151e2bc"
    sha256 cellar: :any_skip_relocation, catalina:       "4b222cb515c394fc129b5d32c0d9e0fcf98b00303c25cfa04e4d210d4151e2bc"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "0a8904490c88b5b0d3e2c2569052747d4775d4620bd1fd29bd6c9f698fa4f967"
  end

  depends_on "go" => :build

  def install
    ENV["CGO_ENABLED"] = "0"
    ldflags = %W[
      -s -w
      -X main.version=#{version}
      -X main.builtBy=#{tap.user}
    ]

    system "go", "build", *std_go_args(output: bin/"kubectl-testkube", ldflags: ldflags),
      "cmd/kubectl-testkube/main.go"
  end

  test do
    output = shell_output("#{bin}/kubectl-testkube get tests 2>&1", 1)
    assert_match("error: invalid configuration: no configuration has been provided", output)

    output = shell_output("#{bin}/kubectl-testkube help")
    assert_match("Testkube entrypoint for kubectl plugin", output)
  end
end<commit_msg>testkube: update 1.2.24 bottle.<commit_after>class Testkube < Formula
  desc "Kubernetes-native framework for test definition and execution"
  homepage "https://testkube.io"
  url "https://github.com/kubeshop/testkube/archive/refs/tags/v1.2.24.tar.gz"
  sha256 "88752b8fec8de13bd9d98ff6eb82d8cf59284cfacd5b95061505d46dca0a2642"
  license "MIT"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "052d4cc844f2d56081010b7c0c0fa9b2fc42582c3a1a1540933cdc36482cb354"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "052d4cc844f2d56081010b7c0c0fa9b2fc42582c3a1a1540933cdc36482cb354"
    sha256 cellar: :any_skip_relocation, monterey:       "955db6b9b0ad26e56f72b29d035496f378bd3b0913a61e9b2b799f9aa5fb9d2a"
    sha256 cellar: :any_skip_relocation, big_sur:        "955db6b9b0ad26e56f72b29d035496f378bd3b0913a61e9b2b799f9aa5fb9d2a"
    sha256 cellar: :any_skip_relocation, catalina:       "955db6b9b0ad26e56f72b29d035496f378bd3b0913a61e9b2b799f9aa5fb9d2a"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "cb5103af25504bd23272a7150f51b56aeadada38860d318f266abd506549aeeb"
  end

  depends_on "go" => :build

  def install
    ENV["CGO_ENABLED"] = "0"
    ldflags = %W[
      -s -w
      -X main.version=#{version}
      -X main.builtBy=#{tap.user}
    ]

    system "go", "build", *std_go_args(output: bin/"kubectl-testkube", ldflags: ldflags),
      "cmd/kubectl-testkube/main.go"
  end

  test do
    output = shell_output("#{bin}/kubectl-testkube get tests 2>&1", 1)
    assert_match("error: invalid configuration: no configuration has been provided", output)

    output = shell_output("#{bin}/kubectl-testkube help")
    assert_match("Testkube entrypoint for kubectl plugin", output)
  end
end
{'fraction_non_alphanumeric': 0.09313154831199069, 'fraction_numerical': 0.1888824214202561, 'mean_word_length': 5.148479427549195, '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': '1831617', 'n_tokens_mistral': 1813, 'n_tokens_neox': 1478, 'n_words': 210}