<commit_before>class Certigo < Formula
  desc "Utility to examine and validate certificates in a variety of formats"
  homepage "https://github.com/square/certigo"
  url "https://github.com/square/certigo/archive/v1.9.1.tar.gz"
  sha256 "b1acf595317ab0c3eb6e13bbce9efb8972c4130a2a914010bc5dcc3c2f103e32"
  head "https://github.com/square/certigo.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "90c2edcfc2b4bdb325b58d3eeebeb1342f1c8f365d4c4c0abc240b0eb1d44722" => :sierra
    sha256 "bfd84b0ac03c82d821cc6c76d42878eb76bd4544d4232e6b769e7a3c643f03a9" => :el_capitan
    sha256 "53fe7fc821910f3e1f4a5025b459f3c7ca13c9653e5b1185e11e2a3102f466d7" => :yosemite
  end

  depends_on "go" => :build

  def install
    system "./build"
    bin.install "bin/certigo"
  end

  test do
    (testpath/"test.crt").write <<-EOS.undent
      -----BEGIN CERTIFICATE-----
      MIIDLDCCAhQCCQCa74bQsAj2/jANBgkqhkiG9w0BAQsFADBYMQswCQYDVQQGEwJV
      UzELMAkGA1UECBMCQ0ExEDAOBgNVBAoTB2NlcnRpZ28xEDAOBgNVBAsTB2V4YW1w
      bGUxGDAWBgNVBAMTD2V4YW1wbGUtZXhwaXJlZDAeFw0xNjA2MTAyMjE0MTJaFw0x
      NjA2MTEyMjE0MTJaMFgxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEQMA4GA1UE<commit_msg>certigo: update 1.9.1 bottle.<commit_after>class Certigo < Formula
  desc "Utility to examine and validate certificates in a variety of formats"
  homepage "https://github.com/square/certigo"
  url "https://github.com/square/certigo/archive/v1.9.1.tar.gz"
  sha256 "b1acf595317ab0c3eb6e13bbce9efb8972c4130a2a914010bc5dcc3c2f103e32"
  head "https://github.com/square/certigo.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "a823139b18d5e5c838e74236e789ba2ce7faf152edb26378e3b0ec14a9ef007a" => :sierra
    sha256 "852b069dbd5ea23c3d803358ee0b5a104113e280de277467e2a9f66c0a715ccb" => :el_capitan
    sha256 "a00efcc2cd32db3de93b5caefed7410f19c61f03b47e9ef8d31698a287d811eb" => :yosemite
  end

  depends_on "go" => :build

  def install
    system "./build"
    bin.install "bin/certigo"
  end

  test do
    (testpath/"test.crt").write <<-EOS.undent
      -----BEGIN CERTIFICATE-----
      MIIDLDCCAhQCCQCa74bQsAj2/jANBgkqhkiG9w0BAQsFADBYMQswCQYDVQQGEwJV
      UzELMAkGA1UECBMCQ0ExEDAOBgNVBAoTB2NlcnRpZ28xEDAOBgNVBAsTB2V4YW1w
      bGUxGDAWBgNVBAMTD2V4YW1wbGUtZXhwaXJlZDAeFw0xNjA2MTAyMjE0MTJaFw0x
      NjA2MTEyMjE0MTJaMFgxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEQMA4GA1UE
{'fraction_non_alphanumeric': 0.07863247863247863, 'fraction_numerical': 0.16367521367521368, 'mean_word_length': 5.1443569553805775, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '3991492', 'n_tokens_mistral': 1352, 'n_tokens_neox': 1159, 'n_words': 116}