<commit_before>require 'formula'

class Sonar < Formula
  homepage 'http://www.sonarsource.org'
  url 'http://dist.sonar.codehaus.org/sonar-3.1.zip'
  md5 '9c84e876963ae7594a96ca24442e648a'

  def install
    # Delete native bin directories for other systems
    rm_rf Dir['bin/{aix,hpux,linux,solaris,windows}-*']

    if MacOS.prefer_64_bit?
      rm_rf Dir['bin/macosx-universal-32']
    else
      rm_rf Dir['bin/macosx-universal-64']
    end

    # Delete Windows files<commit_msg>Sonar 3.1.1<commit_after>require 'formula'

class Sonar < Formula
  homepage 'http://www.sonarsource.org'
  url 'http://dist.sonar.codehaus.org/sonar-3.1.1.zip'
  md5 '9606c6f6c79c6b944d9d4a7c5eb6531b'

  def install
    # Delete native bin directories for other systems
    rm_rf Dir['bin/{aix,hpux,linux,solaris,windows}-*']

    if MacOS.prefer_64_bit?
      rm_rf Dir['bin/macosx-universal-32']
    else
      rm_rf Dir['bin/macosx-universal-64']
    end

    # Delete Windows files
{'fraction_non_alphanumeric': 0.12242798353909465, 'fraction_numerical': 0.0668724279835391, 'mean_word_length': 3.525581395348837, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3168066', 'n_tokens_mistral': 418, 'n_tokens_neox': 377, 'n_words': 66}