Skip to content

Commit 1d2010d

Browse files
committed
wording + bump version to 0.5
1 parent cf56f5e commit 1d2010d

2 files changed

Lines changed: 21 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
![Hex downloads](https://img.shields.io/hexpm/dt/atomic_map.svg "Hex downloads")
66

77

8-
A small helper to convert deep Elixir maps with mixed string/atom keys to atom-only keyed maps. Optionally with a safe option, to prevent [atom space exhaustion of the Erlang VM](https://erlangcentral.org/wiki/index.php?title=String_Conversion_To_Atom).
8+
A small utility to convert deep Elixir maps with mixed string/atom keys to atom-only keyed maps. Optionally with a safe option, to prevent [atom space exhaustion of the Erlang VM](https://erlangcentral.org/wiki/index.php?title=String_Conversion_To_Atom).
99

1010
## Usage
1111

mix.exs

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
defmodule AtomicMap.Mixfile do
22
use Mix.Project
33

4+
@version = "0.5.0"
45
def project do
56
[app: :atomic_map,
6-
version: "0.0.1",
7+
version: version,
78
elixir: "~> 1.2",
89
build_embedded: Mix.env == :prod,
910
start_permanent: Mix.env == :prod,
11+
package: package,
12+
docs: [extras: ["README.md"]],
1013
deps: deps]
1114
end
1215

@@ -27,6 +30,21 @@ defmodule AtomicMap.Mixfile do
2730
#
2831
# Type "mix help deps" for more examples and options
2932
defp deps do
30-
[]
33+
[
34+
{:earmark, "~> 0.2", only: :dev},
35+
{:ex_doc, "~> 0.11", only: :dev}
36+
]
37+
end
38+
39+
defp package do
40+
[
41+
maintainers: ["Roman Heinrich"],
42+
licenses: ["MIT License"],
43+
description: "A small utility to convert deep Elixir maps with mixed string/atom keys to atom-only keyed maps",
44+
links: %{
45+
github: "https://github.com/ruby2elixir/atomic_map",
46+
docs: "http://hexdocs.pm/atomic_map/#{@version}/"
47+
}
48+
]
3149
end
3250
end

0 commit comments

Comments
 (0)