<commit_before>class Automysqlbackup < Formula
  desc "Automate MySQL backups"
  homepage "http://sourceforge.net/projects/automysqlbackup/"
  url "https://downloads.sourceforge.net/project/automysqlbackup/AutoMySQLBackup/AutoMySQLBackup%20VER%203.0/automysqlbackup-v3.0_rc6.tar.gz"
  version "3.0-rc6"
  sha256 "889e064d086b077e213da11e937ea7242a289f9217652b9051c157830dc23cc0"

  bottle :unneeded

  def install
    inreplace "automysqlbackup" do |s|
      s.gsub! "/etc", etc
      s.gsub! "/var", var
    end
    inreplace "automysqlbackup.conf" do |s|
      s.gsub! "/var", var
    end

    conf_path = (etc/"automysqlbackup")
    conf_path.install "automysqlbackup.conf" unless (conf_path/"automysqlbackup.conf").exist?
    sbin.install "automysqlbackup"
  end

  def caveats; <<-EOS.undent
    You will have to edit
      #{etc}/automysqlbackup/automysqlbackup.conf
    to set AutoMySQLBackup up to find your database and backup directory.

    The included plist file will run AutoMySQLBackup every day at 04:00.
    EOS
  end<commit_msg>automysqlbackup: use secure homepage<commit_after>class Automysqlbackup < Formula
  desc "Automate MySQL backups"
  homepage "https://sourceforge.net/projects/automysqlbackup/"
  url "https://downloads.sourceforge.net/project/automysqlbackup/AutoMySQLBackup/AutoMySQLBackup%20VER%203.0/automysqlbackup-v3.0_rc6.tar.gz"
  version "3.0-rc6"
  sha256 "889e064d086b077e213da11e937ea7242a289f9217652b9051c157830dc23cc0"

  bottle :unneeded

  def install
    inreplace "automysqlbackup" do |s|
      s.gsub! "/etc", etc
      s.gsub! "/var", var
    end
    inreplace "automysqlbackup.conf" do |s|
      s.gsub! "/var", var
    end

    conf_path = (etc/"automysqlbackup")
    conf_path.install "automysqlbackup.conf" unless (conf_path/"automysqlbackup.conf").exist?
    sbin.install "automysqlbackup"
  end

  def caveats; <<-EOS.undent
    You will have to edit
      #{etc}/automysqlbackup/automysqlbackup.conf
    to set AutoMySQLBackup up to find your database and backup directory.

    The included plist file will run AutoMySQLBackup every day at 04:00.
    EOS
  end
{'fraction_non_alphanumeric': 0.09782608695652174, 'fraction_numerical': 0.062381852551984876, 'mean_word_length': 3.8333333333333335, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '908976', 'n_tokens_mistral': 831, 'n_tokens_neox': 755, 'n_words': 162}