Skip to content

Commit

Permalink
v2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ericentin committed May 12, 2018
1 parent 089ac55 commit beba6e8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## v2.0.2 (2018-05-11)

* Fix typespecs for start_link.
* Translator refactor means more logs are translated than before, as well as more accurately.
* The `child_spec/1` callback (for Elixir v1.6 child specs) is now generated automatically.

## v2.0.1 (2017-09-05)

Fix typespecs for OTP 20+.
Expand Down
6 changes: 5 additions & 1 deletion lib/gen_state_machine.ex
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,11 @@ defmodule GenStateMachine do
:undefined
end

@doc false
@doc """
Returns a specification to start this module under a supervisor.
See `Supervisor` in Elixir v1.6+.
"""
def child_spec(arg) do
default = %{id: __MODULE__, start: {__MODULE__, :start_link, [arg]}}

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ end
defmodule GenStateMachine.Mixfile do
use Mix.Project

@version "2.0.1"
@version "2.0.2"

def project do
[
Expand Down

0 comments on commit beba6e8

Please sign in to comment.