<commit_before>class IgnitionMsgs3 < Formula
  desc "Middleware protobuf messages for robotics"
  homepage "https://bitbucket.org/ignitionrobotics/ign-msgs"
  url "https://bitbucket.org/ignitionrobotics/ign-msgs/get/c711bd9a656ecd85d199f4b7fe861b555408559f.tar.gz"
  version "2.999.999~20180618~c711bd9"
  sha256 "63d12f84881b30dc0d7e60ec6217a73234ad5feee5540681ed192a81161b284b"

  bottle do
    root_url "http://gazebosim.org/distributions/ign-msgs/releases"
    sha256 "a6ccd6c9f2ee20c10085be2d32bad0e14a9a9dbfd10ea4a35ee76e3ee50cbe99" => :high_sierra
  end

  depends_on "protobuf-c" => :build

  depends_on "cmake"
  depends_on "ignition-cmake2"
  depends_on "ignition-math6"
  depends_on "ignition-tools"
  depends_on "pkg-config"
  depends_on "protobuf"

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

  test do
    (testpath/"test.cpp").write <<-EOS
      #include <ignition/msgs.hh>
      int main() {
        ignition::msgs::UInt32;
        return 0;
      }
    EOS<commit_msg>bump msgs3 revision for protobuf3 (#436)<commit_after>class IgnitionMsgs3 < Formula
  desc "Middleware protobuf messages for robotics"
  homepage "https://bitbucket.org/ignitionrobotics/ign-msgs"
  url "https://bitbucket.org/ignitionrobotics/ign-msgs/get/c711bd9a656ecd85d199f4b7fe861b555408559f.tar.gz"
  version "2.999.999~20180618~c711bd9"
  sha256 "63d12f84881b30dc0d7e60ec6217a73234ad5feee5540681ed192a81161b284b"
  revision 1

  bottle do
    root_url "http://gazebosim.org/distributions/ign-msgs/releases"
    sha256 "7aa6a6e33975f85a07b9c203cdc28514e48c993ee9b5d30c3614bf667bff983e" => :high_sierra
  end

  depends_on "protobuf-c" => :build

  depends_on "cmake"
  depends_on "ignition-cmake2"
  depends_on "ignition-math6"
  depends_on "ignition-tools"
  depends_on "pkg-config"
  depends_on "protobuf"

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

  test do
    (testpath/"test.cpp").write <<-EOS
      #include <ignition/msgs.hh>
      int main() {
        ignition::msgs::UInt32;
        return 0;
      }
    EOS
{'fraction_non_alphanumeric': 0.10693916349809886, 'fraction_numerical': 0.13165399239543726, 'mean_word_length': 4.134146341463414, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, 'https://': 4, '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': '1729261', 'n_tokens_mistral': 1010, 'n_tokens_neox': 875, 'n_words': 128}