<commit_before>cask 'totalspaces' do
  if MacOS.version <= :mountain_lion
    version '1.2.11'
    sha256 'fd54c6ea092f6fae2035745959ff6e080953e77ec6c76715e532b4b0352235d4'

    url "http://downloads.binaryage.com/TotalSpaces-#{version}.zip"
    appcast 'http://updates-s3.binaryage.com/totalspaces.xml',
            checkpoint: 'f52e1870289fb95d89b1cab7c42da7c824cbc582b0ea46d8bd3e9c47be81a69a'

    pkg 'TotalSpaces.pkg'

    uninstall pkgutil: 'com.switchstep.totalspaces',
              quit:    'com.binaryage.TotalSpaces'
  else
    version '2.5.4'
    sha256 '8b53eea81e432df5a61ccdc0c9e727cd4e7c2bb265db454d536356c106bdc5c0'

    url "http://downloads.binaryage.com/TotalSpaces#{version.major}-#{version}.dmg"
    appcast "http://updates-s3.binaryage.com/totalspaces#{version.major}.xml",
            checkpoint: 'b3650a22599c6be19c377b65f1c1f838acb6222b254c7b8616785a099e28398d'

    installer manual: "TotalSpaces#{version.major}.app"

    uninstall pkgutil: "com.binaryage.TotalSpaces#{version.major}",
              script:  {
                         executable: "TotalSpaces#{version.major} Uninstaller.app/Contents/MacOS/TotalSpaces#{version.major} Uninstaller",
                         args:       ['--headless'],
                         sudo:       true,
                       },
              quit:    "com.binaryage.TotalSpaces#{version.major}"
  end

  name 'TotalSpaces'
  homepage 'https://totalspaces.binaryage.com/'

  uninstall signal: [
                      ['INT', 'com.binaryage.totalspacescrashwatcher'],
                      ['KILL', 'com.binaryage.totalspacescrashwatcher'],
                    ]
end
<commit_msg>Update totalspaces to 2.6.14 (#39445)<commit_after>cask 'totalspaces' do
  if MacOS.version <= :mountain_lion
    version '1.2.11'
    sha256 'fd54c6ea092f6fae2035745959ff6e080953e77ec6c76715e532b4b0352235d4'

    url "http://downloads.binaryage.com/TotalSpaces-#{version}.zip"
    appcast 'http://updates-s3.binaryage.com/totalspaces.xml',
            checkpoint: 'f52e1870289fb95d89b1cab7c42da7c824cbc582b0ea46d8bd3e9c47be81a69a'

    pkg 'TotalSpaces.pkg'

    uninstall pkgutil: 'com.switchstep.totalspaces',
              quit:    'com.binaryage.TotalSpaces'
  else
    version '2.6.14'
    sha256 'f1408daa923e69c0a2bd702f618692ddda9197f449f106683a3a6395d8437110'

    url "http://downloads.binaryage.com/TotalSpaces#{version.major}-#{version}.dmg"
    appcast "http://updates-s3.binaryage.com/totalspaces#{version.major}.xml",
            checkpoint: '288cf8fb910b4a9c7268a879c294f2e9c5d14b38407d30b8805a148263eac0e1'

    installer manual: "TotalSpaces#{version.major}.app"

    uninstall pkgutil: "com.binaryage.TotalSpaces#{version.major}",
              script:  {
                         executable: "TotalSpaces#{version.major} Uninstaller.app/Contents/MacOS/TotalSpaces#{version.major} Uninstaller",
                         args:       ['--headless'],
                         sudo:       true,
                       },
              quit:    "com.binaryage.TotalSpaces#{version.major}"
  end

  name 'TotalSpaces'
  homepage 'https://totalspaces.binaryage.com/'

  uninstall signal: [
                      ['INT', 'com.binaryage.totalspacescrashwatcher'],
                      ['KILL', 'com.binaryage.totalspacescrashwatcher'],
                    ]
end

{'fraction_non_alphanumeric': 0.11405356605476978, 'fraction_numerical': 0.11104423713511886, 'mean_word_length': 2.681063122923588, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '7617899', 'n_tokens_mistral': 1386, 'n_tokens_neox': 1183, 'n_words': 130}