<commit_before>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",<commit_msg>Fix Element checksum & app version 1.11.5. (#131579)<commit_after>cask "element" do
  version "1.11.5"
  sha256 :no_check

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

  livecheck do
    url :url
    strategy :extract_plist
  end

  auto_updates true

  app "Element.app"

  zap trash: [
    "~/Library/Application Support/Element",
    "~/Library/Application Support/Riot",
{'fraction_non_alphanumeric': 0.14756801319043694, 'fraction_numerical': 0.05441055234954658, 'mean_word_length': 3.705426356589147, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, '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': '4463527', 'n_tokens_mistral': 488, 'n_tokens_neox': 425, 'n_words': 76}