<commit_before>cask "ripcord" do
  version "0.4.28"
  sha256 "98b2a5071ac4e64b03ac26bb4d1496d1764b4aa73894fcb67ecb1d911853e005"

  url "https://cancel.fm/dl/Ripcord_Mac_#{version}.zip"
  appcast "https://cancel.fm/ripcord/updates/v1"
  name "Ripcord"
  desc "Desktop chat client for Slack (and Discord)"
  homepage "https://cancel.fm/ripcord/"

  depends_on macos: ">= :sierra"

  app "Ripcord.app"

  zap trash: [
    "~/Library/Application Support/Ripcord",
    "~/Library/Preferences/com.cancelfm.Ripcord.plist",
    "~/Library/Saved Application State/com.cancelfm.Ripcord.savedState",
  ]
end<commit_msg>ripcord: add livecheck (#104218)<commit_after>cask "ripcord" do
  version "0.4.28"
  sha256 "98b2a5071ac4e64b03ac26bb4d1496d1764b4aa73894fcb67ecb1d911853e005"

  url "https://cancel.fm/dl/Ripcord_Mac_#{version}.zip"
  name "Ripcord"
  desc "Desktop chat client for Slack (and Discord)"
  homepage "https://cancel.fm/ripcord/"

  livecheck do
    url "https://cancel.fm/ripcord/updates/v1"
    strategy :page_match
    regex(%r{/Ripcord_Mac_(\d+(?:\.\d+)*)\.zip}i)
  end

  depends_on macos: ">= :sierra"

  app "Ripcord.app"

  zap trash: [
    "~/Library/Application Support/Ripcord",
    "~/Library/Preferences/com.cancelfm.Ripcord.plist",
    "~/Library/Saved Application State/com.cancelfm.Ripcord.savedState",
  ]
end
{'fraction_non_alphanumeric': 0.14736842105263157, 'fraction_numerical': 0.07819548872180451, 'mean_word_length': 4.19921875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '756612', 'n_tokens_mistral': 616, 'n_tokens_neox': 553, 'n_words': 82}