<commit_before>cask 'gimp' do
  version '2.10.12'
  sha256 '8b964ad3dbbe31d0fa48fb834aa4c17fc0eb81becbc4595a57b04e3d4fc6efeb'

  url "https://download.gimp.org/pub/gimp/v#{version.major_minor}/osx/gimp-#{version}-x86_64.dmg"
  appcast 'https://download.gimp.org/pub/gimp/stable/osx/'
  name 'GIMP'
  homepage 'https://www.gimp.org/'

  app "GIMP-#{version.major_minor}.app"
  binary "#{appdir}/GIMP-#{version.major_minor}.app/Contents/MacOS/gimp"

  postflight do
    set_permissions "#{appdir}/GIMP-#{version.major_minor}.app/Contents/MacOS/gimp", 'a+rx'
  end

  zap trash: [
               "~/Library/Preferences/org.gimp.gimp-#{version.major_minor}:.plist",
               '~/Library/Application Support/Gimp',
               "~/Library/Saved Application State/org.gimp.gimp-#{version.major_minor}:.savedState",
             ]
end
<commit_msg>Bump Gimp.app to 2.10.14 (#71797)<commit_after>cask 'gimp' do
  version '2.10.14'
  sha256 '60631e39a1042c38cc281bc3213a76be109fb909b9671fb03c55cf5cf31ea632'

  url "https://download.gimp.org/pub/gimp/v#{version.major_minor}/osx/gimp-#{version}-x86_64.dmg"
  appcast 'https://download.gimp.org/pub/gimp/stable/osx/'
  name 'GIMP'
  homepage 'https://www.gimp.org/'

  app "GIMP-#{version.major_minor}.app"
  binary "#{appdir}/GIMP-#{version.major_minor}.app/Contents/MacOS/gimp"

  postflight do
    set_permissions "#{appdir}/GIMP-#{version.major_minor}.app/Contents/MacOS/gimp", 'a+rx'
  end

  zap trash: [
               "~/Library/Preferences/org.gimp.gimp-#{version.major_minor}:.plist",
               '~/Library/Application Support/Gimp',
               "~/Library/Saved Application State/org.gimp.gimp-#{version.major_minor}:.savedState",
             ]
end

{'fraction_non_alphanumeric': 0.16569428238039674, 'fraction_numerical': 0.061843640606767794, 'mean_word_length': 3.44300518134715, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5779498', 'n_tokens_mistral': 745, 'n_tokens_neox': 677, 'n_words': 72}