wargaming_api_ruby 0.1.4 → 0.1.5

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
  SHA1:
3
- metadata.gz: b4e7dc15f0ad02653598da0f9ecd8203618643cb
4
- data.tar.gz: afbf283528fa28ae7ef9ec1062ee5bda2e3aead6
3
+ metadata.gz: 2b65f28b6fb3c9ca943bb75a88bbfeeb65ac796f
4
+ data.tar.gz: 6700005a0d3bab7bd5082575e43944eaf8e24601
5
5
  SHA512:
6
- metadata.gz: 35da746a7eedb355b5fa75d7d810c9aa35c60bab61fee0877d53cc822b600df83758f1b4702cbba582ba3498ad926cbf9f5d892e5eabe1be85eb6708b524b0ff
7
- data.tar.gz: c2db1e6161f44a656782844917808c676e4a7a1bbb8e0cded61c41dc2e9aed8b03bd0383607fd9904bac834b65d255a7a3bfb5127f73d0969654dbb1d55343ce
6
+ metadata.gz: 627b1e6fe113a18c6da6342c8acffc44e54c6b5d0c05d368a13b934951ac564df3486300754c8f236175965dbbb3562251aedb6e17d922457891469dbfb4abc7
7
+ data.tar.gz: c12d4632e24ce640a90a3efd0745e192113b17b137c5e3d2b21d635a9712df1e8fd20a9473cbd55afa1a83f8b9746c3ad14297c3f00b1ffe679241deedd0fd60
@@ -18,7 +18,7 @@ module WargamingApi::Concern::Attributable
18
18
 
19
19
  case self._attributes[name.to_sym]
20
20
  when :datetime
21
- value > 0 ? Time.utc.at(value) : nil
21
+ Time.at(value)
22
22
  else
23
23
  value
24
24
  end
@@ -1,3 +1,3 @@
1
1
  module WargamingApi
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wargaming_api_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Drobotov