aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlthms <contact@thomasletan.fr>2018-01-13 20:35:46 +0000
committerThomas Letan <contact@thomasletan.fr>2018-01-24 08:11:29 +0100
commitf912c56ed6b67da72b2b654eb2effadb885e86cd (patch)
tree9adbad56ad397c13fd83995d10bd0d8860ec993a
parentrelease: lkn_core 0.4.0 (diff)
release: lkn_core 0.4.1
-rw-r--r--lib/lkn/core/system.ex6
-rw-r--r--mix.exs2
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/lkn/core/system.ex b/lib/lkn/core/system.ex
index a15ab3e..50d3fc1 100644
--- a/lib/lkn/core/system.ex
+++ b/lib/lkn/core/system.ex
@@ -200,7 +200,7 @@ defmodule Lkn.Core.System do
instance. With the `map_key`, you can request through the Map
Component some information about the map.
"""
- @callback init_state(instance_key :: Instance.k, map_key :: Map.k, opts :: Keyword.t) :: state
+ @callback init_state(instance_key :: Instance.k, map_key :: Map.k) :: state
@doc """
A hook function which is called when a “compatible” puppet enters the Instance.
@@ -210,7 +210,9 @@ defmodule Lkn.Core.System do
instance_key :: Instance.k,
map_key :: Map.k,
puppets :: System.puppets,
- puppet_key :: Puppet.k) :: term
+ puppet_key :: Puppet.k,
+ opts :: Keyword.t
+ ) :: term
@doc """
A hook function which is called when a “compatible” puppet leaves the Instance.
diff --git a/mix.exs b/mix.exs
index d6d813a..3d9d919 100644
--- a/mix.exs
+++ b/mix.exs
@@ -5,7 +5,7 @@ defmodule Lkn.Mixfile do
[
app: :lkn_core,
name: "lkn-core",
- version: "0.4.0",
+ version: "0.4.1",
elixir: "~> 1.5",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,