Skip to content

Commit

Permalink
[AUTOPR] Automatic updates (#25)
Browse files Browse the repository at this point in the history
* [AUTOPR] Fix misspelling

---------

Co-authored-by: nicolaasuni-vonage <[email protected]>
  • Loading branch information
github-actions[bot] and nicolaasuni-vonage authored Jan 26, 2024
1 parent f3ce138 commit 06f1fe2
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
.pytest_cache
.tmp
.venv
.vscode
/Dockerfile
__pycache__
build
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Also includes:

-----------------------------------------------------------------


<a name="description"></a>
## Description

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.21
1.5.22
2 changes: 1 addition & 1 deletion c/doc/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion go/src/numkey.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 2 additions & 4 deletions java/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# Ignore Gradle project-specific cache directory
.gradle

# Ignore Gradle build output directory
build
.idea
bin
build
2 changes: 1 addition & 1 deletion java/src/main/java/com/nexmo/numkey/NumKey.java
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion javascript/src/numkey.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 06f1fe2

Please sign in to comment.