wavefront-cli 2.1.3 → 2.1.4

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
- SHA1:
3
- metadata.gz: 1098aac042355b553d4b5e6b1ae5bad73794a61a
4
- data.tar.gz: 97495d06c18f86febbc78578bfae1c60eec8b260
2
+ SHA256:
3
+ metadata.gz: 1ca00e6bc8583a31958b41b6fce2513133da7f267a734bea256112eb45a20355
4
+ data.tar.gz: 998efcd8c1a33dfd1c5639378b6d1b7cef4f7106e0118537219495d03790e880
5
5
  SHA512:
6
- metadata.gz: 178fe53faaad7d665bf497b35177884b37b03175788e0cf7a808a3a7430aa655efd5ba3bd1941ea122ffd5b5e85aa5e90039906775088aa52fe390f59928a25d
7
- data.tar.gz: 0ce5b99c7cf2af4376a6a5750243bc06155dbad7ef9c2908fd7e220e344a95af84ef6adc7c6166022e446a4035c213d4967be072cfe1f42724269a60a3734c36
6
+ metadata.gz: 474da94ec44e62d5dc40b374923a11c5a863911db53570df02ee9f8b072ded10a8052e0d3be23035930c927ca6c5d113f8905fe1b307f017f90c306a32446406
7
+ data.tar.gz: 96746daf0316f349edea47cdcff954c25cc410ab2b5a02339028eff32d538575c545b238b04e4bdeefdd2f82fbb8bdd6c309081ed795500a993f8d501393d6d5
@@ -44,11 +44,9 @@ module WavefrontCli
44
44
  opts[:start] = Time.now unless opts[:start]
45
45
 
46
46
  t_start = parse_time(opts[:start], true)
47
- id = [t_start, opts[:'<event>']].join(':')
48
47
 
49
48
  body = { name: opts[:'<event>'],
50
49
  startTime: t_start,
51
- id: id,
52
50
  annotations: {} }
53
51
 
54
52
  body[:annotations][:details] = opts[:desc] if opts[:desc]
@@ -65,7 +63,7 @@ module WavefrontCli
65
63
  resp = wf.create(body)
66
64
 
67
65
  unless opts[:nostate] || opts[:end] || opts[:instant]
68
- create_state_file(id, opts[:host])
66
+ create_state_file(resp.response[:id], opts[:host])
69
67
  end
70
68
 
71
69
  resp
@@ -1 +1 @@
1
- WF_CLI_VERSION = '2.1.3'.freeze
1
+ WF_CLI_VERSION = '2.1.4'.freeze
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wavefront-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Fisher
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-31 00:00:00.000000000 Z
11
+ date: 2017-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docopt
@@ -275,7 +275,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
275
275
  version: '0'
276
276
  requirements: []
277
277
  rubyforge_project:
278
- rubygems_version: 2.6.14
278
+ rubygems_version: 2.7.2
279
279
  signing_key:
280
280
  specification_version: 4
281
281
  summary: CLI for Wavefront API v2