echo_cli 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 249ec3784ebd9205275f25628044c7b48da142d1
4
- data.tar.gz: 4d1ea6a88583952db97ce88ac2f27ed364af47d6
3
+ metadata.gz: 304cdcdc353ffaa49724686c829e15cb0a1c99c5
4
+ data.tar.gz: 3095dc503395d93acde8b5f0cfce1198d0e2a5bf
5
5
  SHA512:
6
- metadata.gz: bedae312f7241f801a0de046929b9c3b0bcf17990a52dab1ba76b93df9bc3c3cbe2dbd7df24d876c0ab7846e00396db2498d412bd5e6161472c03280b31a777f
7
- data.tar.gz: 93b67405e37dfca1ef7aa351ffc520cb509ea2204910ca203aab9410da974660a4fc9cdd8c33cad469ffc2c49026b67c013eb977fe4ff9e582b971a3562e22b5
6
+ metadata.gz: 779e12c3ad8c316d227f50869f6fc19a8ec7f422ff4209570916b429487731faac217d919c5762ac645363468e71224ed7939adc783ef1ca3f202e6cd19b537e
7
+ data.tar.gz: f893c37905b08a65804a48cc9d156ca2000522af9ef952f1290103051d88978a332059c1e06fe22aaf6e40ce1dcf4cfeb67e4b62886c2126e2f41621cc644baf
data/lib/echo_cli/cli.rb CHANGED
@@ -5,16 +5,16 @@ require 'net/https'
5
5
 
6
6
  module Echo_cli
7
7
  class Echo < Thor
8
- desc "post", "Post metrics to Echo. Use \"thor echo:post <IP> '<metric>'\""
8
+ desc "post", "Post metrics to Echo. Use \"echo_cli post <IP> '<metric>' <{number}>\""
9
9
 
10
10
  long_desc <<-LONGDESC
11
- `echo post` will post a metric directly to Echo's StatsD server.
11
+ `echo_cli post` will post a metric directly to Echo's StatsD server.
12
12
 
13
13
  You can optionally specify a third integer parameter, which will post the same metric an integer number of times equal to the number specified.
14
14
 
15
15
  Ensure single-quotes surround the metric.
16
16
 
17
- > $ echo post localhost 'example.post:1|c' {10}
17
+ > $ echo_cli post localhost 'example.post:1|c' {10}
18
18
  LONGDESC
19
19
 
20
20
  def post(ip, body, num = 0)
@@ -1,3 +1,3 @@
1
1
  module EchoCli
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: echo_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Raphael