<commit_before>require 'formula'

class Sickbeard < Formula
  url 'https://github.com/midgetspy/Sick-Beard/tarball/build-488'
  homepage 'http://www.sickbeard.com/'
  md5 '3bdcabe963e2622513f3cca2757fa2f0'

  head 'https://github.com/midgetspy/Sick-Beard.git'

  depends_on 'Cheetah' => :python

  def install
    prefix.install Dir['*']
    bin.mkpath
    (bin+"sickbeard").write(startup_script)
    (prefix+"com.sickbeard.sickbeard.plist").write(startup_plist)
    (prefix+"com.sickbeard.sickbeard.plist").chmod 0644
  end

  def startup_plist; <<-EOS.undent
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>Label</key>
      <string>com.sickbeard.sickbeard</string>
      <key>ProgramArguments</key>
      <array>
           <string>#{bin}/sickbeard</string>
           <string>-q</string>
           <string>--nolaunch</string>
           <string>-p</string><commit_msg>sickbeard build-489<commit_after>require 'formula'

class Sickbeard < Formula
  url 'https://github.com/midgetspy/Sick-Beard/tarball/build-489'
  homepage 'http://www.sickbeard.com/'
  md5 'fee7c987f12dc48f0d7c057c9f61c180'

  head 'https://github.com/midgetspy/Sick-Beard.git'

  depends_on 'Cheetah' => :python

  def install
    prefix.install Dir['*']
    bin.mkpath
    (bin+"sickbeard").write(startup_script)
    (prefix+"com.sickbeard.sickbeard.plist").write(startup_plist)
    (prefix+"com.sickbeard.sickbeard.plist").chmod 0644
  end

  def startup_plist; <<-EOS.undent
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>Label</key>
      <string>com.sickbeard.sickbeard</string>
      <key>ProgramArguments</key>
      <array>
           <string>#{bin}/sickbeard</string>
           <string>-q</string>
           <string>--nolaunch</string>
           <string>-p</string>
{'fraction_non_alphanumeric': 0.17105263157894737, 'fraction_numerical': 0.036062378167641324, 'mean_word_length': 3.1812627291242364, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 2, '>': 43, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 2}, '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': '4697735', 'n_tokens_mistral': 857, 'n_tokens_neox': 785, 'n_words': 100}