Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrián Quintás committed Mar 29, 2018
1 parent 49f534d commit e93fc99
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions lib/health_plug.ex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ defmodule MetadataPlugs.Health do
@type opts :: [path: String.t()]

@impl true
@spec init(keyword()) :: keyword()
@spec init(Plug.opts()) :: Plug.opts()
def init(opts) do
default_opts = [
path: @path
Expand All @@ -27,7 +27,7 @@ defmodule MetadataPlugs.Health do
Resolves a info request
"""
@impl true
@spec call(Plug.Conn.t(), keyword) :: Plug.Conn.t()
@spec call(Plug.Conn.t(), Plug.opts()) :: Plug.Conn.t()
def call(conn, opts) do
if conn.request_path == opts[:path] and conn.method == "GET" do
send_health(conn)
Expand Down
4 changes: 2 additions & 2 deletions lib/info_plug.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ defmodule MetadataPlugs.Info do
]

@impl true
@spec init(keyword()) :: keyword()
@spec init(Plug.opts()) :: Plug.opts()
def init(opts) do
default_opts = [
path: @path,
Expand All @@ -33,7 +33,7 @@ defmodule MetadataPlugs.Info do
Resolves a health request
"""
@impl true
@spec call(Plug.Conn.t(), map) :: Plug.Conn.t()
@spec call(Plug.Conn.t(), Plug.opts()) :: Plug.Conn.t()
def call(conn, opts) do
if conn.request_path == opts[:path] and conn.method == "GET" do
send_info(conn, opts[:env_vars])
Expand Down
4 changes: 2 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule MetadataPlug.MixProject do
def project do
[
app: :metadata_plugs,
version: "0.2.2",
version: "0.2.3",
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps(),
Expand Down Expand Up @@ -46,7 +46,7 @@ defmodule MetadataPlug.MixProject do
[
{:ex_doc, "~> 0.16", only: :dev, runtime: false},
{:cowboy, "~> 1.1"},
{:plug, "~> 1.0"},
{:plug, "~> 1.5"},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false},
{:excoveralls, "~> 0.8", only: :test},
{:poison, "~> 3.1"}
Expand Down
2 changes: 1 addition & 1 deletion mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"metrics": {:hex, :metrics, "1.0.1", "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486", [:rebar3], [], "hexpm"},
"mime": {:hex, :mime, "1.2.0", "78adaa84832b3680de06f88f0997e3ead3b451a440d183d688085be2d709b534", [:mix], [], "hexpm"},
"mimerl": {:hex, :mimerl, "1.0.2", "993f9b0e084083405ed8252b99460c4f0563e41729ab42d9074fd5e52439be88", [:rebar3], [], "hexpm"},
"plug": {:hex, :plug, "1.4.5", "7b13869283fff6b8b21b84b8735326cc012c5eef8607095dc6ee24bd0a273d8e", [:mix], [{:cowboy, "~> 1.0.1 or ~> 1.1", [hex: :cowboy, repo: "hexpm", optional: true]}, {:mime, "~> 1.0", [hex: :mime, repo: "hexpm", optional: false]}], "hexpm"},
"plug": {:hex, :plug, "1.5.0", "224b25b4039bedc1eac149fb52ed456770b9678bbf0349cdd810460e1e09195b", [:mix], [{:cowboy, "~> 1.0.1 or ~> 1.1 or ~> 2.1", [hex: :cowboy, repo: "hexpm", optional: true]}, {:mime, "~> 1.0", [hex: :mime, repo: "hexpm", optional: false]}], "hexpm"},
"poison": {:hex, :poison, "3.1.0", "d9eb636610e096f86f25d9a46f35a9facac35609a7591b3be3326e99a0484665", [:mix], [], "hexpm"},
"ranch": {:hex, :ranch, "1.3.2", "e4965a144dc9fbe70e5c077c65e73c57165416a901bd02ea899cfd95aa890986", [:rebar3], [], "hexpm"},
"ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.1", "28a4d65b7f59893bc2c7de786dec1e1555bd742d336043fe644ae956c3497fbe", [:make, :rebar], [], "hexpm"},
Expand Down

0 comments on commit e93fc99

Please sign in to comment.