<commit_before>class Geany < Formula
  desc "A basic text editor with IDE support"
  homepage "http://geany.org/"
  url "http://download.geany.org/geany-1.24.1.tar.gz"
  sha256 "8aa5dbf94b5252fce2ba504b47addb047a076fe44f11a08be45dc59e7ac318ba"
  revision 1

  bottle do
    sha256 "f58bd5addace94aae2046a41dbdaae7c26d0cdc4766eb27f53adbf708b3e3858" => :yosemite
    sha256 "6b42d99318763e96e97cc368802994f13c2ba6eb2ddf2553d67d8ce42136cdee" => :mavericks
    sha256 "1c06e1f0f6930e3c2aa4d9a9ec30e209b42750452bd8706462e8ad7193cda71e" => :mountain_lion
  end

  depends_on "pkg-config" => :build
  depends_on "intltool" => :build
  depends_on "gettext"
  depends_on "gtk+"

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
  end

  test do
    # main executable test (GUI)
    system "#{bin}/geany", "--version"
    # API test
    (testpath/"test.c").write <<-EOS.undent
      #include <geanyplugin.h>
      PLUGIN_SET_INFO("HelloWorld", "Just another tool to say hello world", "1.0", "<NAME> <<EMAIL>>");
      int main(int argc, char *argv[]) {
        return 0;
      }
    EOS<commit_msg>geany: update 1.24.1_1 bottle.<commit_after>class Geany < Formula
  desc "A basic text editor with IDE support"
  homepage "http://geany.org/"
  url "http://download.geany.org/geany-1.24.1.tar.gz"
  sha256 "8aa5dbf94b5252fce2ba504b47addb047a076fe44f11a08be45dc59e7ac318ba"
  revision 1

  bottle do
    sha256 "eae5d8d94e04571232f87cb22a0d6e8c7d4aacbe0284b7127e36b4e8c4fc434e" => :el_capitan
    sha256 "ea08a27a408d1cbc1389c9b4010ecd48faf7cfb944850c709bf736012398b640" => :yosemite
    sha256 "7450b524185d6e9beb237e8c73af6b47299ebbd70f4fb048957076d3042db51e" => :mavericks
  end

  depends_on "pkg-config" => :build
  depends_on "intltool" => :build
  depends_on "gettext"
  depends_on "gtk+"

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
  end

  test do
    # main executable test (GUI)
    system "#{bin}/geany", "--version"
    # API test
    (testpath/"test.c").write <<-EOS.undent
      #include <geanyplugin.h>
      PLUGIN_SET_INFO("HelloWorld", "Just another tool to say hello world", "1.0", "<NAME> <<EMAIL>>");
      int main(int argc, char *argv[]) {
        return 0;
      }
    EOS
{'fraction_non_alphanumeric': 0.1226944667201283, 'fraction_numerical': 0.13873295910184444, 'mean_word_length': 3.2795883361921097, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4976569', 'n_tokens_mistral': 1160, 'n_tokens_neox': 984, 'n_words': 174}