<commit_before>cask 'clion' do
  version '2017.2,172.3317.49'
  sha256 'acb425e7afb5908da72a3d89aa32a8be2671d974f25777162c32d9e697d7eb19'

  url "https://download.jetbrains.com/cpp/CLion-#{version.before_comma}.dmg"
  appcast 'https://data.services.jetbrains.com/products/releases?code=CL&latest=true&type=release',
          checkpoint: '45ed65fdd21f93f9506b3cfd9bdc1e9279692ffeb8b347112eb7fe2c6d3d8b1d'
  name 'CLion'
  homepage 'https://www.jetbrains.com/clion/'

  auto_updates true

  app 'CLion.app'

  uninstall_postflight do
    ENV['PATH'].split(File::PATH_SEPARATOR).map { |path| File.join(path, 'clion') }.each { |path| File.delete(path) if File.exist?(path) }
  end

  zap delete: [
                "~/Library/Preferences/CLion#{version.major_minor}",
                "~/Library/Application Support/CLion#{version.major_minor}",
                "~/Library/Caches/CLion#{version.major_minor}",
                "~/Library/Logs/CLion#{version.major_minor}",
              ]
end<commit_msg>Update clion to 2017.2.1,172.3544.40 (#37305)<commit_after>cask 'clion' do
  version '2017.2.1,172.3544.40'
  sha256 '2ab6aa4ce812b989c392ce089a7469f72bd7bd8388f923c3a646f9ffac7f6f50'

  url "https://download.jetbrains.com/cpp/CLion-#{version.before_comma}.dmg"
  appcast 'https://data.services.jetbrains.com/products/releases?code=CL&latest=true&type=release',
          checkpoint: '8726cfdd105ff0e2d802a9956b4fc866a88d9dd9d8ee3498348a51f479a91171'
  name 'CLion'
  homepage 'https://www.jetbrains.com/clion/'

  auto_updates true

  app 'CLion.app'

  uninstall_postflight do
    ENV['PATH'].split(File::PATH_SEPARATOR).map { |path| File.join(path, 'clion') }.each { |path| File.delete(path) if File.exist?(path) }
  end

  zap delete: [
                "~/Library/Preferences/CLion#{version.major_minor}",
                "~/Library/Application Support/CLion#{version.major_minor}",
                "~/Library/Caches/CLion#{version.major_minor}",
                "~/Library/Logs/CLion#{version.major_minor}",
              ]
end
{'fraction_non_alphanumeric': 0.14334975369458128, 'fraction_numerical': 0.10344827586206896, 'mean_word_length': 3.6797235023041477, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7078774', 'n_tokens_mistral': 909, 'n_tokens_neox': 770, 'n_words': 85}