<commit_before>cask "lunar" do
  version "3.2.3"
  sha256 "88bf404e03364eaf2b33aad449cddc1d80d9e21b5f99e35db2bc2db636b9c48d"

  url "https://lunar.fyi/download/#{version}"
  name "Lunar"
  desc "Adaptive brightness for external displays"
  homepage "https://lunar.fyi/"

  livecheck do
    url "https://lunar.fyi/appcast.xml"
    strategy :sparkle
  end

  auto_updates true
  depends_on macos: ">= :yosemite"

  app "Lunar.app"

  zap trash: [
    "~/Library/Application Support/Lunar",
    "~/Library/Application Support/site.lunarapp.Lunar",
    "~/Library/Preferences/site.lunarapp.Lunar.plist",
  ]
end
<commit_msg>Update lunar from 3.2.3 to 4.0.4 (#106470)<commit_after>cask "lunar" do
  version "4.0.4"
  sha256 "072ee4f7a1294e5239713471abe154c3ad04a17b97a1a4c17d96a54e6dbe58e7"

  url "https://static.lunar.fyi/releases/Lunar-#{version}.pkg"
  name "Lunar"
  desc "Adaptive brightness for external displays"
  homepage "https://lunar.fyi/"

  livecheck do
    url "https://static.lunar.fyi/appcast.xml"
    strategy :sparkle
  end

  auto_updates true
  depends_on macos: ">= :catalina"

  pkg "Lunar-#{version}.pkg"

  uninstall pkgutil: "fyi.lunar.Lunar"

  zap trash: [
    "~/Library/Application Support/Lunar",
    "~/Library/Application Support/fyi.lunar.Lunar",
    "~/Library/Preferences/fyi.lunar.Lunar.plist",
  ]
end

{'fraction_non_alphanumeric': 0.1347305389221557, 'fraction_numerical': 0.0748502994011976, 'mean_word_length': 3.8442028985507246, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3656167', 'n_tokens_mistral': 634, 'n_tokens_neox': 563, 'n_words': 91}