<commit_before>cask 'serviio' do
  version '1.10.1'
  sha256 '2ffb1263780c7df628fe1e56986fe1a4f23e105d6c3c9ead73303cb9c3f9f704'

  url "http://download.serviio.org/releases/serviio-#{version}-osx.tar.gz"
  name 'Serviio'
  homepage 'https://serviio.org/'

  pkg "Serviio-#{version}.pkg"

  uninstall pkgutil:   [
                         'org.serviio.pkg.autostart',
                         'org.serviio.pkg.JRE',
                         'org.serviio.pkg.ServiioConsole',
                         'org.serviio.pkg.Serviio',
                       ],
            launchctl: 'org.serviio.server'

  zap trash: [
               '/Library/Application Support/Serviio',
               '/private/var/log/serviio',
               '~/Library/Application Support/CrashReporter/Serviio-Console Helper_*.plist',
               '~/Library/Application Support/Serviio-Console-Wrapper',
               '~/Library/Caches/Serviio-Console-Wrapper',
               '~/Library/Preferences/org.serviio.serviio-web-console.plist',
               '~/Library/Saved Application State/org.serviio.serviio-web-console.savedState',
             ]
end
<commit_msg>Update serviio from 1.10.1 to 2.0 (#63882)<commit_after>cask 'serviio' do
  version '2.0'
  sha256 '69ca6080fc92d147ee9c6d2bc7d71d9548e5770762e0e73066d4ac82557fbc6e'

  url "http://download.serviio.org/releases/serviio-#{version}-osx.tar.gz"
  name 'Serviio'
  homepage 'https://serviio.org/'

  pkg "Serviio-#{version}.pkg"

  uninstall pkgutil:   [
                         'org.serviio.pkg.autostart',
                         'org.serviio.pkg.JRE',
                         'org.serviio.pkg.ServiioConsole',
                         'org.serviio.pkg.Serviio',
                       ],
            launchctl: 'org.serviio.server'

  zap trash: [
               '/Library/Application Support/Serviio',
               '/private/var/log/serviio',
               '~/Library/Application Support/CrashReporter/Serviio-Console Helper_*.plist',
               '~/Library/Application Support/Serviio-Console-Wrapper',
               '~/Library/Caches/Serviio-Console-Wrapper',
               '~/Library/Preferences/org.serviio.serviio-web-console.plist',
               '~/Library/Saved Application State/org.serviio.serviio-web-console.savedState',
             ]
end

{'fraction_non_alphanumeric': 0.12814943527367506, 'fraction_numerical': 0.04474370112945265, 'mean_word_length': 1.926302414231258, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '7172170', 'n_tokens_mistral': 843, 'n_tokens_neox': 760, 'n_words': 84}