| index 46ae2e6..001f0e8 100755 | ||
| --- a/release-dist.sh | ||
| +++ b/release-dist.sh | ||
| @@ -28,7 +28,7 @@ set -euo pipefail | ||
| 28 | 28 | |
| 29 | 29 | SLUG="docker" |
| 30 | 30 | ID="plugin_docker" |
| 31 | -VERSION="1.1.2" | |
| 31 | +VERSION="1.1.3" | |
| 32 | 32 | DIST_BASE_URL="https://dist.scorpiox.net/bot-plugins" |
| 33 | 33 | |
| 34 | 34 | ROOT="$(cd "$(dirname "$0")" && pwd)" |
| index 3243baf..f2d4507 100644 | ||
| --- a/src/plugin_docker.c | ||
| +++ b/src/plugin_docker.c | ||
| @@ -54,7 +54,7 @@ | ||
| 54 | 54 | |
| 55 | 55 | #define PLUGIN_SLUG "docker" |
| 56 | 56 | #define PLUGIN_ID "plugin_docker" |
| 57 | -#define PLUGIN_VER "1.1.2" | |
| 57 | +#define PLUGIN_VER "1.1.3" | |
| 58 | 58 | |
| 59 | 59 | #define MAX_CONTAINERS 256 |
| 60 | 60 | #define LOG_TAIL 100 |
| index 850b97a..004ba61 100755 | ||
| --- a/tests/run.sh | ||
| +++ b/tests/run.sh | ||
| @@ -95,7 +95,7 @@ DESC=$(printf '%s' "$META" | sed 's/.*"desc":"\([^"]*\)".*/\1/') | ||
| 95 | 95 | [ ${#DESC} -le 15 ] && pass "desc length ${#DESC} <= 15 chars" || fail "desc too long (${#DESC})" |
| 96 | 96 | NAME=$(printf '%s' "$META" | sed 's/.*"name":"\([^"]*\)".*/\1/') |
| 97 | 97 | [ "$(printf '%s' "$NAME" | wc -w | tr -d ' ')" -le 1 ] && pass "name is a single word" || fail "name has spaces" |
| 98 | -check "--version prints version" '1.1.2' "$("$BIN" --version)" | |
| 98 | +check "--version prints version" '1.1.3' "$("$BIN" --version)" | |
| 99 | 99 | check "--help is available" 'usage:' "$("$BIN" --help)" |
| 100 | 100 | |
| 101 | 101 | # ---------------------------------------------------------------- list mode |
| @@ -129,7 +129,7 @@ check_not "list header has no Content-Length" 'Content-Length' "$LIST" | ||
| 129 | 129 | check "list ok:true" '"ok":true' "$LBODY" |
| 130 | 130 | check "list plugin id" '"plugin":"plugin_docker"' "$LBODY" |
| 131 | 131 | check "list slug docker" '"slug":"docker"' "$LBODY" |
| 132 | -check "list version" '"version":"1.1.2"' "$LBODY" | |
| 132 | +check "list version" '"version":"1.1.3"' "$LBODY" | |
| 133 | 133 | check "list runtime available" '"available":true' "$LBODY" |
| 134 | 134 | check "list daemon available" '"daemon_available":true' "$LBODY" |
| 135 | 135 | check "list count 3" '"count":3' "$LBODY" |
| 136 | 136 |
| index 46ae2e6..001f0e8 100755 | index 46ae2e6..001f0e8 100755 | ||
| --- a/release-dist.sh | --- a/release-dist.sh | ||
| +++ b/release-dist.sh | +++ b/release-dist.sh | ||
| @@ -28,7 +28,7 @@ set -euo pipefail | @@ -28,7 +28,7 @@ set -euo pipefail | ||
| 28 | 28 | ||
| 29 | SLUG="docker" | 29 | SLUG="docker" |
| 30 | ID="plugin_docker" | 30 | ID="plugin_docker" |
| 31 | -VERSION="1.1.2" | 31 | +VERSION="1.1.3" |
| 32 | DIST_BASE_URL="https://dist.scorpiox.net/bot-plugins" | 32 | DIST_BASE_URL="https://dist.scorpiox.net/bot-plugins" |
| 33 | 33 | ||
| 34 | ROOT="$(cd "$(dirname "$0")" && pwd)" | 34 | ROOT="$(cd "$(dirname "$0")" && pwd)" |
| index 3243baf..f2d4507 100644 | index 3243baf..f2d4507 100644 | ||
| --- a/src/plugin_docker.c | --- a/src/plugin_docker.c | ||
| +++ b/src/plugin_docker.c | +++ b/src/plugin_docker.c | ||
| @@ -54,7 +54,7 @@ | @@ -54,7 +54,7 @@ | ||
| 54 | 54 | ||
| 55 | #define PLUGIN_SLUG "docker" | 55 | #define PLUGIN_SLUG "docker" |
| 56 | #define PLUGIN_ID "plugin_docker" | 56 | #define PLUGIN_ID "plugin_docker" |
| 57 | -#define PLUGIN_VER "1.1.2" | 57 | +#define PLUGIN_VER "1.1.3" |
| 58 | 58 | ||
| 59 | #define MAX_CONTAINERS 256 | 59 | #define MAX_CONTAINERS 256 |
| 60 | #define LOG_TAIL 100 | 60 | #define LOG_TAIL 100 |
| index 850b97a..004ba61 100755 | index 850b97a..004ba61 100755 | ||
| --- a/tests/run.sh | --- a/tests/run.sh | ||
| +++ b/tests/run.sh | +++ b/tests/run.sh | ||
| @@ -95,7 +95,7 @@ DESC=$(printf '%s' "$META" | sed 's/.*"desc":"\([^"]*\)".*/\1/') | @@ -95,7 +95,7 @@ DESC=$(printf '%s' "$META" | sed 's/.*"desc":"\([^"]*\)".*/\1/') | ||
| 95 | [ ${#DESC} -le 15 ] && pass "desc length ${#DESC} <= 15 chars" || fail "desc too long (${#DESC})" | 95 | [ ${#DESC} -le 15 ] && pass "desc length ${#DESC} <= 15 chars" || fail "desc too long (${#DESC})" |
| 96 | NAME=$(printf '%s' "$META" | sed 's/.*"name":"\([^"]*\)".*/\1/') | 96 | NAME=$(printf '%s' "$META" | sed 's/.*"name":"\([^"]*\)".*/\1/') |
| 97 | [ "$(printf '%s' "$NAME" | wc -w | tr -d ' ')" -le 1 ] && pass "name is a single word" || fail "name has spaces" | 97 | [ "$(printf '%s' "$NAME" | wc -w | tr -d ' ')" -le 1 ] && pass "name is a single word" || fail "name has spaces" |
| 98 | -check "--version prints version" '1.1.2' "$("$BIN" --version)" | 98 | +check "--version prints version" '1.1.3' "$("$BIN" --version)" |
| 99 | check "--help is available" 'usage:' "$("$BIN" --help)" | 99 | check "--help is available" 'usage:' "$("$BIN" --help)" |
| 100 | 100 | ||
| 101 | # ---------------------------------------------------------------- list mode | 101 | # ---------------------------------------------------------------- list mode |
| @@ -129,7 +129,7 @@ check_not "list header has no Content-Length" 'Content-Length' "$LIST" | @@ -129,7 +129,7 @@ check_not "list header has no Content-Length" 'Content-Length' "$LIST" | ||
| 129 | check "list ok:true" '"ok":true' "$LBODY" | 129 | check "list ok:true" '"ok":true' "$LBODY" |
| 130 | check "list plugin id" '"plugin":"plugin_docker"' "$LBODY" | 130 | check "list plugin id" '"plugin":"plugin_docker"' "$LBODY" |
| 131 | check "list slug docker" '"slug":"docker"' "$LBODY" | 131 | check "list slug docker" '"slug":"docker"' "$LBODY" |
| 132 | -check "list version" '"version":"1.1.2"' "$LBODY" | 132 | +check "list version" '"version":"1.1.3"' "$LBODY" |
| 133 | check "list runtime available" '"available":true' "$LBODY" | 133 | check "list runtime available" '"available":true' "$LBODY" |
| 134 | check "list daemon available" '"daemon_available":true' "$LBODY" | 134 | check "list daemon available" '"daemon_available":true' "$LBODY" |
| 135 | check "list count 3" '"count":3' "$LBODY" | 135 | check "list count 3" '"count":3' "$LBODY" |
| 136 | 136 |