<commit_before>class Gmailctl < Formula
  desc "Declarative configuration for Gmail filters"
  homepage "https://github.com/mbrt/gmailctl"
  url "https://github.com/mbrt/gmailctl/archive/v0.10.5.tar.gz"
  sha256 "53410051ad246e452878d7b9de241a7173f588ec2b68f02adb40e7ec01b16912"
  license "MIT"
  head "https://github.com/mbrt/gmailctl.git", branch: "master"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "242b5d9b608d2d0343ce5ce97565e66b43ce870ee29c72c3165ffc4987bbea02"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "5ecc6c847e17f4b7765fdc982867fe37fdc7e13c3f1165e9d9e910cd7355d330"
    sha256 cellar: :any_skip_relocation, monterey:       "ae95ae7e0ab186485c25de9a8ea1e2e2ac0cf2d7bd3f735cca469843a0b355ad"
    sha256 cellar: :any_skip_relocation, big_sur:        "2199b8b8582bed6f14e168dfee52fe25843d4b7a770b98fcd5e4e57a8d0faccc"
    sha256 cellar: :any_skip_relocation, catalina:       "c3fe50ae848c3d723321c948236d53f2564c415b023c278916bf79b32a5e2b97"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "6808cbf4b37bb57f4b98527cbddbf466addba0fa59573866826bd8c9f3b90ce4"
  end

  depends_on "go" => :build

  def install
    system "go", "build", *std_go_args(ldflags: "-s -w -X main.version=#{version}"), "cmd/gmailctl/main.go"

    generate_completions_from_executable(bin/"gmailctl", "completion")<commit_msg>gmailctl 0.10.6<commit_after>class Gmailctl < Formula
  desc "Declarative configuration for Gmail filters"
  homepage "https://github.com/mbrt/gmailctl"
  url "https://github.com/mbrt/gmailctl/archive/v0.10.6.tar.gz"
  sha256 "85757469561fd612209c8d7c5146b4a23d377d236a918c1636113c3d115acf60"
  license "MIT"
  head "https://github.com/mbrt/gmailctl.git", branch: "master"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "242b5d9b608d2d0343ce5ce97565e66b43ce870ee29c72c3165ffc4987bbea02"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "5ecc6c847e17f4b7765fdc982867fe37fdc7e13c3f1165e9d9e910cd7355d330"
    sha256 cellar: :any_skip_relocation, monterey:       "ae95ae7e0ab186485c25de9a8ea1e2e2ac0cf2d7bd3f735cca469843a0b355ad"
    sha256 cellar: :any_skip_relocation, big_sur:        "2199b8b8582bed6f14e168dfee52fe25843d4b7a770b98fcd5e4e57a8d0faccc"
    sha256 cellar: :any_skip_relocation, catalina:       "c3fe50ae848c3d723321c948236d53f2564c415b023c278916bf79b32a5e2b97"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "6808cbf4b37bb57f4b98527cbddbf466addba0fa59573866826bd8c9f3b90ce4"
  end

  depends_on "go" => :build

  def install
    system "go", "build", *std_go_args(ldflags: "-s -w -X main.version=#{version}"), "cmd/gmailctl/main.go"

    generate_completions_from_executable(bin/"gmailctl", "completion")
{'fraction_non_alphanumeric': 0.08910162002945508, 'fraction_numerical': 0.22901325478645065, 'mean_word_length': 6.505524861878453, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2837561', 'n_tokens_mistral': 1528, 'n_tokens_neox': 1217, 'n_words': 140}