Skip to content

Commit 73eb30b

Browse files
authored
Merge pull request #22 from essentialkaos/develop
Version 3.1.1
2 parents c573cda + bb22b0f commit 73eb30b

File tree

5 files changed

+24
-21
lines changed

5 files changed

+24
-21
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
language: go
22

33
go:
4-
- 1.10.x
54
- 1.11.x
65
- 1.12.x
6+
- 1.13.x
77
- tip
88

99
os:

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
################################################################################
22

3-
# This Makefile generated by GoMakeGen 1.1.0 using next command:
3+
# This Makefile generated by GoMakeGen 1.2.0 using next command:
44
# gomakegen .
55
#
66
# More info: https://kaos.sh/gomakegen
@@ -27,7 +27,7 @@ git-config: ## Configure git redirects for stable import path services
2727
git config --global http.https://pkg.re.followRedirects true
2828

2929
deps: git-config ## Download dependencies
30-
go get -d -v pkg.re/essentialkaos/ek.v10
30+
go get -d -v pkg.re/essentialkaos/ek.v11
3131

3232
fmt: ## Format source code with gofmt
3333
find . -name "*.go" -exec gofmt -s -w {} \;
@@ -40,6 +40,6 @@ help: ## Show this info
4040
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) \
4141
| awk 'BEGIN {FS = ":.*?## "}; {printf " \033[33m%-23s\033[0m %s\n", $$1, $$2}'
4242
@echo -e ''
43-
@echo -e '\033[90mGenerated by GoMakeGen 1.1.0\033[0m\n'
43+
@echo -e '\033[90mGenerated by GoMakeGen 1.2.0\033[0m\n'
4444

4545
################################################################################

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Before the initial install allows git to use redirects for [pkg.re](https://gith
2525
git config --global http.https://pkg.re.followRedirects true
2626
```
2727

28-
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:
28+
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:
2929

3030
```
3131
go get github.com/essentialkaos/redis-latency-monitor

common/redis-latency-monitor.spec

+5-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
Summary: Tiny Redis client for latency measurement
1212
Name: redis-latency-monitor
13-
Version: 3.1.0
13+
Version: 3.1.1
1414
Release: 0%{?dist}
1515
Group: Applications/System
1616
License: EKOL
@@ -20,7 +20,7 @@ Source0: https://source.kaos.st/%{name}/%{name}-%{version}.tar.bz2
2020

2121
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2222

23-
BuildRequires: golang >= 1.12
23+
BuildRequires: golang >= 1.13
2424

2525
Provides: %{name} = %{version}-%{release}
2626

@@ -86,6 +86,9 @@ fi
8686
################################################################################
8787

8888
%changelog
89+
* Thu Oct 17 2019 Anton Novojilov <[email protected]> - 3.1.1-0
90+
- ek package updated to the latest stable version
91+
8992
* Thu Jun 13 2019 Anton Novojilov <[email protected]> - 3.1.0-0
9093
- ek package updated to the latest stable version
9194
- Added completion generation for bash, zsh and fish

redis-latency-monitor.go

+14-14
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package main
22

33
// ////////////////////////////////////////////////////////////////////////////////// //
44
// //
5-
// Copyright (c) 2009-2018 ESSENTIAL KAOS //
5+
// Copyright (c) 2009-2019 ESSENTIAL KAOS //
66
// Essential Kaos Open Source License <https://essentialkaos.com/ekol> //
77
// //
88
// ////////////////////////////////////////////////////////////////////////////////// //
@@ -17,17 +17,17 @@ import (
1717
"strings"
1818
"time"
1919

20-
"pkg.re/essentialkaos/ek.v10/fmtc"
21-
"pkg.re/essentialkaos/ek.v10/fmtutil"
22-
"pkg.re/essentialkaos/ek.v10/fmtutil/table"
23-
"pkg.re/essentialkaos/ek.v10/log"
24-
"pkg.re/essentialkaos/ek.v10/mathutil"
25-
"pkg.re/essentialkaos/ek.v10/options"
26-
"pkg.re/essentialkaos/ek.v10/timeutil"
27-
"pkg.re/essentialkaos/ek.v10/usage"
28-
"pkg.re/essentialkaos/ek.v10/usage/completion/bash"
29-
"pkg.re/essentialkaos/ek.v10/usage/completion/fish"
30-
"pkg.re/essentialkaos/ek.v10/usage/completion/zsh"
20+
"pkg.re/essentialkaos/ek.v11/fmtc"
21+
"pkg.re/essentialkaos/ek.v11/fmtutil"
22+
"pkg.re/essentialkaos/ek.v11/fmtutil/table"
23+
"pkg.re/essentialkaos/ek.v11/log"
24+
"pkg.re/essentialkaos/ek.v11/mathutil"
25+
"pkg.re/essentialkaos/ek.v11/options"
26+
"pkg.re/essentialkaos/ek.v11/timeutil"
27+
"pkg.re/essentialkaos/ek.v11/usage"
28+
"pkg.re/essentialkaos/ek.v11/usage/completion/bash"
29+
"pkg.re/essentialkaos/ek.v11/usage/completion/fish"
30+
"pkg.re/essentialkaos/ek.v11/usage/completion/zsh"
3131

3232
"github.com/essentialkaos/redis-latency-monitor/stats"
3333
)
@@ -37,7 +37,7 @@ import (
3737
// App info
3838
const (
3939
APP = "Redis Latency Monitor"
40-
VER = "3.1.0"
40+
VER = "3.1.1"
4141
DESC = "Tiny Redis client for latency measurement"
4242
)
4343

@@ -489,7 +489,7 @@ func showUsage() {
489489
func genUsage() *usage.Info {
490490
info := usage.NewInfo("")
491491

492-
info.AddSpoiler("Utility show PING command latency or connection latency in milliseconds (one thousandth of a second).")
492+
info.AddSpoiler("Utility shows PING command latency or connection latency in milliseconds (one thousandth of a second).")
493493

494494
info.AddOption(OPT_HOST, "Server hostname {s-}(127.0.0.1 by default){!}", "ip/host")
495495
info.AddOption(OPT_PORT, "Server port {s-}(6379 by default){!}", "port")

0 commit comments

Comments
 (0)