Compare commits

..

No commits in common. "b13af3d0822762df167ac56da89e30cf8372c673" and "676117760ed139816ef3d37c5280c1d56877e2db" have entirely different histories.

10 changed files with 14 additions and 4113 deletions

View File

@ -3,7 +3,6 @@
{included_applications,[]},
{applications,[stdlib,kernel]},
{description,"Gajumaru interoperation library"},
{vsn,"0.6.1"},
{modules,[hakuzaru,hz,hz_fetcher,hz_grids,hz_key_master,hz_man,
hz_sup]},
{vsn,"0.6.0"},
{modules,[hakuzaru,hz,hz_fetcher,hz_grids,hz_man,hz_sup]},
{mod,{hakuzaru,[]}}]}.

File diff suppressed because it is too large Load Diff

View File

@ -6,7 +6,7 @@
%%% @end
-module(hakuzaru).
-vsn("0.6.1").
-vsn("0.6.0").
-author("Craig Everett <ceverett@tsuriai.jp>").
-copyright("Craig Everett <ceverett@tsuriai.jp>").
-license("GPL-3.0-or-later").

View File

@ -23,7 +23,7 @@
%%% @end
-module(hz).
-vsn("0.6.1").
-vsn("0.6.0").
-author("Craig Everett <ceverett@tsuriai.jp>").
-copyright("Craig Everett <ceverett@tsuriai.jp>").
-license("GPL-3.0-or-later").

View File

@ -1,5 +1,5 @@
-module(hz_fetcher).
-vsn("0.6.1").
-vsn("0.6.0").
-author("Craig Everett <ceverett@tsuriai.jp>").
-copyright("Craig Everett <ceverett@tsuriai.jp>").
-license("MIT").

View File

@ -37,7 +37,7 @@
%%% @end
-module(hz_grids).
-vsn("0.6.1").
-vsn("0.6.0").
-export([url/2, parse/1, req/2, req/3]).

View File

@ -8,7 +8,7 @@
%%% @end
-module(hz_key_master).
-vsn("0.6.1").
-vsn("0.6.0").
-export([make_key/1, encode/1, decode/1]).
@ -91,9 +91,7 @@ chunksize(N, C, A) -> chunksize(N div C, C, A + 1).
read_words() ->
{ok, V} = zx_lib:string_to_version(proplists:get_value(vsn, module_info(attributes))),
HZ_Lib = zx_lib:ppath(lib, {"otpr", "hakuzaru", V}),
Path = filename:join([HZ_Lib, "priv", "words4096.txt"]),
Path = filename:join([zx:get_home(), "priv", "words4096.txt"]),
{ok, Bin} = file:read_file(Path),
string:lexemes(Bin, "\n").

View File

@ -9,7 +9,7 @@
%%% @end
-module(hz_man).
-vsn("0.6.1").
-vsn("0.6.0").
-behavior(gen_server).
-author("Craig Everett <ceverett@tsuriai.jp>").
-copyright("Craig Everett <ceverett@tsuriai.jp>").

View File

@ -9,7 +9,7 @@
%%% @end
-module(hz_sup).
-vsn("0.6.1").
-vsn("0.6.0").
-behaviour(supervisor).
-author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>").

View File

@ -2,11 +2,11 @@
{type,app}.
{modules,[]}.
{prefix,"hz"}.
{desc,"Gajumaru interoperation library"}.
{author,"Craig Everett"}.
{package_id,{"otpr","hakuzaru",{0,6,1}}}.
{deps,[{"otpr","sophia",{9,0,0}},
{"otpr","gmserialization",{0,1,3}},
{desc,"Gajumaru interoperation library"}.
{package_id,{"otpr","hakuzaru",{0,6,0}}}.
{deps,[{"otpr","gmserialization",{0,1,3}},
{"otpr","sophia",{8,0,1}},
{"otpr","gmbytecode",{3,4,1}},
{"otpr","base58",{0,1,1}},
{"otpr","eblake2",{1,0,1}},