<commit_before>require 'formula'

class GitExtras < Formula
  homepage 'https://github.com/visionmedia/git-extras'
  url 'https://github.com/visionmedia/git-extras/tarball/1.5.0'
  sha1 '60e0ad00b046d76b3c111d9cc3d02aa4191e450a'

  head 'https://github.com/visionmedia/git-extras.git', :branch => 'master'

  def install
    system "make", "PREFIX=#{prefix}", "install"
  end
end
<commit_msg>git-extras 1.7.0 (includes bash completions)<commit_after>require 'formula'

class GitExtras < Formula
  homepage 'https://github.com/visionmedia/git-extras'
  url 'https://github.com/visionmedia/git-extras/tarball/1.7.0'
  sha1 '939a9a736b5ecd3dae98eb16104f4e109bdf2f70'

  head 'https://github.com/visionmedia/git-extras.git', :branch => 'master'

  # Don't take +x off these files
  skip_clean 'bin'

  def install
    inreplace 'Makefile', %r|\$\(DESTDIR\)(?=/etc/bash_completion\.d)|, '$(DESTDIR)$(PREFIX)'
    system "make", "PREFIX=#{prefix}", "install"
  end

  def caveats; <<-EOS.undent
    Bash completion has been installed to:
      #{etc}/bash_completion.d
    EOS
  end
end

{'fraction_non_alphanumeric': 0.15356151711378355, 'fraction_numerical': 0.0545790934320074, 'mean_word_length': 4.252427184466019, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 6, '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': '5422664', 'n_tokens_mistral': 448, 'n_tokens_neox': 409, 'n_words': 74}