wavefront-sdk 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wavefront-sdk/mixins.rb +1 -1
- data/lib/wavefront-sdk/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ae6f5787f80de5c4213dbf4ea9e3cbeb433a523
|
4
|
+
data.tar.gz: 125ddd35f07e932244709277f2e046d7a9b7c518
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ed38e245d4be4344e0f92b23962957afdd8d84ff0bcb3ee9e5f342c707014288f3fbbc43313b4f37c7a51df8cb7b65e7d048c8965b95217f9aff387eb6dbe74
|
7
|
+
data.tar.gz: d66915ee499574bfd0175d0472970f32f1677b2552a9943dd27691ee6a949167377f7676b6a0ecda9bf9c7c1cc0d5a9804c8505d0b1a89a5280505ffedc72885
|
data/lib/wavefront-sdk/mixins.rb
CHANGED
@@ -50,7 +50,7 @@ module Wavefront
|
|
50
50
|
# @raise [InvalidRelativeTime] if t does not meet requirements
|
51
51
|
#
|
52
52
|
def relative_time(t, ms = false, ref = DateTime.now)
|
53
|
-
ref = ms ? ref.
|
53
|
+
ref = ms ? ref.to_datetime.strftime('%Q') : ref.to_time
|
54
54
|
ref.to_i + parse_relative_time(t, ms)
|
55
55
|
end
|
56
56
|
|
@@ -1 +1 @@
|
|
1
|
-
WF_SDK_VERSION = '1.2.
|
1
|
+
WF_SDK_VERSION = '1.2.1'.freeze
|