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 d65ac93
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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
2 changes: 1 addition & 1 deletion 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

0 comments on commit d65ac93

Please sign in to comment.