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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ee9f41acd3fe0813ce536d55ec05f27faddc67d
4
- data.tar.gz: 4c316c36eb1256aaa7821465bc33a6a16a0beb26
3
+ metadata.gz: 2ae6f5787f80de5c4213dbf4ea9e3cbeb433a523
4
+ data.tar.gz: 125ddd35f07e932244709277f2e046d7a9b7c518
5
5
  SHA512:
6
- metadata.gz: 3543d7d92e10e2b050c02619ebf72ad62a42eaabcd3e7981daf86a840f432c141bc67671dcf526d1333277783444a7c6dc47ae358cc6dd5b4e8d505f883ae3d8
7
- data.tar.gz: 314e7259a6bd111678b3295966a78deb524f821630ea2725f178fdc19856c240fb6ce59d3fa717f16369e01ebfce50c77f51bf0add382f55080bd73ac134ff17
6
+ metadata.gz: 7ed38e245d4be4344e0f92b23962957afdd8d84ff0bcb3ee9e5f342c707014288f3fbbc43313b4f37c7a51df8cb7b65e7d048c8965b95217f9aff387eb6dbe74
7
+ data.tar.gz: d66915ee499574bfd0175d0472970f32f1677b2552a9943dd27691ee6a949167377f7676b6a0ecda9bf9c7c1cc0d5a9804c8505d0b1a89a5280505ffedc72885
@@ -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.to_date.strftime('%Q') : ref.to_time
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.0'.freeze
1
+ WF_SDK_VERSION = '1.2.1'.freeze
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wavefront-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Fisher