<commit_before>cask "steam" do
  version "2.0"
  sha256 :no_check

  url "https://steamcdn-a.akamaihd.net/client/installer/steam.dmg",
      verified: "steamcdn-a.akamaihd.net/"
  name "Steam"
  desc "Video game digital distribution service"
  homepage "https://store.steampowered.com/about/"

  app "Steam.app"

  uninstall quit:      [
    "com.valvesoftware.steam",
    "com.valvesoftware.steam.helper",
    "com.valvesoftware.steam.helper.EH",
  ],
            launchctl: [
              "com.valvesoftware.steamclean",
              "com.valvesoftware.steam.ipctool",
            ]

  zap trash: [
    "~/Library/LaunchAgents/com.valvesoftware.steamclean.plist",
    "~/Library/Preferences/com.valvesoftware.steam.helper.plist",
    "~/Library/Application Support/Steam/",
    "~/Library/Saved Application State/com.valvesoftware.steam.savedState/",
  ]
end<commit_msg>steam: auto_updates (#97235)<commit_after>cask "steam" do
  version "2020-12-21"
  sha256 :no_check

  url "https://steamcdn-a.akamaihd.net/client/installer/steam.dmg",
      verified: "steamcdn-a.akamaihd.net/"
  name "Steam"
  desc "Video game digital distribution service"
  homepage "https://store.steampowered.com/about/"

  livecheck do
    url "https://store.steampowered.com/oldnews/?feed=steam_client"
    strategy :page_match do |page|
      date = Time.parse(page[/class=["']?date["']?[^>]*>([^<]+)/i, 1])
      date.strftime("%Y-%m-%d")
    end
  end

  auto_updates true

  app "Steam.app"

  uninstall quit:      [
    "com.valvesoftware.steam",
    "com.valvesoftware.steam.helper",
    "com.valvesoftware.steam.helper.EH",
  ],
            launchctl: [
              "com.valvesoftware.steamclean",
              "com.valvesoftware.steam.ipctool",
            ]

  zap trash: [
    "~/Library/LaunchAgents/com.valvesoftware.steamclean.plist",
    "~/Library/Preferences/com.valvesoftware.steam.helper.plist",
    "~/Library/Application Support/Steam/",
    "~/Library/Saved Application State/com.valvesoftware.steam.savedState/",
  ]
end
{'fraction_non_alphanumeric': 0.15293537247163297, 'fraction_numerical': 0.010853478046373951, 'mean_word_length': 2.9842829076620827, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, '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': '6762969', 'n_tokens_mistral': 784, 'n_tokens_neox': 740, 'n_words': 99}