<commit_before>cask 'rider' do
  version '2017.1,171.4456.2169'
  sha256 '9867f139c98b8ccaadfeb063b1919c8035d72d1021e0108369ef44df43cd765f'

  url "https://download.jetbrains.com/resharper/JetBrains.Rider-#{version.major_minor}.dmg"
  appcast 'https://data.services.jetbrains.com/products/releases?code=RD&latest=true&type=release',
          checkpoint: 'be17267b11d726d6879f7c47e579543565dc613167e3564b4935eed2c08caae8'
  name 'Jetbrains Rider'
  homepage 'https://www.jetbrains.com/rider/'

  auto_updates true

  app "Rider #{version.major_minor}.app"

  uninstall_postflight do
    ENV['PATH'].split(File::PATH_SEPARATOR).map { |path| File.join(path, 'rider') }.each { |path| File.delete(path) if File.exist?(path) && File.readlines(path).grep(%r{# see com.intellij.idea.SocketLock for the server side of this interface}).any? }<commit_msg>Update rider to 2017.1.1,171.4456.2813 (#37903)<commit_after>cask 'rider' do
  version '2017.1.1,171.4456.2813'
  sha256 'fd07b5e11c3caaaf279cacc80dbe8e3370be60bcf215ef199d2228e55482a787'

  url "https://download.jetbrains.com/resharper/JetBrains.Rider-#{version.before_comma}.dmg"
  appcast 'https://data.services.jetbrains.com/products/releases?code=RD&latest=true&type=release',
          checkpoint: 'd155695514eaee4c992b12c286127a178066ac37edfa3566c8343853b36f9105'
  name 'Jetbrains Rider'
  homepage 'https://www.jetbrains.com/rider/'

  auto_updates true

  app "Rider #{version.before_comma}.app"

  uninstall_postflight do
    ENV['PATH'].split(File::PATH_SEPARATOR).map { |path| File.join(path, 'rider') }.each { |path| File.delete(path) if File.exist?(path) && File.readlines(path).grep(%r{# see com.intellij.idea.SocketLock for the server side of this interface}).any? }
{'fraction_non_alphanumeric': 0.1394675925925926, 'fraction_numerical': 0.13194444444444445, 'mean_word_length': 5.75390625, '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': '3570793', 'n_tokens_mistral': 826, 'n_tokens_neox': 672, 'n_words': 92}