defmodule CowboyElixirExample.Mixfile do
  use Mix.Project

  def project do
    [app: :cowboy_elixir_example,
     version: "0.0.1",
     elixir: "~> 1.2.0",
     deps: deps]
  end

  # Configuration for the OTP application
  #
  # Type `mix help compile.app` for more information
  def application do
    [
      mod: { CowboyElixirExample, [] },
      applications: [:cowboy, :ranch]
    ]
  end

  # Dependencies can be Hex packages:
  #
  #   {:mydep, "~> 0.3.0"}
  #
  # Or git/path repositories:
  #
  #   {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
  #
  # Type `mix help deps` for more examples and options
  defp deps do
    [ { :cowboy, "1.0.0" },
      { :jsex, "~> 2.0.0" } ]
  end
end

defmodule CowboyElixirExample.Mixfile do
  use Mix.Project

  def project do
    [app: :cowboy_elixir_example,
     version: "0.0.2",
     elixir: "~> 1.2.0",
     deps: deps]
  end

  # Configuration for the OTP application
  #
  # Type `mix help compile.app` for more information
  def application do
    [
      mod: { CowboyElixirExample, [] },
      applications: [:cowboy, :ranch]
    ]
  end

  # Dependencies can be Hex packages:
  #
  #   {:mydep, "~> 0.3.0"}
  #
  # Or git/path repositories:
  #
  #   {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
  #
  # Type `mix help deps` for more examples and options
  defp deps do
    [ { :cowboy, "~> 1.0.0" },
      { :jsex, "~> 2.0.0" } ]
  end
end

Update dependencies to allow for newer version of Cowboy 1.0.x
Update dependencies to allow for newer version of Cowboy 1.0.x

IdahoEv/cowboy-elixir-example