From 93aefe5e73000ae21dc19ecd4a6886e15cdb23ec Mon Sep 17 00:00:00 2001 From: cabol Date: Wed, 22 Feb 2017 18:10:17 -0500 Subject: [PATCH] Version Bump to 0.4.2 --- .gitignore | 4 +++- CHANGELOG.md | 9 ++++++++- Makefile | 4 ++-- README.md | 4 ++-- src/shards.app.src | 2 +- src/shards_dist.erl | 2 +- test/dist_SUITE.erl | 4 ++-- 7 files changed, 19 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 8ba506d..cf4d638 100644 --- a/.gitignore +++ b/.gitignore @@ -31,4 +31,6 @@ edoc priv/*.so *.crashdump rebar.lock -*_plt \ No newline at end of file +*_plt +doc +docs \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index a072c41..3b1acf0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## [v0.4.2](https://github.com/cabol/shards/tree/v0.4.2) (2017-02-22) +[Full Changelog](https://github.com/cabol/shards/compare/v0.4.1...v0.4.2) + +**Closed issues:** + +- Implement `ets:rename/2` [\#32](https://github.com/cabol/shards/issues/32) +- Fulfil ETS API for `shards\_local` [\#1](https://github.com/cabol/shards/issues/1) + ## [v0.4.1](https://github.com/cabol/shards/tree/v0.4.1) (2017-02-13) [Full Changelog](https://github.com/cabol/shards/compare/v0.4.0...v0.4.1) @@ -23,7 +31,6 @@ **Closed issues:** - Add performance and scalability tests [\#2](https://github.com/cabol/shards/issues/2) -- Fulfil ETS API for `shards\_local` [\#1](https://github.com/cabol/shards/issues/1) ## [v0.3.1](https://github.com/cabol/shards/tree/v0.3.1) (2016-09-08) [Full Changelog](https://github.com/cabol/shards/compare/v0.3.0...v0.3.1) diff --git a/Makefile b/Makefile index f820755..9428bd8 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ REBAR = $(shell which rebar3) EPMD_PROC_NUM = $(shell ps -ef | grep epmd | grep -v "grep") -.PHONY: all check_rebar compile clean distclean dialyzer tests shell edoc +.PHONY: all check_rebar compile clean distclean dialyzer tests shell doc all: check_rebar compile @@ -56,5 +56,5 @@ dist_test: check_rebar check_epmd shell: check_rebar $(REBAR) shell -edoc: check_rebar +doc: check_rebar $(REBAR) edoc diff --git a/README.md b/README.md index 3a86760..3ad080c 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ In your `rebar.config`: ```erlang {deps, [ - {shards, "0.4.1"} + {shards, "0.4.2"} ]}. ``` @@ -427,7 +427,7 @@ You can find tests results in `_build/test/logs`, and coverage in `_build/test/c ## Building Edoc - $ make edoc + $ make doc > **Note:** Once you run previous command, a new folder `doc` is created, and you'll have a pretty nice HTML documentation. diff --git a/src/shards.app.src b/src/shards.app.src index ddfc0f8..ac2acb6 100644 --- a/src/shards.app.src +++ b/src/shards.app.src @@ -1,6 +1,6 @@ {application, shards, [ {description, "ETS with Sharding support."}, - {vsn, "0.4.1"}, + {vsn, "0.4.2"}, {registered, []}, {mod, {shards, []}}, {applications, [kernel, stdlib]}, diff --git a/src/shards_dist.erl b/src/shards_dist.erl index abef965..b59a678 100644 --- a/src/shards_dist.erl +++ b/src/shards_dist.erl @@ -44,7 +44,7 @@ %% Macro to get the default module to use: `shards_local'. -define(SHARDS, shards_local). -%% @type option() :: {nodes, [node()]} | shards_local:option(). +%% @type option() = {nodes, [node()]} | shards_local:option(). -type option() :: {nodes, [node()]} | shards_local:option(). % Exported Types diff --git a/test/dist_SUITE.erl b/test/dist_SUITE.erl index a531c5a..6cc2055 100644 --- a/test/dist_SUITE.erl +++ b/test/dist_SUITE.erl @@ -229,7 +229,7 @@ start_slaves([Node | T], Acc) -> {startup_functions, [{shards, start, []}]}, {erl_flags, ErlFlags} ]), - ct:print("\e[36m ---> Node ~p \e[32m[OK] \e[0m", [HostNode]), + ct:pal("==> Node ~p [UP]", [HostNode]), pong = net_adm:ping(HostNode), start_slaves(T, [HostNode | Acc]). @@ -240,7 +240,7 @@ stop_slaves([], Acc) -> lists:usort(Acc); stop_slaves([Node | T], Acc) -> {ok, Name} = ct_slave:stop(Node), - ct:print("\e[36m ---> Node ~p \e[31m[STOPPED] \e[0m", [Name]), + ct:pal("==> Node ~p [STOPPED]", [Name]), pang = net_adm:ping(Node), stop_slaves(T, [Node | Acc]).