cryptoexchange 0.6.0 → 0.6.1

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: 9a41f865eb28d874977c2fca50d3793699903573
4
- data.tar.gz: d1c11a43c53feeb6db9f1e3cdcc91420d65eae7c
3
+ metadata.gz: 83914b4231b7ee4c4bb6317bf2bca9546190f6cd
4
+ data.tar.gz: 3781897ddb9ea1fc66f4b61c348919f74a0d1375
5
5
  SHA512:
6
- metadata.gz: 160cc7215c3cb9c7a92a9d92714f80272982d4c61577ed61cdcb0de8708e211b862fa6d1b10090e802429cbc3f124d476943eb3b8bfa7b95768cb7e26c23f890
7
- data.tar.gz: 9f2f14134e5f43452a269ed55634c22a279bcd3f2783212ee842c1ea8148675c353afa390e683038d8405fdaf101113b9ed666d8a4e6397f5d383d85565cba56
6
+ metadata.gz: 9a6c385e4beb63054985c082c46832d0c21a283111b96f337f1a0fa3a41cbf104f6459c0862a9509e5188cc066437b91bfe84bb3f2e7364735f393d127717931
7
+ data.tar.gz: bc781f6bfa210478b6629fa1741564631a07b654781aa1e798cf134f8a4bddccc34a7a4907bb41a23fcfbf69d79edcc8389ceb3238e1b5ea9e6e0f25a3aef862
@@ -31,7 +31,7 @@ module Cryptoexchange::Exchanges
31
31
  ticker.high = NumericHelper.to_d(output['data']['high']['value'])
32
32
  ticker.low = NumericHelper.to_d(output['data']['low']['value'])
33
33
  ticker.volume = NumericHelper.to_d(output['data']['vol']['value'])
34
- ticker.timestamp = output['data']['dataUpdateTime'].to_i
34
+ ticker.timestamp = output['data']['dataUpdateTime'].to_i / 1000000
35
35
  ticker.payload = output
36
36
  ticker
37
37
  end
@@ -1,3 +1,3 @@
1
1
  module Cryptoexchange
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptoexchange
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TM Lee