<commit_before>cask 'flashlight' do
  version :latest
  sha256 :no_check

  # appspot.com is the official download host for the latest version, per the developer
  # Original discussion: https://github.com/nate-parrott/Flashlight/issues/104
  url 'https://flashlightplugins.appspot.com/latest_download'
  appcast 'https://raw.githubusercontent.com/nate-parrott/flashlight/master/Appcast.xml',
          :checkpoint => '612946c9e6a7fd1de81bfd1cd822d4a047f986caa9451ba9bed3d3bbf57b4782'
  name 'Flashlight'
  homepage 'https://flashlight.nateparrott.com/'
  license :gpl

  app 'Flashlight.app'

  postflight do
    suppress_move_to_applications
  end

  uninstall :quit => 'com.nateparrott.Flashlight.FlashlightSIMBLAgent'

  zap :delete => [
                   '~/Library/Caches/com.nateparrott.Flashlight',<commit_msg>updated flashlight (1.0.1)<commit_after>cask 'flashlight' do
  version '1.0.1'
  sha256 'b1d6172d1fb7901fdb50c7d4b2fc185ea324df8ae86158669c635babbfb85aec'

  url "https://github.com/nate-parrott/Flashlight/releases/download/v#{version}/Flashlight.zip"
  appcast 'https://github.com/nate-parrott/Flashlight/releases.atom',
          :checkpoint => '8c5e2c28b99d28496b74bd58b778ef895bb143f19bc6eaee21d8e0eeb55c0309'
  name 'Flashlight'
  homepage 'https://flashlight.nateparrott.com/'
  license :gpl

  app 'Flashlight.app'

  postflight do
    suppress_move_to_applications
  end

  uninstall :quit => 'com.nateparrott.Flashlight.FlashlightSIMBLAgent'

  zap :delete => [
                   '~/Library/Caches/com.nateparrott.Flashlight',
{'fraction_non_alphanumeric': 0.10739549839228296, 'fraction_numerical': 0.0797427652733119, 'mean_word_length': 4.328767123287672, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 1}}
{'dir': 'git-commits-cleaned', 'id': '3054828', 'n_tokens_mistral': 650, 'n_tokens_neox': 584, 'n_words': 79}