wavefront-cli 4.4.0 → 4.4.1

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: a025cf2419ed21cda9a87b574e5d6f4b181fd94a4cd98e360e0f7151166a62cc
4
- data.tar.gz: a254ff1f5c1de6ca86b0370c2f1e7d20ecbb97756f149e05660a397b45c77415
3
+ metadata.gz: 2433758d7cf885eb814ce50935fca5325d6a5ae01060eb407cb17e74e36da6c7
4
+ data.tar.gz: 6fd760d2439cd0c81f125f8d6df72e5eff5702f1d574d73b899eef6b4f646952
5
5
  SHA512:
6
- metadata.gz: 2acd83e6320f1b5a669728b3dfe016e3c7c454a05fa2149319d392f52788a3927ba8a8aedad2bdd6ffbcc42c7caba219ad0fb446ddd25110fcaf7e5cedc7a925
7
- data.tar.gz: 147c971de3f1b63721a1e58863bee3bdedef7a2b8281d04d9402608d1ec13a642667bbea54f55d095551af59617c87e915726df4ba79fc69c9153c67982a137f
6
+ metadata.gz: 96c2a9221dbb07add7e115bdfd5e3499739022055875d9fdde0381965f87a49e7deb7806c98f1dd0e30b983d58ec29c8457b850841a998d20c9253f821368e38
7
+ data.tar.gz: aa66e5930f5319c9b8597510457e4037ecfe936118392c2a388ca566b9d4d2c9b83eab70bfda862b810decd34680cb1ec4d4697415d9675d40cff640e3563d09
data/HISTORY.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.4.1 (2019-10-31)
4
+ * Elegantly handle requests to print non-existent fields.
5
+
3
6
  ## 4.4.0 (2019-10-31)
4
7
  * Add `-O fields` option to `search` subcommands.
5
8
 
@@ -44,6 +44,8 @@ module WavefrontDisplayPrinter
44
44
 
45
45
  def to_s
46
46
  data.map { |e| format(fmt, e).rstrip }.join("\n")
47
+ rescue KeyError
48
+ raise WavefrontCli::Exception::UserError, 'field not found'
47
49
  end
48
50
  end
49
51
  end
@@ -1,3 +1,3 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- WF_CLI_VERSION = '4.4.0'
3
+ WF_CLI_VERSION = '4.4.1'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wavefront-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.0
4
+ version: 4.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Fisher