changed
CHANGELOG.md
|
@@ -2,6 2,12 @@
|
2
2
|
|
3
3
|
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
4
4
|
|
5
|
## v0.1.4 (2023-02-23)
|
6
|
|
7
|
### Fixes
|
8
|
|
9
|
* Fix a bug that could cause `auto_assert` expressions to revert to the previous value when using `Mneme.start(restart: true)` ([#7](https://github.com/zachallaun/mneme/issues/7)).
|
10
|
|
5
11
|
## v0.1.3 (2023-02-22)
|
6
12
|
|
7
13
|
### Enhancements
|
changed
hex_metadata.config
|
@@ -37,4 37,4 @@
|
37
37
|
{<<"optional">>,false},
|
38
38
|
{<<"repository">>,<<"hexpm">>},
|
39
39
|
{<<"requirement">>,<<"~> 0.6.0">>}]]}.
|
40
|
- {<<"version">>,<<"0.1.3">>}.
|
40
|
{<<"version">>,<<"0.1.4">>}.
|
changed
lib/mneme.ex
|
@@ -7,6 7,13 @@ defmodule Mneme do
|
7
7
|
|
8
8
|
/ni:mi:/ - Snapshot testing integrated into ExUnit.
|
9
9
|
|
10
|
> #### Early days {: .info}
|
11
|
>
|
12
|
> Mneme is in its infancy and has an intentionally minimal API
|
13
|
> consisting largely of a single macro. Please feel free to submit
|
14
|
> any feedback, bugs, or suggestions as [issues on Github](https://github.com/zachallaun/mneme).
|
15
|
> Thanks!
|
16
|
|
10
17
|
Snapshot tests assert that some expression matches a reference value.
|
11
18
|
It's like an ExUnit `assert`, except that the reference value is
|
12
19
|
managed for you by Mneme.
|
|
@@ -274,7 281,8 @@ defmodule Mneme do
|
274
281
|
)
|
275
282
|
|
276
283
|
if opts[:restart] && Process.whereis(Mneme.Supervisor) do
|
277
|
- Supervisor.restart_child(Mneme.Supervisor, Mneme.Server)
|
284
|
_ = Supervisor.terminate_child(Mneme.Supervisor, Mneme.Server)
|
285
|
{:ok, _pid} = Supervisor.restart_child(Mneme.Supervisor, Mneme.Server)
|
278
286
|
else
|
279
287
|
opts = [
|
280
288
|
name: Mneme.Supervisor,
|
changed
mix.exs
|
@@ -4,7 4,7 @@ defmodule Mneme.MixProject do
|
4
4
|
@app :mneme
|
5
5
|
@source_url "https://github.com/zachallaun/mneme"
|
6
6
|
|
7
|
- def version, do: "0.1.3"
|
7
|
def version, do: "0.1.4"
|
8
8
|
|
9
9
|
def project do
|
10
10
|
[
|
|
@@ -46,7 46,7 @@ defmodule Mneme.MixProject do
|
46
46
|
{:excoveralls, "~> 0.15", only: :test},
|
47
47
|
{:ecto, "~> 3.9.4", only: :test},
|
48
48
|
{:dialyxir, "~> 1.2", only: [:dev, :test], runtime: false},
|
49
|
- {:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
|
49
|
{:ex_doc, github: "elixir-lang/ex_doc", only: :dev, runtime: false},
|
50
50
|
{:makeup_json, ">= 0.0.0", only: :dev, runtime: false}
|
51
51
|
]
|
52
52
|
end
|
unknown
priv/mneme_0.1.0.gif
CANNOT RENDER FILES LARGER THAN 1MB
unknown
priv/plts/dialyzer.plt
CANNOT RENDER FILES LARGER THAN 1MB
changed
priv/plts/dialyzer.plt.hash
|
@@ -1 1 @@
|
1
|
- ��S[�.�qK'�a=�л
|
|
\ No newline at end of file
|
1
|
^0V|��bDyt&uhGG��
|
|
\ No newline at end of file
|