diff --git a/.travis.yml b/.travis.yml index dc80802..f130279 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,9 @@ language: go go: - - 1.10.x - 1.11.x - 1.12.x + - 1.13.x - tip os: diff --git a/Makefile b/Makefile index 40a73b6..d8e1bd2 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ ################################################################################ -# This Makefile generated by GoMakeGen 1.1.0 using next command: +# This Makefile generated by GoMakeGen 1.2.0 using next command: # gomakegen . # # More info: https://kaos.sh/gomakegen @@ -27,7 +27,7 @@ git-config: ## Configure git redirects for stable import path services git config --global http.https://pkg.re.followRedirects true deps: git-config ## Download dependencies - go get -d -v pkg.re/essentialkaos/ek.v10 + go get -d -v pkg.re/essentialkaos/ek.v11 fmt: ## Format source code with gofmt find . -name "*.go" -exec gofmt -s -w {} \; @@ -40,6 +40,6 @@ help: ## Show this info @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) \ | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[33m%-23s\033[0m %s\n", $$1, $$2}' @echo -e '' - @echo -e '\033[90mGenerated by GoMakeGen 1.1.0\033[0m\n' + @echo -e '\033[90mGenerated by GoMakeGen 1.2.0\033[0m\n' ################################################################################ diff --git a/README.md b/README.md index 16d13b0..2165265 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Before the initial install allows git to use redirects for [pkg.re](https://gith git config --global http.https://pkg.re.followRedirects true ``` -To build the `redis-latency-monitor` from scratch, make sure you have a working Go 1.10+ workspace (_[instructions](https://golang.org/doc/install)_), then: +To build the `redis-latency-monitor` from scratch, make sure you have a working Go 1.11+ workspace (_[instructions](https://golang.org/doc/install)_), then: ``` go get github.com/essentialkaos/redis-latency-monitor diff --git a/common/redis-latency-monitor.spec b/common/redis-latency-monitor.spec index 1d2298b..2ac87f9 100644 --- a/common/redis-latency-monitor.spec +++ b/common/redis-latency-monitor.spec @@ -10,7 +10,7 @@ Summary: Tiny Redis client for latency measurement Name: redis-latency-monitor -Version: 3.1.0 +Version: 3.1.1 Release: 0%{?dist} Group: Applications/System License: EKOL @@ -20,7 +20,7 @@ Source0: https://source.kaos.st/%{name}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: golang >= 1.12 +BuildRequires: golang >= 1.13 Provides: %{name} = %{version}-%{release} @@ -86,6 +86,9 @@ fi ################################################################################ %changelog +* Thu Oct 17 2019 Anton Novojilov - 3.1.1-0 +- ek package updated to the latest stable version + * Thu Jun 13 2019 Anton Novojilov - 3.1.0-0 - ek package updated to the latest stable version - Added completion generation for bash, zsh and fish diff --git a/redis-latency-monitor.go b/redis-latency-monitor.go index c7fb051..aadb2e7 100644 --- a/redis-latency-monitor.go +++ b/redis-latency-monitor.go @@ -2,7 +2,7 @@ package main // ////////////////////////////////////////////////////////////////////////////////// // // // -// Copyright (c) 2009-2018 ESSENTIAL KAOS // +// Copyright (c) 2009-2019 ESSENTIAL KAOS // // Essential Kaos Open Source License // // // // ////////////////////////////////////////////////////////////////////////////////// // @@ -17,17 +17,17 @@ import ( "strings" "time" - "pkg.re/essentialkaos/ek.v10/fmtc" - "pkg.re/essentialkaos/ek.v10/fmtutil" - "pkg.re/essentialkaos/ek.v10/fmtutil/table" - "pkg.re/essentialkaos/ek.v10/log" - "pkg.re/essentialkaos/ek.v10/mathutil" - "pkg.re/essentialkaos/ek.v10/options" - "pkg.re/essentialkaos/ek.v10/timeutil" - "pkg.re/essentialkaos/ek.v10/usage" - "pkg.re/essentialkaos/ek.v10/usage/completion/bash" - "pkg.re/essentialkaos/ek.v10/usage/completion/fish" - "pkg.re/essentialkaos/ek.v10/usage/completion/zsh" + "pkg.re/essentialkaos/ek.v11/fmtc" + "pkg.re/essentialkaos/ek.v11/fmtutil" + "pkg.re/essentialkaos/ek.v11/fmtutil/table" + "pkg.re/essentialkaos/ek.v11/log" + "pkg.re/essentialkaos/ek.v11/mathutil" + "pkg.re/essentialkaos/ek.v11/options" + "pkg.re/essentialkaos/ek.v11/timeutil" + "pkg.re/essentialkaos/ek.v11/usage" + "pkg.re/essentialkaos/ek.v11/usage/completion/bash" + "pkg.re/essentialkaos/ek.v11/usage/completion/fish" + "pkg.re/essentialkaos/ek.v11/usage/completion/zsh" "github.com/essentialkaos/redis-latency-monitor/stats" ) @@ -37,7 +37,7 @@ import ( // App info const ( APP = "Redis Latency Monitor" - VER = "3.1.0" + VER = "3.1.1" DESC = "Tiny Redis client for latency measurement" ) @@ -489,7 +489,7 @@ func showUsage() { func genUsage() *usage.Info { info := usage.NewInfo("") - info.AddSpoiler("Utility show PING command latency or connection latency in milliseconds (one thousandth of a second).") + info.AddSpoiler("Utility shows PING command latency or connection latency in milliseconds (one thousandth of a second).") info.AddOption(OPT_HOST, "Server hostname {s-}(127.0.0.1 by default){!}", "ip/host") info.AddOption(OPT_PORT, "Server port {s-}(6379 by default){!}", "port")