<commit_before>require File.expand_path("../../emacs", __FILE__)

class Popup < Formula
  desc "Visual popup interface library for Emacs"
  homepage "https://github.com/auto-complete/popup-el"
  url "https://github.com/auto-complete/popup-el/archive/v0.5.2.tar.gz"
  sha256 "19714326dd5166def540c3f1c47a27e67ffdb3a94c91271c88a8500a15846c0b"
  head "https://github.com/auto-complete/popup-el.git"

  depends_on :emacs => "23"
  depends_on "cask"
  depends_on "dunn/emacs/cl-lib" if Emacs.version < 24

  def install
    # non-interactive test
    system "make", "travis-ci", "CASK=#{Formula["cask"].bin}/cask"

    (share/"emacs/site-lisp/popup").install "popup.el"
    doc.install "README.md"
  end
end
<commit_msg>popup: compile<commit_after>require File.expand_path("../../emacs", __FILE__)

class Popup < Formula
  desc "Visual popup interface library for Emacs"
  homepage "https://github.com/auto-complete/popup-el"
  url "https://github.com/auto-complete/popup-el/archive/v0.5.2.tar.gz"
  sha256 "19714326dd5166def540c3f1c47a27e67ffdb3a94c91271c88a8500a15846c0b"
  head "https://github.com/auto-complete/popup-el.git"

  depends_on :emacs => "23"
  depends_on "cask"
  depends_on "dunn/emacs/cl-lib" if Emacs.version < 24

  def install
    # non-interactive test
    system "make", "travis-ci", "CASK=#{Formula["cask"].bin}/cask"

    Emacs.compile "popup.el"
    (share/"emacs/site-lisp/popup").install "popup.el", "popup.elc"
    doc.install "README.md"
  end
end

{'fraction_non_alphanumeric': 0.15274949083503056, 'fraction_numerical': 0.07196198234894773, 'mean_word_length': 4.0479452054794525, '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': '7413047', 'n_tokens_mistral': 634, 'n_tokens_neox': 579, 'n_words': 94}