wavefront-cli 4.5.1 → 4.5.2

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
  SHA256:
3
- metadata.gz: ce9312443c0ff77418976599a8d4f55169e8e1ef313a33e27bc9b0703784dc0e
4
- data.tar.gz: af50e07353671fb6b7025a704fc88855283482fdd7b0bebec38274577a923e74
3
+ metadata.gz: 85cffedda19dd4e8ac981ecc22a59610278f3d22be74f73cb9fd52baee745e9b
4
+ data.tar.gz: c623f5dfc3f2c4b9e75547f38de546115eebec4e0d22e397c905d7483bad67f4
5
5
  SHA512:
6
- metadata.gz: aebe780241b377d2a7d85f97640cfacadb07fff838bd3246e37fb5adfa78caab0a9ef7deaebddb25102b40872cb55a92d6f2634f32d391cd197abd7a60387057
7
- data.tar.gz: 315e47df863daae58362e416a4b9b0ff8422c3fb342db0cf521f4dbe2ee9ada167821ea6940886c5db7269e064b99a362280e4c79b6309b4754344e48d01de68
6
+ metadata.gz: '080b36c657b1b489b236f8a0207a74ebc49b30e9fd921cdd3fb6ae4e134f637297b508e9b3cecce0a2897655cfad0516b64d45c7061e054763f8a8e51e10c0c0'
7
+ data.tar.gz: e0417583dfc07ec380c298a1d6b4a23dd0a31715997b298494ca5a83bee01960bbe0b1b0717a2efd23d6bcf00bdd961affa05ae4798206a505e17f0bc79627b5
data/.travis.yml CHANGED
@@ -5,6 +5,7 @@ rvm:
5
5
  - 2.4.9
6
6
  - 2.5.7
7
7
  - 2.6.5
8
+ - 2.7.0
8
9
  before_install: gem install bundler --no-document
9
10
  deploy:
10
11
  provider: rubygems
data/HISTORY.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.5.2 (2020-01-15)
4
+ * Test build against, and fix warning messages on, Ruby 2.7.0
5
+ * Bump SDK dependency to 3.6.1
6
+
3
7
  ## 4.5.1 (2020-01-14)
4
8
  * Bugfix. CSV query output errored on metrics without tags.
5
9
 
@@ -83,7 +83,7 @@ module WavefrontCsvOutput
83
83
  # Do escaping and quoting
84
84
  #
85
85
  def csv_value(value)
86
- if (formatopts.include?('quote') || value =~ /[,\s"]/) &&
86
+ if (formatopts.include?('quote') || value.to_s =~ /[,\s"]/) &&
87
87
  !value.to_s.empty?
88
88
  quote_value(value)
89
89
  else
@@ -1,3 +1,3 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- WF_CLI_VERSION = '4.5.1'
3
+ WF_CLI_VERSION = '4.5.2'
@@ -267,7 +267,7 @@ class AlertEndToEndTest < EndToEndTest
267
267
  tags target name]
268
268
  end
269
269
 
270
- # rubocop:disable Metrics/LineLength
270
+ # rubocop:disable Layout/LineLength
271
271
  def import_data
272
272
  { name: 'PKS - too many containers not running',
273
273
  condition: 'sum(ts(pks.kube.pod.container.status.running.gauge)) / (sum(ts(pks.kube.pod.container.status.running.gauge)) + sum(ts(pks.kube.pod.container.status.waiting.gauge)) + sum(ts(pks.kube.pod.container.status.terminated.gauge))) < 0.8',
@@ -292,5 +292,5 @@ class AlertEndToEndTest < EndToEndTest
292
292
  resolveAfterMinutes: 5,
293
293
  id: '1556812163465' }
294
294
  end
295
- # rubocop:enable Metrics/LineLength
295
+ # rubocop:enable Layout/LineLength
296
296
  end
@@ -26,11 +26,11 @@ Gem::Specification.new do |gem|
26
26
 
27
27
  gem.add_runtime_dependency 'docopt', '~> 0.6.0'
28
28
  gem.add_runtime_dependency 'inifile', '~> 3.0'
29
- gem.add_runtime_dependency 'wavefront-sdk', '~> 3.6', '>= 3.6.0'
29
+ gem.add_runtime_dependency 'wavefront-sdk', '~> 3.6', '>= 3.6.1'
30
30
 
31
31
  gem.add_development_dependency 'minitest', '~> 5.11', '>= 5.11.0'
32
32
  gem.add_development_dependency 'rake', '~> 12.0'
33
- gem.add_development_dependency 'rubocop', '~> 0.76.0'
33
+ gem.add_development_dependency 'rubocop', '~> 0.79'
34
34
  gem.add_development_dependency 'spy', '~> 1.0.0'
35
35
  gem.add_development_dependency 'webmock', '~> 3.7'
36
36
  gem.add_development_dependency 'yard', '~> 0.9.5'
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: 4.5.1
4
+ version: 4.5.2
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-01-14 00:00:00.000000000 Z
11
+ date: 2020-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docopt
@@ -47,7 +47,7 @@ dependencies:
47
47
  version: '3.6'
48
48
  - - ">="
49
49
  - !ruby/object:Gem::Version
50
- version: 3.6.0
50
+ version: 3.6.1
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -57,7 +57,7 @@ dependencies:
57
57
  version: '3.6'
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: 3.6.0
60
+ version: 3.6.1
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: minitest
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -98,14 +98,14 @@ dependencies:
98
98
  requirements:
99
99
  - - "~>"
100
100
  - !ruby/object:Gem::Version
101
- version: 0.76.0
101
+ version: '0.79'
102
102
  type: :development
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - "~>"
107
107
  - !ruby/object:Gem::Version
108
- version: 0.76.0
108
+ version: '0.79'
109
109
  - !ruby/object:Gem::Dependency
110
110
  name: spy
111
111
  requirement: !ruby/object:Gem::Requirement