defmodule Redix.Mixfile do
  use Mix.Project

  @description """
  Superfast, pipelined, resilient Redis driver for Elixir.
  """

  @repo_url "https://github.com/whatyouhide/redix"

  @version "0.5.1"

  def project() do
    [app: :redix,
     version: @version,
     elixir: "~> 1.2",
     build_embedded: Mix.env == :prod,
     start_permanent: Mix.env == :prod,
     deps: deps(),

     # Hex
     package: package(),
     description: @description,

     # Docs
     name: "Redix",
     docs: [main: "Redix",
            source_ref: "v#{@version}",
            source_url: @repo_url,
            extras: ["README.md", "pages/Reconnections.md", "pages/Real-world usage.md"]]]
  end

  def application() do
    [applications: [:logger, :connection]]
  end

  defp package() do
    [maintainers: ["Andrea Leopardi", "Aleksei Magusev"],
     licenses: ["MIT"],
     links: %{"GitHub" => @repo_url}]
  end

  defp deps() do
    [{:connection, "~> 1.0"},
     {:dialyze, "~> 0.2", only: :dev},
     {:markdown, github: "devinus/markdown", only: :docs},
     {:ex_doc, ">= 0.0.0", only: :docs}]
  end
end

defmodule Redix.Mixfile do
  use Mix.Project

  @description "Superfast, pipelined, resilient Redis driver for Elixir."

  @repo_url "https://github.com/whatyouhide/redix"

  @version "0.5.1"

  def project() do
    [app: :redix,
     version: @version,
     elixir: "~> 1.2",
     build_embedded: Mix.env == :prod,
     start_permanent: Mix.env == :prod,
     deps: deps(),

     # Hex
     package: package(),
     description: @description,

     # Docs
     name: "Redix",
     docs: [main: "Redix",
            source_ref: "v#{@version}",
            source_url: @repo_url,
            extras: ["README.md", "pages/Reconnections.md", "pages/Real-world usage.md"]]]
  end

  def application() do
    [applications: [:logger, :connection]]
  end

  defp package() do
    [maintainers: ["Andrea Leopardi", "Aleksei Magusev"],
     licenses: ["MIT"],
     links: %{"GitHub" => @repo_url}]
  end

  defp deps() do
    [{:connection, "~> 1.0"},
     {:dialyze, "~> 0.2", only: :dev},
     {:markdown, github: "devinus/markdown", only: :docs},
     {:ex_doc, ">= 0.0.0", only: :docs}]
  end
end

Remove the trailing newline out of the Mix package description
Remove the trailing newline out of the Mix package description

This newline carries over the application description, which tends to look off
then.

whatyouhide/redix