Skip to content

Commit 0c0ed13

Browse files
committed
support plug 1.0
1 parent 077332b commit 0c0ed13

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

mix.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule PlugAuth.Mixfile do
44
def project do
55
[
66
app: :plug_auth,
7-
version: "0.1.1-dev",
7+
version: "0.1.1",
88
elixir: "~> 1.0",
99
deps: deps,
1010
package: package,
@@ -22,7 +22,7 @@ defmodule PlugAuth.Mixfile do
2222
defp deps do
2323
[
2424
{:cowboy, "~> 1.0.0"},
25-
{:plug, "~> 0.14"},
25+
{:plug, "~> 0.14 or ~> 1.0"},
2626
{:earmark, "~> 0.1", only: :docs},
2727
{:ex_doc, "~> 0.6", only: :docs},
2828
]

mix.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
%{"cowboy": {:hex, :cowboy, "1.0.2"},
22
"cowlib": {:hex, :cowlib, "1.0.1"},
33
"earmark": {:hex, :earmark, "0.1.17"},
4-
"ex_doc": {:hex, :ex_doc, "0.7.3"},
5-
"plug": {:hex, :plug, "0.14.0"},
4+
"ex_doc": {:hex, :ex_doc, "0.8.4"},
5+
"plug": {:hex, :plug, "1.0.0"},
66
"ranch": {:hex, :ranch, "1.1.0"}}

plugauth.iml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module type="ELIXIR_MODULE" version="4">
3+
<component name="NewModuleRootManager" inherit-compiler-output="false">
4+
<output url="file://$MODULE_DIR$/_build/dev/lib/plugauth/ebin" />
5+
<output-test url="file://$MODULE_DIR$/_build/test/lib/plugauth/ebin" />
6+
<exclude-output />
7+
<content url="file://$MODULE_DIR$">
8+
<sourceFolder url="file://$MODULE_DIR$/lib" isTestSource="false" />
9+
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
10+
</content>
11+
<orderEntry type="inheritedJdk" />
12+
<orderEntry type="sourceFolder" forTests="false" />
13+
</component>
14+
</module>

0 commit comments

Comments
 (0)