<commit_before>require "formula"

class MysqlConnectorOdbc < Formula
  desc "Standardized database driver"
  homepage "http://dev.mysql.com/doc/refman/5.1/en/connector-odbc.html"
  url "http://cdn.mysql.com/Downloads/Connector-ODBC/5.3/mysql-connector-odbc-5.3.2-src.tar.gz"
  sha1 "5507903fb14aadf6b7c14f7142eef2c9fff1250c"
  revision 1

  depends_on "cmake" => :build
  depends_on "mysql"
  depends_on "unixodbc"

  option :universal

  def install
    args = std_cmake_args
    args << "-DWITH_UNIXODBC=1"

    if build.universal?
      ENV.universal_binary
      args << "-DCMAKE_OSX_ARCHITECTURES=#{Hardware::CPU.universal_archs.as_cmake_arch_flags}"
    end

    system 'cmake', ".", *args
    system 'make install'
  end
end<commit_msg>mysql-connector-odbc 5.3.4<commit_after>class MysqlConnectorOdbc < Formula
  desc "Standardized database driver"
  homepage "http://dev.mysql.com/doc/refman/5.1/en/connector-odbc.html"
  url "http://cdn.mysql.com/Downloads/Connector-ODBC/5.3/mysql-connector-odbc-5.3.4-src.tar.gz"
  sha256 "a5f7a490f2958f2768d18b8a57f71909f9699a8619c82776b3ad1c02b8abce0d"

  depends_on "cmake" => :build
  depends_on "mysql"
  depends_on "unixodbc"
  depends_on "openssl"

  option :universal

  def install
    args = std_cmake_args
    args << "-DWITH_UNIXODBC=1"

    if build.universal?
      ENV.universal_binary
      args << "-DCMAKE_OSX_ARCHITECTURES=#{Hardware::CPU.universal_archs.as_cmake_arch_flags}"
    end

    system "cmake", ".", *args
    system "make", "install"
  end
end
{'fraction_non_alphanumeric': 0.1217906517445688, 'fraction_numerical': 0.05859117840684661, 'mean_word_length': 3.95114006514658, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 5, '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': '5913595', 'n_tokens_mistral': 653, 'n_tokens_neox': 603, 'n_words': 90}