diff --git a/doc/overview-summary.html b/doc/overview-summary.html index b6cf280..1061e06 100644 --- a/doc/overview-summary.html +++ b/doc/overview-summary.html @@ -11,6 +11,6 @@

The uuid application


-

Generated by EDoc, Feb 1 2014, 17:14:30.

+

Generated by EDoc, May 31 2014, 19:53:30.

diff --git a/doc/uuid.html b/doc/uuid.html index f40c38e..3cba74a 100644 --- a/doc/uuid.html +++ b/doc/uuid.html @@ -13,9 +13,9 @@

Module uuid

Erlang UUID Generation

http://www.ietf.org/rfc/rfc4122.txt is the reference for official UUIDs. -

Copyright © 2011-2013 Michael Truog

+

Copyright © 2011-2014 Michael Truog

-

Version: 1.3.1 Feb 1 2014 17:14:30 +

Version: 1.3.2 May 31 2014 19:53:30 ------------------------------------------------------------------------

Authors: Michael Truog (mjtruog [at] gmail (dot) com).

@@ -38,6 +38,10 @@

state()

state() = #uuid_state{}

+

uuid()

+

uuid() = <<_:128>>

+ +

Function Index

@@ -130,7 +134,7 @@

Function Details

get_v1/1

-

get_v1(Uuid_state::#uuid_state{}) -> <<_:128>>

+

get_v1(Uuid_state::#uuid_state{}) -> uuid()

Get a v1 UUID.

@@ -144,28 +148,28 @@

get_v1_time/1

-

get_v1_time(Uuid_state::os | erlang | #uuid_state{} | <<_:128>>) -> non_neg_integer()

+

get_v1_time(Uuid_state::os | erlang | #uuid_state{} | uuid()) -> non_neg_integer()

Get the current time value in a manner consistent with the v1 UUID.

The result is an integer in microseconds.

get_v3/1

-

get_v3(Data::binary()) -> <<_:128>>

+

get_v3(Data::binary()) -> uuid()

Get a v3 UUID.

get_v3/2

-

get_v3(Namespace::dns | url | oid | x500 | binary(), Data::binary() | iolist()) -> <<_:128>>

+

get_v3(Namespace::dns | url | oid | x500 | binary(), Data::binary() | iolist()) -> uuid()

Get a v3 UUID in a particular namespace.

get_v3_compat/1

-

get_v3_compat(Data::binary()) -> <<_:128>>

+

get_v3_compat(Data::binary()) -> uuid()

Get a compatible v3 UUID.

Do not use all bits from the checksum so that the UUID matches external @@ -173,7 +177,7 @@

Get a compatible v3 UUID.

get_v3_compat/2

-

get_v3_compat(Namespace::dns | url | oid | x500 | binary(), Data::binary() | iolist()) -> <<_:128>>

+

get_v3_compat(Namespace::dns | url | oid | x500 | binary(), Data::binary() | iolist()) -> uuid()

Get a compatible v3 UUID in a particular namespace.

Do not use all bits from the checksum so that the UUID matches external @@ -181,7 +185,7 @@

Get a compatib

get_v4/0

-

get_v4() -> <<_:128>>

+

get_v4() -> uuid()

Get a v4 UUID (using crypto/openssl).

crypto:strong_rand_bytes/1 repeats in the same way as @@ -198,12 +202,12 @@

Get a v4 UUID (using crypto/

get_v4/1

-

get_v4(X1::strong | weak) -> <<_:128>>

+

get_v4(X1::strong | weak) -> uuid()

get_v4_urandom/0

-

get_v4_urandom() -> <<_:128>>

+

get_v4_urandom() -> uuid()

Get a v4 UUID (using Wichmann-Hill 2006).

random_wh06_int:uniform/1 repeats every 2.66e36 (2^121) approx. @@ -215,7 +219,7 @@

Get a v4 UUID (using Wic

get_v4_urandom_bigint/0

-

get_v4_urandom_bigint() -> <<_:128>>

+

get_v4_urandom_bigint() -> uuid()

Get a v4 UUID (using Wichmann-Hill 1982).

random:uniform/1 repeats every 2.78e13 @@ -248,7 +252,7 @@

Get a v4 UUID (using Wic

get_v4_urandom_native/0

-

get_v4_urandom_native() -> <<_:128>>

+

get_v4_urandom_native() -> uuid()

Get a v4 UUID (using Wichmann-Hill 1982).

Attempt to only use native integers (Erlang limits integers to 27 bits @@ -256,21 +260,21 @@

Get a v4 UUID (using Wic

get_v5/1

-

get_v5(Data::binary()) -> <<_:128>>

+

get_v5(Data::binary()) -> uuid()

Get a v5 UUID.

get_v5/2

-

get_v5(Namespace::dns | url | oid | x500 | binary(), Data::binary() | iolist()) -> <<_:128>>

+

get_v5(Namespace::dns | url | oid | x500 | binary(), Data::binary() | iolist()) -> uuid()

Get a v5 UUID in a particular namespace.

get_v5_compat/1

-

get_v5_compat(Data::binary()) -> <<_:128>>

+

get_v5_compat(Data::binary()) -> uuid()

Get a compatible v5 UUID.

Do not use all bits from the checksum so that the UUID matches external @@ -278,7 +282,7 @@

Get a compatible v5 UUID.

get_v5_compat/2

-

get_v5_compat(Namespace::dns | url | oid | x500 | binary(), Data::binary() | iolist()) -> <<_:128>>

+

get_v5_compat(Namespace::dns | url | oid | x500 | binary(), Data::binary() | iolist()) -> uuid()

Get a compatible v5 UUID in a particular namespace.

Do not use all bits from the checksum so that the UUID matches external @@ -367,7 +371,7 @@

string_to_uuid/1

-

string_to_uuid(X1::string() | binary()) -> <<_:128>>

+

string_to_uuid(X1::string() | binary()) -> uuid()

Convert a string representation to a UUID.

@@ -381,27 +385,27 @@

Regression test.

uuid_to_list/1

-

uuid_to_list(Value::<<_:128>>) -> iolist()

+

uuid_to_list(Value::uuid()) -> iolist()

Convert a UUID to a list.

uuid_to_string/1

-

uuid_to_string(Value::<<_:128>>) -> string()

+

uuid_to_string(Value::uuid()) -> string()

Convert a UUID to a string representation.

uuid_to_string/2

-

uuid_to_string(Value::<<_:128>>, Option::standard | nodash | list_standard | list_nodash | binary_standard | binary_nodash) -> string() | binary()

+

uuid_to_string(Value::uuid(), Option::standard | nodash | list_standard | list_nodash | binary_standard | binary_nodash) -> string() | binary()

Convert a UUID to a string representation based on an option.


get_v1/1

Get a v1 UUID.

.
Overviewerlang logo
-

Generated by EDoc, Feb 1 2014, 17:14:30.

+

Generated by EDoc, May 31 2014, 19:53:30.

diff --git a/rebar.config b/rebar.config index 092367e..dccc600 100644 --- a/rebar.config +++ b/rebar.config @@ -20,4 +20,4 @@ {deps, [{quickrand, ".*", {git, "https://github.com/okeuday/quickrand.git", - {tag, "v1.3.1"}}}]}. + {tag, "v1.3.2"}}}]}. diff --git a/src/uuid.app.src b/src/uuid.app.src index 56779c7..e703bed 100644 --- a/src/uuid.app.src +++ b/src/uuid.app.src @@ -1,6 +1,6 @@ {application, uuid, [{description, "Native UUID Generation"}, - {vsn, "1.3.1"}, + {vsn, "1.3.2"}, {modules, [uuid]}, {registered, []}, {applications, [kernel, quickrand, stdlib]}]}.