<commit_before>class Jobber < Formula
  desc "Alternative to cron, with better status-reporting and error-handling"
  homepage "https://dshearer.github.io/jobber/"
  url "https://github.com/dshearer/jobber/archive/v1.4.4.tar.gz"
  sha256 "fd88a217a413c5218316664fab5510ace941f4fdb68dcb5428385ff09c68dcc2"
  head "https://github.com/dshearer/jobber.git"

  bottle do
    sha256 "32e3b74e8fa40c2a8384e637606ff7665a8673ed60971f160ed543fca6522305" => :catalina
    sha256 "39414f702a7c344f3b825ff8ee91ee87608050060cee7ddba79afa5b5f1756a8" => :mojave
    sha256 "af09808c6ab66ca35d5f5450e9b2be5058be0bc34ec35e86e2a9641458485090" => :high_sierra
  end

  depends_on "go" => :build

  def install
    system "./configure", "--prefix=#{prefix}", "--libexecdir=#{libexec}", "--sysconfdir=#{etc}",
      "--localstatedir=#{var}"
    system "make", "install"
  end

  plist_options :startup => true

  def plist
    <<~EOS<commit_msg>jobber: update 1.4.4 bottle.<commit_after>class Jobber < Formula
  desc "Alternative to cron, with better status-reporting and error-handling"
  homepage "https://dshearer.github.io/jobber/"
  url "https://github.com/dshearer/jobber/archive/v1.4.4.tar.gz"
  sha256 "fd88a217a413c5218316664fab5510ace941f4fdb68dcb5428385ff09c68dcc2"
  head "https://github.com/dshearer/jobber.git"

  bottle do
    sha256 "f34fec60aef5e18cfc6f5bb8f1e0dbb00a866a01e3e0041d6c8e055ee7c4e27e" => :catalina
    sha256 "6bb3016d2f4200636cd51c237d04039b8bbf285d473acb37589e45fc602caf30" => :mojave
    sha256 "1fafbf17e64ac28355dd28758441f97fbe8b7e633bde0cf48a744918c281f8da" => :high_sierra
  end

  depends_on "go" => :build

  def install
    system "./configure", "--prefix=#{prefix}", "--libexecdir=#{libexec}", "--sysconfdir=#{etc}",
      "--localstatedir=#{var}"
    system "make", "install"
  end

  plist_options :startup => true

  def plist
    <<~EOS
{'fraction_non_alphanumeric': 0.1246641590542719, 'fraction_numerical': 0.18968296614723268, 'mean_word_length': 4.987138263665595, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, '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': '7440121', 'n_tokens_mistral': 976, 'n_tokens_neox': 774, 'n_words': 108}