echo_cli 0.6.28 → 0.6.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/echo_cli/cli.rb +3 -3
- data/lib/echo_cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 26bf693fbc018a0624ee60571d06ce3c33bfa07d
|
|
4
|
+
data.tar.gz: 95192e063314016954d2061a219e86584d3f9de5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a92e5e51809a070142ae9a4f7e2066b86c8d7470eab7dfd1f22de3ace02709fc1b141bd585e39fad72601dee5551e172e715eb135df4e09e2aa7b4ca43495915
|
|
7
|
+
data.tar.gz: 92e19d071b2a66ce36b2594d126410b9d9f34f797b908f3904c9c3e7ebc54ed1b9eb6c7fd39c4fb6ebde73b1f92845396133a1af51d0168176761f1b47600c84
|
data/lib/echo_cli/cli.rb
CHANGED
|
@@ -38,7 +38,7 @@ module Echo_cli
|
|
|
38
38
|
helper.set_envs()
|
|
39
39
|
helper.check_for_IP()
|
|
40
40
|
|
|
41
|
-
metric = metric.gsub(/'/,"")
|
|
41
|
+
metric = metric.gsub(/'/,"").gsub(/"/,"")
|
|
42
42
|
exit if !helper.check_metric_format(metric)
|
|
43
43
|
|
|
44
44
|
if options[:z]
|
|
@@ -46,7 +46,7 @@ module Echo_cli
|
|
|
46
46
|
|
|
47
47
|
# sort of a mini-smoketest to ensure the posts will work before creating a background process
|
|
48
48
|
helper.do_post_tcp(ENV["ECHO_CLI_HOST"], "8125", metric)
|
|
49
|
-
|
|
49
|
+
|
|
50
50
|
pid = Process.fork do
|
|
51
51
|
while true do
|
|
52
52
|
helper.do_post_tcp(ENV["ECHO_CLI_HOST"], "8125", metric)
|
|
@@ -96,7 +96,7 @@ module Echo_cli
|
|
|
96
96
|
helper = Helper.new
|
|
97
97
|
helper.set_envs()
|
|
98
98
|
helper.check_for_IP()
|
|
99
|
-
metric = metric.gsub(/'/,"")
|
|
99
|
+
metric = metric.gsub(/'/,"").gsub(/"/,"")
|
|
100
100
|
exit if !helper.check_metric_format(metric)
|
|
101
101
|
|
|
102
102
|
query_url = 'http://' + ENV["ECHO_CLI_HOST"] + ':8080/render?target=' + helper.get_metric_string(metric) + '&from=' + time_start + '&until=' + time_end + '&format=json'
|
data/lib/echo_cli/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: echo_cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.29
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brandon Raphael
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-06-
|
|
11
|
+
date: 2017-06-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|