<commit_before>class LibjsonRpcCpp < Formula
  desc "C++ framework for json-rpc"
  homepage "https://github.com/cinemast/libjson-rpc-cpp"
  url "https://github.com/cinemast/libjson-rpc-cpp/archive/v0.6.0.tar.gz"
  sha256 "98baf15e51514339be54c01296f0a51820d2d4f17f8c9d586f1747be1df3290b"
  head "https://github.com/cinemast/libjson-rpc-cpp.git"
  revision 1

  bottle do
    cellar :any
    sha256 "f27340f082f29eb626411d0d17f1a5436abbe1eb01e3243b4a8923893e68d3a1" => :el_capitan
    sha256 "ab5deb325fcf3edfcc03c2b4b7d22803c63c4722af4162c3076c58850629879b" => :yosemite
    sha256 "a5963cbefa7a381a8da48f16a3d86f3beb522a019a3db55b3919f789a7bc0121" => :mavericks
  end

  depends_on "cmake" => :build
  depends_on "argtable"
  depends_on "jsoncpp"
  depends_on "libmicrohttpd"

  def install
    # https://github.com/cinemast/libjson-rpc-cpp/issues/153
    ENV.deparallelize

    system "cmake", ".", *std_cmake_args
    system "make"
    system "make", "install"
  end

  test do
    system "#{bin}/jsonrpcstub", "-h"
  end
end<commit_msg>libjson-rpc-cpp 0.7.0 (devel)<commit_after>class LibjsonRpcCpp < Formula
  desc "C++ framework for json-rpc"
  homepage "https://github.com/cinemast/libjson-rpc-cpp"
  revision 1

  head "https://github.com/cinemast/libjson-rpc-cpp.git"

  stable do
    url "https://github.com/cinemast/libjson-rpc-cpp/archive/v0.6.0.tar.gz"
    sha256 "98baf15e51514339be54c01296f0a51820d2d4f17f8c9d586f1747be1df3290b"

    # upstream commit: "fix parallel build, wait for catch to be downloaded"
    patch do
      url "https://github.com/cinemast/libjson-rpc-cpp/commit/e9cb9dde.patch"
      sha256 "6ea275607540fbae7a1423d9e74b983f81bc85e114822d7dc36c6d56aa69aeb8"
    end
  end

  bottle do
    cellar :any
    sha256 "f27340f082f29eb626411d0d17f1a5436abbe1eb01e3243b4a8923893e68d3a1" => :el_capitan
    sha256 "ab5deb325fcf3edfcc03c2b4b7d22803c63c4722af4162c3076c58850629879b" => :yosemite
    sha256 "a5963cbefa7a381a8da48f16a3d86f3beb522a019a3db55b3919f789a7bc0121" => :mavericks
  end

  devel do
    url "https://github.com/cinemast/libjson-rpc-cpp/archive/v0.7.0.tar.gz"
    sha256 "669c2259909f11a8c196923a910f9a16a8225ecc14e6c30e2bcb712bab9097eb"
  end

  depends_on "cmake" => :build
  depends_on "argtable"
  depends_on "jsoncpp"
  depends_on "libmicrohttpd"

  def install
    system "cmake", ".", *std_cmake_args
    system "make"
    system "make", "install"
  end

  test do
    system "#{bin}/jsonrpcstub", "-h"
  end
end
{'fraction_non_alphanumeric': 0.10385395537525355, 'fraction_numerical': 0.18620689655172415, 'mean_word_length': 4.3960612691466086, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 9, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6243071', 'n_tokens_mistral': 1330, 'n_tokens_neox': 1104, 'n_words': 149}