<commit_before>require 'formula'

class AppEngineJavaSdk < Formula
  url 'http://googleappengine.googlecode.com/files/appengine-java-sdk-1.4.2.zip'
  homepage 'http://code.google.com/appengine/docs/java/overview.html'
  sha1 '915808a17c88c4afc159a66299ba06c68eb681b5'

  def shim_script target
    <<-EOS.undent
      #!/bin/bash
      #{libexec}/bin/#{target} $*
    EOS
  end

  def install
    rm Dir['bin/*.cmd']
    libexec.install Dir['*']

    Dir["#{libexec}/bin/*"].each do |b|
      n = Pathname.new(b).basename
      (bin+n).write shim_script(n)
    end
  end
end<commit_msg>app-engine-java-sdk 1.5.0<commit_after>require 'formula'

class AppEngineJavaSdk < Formula
  url 'http://googleappengine.googlecode.com/files/appengine-java-sdk-1.5.0.zip'
  homepage 'http://code.google.com/appengine/docs/java/overview.html'
  sha1 'cc6ead54e170b33be2cf52c970915648e922f05b'

  def shim_script target
    <<-EOS.undent
      #!/bin/bash
      #{libexec}/bin/#{target} $*
    EOS
  end

  def install
    rm Dir['bin/*.cmd']
    libexec.install Dir['*']

    Dir["#{libexec}/bin/*"].each do |b|
      n = Pathname.new(b).basename
      (bin+n).write shim_script(n)
    end
  end
end
{'fraction_non_alphanumeric': 0.15625, 'fraction_numerical': 0.05320945945945946, 'mean_word_length': 3.1578947368421053, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '6944744', 'n_tokens_mistral': 503, 'n_tokens_neox': 468, 'n_words': 70}