wavefront-client 3.5.3 → 3.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -2
- data/README-cli.md +84 -60
- data/bin/wavefront +84 -69
- data/lib/wavefront/alerting.rb +14 -3
- data/lib/wavefront/batch_writer.rb +7 -0
- data/lib/wavefront/cli.rb +15 -17
- data/lib/wavefront/cli/alerts.rb +15 -10
- data/lib/wavefront/cli/batch_write.rb +12 -3
- data/lib/wavefront/cli/events.rb +19 -3
- data/lib/wavefront/cli/sources.rb +22 -12
- data/lib/wavefront/cli/ts.rb +9 -1
- data/lib/wavefront/cli/write.rb +7 -0
- data/lib/wavefront/client.rb +9 -5
- data/lib/wavefront/client/version.rb +1 -1
- data/lib/wavefront/constants.rb +20 -0
- data/lib/wavefront/events.rb +26 -4
- data/lib/wavefront/metadata.rb +23 -6
- data/lib/wavefront/opt_handler.rb +61 -0
- data/spec/cli_spec.rb +584 -0
- data/spec/spec_helper.rb +42 -0
- data/spec/wavefront/alerting_spec.rb +8 -9
- data/spec/wavefront/batch_writer_spec.rb +1 -1
- data/spec/wavefront/cli/alerts_spec.rb +5 -4
- data/spec/wavefront/cli/batch_write_spec.rb +4 -2
- data/spec/wavefront/cli/events_spec.rb +3 -2
- data/spec/wavefront/cli/sources_spec.rb +3 -2
- data/spec/wavefront/cli/write_spec.rb +4 -2
- data/spec/wavefront/cli_spec.rb +11 -43
- data/spec/wavefront/client_spec.rb +2 -2
- data/spec/wavefront/events_spec.rb +1 -1
- data/spec/wavefront/metadata_spec.rb +1 -1
- data/spec/wavefront/mixins_spec.rb +1 -1
- data/spec/wavefront/opt_handler_spec.rb +89 -0
- data/spec/wavefront/resources/conf.yaml +10 -0
- data/spec/wavefront/response_spec.rb +3 -3
- data/spec/wavefront/validators_spec.rb +1 -1
- data/spec/wavefront/writer_spec.rb +1 -1
- metadata +9 -3
- data/.ruby-version +0 -1
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wavefront-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.5.
|
4
|
+
version: 3.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Pointer
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date:
|
16
|
+
date: 2017-02-03 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: bundler
|
@@ -129,7 +129,6 @@ extensions: []
|
|
129
129
|
extra_rdoc_files: []
|
130
130
|
files:
|
131
131
|
- ".gitignore"
|
132
|
-
- ".ruby-version"
|
133
132
|
- ".travis.yml"
|
134
133
|
- Gemfile
|
135
134
|
- LICENSE
|
@@ -154,9 +153,11 @@ files:
|
|
154
153
|
- lib/wavefront/exception.rb
|
155
154
|
- lib/wavefront/metadata.rb
|
156
155
|
- lib/wavefront/mixins.rb
|
156
|
+
- lib/wavefront/opt_handler.rb
|
157
157
|
- lib/wavefront/response.rb
|
158
158
|
- lib/wavefront/validators.rb
|
159
159
|
- lib/wavefront/writer.rb
|
160
|
+
- spec/cli_spec.rb
|
160
161
|
- spec/example_response.json
|
161
162
|
- spec/spec_helper.rb
|
162
163
|
- spec/wavefront/alerting_spec.rb
|
@@ -177,6 +178,8 @@ files:
|
|
177
178
|
- spec/wavefront/events_spec.rb
|
178
179
|
- spec/wavefront/metadata_spec.rb
|
179
180
|
- spec/wavefront/mixins_spec.rb
|
181
|
+
- spec/wavefront/opt_handler_spec.rb
|
182
|
+
- spec/wavefront/resources/conf.yaml
|
180
183
|
- spec/wavefront/response_spec.rb
|
181
184
|
- spec/wavefront/validators_spec.rb
|
182
185
|
- spec/wavefront/writer_spec.rb
|
@@ -206,6 +209,7 @@ signing_key:
|
|
206
209
|
specification_version: 4
|
207
210
|
summary: A simple abstraction for talking to Wavefront in Ruby
|
208
211
|
test_files:
|
212
|
+
- spec/cli_spec.rb
|
209
213
|
- spec/example_response.json
|
210
214
|
- spec/spec_helper.rb
|
211
215
|
- spec/wavefront/alerting_spec.rb
|
@@ -226,6 +230,8 @@ test_files:
|
|
226
230
|
- spec/wavefront/events_spec.rb
|
227
231
|
- spec/wavefront/metadata_spec.rb
|
228
232
|
- spec/wavefront/mixins_spec.rb
|
233
|
+
- spec/wavefront/opt_handler_spec.rb
|
234
|
+
- spec/wavefront/resources/conf.yaml
|
229
235
|
- spec/wavefront/response_spec.rb
|
230
236
|
- spec/wavefront/validators_spec.rb
|
231
237
|
- spec/wavefront/writer_spec.rb
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.2.2
|