wavefront-sdk 3.7.0 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +43 -2
- data/.travis.yml +0 -1
- data/HISTORY.md +32 -0
- data/README.md +4 -3
- data/lib/wavefront-sdk/account.rb +104 -3
- data/lib/wavefront-sdk/api_mixins/user.rb +10 -0
- data/lib/wavefront-sdk/cloudintegration.rb +27 -0
- data/lib/wavefront-sdk/core/api_caller.rb +50 -7
- data/lib/wavefront-sdk/core/exception.rb +5 -0
- data/lib/wavefront-sdk/defs/version.rb +1 -3
- data/lib/wavefront-sdk/paginator/base.rb +21 -15
- data/lib/wavefront-sdk/query.rb +0 -1
- data/lib/wavefront-sdk/role.rb +128 -0
- data/lib/wavefront-sdk/spy.rb +126 -0
- data/lib/wavefront-sdk/stdlib/array.rb +1 -1
- data/lib/wavefront-sdk/stdlib/time.rb +13 -0
- data/lib/wavefront-sdk/unstable/README.md +4 -0
- data/lib/wavefront-sdk/unstable/chart.rb +90 -0
- data/lib/wavefront-sdk/unstable/unstable.rb +9 -0
- data/lib/wavefront-sdk/user.rb +31 -0
- data/lib/wavefront-sdk/usergroup.rb +17 -16
- data/lib/wavefront-sdk/validators.rb +52 -7
- data/lib/wavefront-sdk/write.rb +13 -3
- data/spec/.rubocop.yml +41 -0
- data/spec/spec_helper.rb +4 -0
- data/spec/support/minitest_assertions.rb +4 -4
- data/spec/wavefront-sdk/account_spec.rb +107 -1
- data/spec/wavefront-sdk/cloudintegration_spec.rb +38 -0
- data/spec/wavefront-sdk/core/api_caller_spec.rb +43 -0
- data/spec/wavefront-sdk/metric_helper_spec.rb +1 -1
- data/spec/wavefront-sdk/role_spec.rb +96 -0
- data/spec/wavefront-sdk/spy_spec.rb +113 -0
- data/spec/wavefront-sdk/unstable/chart_spec.rb +39 -0
- data/spec/wavefront-sdk/user_spec.rb +8 -0
- data/spec/wavefront-sdk/usergroup_spec.rb +21 -11
- data/spec/wavefront-sdk/validators_spec.rb +31 -0
- data/wavefront-sdk.gemspec +4 -4
- metadata +24 -13
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wavefront-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Fisher
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '1.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '1.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: inifile
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,28 +86,28 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '13.0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '13.0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rubocop
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - '='
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 0.87.1
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - '='
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 0.87.1
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: simplecov
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -214,17 +214,23 @@ files:
|
|
214
214
|
- lib/wavefront-sdk/proxy.rb
|
215
215
|
- lib/wavefront-sdk/query.rb
|
216
216
|
- lib/wavefront-sdk/report.rb
|
217
|
+
- lib/wavefront-sdk/role.rb
|
217
218
|
- lib/wavefront-sdk/savedsearch.rb
|
218
219
|
- lib/wavefront-sdk/search.rb
|
219
220
|
- lib/wavefront-sdk/serviceaccount.rb
|
220
221
|
- lib/wavefront-sdk/settings.rb
|
221
222
|
- lib/wavefront-sdk/source.rb
|
223
|
+
- lib/wavefront-sdk/spy.rb
|
222
224
|
- lib/wavefront-sdk/stdlib/array.rb
|
223
225
|
- lib/wavefront-sdk/stdlib/hash.rb
|
224
226
|
- lib/wavefront-sdk/stdlib/string.rb
|
227
|
+
- lib/wavefront-sdk/stdlib/time.rb
|
225
228
|
- lib/wavefront-sdk/support/mixins.rb
|
226
229
|
- lib/wavefront-sdk/support/parse_time.rb
|
227
230
|
- lib/wavefront-sdk/types/status.rb
|
231
|
+
- lib/wavefront-sdk/unstable/README.md
|
232
|
+
- lib/wavefront-sdk/unstable/chart.rb
|
233
|
+
- lib/wavefront-sdk/unstable/unstable.rb
|
228
234
|
- lib/wavefront-sdk/usage.rb
|
229
235
|
- lib/wavefront-sdk/user.rb
|
230
236
|
- lib/wavefront-sdk/usergroup.rb
|
@@ -286,16 +292,19 @@ files:
|
|
286
292
|
- spec/wavefront-sdk/resources/user_responses/describe.json
|
287
293
|
- spec/wavefront-sdk/resources/user_responses/grant.json
|
288
294
|
- spec/wavefront-sdk/resources/user_responses/list.json
|
295
|
+
- spec/wavefront-sdk/role_spec.rb
|
289
296
|
- spec/wavefront-sdk/savedsearch_spec.rb
|
290
297
|
- spec/wavefront-sdk/search_spec.rb
|
291
298
|
- spec/wavefront-sdk/serviceaccount_spec.rb
|
292
299
|
- spec/wavefront-sdk/settings_spec.rb
|
293
300
|
- spec/wavefront-sdk/source_spec.rb
|
301
|
+
- spec/wavefront-sdk/spy_spec.rb
|
294
302
|
- spec/wavefront-sdk/stdlib/array_spec.rb
|
295
303
|
- spec/wavefront-sdk/stdlib/hash_spec.rb
|
296
304
|
- spec/wavefront-sdk/stdlib/string_spec.rb
|
297
305
|
- spec/wavefront-sdk/support/mixins_spec.rb
|
298
306
|
- spec/wavefront-sdk/support/parse_time_spec.rb
|
307
|
+
- spec/wavefront-sdk/unstable/chart_spec.rb
|
299
308
|
- spec/wavefront-sdk/usage_spec.rb
|
300
309
|
- spec/wavefront-sdk/user_spec.rb
|
301
310
|
- spec/wavefront-sdk/usergroup_spec.rb
|
@@ -320,15 +329,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
320
329
|
requirements:
|
321
330
|
- - ">="
|
322
331
|
- !ruby/object:Gem::Version
|
323
|
-
version: 2.
|
332
|
+
version: 2.4.0
|
324
333
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
325
334
|
requirements:
|
326
335
|
- - ">="
|
327
336
|
- !ruby/object:Gem::Version
|
328
337
|
version: '0'
|
329
338
|
requirements: []
|
330
|
-
|
331
|
-
rubygems_version: 2.7.7
|
339
|
+
rubygems_version: 3.0.8
|
332
340
|
signing_key:
|
333
341
|
specification_version: 4
|
334
342
|
summary: SDK for Wavefront API v2
|
@@ -381,16 +389,19 @@ test_files:
|
|
381
389
|
- spec/wavefront-sdk/resources/user_responses/describe.json
|
382
390
|
- spec/wavefront-sdk/resources/user_responses/grant.json
|
383
391
|
- spec/wavefront-sdk/resources/user_responses/list.json
|
392
|
+
- spec/wavefront-sdk/role_spec.rb
|
384
393
|
- spec/wavefront-sdk/savedsearch_spec.rb
|
385
394
|
- spec/wavefront-sdk/search_spec.rb
|
386
395
|
- spec/wavefront-sdk/serviceaccount_spec.rb
|
387
396
|
- spec/wavefront-sdk/settings_spec.rb
|
388
397
|
- spec/wavefront-sdk/source_spec.rb
|
398
|
+
- spec/wavefront-sdk/spy_spec.rb
|
389
399
|
- spec/wavefront-sdk/stdlib/array_spec.rb
|
390
400
|
- spec/wavefront-sdk/stdlib/hash_spec.rb
|
391
401
|
- spec/wavefront-sdk/stdlib/string_spec.rb
|
392
402
|
- spec/wavefront-sdk/support/mixins_spec.rb
|
393
403
|
- spec/wavefront-sdk/support/parse_time_spec.rb
|
404
|
+
- spec/wavefront-sdk/unstable/chart_spec.rb
|
394
405
|
- spec/wavefront-sdk/usage_spec.rb
|
395
406
|
- spec/wavefront-sdk/user_spec.rb
|
396
407
|
- spec/wavefront-sdk/usergroup_spec.rb
|