Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

Commit

Permalink
Update Plug
Browse files Browse the repository at this point in the history
  • Loading branch information
rstacruz committed Jul 16, 2016
1 parent 50ad20b commit d288333
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion plug/benchmarker/lib/benchmarker.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ defmodule Benchmarker do
use Plug.Router

plug :match
plug :fetch_params
plug :dispatch

get "/:title" do
Expand Down
4 changes: 2 additions & 2 deletions plug/benchmarker/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Benchmarker.Mixfile do
def project do
[app: :benchmarker,
version: "0.0.1",
elixir: "~> 1.0-dev",
elixir: "~> 1.2",
deps: deps,
aliases: [server: ["app.start", &server/1]]]
end
Expand All @@ -27,7 +27,7 @@ defmodule Benchmarker.Mixfile do
# Type `mix help deps` for more examples and options
defp deps do
[{:cowboy, "~> 1.0"},
{:plug, "~> 0.9"}]
{:plug, "~> 1.2-rc"}]
end

defp server(_) do
Expand Down
9 changes: 5 additions & 4 deletions plug/benchmarker/mix.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
%{"cowboy": {:hex, :cowboy, "1.0.0"},
"cowlib": {:hex, :cowlib, "1.0.1"},
"plug": {:hex, :plug, "0.10.0"},
"ranch": {:hex, :ranch, "1.0.0"}}
%{"cowboy": {:hex, :cowboy, "1.0.4", "a324a8df9f2316c833a470d918aaf73ae894278b8aa6226ce7a9bf699388f878", [:rebar, :make], [{:cowlib, "~> 1.0.0", [hex: :cowlib, optional: false]}, {:ranch, "~> 1.0", [hex: :ranch, optional: false]}]},
"cowlib": {:hex, :cowlib, "1.0.2", "9d769a1d062c9c3ac753096f868ca121e2730b9a377de23dec0f7e08b1df84ee", [:make], []},
"mime": {:hex, :mime, "1.0.0", "b63027733bba00b1013bad14e25dc8b6629ecb817731544a88a0fd14f2a55685", [:mix], []},
"plug": {:hex, :plug, "1.2.0-rc.0", "08a3c6597103b7aa72f112a8d80eae7dea961bd082632e34778aee07800f70e8", [:mix], [{:cowboy, "~> 1.0", [hex: :cowboy, optional: true]}, {:mime, "~> 1.0", [hex: :mime, optional: false]}]},
"ranch": {:hex, :ranch, "1.2.1", "a6fb992c10f2187b46ffd17ce398ddf8a54f691b81768f9ef5f461ea7e28c762", [:make], []}}

0 comments on commit d288333

Please sign in to comment.