<commit_before>require 'brewkit'

class BashCompletion <Formula
  @url='http://bash-completion.alioth.debian.org/files/bash-completion-1.0.tar.gz'
  @homepage='http://bash-completion.alioth.debian.org/'
  @md5='cd1c5648272917fbe0eef4ba30bb93f4'
  @head='git://git.debian.org/git/bash-completion/bash-completion.git'

  def install
    system "./configure", "--prefix=#{prefix}"
    system "make install"
    inreplace etc+'bash_completion', 'etc/bash_completion', "#{etc}/bash_completion"
  end

  def caveats
    puts <<-EOS
==============================================================
Add the following lines to your ~/.bash_profile file:
if [ -f `brew --prefix`/etc/bash_completion ]; then
  . `brew --prefix`/etc/bash_completion
fi
==============================================================
    EOS
  end
end
<commit_msg>Update bash-completion to version 1.1<commit_after>require 'brewkit'

class BashCompletion <Formula
  @url='http://bash-completion.alioth.debian.org/files/bash-completion-1.1.tar.bz2'
  @homepage='http://bash-completion.alioth.debian.org/'
  @md5='1b5ed247ed904d0a2ec6a6d2c5876c52'
  @head='git://git.debian.org/git/bash-completion/bash-completion.git'

  def install
    inreplace "./bash_completion", '/etc/bash_completion',
              "#{etc}/bash_completion"
    system "./configure", "--prefix=#{prefix}"
    system "make install"
  end

  def caveats
    puts <<-EOS
==============================================================
Add the following lines to your ~/.bash_profile file:
if [ -f `brew --prefix`/etc/bash_completion ]; then
  . `brew --prefix`/etc/bash_completion
fi
==============================================================
    EOS
  end
end

{'fraction_non_alphanumeric': 0.2752941176470588, 'fraction_numerical': 0.027058823529411764, 'mean_word_length': 4.595394736842105, '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': '4502738', 'n_tokens_mistral': 599, 'n_tokens_neox': 519, 'n_words': 94}