<commit_before>require 'formula'

class Activemq < Formula
  url 'http://www.apache.org/dyn/closer.cgi?path=activemq/apache-activemq/5.4.2/apache-activemq-5.4.2-bin.tar.gz'
  homepage 'http://activemq.apache.org/'
  md5 '804c1a4c01b80321a743648add1fdd06'

  skip_clean 'libexec/webapps/admin/WEB-INF/jsp'

  def startup_script name
    <<-EOS.undent
      #!/bin/bash
      exec #{libexec}/bin/#{name} $@
    EOS
  end

  def install
    rm_rf Dir['bin/linux-x86-*']

    prefix.install %w{ LICENSE NOTICE README.txt }
    libexec.install Dir['*']

    (bin+'activemq-admin').write startup_script('activemq-admin')
  end
end<commit_msg>update ActiveMQ to 5.5.0<commit_after>require 'formula'

class Activemq < Formula
  url 'http://www.apache.org/dyn/closer.cgi?path=activemq/apache-activemq/5.5.0/apache-activemq-5.5.0-bin.tar.gz'
  homepage 'http://activemq.apache.org/'
  md5 '81538848601793209099df5eef449d3c'

  skip_clean 'libexec/webapps/admin/WEB-INF/jsp'

  def startup_script name
    <<-EOS.undent
      #!/bin/bash
      exec #{libexec}/bin/#{name} $@
    EOS
  end

  def install
    rm_rf Dir['bin/linux-x86-*']

    prefix.install %w{ LICENSE NOTICE README.txt }
    libexec.install Dir['*']

    (bin+'activemq-admin').write startup_script('activemq-admin')
  end
end
{'fraction_non_alphanumeric': 0.15276695245518315, 'fraction_numerical': 0.05222135619641465, 'mean_word_length': 3.4275862068965517, 'pattern_counts': {'":': 0, '<': 9, '<?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': '1432828', 'n_tokens_mistral': 540, 'n_tokens_neox': 494, 'n_words': 76}