diff --git a/.gitignore b/.gitignore index 2571b80..c4a8b7b 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ .pytest_cache .tmp .venv +.vscode /Dockerfile __pycache__ build diff --git a/README.md b/README.md index 81fc01a..2228c2b 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ Also includes: ----------------------------------------------------------------- + ## Description diff --git a/VERSION b/VERSION index 07a45d7..d532fd9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.5.21 +1.5.22 diff --git a/c/doc/Doxyfile b/c/doc/Doxyfile index ce99a71..2fcb121 100644 --- a/c/doc/Doxyfile +++ b/c/doc/Doxyfile @@ -32,7 +32,7 @@ PROJECT_NAME = "NumKey" # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = 1.5.21 +PROJECT_NUMBER = 1.5.22 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer diff --git a/go/src/numkey.go b/go/src/numkey.go index 0f030d3..7fc5669 100644 --- a/go/src/numkey.go +++ b/go/src/numkey.go @@ -66,7 +66,7 @@ func encodeNumber(number string) uint64 { size := len(number) if size > NumMaxLen { number = number[(size - NumMaxLen):size] // last 15 digits - size = 0 // flag non-revesible encoding + size = 0 // flag non-reversible encoding } num, err := strconv.ParseUint(number, 10, 64) if err != nil { diff --git a/java/.gitignore b/java/.gitignore index c68362c..c027484 100644 --- a/java/.gitignore +++ b/java/.gitignore @@ -1,6 +1,4 @@ -# Ignore Gradle project-specific cache directory .gradle - -# Ignore Gradle build output directory -build .idea +bin +build diff --git a/java/src/main/java/com/nexmo/numkey/NumKey.java b/java/src/main/java/com/nexmo/numkey/NumKey.java index 0c9adc7..25851e6 100644 --- a/java/src/main/java/com/nexmo/numkey/NumKey.java +++ b/java/src/main/java/com/nexmo/numkey/NumKey.java @@ -73,7 +73,7 @@ private static long encodeNumber(byte[] number) { int len = number.length; if (len > NKNUMMAXLEN) { j = (len - NKNUMMAXLEN); // last 15 digits - len = 0; // flag non-revesible encoding + len = 0; // flag non-reversible encoding } for (i = j; i < number.length; i++) { b = (int) number[i] - '0'; diff --git a/javascript/src/numkey.js b/javascript/src/numkey.js index 74f4c9a..7ac66ed 100644 --- a/javascript/src/numkey.js +++ b/javascript/src/numkey.js @@ -67,7 +67,7 @@ function encodeNumber(number) { var len = size; if (size > NKNUMMAXLEN) { j = (size - NKNUMMAXLEN); // last 15 digits - len = 0; // flag non-revesible encoding + len = 0; // flag non-reversible encoding } for (i = j; i < size; i++) { b = (number.charCodeAt(i) - NKZEROSHIFT); diff --git a/python/setup.py b/python/setup.py index 3e28906..9ecff5d 100644 --- a/python/setup.py +++ b/python/setup.py @@ -30,7 +30,7 @@ def run(self): setup( name="numkey", - version="1.5.21.1", + version="1.5.22.1", keywords=("numkey E.164 shortcode lvn did encoding"), description="NumKey Bindings for Python", long_description=read("../README.md"),