<commit_before>cask "gifox" do
  version "2.3.0,020300.01"
  sha256 "0fcaf18d57a7912de08e9c6b19a0a873375ccf1e8f5bbac00bb430f071489e90"

  url "https://d3si16icyi9iar.cloudfront.net/gifox/#{version.csv.second}.dmg",
      verified: "d3si16icyi9iar.cloudfront.net/gifox/"
  name "gifox"
  desc "App to record the screen"
  homepage "https://gifox.io/"

  livecheck do
    url "https://gifox.io/download/latest"
    strategy :header_match do |headers|
      match = headers["location"].match(%r{/(\d(\d)\d(\d)\d(\d).\d\d)\.dmg}i)
      next if match.blank?

      "#{match[2]}.#{match[3]}.#{match[4]},#{match[1]}"
    end
  end

  app "Gifox.app"

  uninstall launchctl: "com.gifox.gifox#{version.major}.agent",
            quit:      "com.gifox.gifox#{version.major}"

  zap trash: [
    "~/Library/Application Support/Gifox #{version.major}",
    "~/Library/Caches/com.gifox.gifox#{version.major}",
    "~/Library/Cookies/com.gifox.gifox#{version.major}.binarycookies",
    "~/Library/Preferences/com.gifox.gifox#{version.major}.plist",
  ]
end<commit_msg>Update gifox from 2.3.0 to 2.3.1 (#120406)<commit_after>cask "gifox" do
  version "2.3.1,020301.01"
  sha256 "5384be2c624ec9b3dc897df9b09b1209d089a0e789ff577336a495af3adbdcb4"

  url "https://d3si16icyi9iar.cloudfront.net/gifox/#{version.csv.second}.dmg",
      verified: "d3si16icyi9iar.cloudfront.net/gifox/"
  name "gifox"
  desc "App to record the screen"
  homepage "https://gifox.io/"

  livecheck do
    url "https://gifox.io/download/latest"
    strategy :header_match do |headers|
      match = headers["location"].match(%r{/(\d(\d)\d(\d)\d(\d).\d\d)\.dmg}i)
      next if match.blank?

      "#{match[2]}.#{match[3]}.#{match[4]},#{match[1]}"
    end
  end

  app "Gifox.app"

  uninstall launchctl: "com.gifox.gifox#{version.major}.agent",
            quit:      "com.gifox.gifox#{version.major}"

  zap trash: [
    "~/Library/Application Support/Gifox #{version.major}",
    "~/Library/Caches/com.gifox.gifox#{version.major}",
    "~/Library/Cookies/com.gifox.gifox#{version.major}.binarycookies",
    "~/Library/Preferences/com.gifox.gifox#{version.major}.plist",
  ]
end
{'fraction_non_alphanumeric': 0.1846657316503039, 'fraction_numerical': 0.06545114539504442, 'mean_word_length': 3.6021505376344085, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2794212', 'n_tokens_mistral': 931, 'n_tokens_neox': 868, 'n_words': 111}