Skip to content

Commit f44d65d

Browse files
committed
Update examples and bump up version
1 parent 503cb5f commit f44d65d

2 files changed

Lines changed: 15 additions & 15 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ Usage
1919

2020
Include it into `rebar.config` for rebar3:
2121
```erlang
22-
{simple_cache, "1.1"}
22+
{simple_cache, "1.1.2"}
2323
```
2424
Include it into `rebar.config`:
2525
```erlang
2626
{simple_cache, "",
27-
{git, "git@github.com:tgrk/simple_cache.git", {tag, "1.1"}}}
27+
{git, "git@github.com:tgrk/simple_cache.git", {tag, "1.1.2"}}}
2828
```
2929

3030
Start OTP application:
3131
```erlang
32-
ok = application:start(simple_cache).
32+
_ = application:ensure_all_started(simple_cache).
3333
```
3434

3535
Insert/update value (optional expiration in ms):

src/simple_cache.app.src

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{application, simple_cache,
2-
[{description, "Simple memory cache with expiration."},
3-
{vsn, "1.1.2"},
4-
{registered, []},
5-
{applications, [kernel,
6-
stdlib
7-
]},
8-
{mod,{simple_cache_app, []}},
9-
{env,[]},
10-
{maintainers,["Martin Wiso"]},
11-
{licenses,["MIT"]},
12-
{links,[{"Github", "https://github.com/tgrk/simple_cache"}]}
13-
]
2+
[{description, "Simple memory cache with expiration."},
3+
{vsn, "1.1.2"},
4+
{registered, []},
5+
{applications, [kernel,
6+
stdlib
7+
]},
8+
{mod,{simple_cache_app, []}},
9+
{env,[]},
10+
{maintainers,["Martin Wiso"]},
11+
{licenses,["MIT"]},
12+
{links,[{"Github", "https://github.com/tgrk/simple_cache"}]}
13+
]
1414
}.

0 commit comments

Comments
 (0)