<commit_before>cask "element" do
  version "1.11.2"
  sha256 "2c90eb6b779938f7a79dc7f6ef52da291b3c063e14ad182a0623ba2ea2ac3fb2"

  url "https://packages.riot.im/desktop/install/macos/Element-#{version}-universal.dmg",
      verified: "packages.riot.im/desktop/"
  name "Element"
  desc "Matrix collaboration client"
  homepage "https://element.io/get-started"

  livecheck do
    url "https://packages.riot.im/desktop/install/macos"
    regex(/Element[._-]\(?(\d+(?:\.\d+)*)[._-]universal\.dmg/i)
  end

  auto_updates true

  app "Element.app"

  zap trash: [
    "~/Library/Application Support/Element",
    "~/Library/Application Support/Riot",
    "~/Library/Caches/im.riot.app",
    "~/Library/Caches/im.riot.app.ShipIt",<commit_msg>Fix Element 1.11.2 Checksum (#130829)<commit_after>cask "element" do
  version "1.11.2"
  sha256 "ffecde430594c14dc9b71b70be376ce7515f20e00529128a0f256830de99a094"

  url "https://packages.riot.im/desktop/install/macos/Element-#{version}-universal.dmg",
      verified: "packages.riot.im/desktop/"
  name "Element"
  desc "Matrix collaboration client"
  homepage "https://element.io/get-started"

  livecheck do
    url "https://packages.riot.im/desktop/install/macos"
    regex(/Element[._-]\(?(\d+(?:\.\d+)*)[._-]universal\.dmg/i)
  end

  auto_updates true

  app "Element.app"

  zap trash: [
    "~/Library/Application Support/Element",
    "~/Library/Application Support/Riot",
    "~/Library/Caches/im.riot.app",
    "~/Library/Caches/im.riot.app.ShipIt",
{'fraction_non_alphanumeric': 0.17133333333333334, 'fraction_numerical': 0.06866666666666667, 'mean_word_length': 3.765079365079365, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '756587', 'n_tokens_mistral': 654, 'n_tokens_neox': 565, 'n_words': 77}