<commit_before>defmodule Romeo.Mixfile do
  use Mix.Project

  @version "0.7.0"

  def project do
    [app: :romeo,
     name: "Romeo",
     version: @version,
     elixir: "~> 1.1",
     build_embedded: Mix.env == :prod,
     start_permanent: Mix.env == :prod,
     description: description(),
     deps: deps(),
     docs: docs(),
     package: package(),
     test_coverage: [tool: ExCoveralls]]
  end

  def application do
    [applications: [:logger, :connection, :fast_xml],
     mod: {Romeo, []}]
  end

  defp description do
    "An XMPP Client for Elixir"
  end

  defp deps do
    [{:connection, "~> 1.0"},
     {:fast_xml, "~> 1.1"},

     # Docs deps
     {:ex_doc, "~> 0.18", only: :dev},

     # Test deps
     {:ejabberd, "~> 18.1", only: :test},
     {:excoveralls, "~> 0.8", only: :test}]
  end

  defp docs do
    [extras: docs_extras(),
     main: "readme"]
  end

  defp docs_extras do
    ["README.md"]
  end

  defp package do<commit_msg>fix travis<commit_after>defmodule Romeo.Mixfile do
  use Mix.Project

  @version "0.7.0"

  def project do
    [app: :romeo,
     name: "Romeo",
     version: @version,
     elixir: "~> 1.1",
     build_embedded: Mix.env == :prod,
     start_permanent: Mix.env == :prod,
     description: description(),
     deps: deps(),
     docs: docs(),
     package: package(),
     test_coverage: [tool: ExCoveralls]]
  end

  def application do
    [applications: [:logger, :connection, :fast_xml],
     mod: {Romeo, []}]
  end

  defp description do
    "An XMPP Client for Elixir"
  end

  defp deps do
    [{:connection, "~> 1.0"},
     {:fast_xml, "~> 1.1"},

     # Docs deps
     {:ex_doc, "~> 0.18", only: :dev},

     # Test deps
     {:ejabberd, github: "scrogson/ejabberd", branch: "fix_mix_compile", only: :test},
     {:excoveralls, "~> 0.8", only: :test}]
  end

  defp docs do
    [extras: docs_extras(),
     main: "readme"]
  end

  defp docs_extras do
    ["README.md"]
  end

  defp package do
{'fraction_non_alphanumeric': 0.16055045871559634, 'fraction_numerical': 0.01580020387359837, 'mean_word_length': 2.582116788321168, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '3758387', 'n_tokens_mistral': 810, 'n_tokens_neox': 749, 'n_words': 193}