<commit_before>cask 'default-folder-x' do
  version '5.1.3'
  sha256 '2770531760efb3e8cc8ea58cc856b126fde117b54d2484470cca86dbc9516654'

  url "https://www.stclairsoft.com/download/DefaultFolderX-#{version}.dmg"
  name 'Default Folder X'
  homepage 'https://www.stclairsoft.com/DefaultFolderX/'

  app 'Default Folder X.app'

  postflight do
    suppress_move_to_applications
  end

  zap delete: [
                '~/Library/Application Support/.com.stclairsoft',
                '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.stclairsoft.defaultfolderx5.sfl',
                '~/Library/Application Support/com.stclairsoft.DefaultFolderX5',
                '~/Library/Caches/com.stclairsoft.DefaultFolderX5',
                '~/Library/Preferences/com.stclairsoft.DefaultFolderX5.plist',
              ]
end<commit_msg>Update default-folder-x to 5.1.4 (#31297)<commit_after>cask 'default-folder-x' do
  version '5.1.4'
  sha256 'd12475cd753d051837e648d653fcb8f6021d0e4adb31fafd1547034d06bfebe3'

  url "https://www.stclairsoft.com/download/DefaultFolderX-#{version}.dmg"
  name 'Default Folder X'
  homepage 'https://www.stclairsoft.com/DefaultFolderX/'

  app 'Default Folder X.app'

  postflight do
    suppress_move_to_applications
  end

  zap delete: [
                '~/Library/Application Support/.com.stclairsoft',
                '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.stclairsoft.defaultfolderx5.sfl',
                '~/Library/Application Support/com.stclairsoft.DefaultFolderX5',
                '~/Library/Caches/com.stclairsoft.DefaultFolderX5',
                '~/Library/Preferences/com.stclairsoft.DefaultFolderX5.plist',
              ]
end
{'fraction_non_alphanumeric': 0.11252771618625278, 'fraction_numerical': 0.06042128603104213, 'mean_word_length': 3.2470588235294118, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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': '739772', 'n_tokens_mistral': 688, 'n_tokens_neox': 586, 'n_words': 71}