<commit_before>cask 'coteditor' do
  if MacOS.version <= :mavericks
    version '2.5.7'
    sha256 'f2c6eed9bfa31999f559396642e7bec0eb90ce0e3398f266fed8b3db5bdab37c'
  elsif MacOS.version <= :yosemite
    version '3.2.8'
    sha256 '73dd20d27b75c7b0c46242a465adb3df5b5f0b901f42c5a9a85777a57c4a17d6'
  else
    version '3.6.12'
    sha256 '51ee770cf6c62b0e1a4e20948355c15c23529cabde6b6f6fc5489148a6bf263d'
  end

  # github.com/coteditor/CotEditor was verified as official when first introduced to the cask
  url "https://github.com/coteditor/CotEditor/releases/download/#{version}/CotEditor_#{version}.dmg"
  appcast 'https://github.com/coteditor/CotEditor/releases.atom'
  name 'CotEditor'
  homepage 'https://coteditor.com/'

  app 'CotEditor.app'
  binary "#{appdir}/CotEditor.app/Contents/SharedSupport/bin/cot"<commit_msg>Update coteditor to 3.7.0 (#58886)<commit_after>cask 'coteditor' do
  if MacOS.version <= :mavericks
    version '2.5.7'
    sha256 'f2c6eed9bfa31999f559396642e7bec0eb90ce0e3398f266fed8b3db5bdab37c'
  elsif MacOS.version <= :yosemite
    version '3.2.8'
    sha256 '73dd20d27b75c7b0c46242a465adb3df5b5f0b901f42c5a9a85777a57c4a17d6'
  else
    version '3.7.0'
    sha256 'dcf7a7cdd04f59644c1490fa84a6941c4e9257097507519c2757ac38a8a2054c'
  end

  # github.com/coteditor/CotEditor was verified as official when first introduced to the cask
  url "https://github.com/coteditor/CotEditor/releases/download/#{version}/CotEditor_#{version}.dmg"
  appcast 'https://github.com/coteditor/CotEditor/releases.atom'
  name 'CotEditor'
  homepage 'https://coteditor.com/'

  app 'CotEditor.app'
  binary "#{appdir}/CotEditor.app/Contents/SharedSupport/bin/cot"
{'fraction_non_alphanumeric': 0.10692951015531661, 'fraction_numerical': 0.16547192353643966, 'mean_word_length': 5.046931407942238, 'pattern_counts': {'":': 0, '<': 7, '<?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': '7512584', 'n_tokens_mistral': 858, 'n_tokens_neox': 720, 'n_words': 95}