<commit_before>cask 'plantronics-hub' do
  version :latest
  sha256 :no_check

  url 'https://www.plantronics.com/media/downloads/PlantronicsHubInstaller.dmg'
  name 'Plantronics Hub'
  homepage 'https://www.plantronics.com/au/product/plantronics-hub-desktop'

  auto_updates true
  depends_on macos: '>= :yosemite'

  pkg 'Plantronics Software.pkg'

  uninstall pkgutil: [
                       'com.plantronics.plantronicsSoftware.PlantronicsHub.pkg',
                       'com.plantronics.plantronicsSoftware.preflight.pkg',
                     ]
end<commit_msg>Update plantronics-hub to latest and add zap (#405)<commit_after>cask 'plantronics-hub' do
  version :latest
  sha256 :no_check

  url 'https://www.plantronics.com/content/dam/plantronics/software/PlantronicsHubInstaller.dmg'
  name 'Plantronics Hub'
  homepage 'https://www.plantronics.com/au/product/plantronics-hub-desktop'

  auto_updates true
  depends_on macos: '>= :yosemite'

  pkg 'Plantronics Software.pkg'

  uninstall pkgutil:   [
                         'com.plantronics.plantronicsSoftware.PlantronicsHub.pkg',
                         'com.plantronics.plantronicsSoftware.preflight.pkg',
                         'Plantronics-Inc..Plantronics-Hub',
                       ],
            launchctl: 'com.PlantronicsUpdateService'

  zap trash: [
               '~/Library/Application Support/Plantronics',
               '~/Library/Preferences/Plantronics-Inc..Plantronics-Hub.plist',
               '~/Library/Preferences/Plantronics.Plantronics-Hub-Helper.plist',
               '~/Library/Saved Application State/Plantronics-Inc..Plantronics-Hub.savedState',
             ]
end
{'fraction_non_alphanumeric': 0.10877403846153846, 'fraction_numerical': 0.005408653846153846, 'mean_word_length': 2.565310492505353, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2724838', 'n_tokens_mistral': 586, 'n_tokens_neox': 527, 'n_words': 72}