wavefront-sdk 5.4.1 → 5.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c655c861444978220b162bc7144eacd8ae34a01016acc37aa6dd8837f7c13946
4
- data.tar.gz: e83e2a0bf6faa89f429e8100154c4fa0d2d394e0eaff3aa948deacf9ebad0217
3
+ metadata.gz: 47c3ed865038dcefae2e115015cfd5cda6d2eec720278010ab16b285261ae7d3
4
+ data.tar.gz: 31816281995c53c3b6a12cdf103edbfbf0274a14f8353dc4085a1356bb770a0f
5
5
  SHA512:
6
- metadata.gz: 98d0ddf6e9c5fd9e221919a502f1f9d417bfeced192958c14dda83bf126d883eea26af2aceadd2c713c9b1ee152494542f373c737ce4e833c87c8f2677210f0e
7
- data.tar.gz: 8c7a347579b7375cac6c7c481ba13cc7ff2d393d9f6eff867b080d8f93b2d545bbddd8b67193706ec3cefda03ff46c3bb26033b0e14b824fad596d13a72a5201
6
+ metadata.gz: c9801eec9641016634808e2ad4e40139222fbf3e3c7ef3d0bde7ca85e5b9fe273d5d91700f290531775b4ef1ae463d3eb75e219b47936ca7ab69fa8211a27a5d
7
+ data.tar.gz: d07c63a3aa77ba33ae7c5b6c43bbc8a5af1f3c5b981f7a8543f3e2bd86a431ba6e1730a746a04b5cc5c0d149e4ec080657160c4876c51d09b1f9648f39ff3041
data/HISTORY.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.4.2 (2021-01-11)
4
+ * Fix bug which blocked event updates.
5
+
3
6
  ## 5.4.1 (2020-12-17)
4
7
  * Fix error on derived metric modification.
5
8
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  require 'pathname'
4
4
 
5
- WF_SDK_VERSION = '5.4.1'
5
+ WF_SDK_VERSION = '5.4.2'
6
6
  WF_SDK_LOCATION = Pathname.new(__dir__).parent.parent.parent
@@ -12,7 +12,7 @@ module Wavefront
12
12
  include Wavefront::Mixin::Tag
13
13
 
14
14
  def update_keys
15
- %i[startTime endTime name annotations]
15
+ %i[id name]
16
16
  end
17
17
 
18
18
  # GET /api/v2/event
@@ -100,7 +100,9 @@ module Wavefront
100
100
 
101
101
  return api.put(id, body, 'application/json') unless modify
102
102
 
103
- api.put(id, hash_for_update(describe(id), body), 'application/json')
103
+ api.put(id,
104
+ hash_for_update(describe(id).response, body),
105
+ 'application/json')
104
106
  end
105
107
 
106
108
  # POST /api/v2/event/id/close
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: 5.4.1
4
+ version: 5.4.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-12-18 00:00:00.000000000 Z
11
+ date: 2021-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable