<commit_before>class Pod2man < Formula
  desc "perl documentation generator"
  homepage "http://www.eyrie.org/~eagle/software/podlators/"
  url "http://archives.eyrie.org/software/ARCHIVE/podlators/podlators-4.03.tar.xz"
  sha256 "4694326b35f569dafc4226398b25d5c82c86ed485039effdeb4f14c2ae5b7032"

  bottle do
    cellar :any_skip_relocation
    sha256 "cc054b30603815cb2bb3aec5df885e16a7d93cf8140c11ded05e9ac781d25580" => :el_capitan
    sha256 "45c095c3b709ff0588930c34749fe6990d5f73067f46140892774b14049539de" => :yosemite
    sha256 "9e937ed310b36a4e587ae769a0237a2e2948eabbfe7c21dba00ca894084ef82a" => :mavericks
  end

  keg_only :provided_by_osx

  def install
    system "perl", "Makefile.PL", "PREFIX=#{prefix}"
    system "make", "install"
  end

  test do
    (testpath/"test.pod").write "=head2 Test heading\n"
    manpage = shell_output("#{bin}/pod2man #{testpath}/test.pod")
    assert_match '.SS "Test heading"', manpage
  end
end
<commit_msg>pod2man 4.04<commit_after>class Pod2man < Formula
  desc "perl documentation generator"
  homepage "http://www.eyrie.org/~eagle/software/podlators/"
  url "http://archives.eyrie.org/software/perl/podlators-4.04.tar.xz"
  sha256 "22cd8f7b123e766465a4a186b852ab51cfeab325f6bdadf384825d6894b491ce"

  bottle do
    cellar :any_skip_relocation
    sha256 "cc054b30603815cb2bb3aec5df885e16a7d93cf8140c11ded05e9ac781d25580" => :el_capitan
    sha256 "45c095c3b709ff0588930c34749fe6990d5f73067f46140892774b14049539de" => :yosemite
    sha256 "9e937ed310b36a4e587ae769a0237a2e2948eabbfe7c21dba00ca894084ef82a" => :mavericks
  end

  keg_only :provided_by_osx

  def install
    system "perl", "Makefile.PL", "PREFIX=#{prefix}"
    system "make", "install"
  end

  test do
    (testpath/"test.pod").write "=head2 Test heading\n"
    manpage = shell_output("#{bin}/pod2man #{testpath}/test.pod")
    assert_match '.SS "Test heading"', manpage
  end
end

{'fraction_non_alphanumeric': 0.10620399579390116, 'fraction_numerical': 0.19663512092534174, 'mean_word_length': 5.259868421052632, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3696192', 'n_tokens_mistral': 1008, 'n_tokens_neox': 800, 'n_words': 111}