Skip to content

Commit

Permalink
edit README
Browse files Browse the repository at this point in the history
  • Loading branch information
muddymudskipper committed Jan 11, 2024
1 parent ff73863 commit a15069f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README-public.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cmem-plugin-uuid

Create UUIDs versions 1, 3, 4, 5, 6, 7 and 8 in transformations.
Create universally unique identifiers (UUIDs) versions 1, 3, 4, 5, 6, 7 and 8 in transformations.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cmem-plugin-uuid

Create UUIDs versions 1, 3, 4, 5, 6, 7 and 8 in transformations.
Create universally unique identifiers (UUIDs) versions 1, 3, 4, 5, 6, 7 and 8 in transformations.

[![eccenca Corporate Memory](https://img.shields.io/badge/eccenca-Corporate%20Memory-orange)](https://documentation.eccenca.com)

Expand Down
2 changes: 1 addition & 1 deletion cmem_plugin_uuid/transform/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def transform(self, inputs: Sequence[Sequence[str]]) -> Sequence[str]:
description=(
"Applies only if none of the pre-defined namespaces is selected. If "
"enabled, the namespace string needs to be a valid UUID. "
"Otherwise, the namespace UUID is a UUIDv1 derived from the M5 hash "
"Otherwise, the namespace UUID is a UUIDv1 derived from the MD5 hash "
"of the namespace string."
),
default_value=False,
Expand Down
4 changes: 2 additions & 2 deletions tests/test_uuid.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,10 +440,10 @@ def test_uuid_version():
str(uuid.uuid4()),
str(uuid.uuid5(name="test", namespace=uuid.NAMESPACE_URL)),
str(uuid6.uuid6()),
str(uuid6.uuid1_to_uuid6(uuid.uuid1())),
str(uuid6.uuid7()),
str(uuid6.uuid8()),
str(uuid6.uuid1_to_uuid6(uuid.uuid1())),
]
result = UUIDVersion().transform(inputs=[input_values])
assert len(result) == 8
assert result == [str(i) for i in [1, 3, 4, 5, 6, 7, 8, 6]]
assert result == [str(i) for i in [1, 3, 4, 5, 6, 6, 7, 8]]

0 comments on commit a15069f

Please sign in to comment.