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

  def project do
    [
      app: :ex_json_logger,
      version: "0.1.0",
      elixir: "~> 1.4",
      build_embedded: Mix.env == :prod,
      start_permanent: Mix.env == :prod,
      package: package(),
      aliases: aliases(),
      deps: deps(),
      test_coverage: [
        tool: ExCoveralls
      ],
      preferred_cli_env: [
        coveralls: :test
      ],
      dialyzer: [
        plt_add_deps: :transitive,
        ignore_warnings: ".dialyzerignore"
      ],

      # Docs
      name: "ex_json_logger",
      source_url: "https://github.com/rentpath/ex_json_logger",
      docs: [
       # main: "MyApp", # The main page in the docs
       # logo: "path/to/logo.png",
        extras: ["README.md"]
      ]
    ]

  end

  # Configuration for the OTP application
  #
  # Type "mix help compile.app" for more information
  def application do
    # Specify extra applications you'll use from Erlang/Elixir
    [extra_applications: [:logger]]
  end

  # Dependencies can be Hex packages:
  #
  #   {:my_dep, "~> 0.3.0"}
  #
  # Or git/path repositories:
  #
  #   {:my_dep, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
  #
  # Type "mix help deps" for more examples and options
  defp deps do
    [
      {:ex_doc, "~> 0.14", only: [:dev], runtime: false},
      {:ecto, "~> 2.1", only: [:dev], optional: true},
      {:excoveralls, "~> 0.6.1", only: [:test]},
      {:credo, "~> 0.6.0", only: [:dev, :test]},
      {:dialyxir, "~>0.5", only: [:dev], runtime: false},
      {:plug, "~> 1.0"},
      {:poison, ">= 1.4.0"}
    ]
  end

  defp package do
    [
      name: :ex_json_logger,
      files: ["lib", "priv", "mix.exs", "README*", "LICENSE*"],
      maintainers: ["<EMAIL>", "<NAME> <<EMAIL>>"],
      links: %{"GitHub" => "https://github.com/rentpath/ex_json_logger"},
      licenses: ["The MIT License"]
    ]
  end
<commit_msg>update for hex publish<commit_after>defmodule ExJsonLogger.Mixfile do
  use Mix.Project

  def project do
    [
      app: :ex_json_logger,
      version: "0.1.0",
      elixir: "~> 1.4",
      build_embedded: Mix.env == :prod,
      start_permanent: Mix.env == :prod,
      package: package(),
      aliases: aliases(),
      deps: deps(),
      description: description(),
      test_coverage: [
        tool: ExCoveralls
      ],
      preferred_cli_env: [
        coveralls: :test
      ],
      dialyzer: [
        plt_add_deps: :transitive,
        ignore_warnings: ".dialyzerignore"
      ],

      # Docs
      name: "ex_json_logger",
      source_url: "https://github.com/rentpath/ex_json_logger",
      docs: [
       # main: "MyApp", # The main page in the docs
       # logo: "path/to/logo.png",
        extras: ["README.md"]
      ]
    ]

  end

  # Configuration for the OTP application
  #
  # Type "mix help compile.app" for more information
  def application do
    # Specify extra applications you'll use from Erlang/Elixir
    [extra_applications: [:logger]]
  end

  defp deps do
    [
      {:ex_doc, "~> 0.14", only: [:dev], runtime: false},
      {:ecto, "~> 2.1", only: [:dev], optional: true},
      {:excoveralls, "~> 0.6.1", only: [:test]},
      {:credo, "~> 0.6.0", only: [:dev, :test]},
      {:dialyxir, "~>0.5", only: [:dev], runtime: false},
      {:plug, "~> 1.0"},
      {:poison, ">= 1.4.0"}
    ]
  end

  defp description do
    """
    JSON formatter for Loggers console backend, Plug and Ecto formatters included.
    """
  end

  defp package do
    [
      name: :ex_json_logger,
      files: ["lib", "mix.exs", "README*", "LICENSE*"],
      maintainers: ["<EMAIL>", "<NAME> <<EMAIL>>"],
      links: %{"GitHub" => "https://github.com/rentpath/ex_json_logger"},
      licenses: ["The MIT License"]
    ]
  end

{'fraction_non_alphanumeric': 0.16939313984168866, 'fraction_numerical': 0.013720316622691292, 'mean_word_length': 2.354867256637168, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 30, 'https://': 5, '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': '990912', 'n_tokens_mistral': 1436, 'n_tokens_neox': 1369, 'n_words': 321}