cryptum 0.0.409 → 0.0.410
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cryptum/open_ai.rb +1 -1
- data/lib/cryptum/ui/order/execute.rb +1 -1
- data/lib/cryptum/ui/ticker.rb +1 -1
- data/lib/cryptum/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b5294ca06dec0f8c8eff7242fe0176bfb6310d8696285728a2676d9a4b0cca9
|
4
|
+
data.tar.gz: 825b394a7a204cf80f74c94eaa578b39d734ee7f4978446aa017b081e4186db7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f2625b49dadf27c8586e480cc4f2f7b1b960390dfb4736831e9a618fec1ed297bd4bb6452adc2cacca67e5adef942461dfdff3fd935e84d78de50e906ef45cd
|
7
|
+
data.tar.gz: ac8654f10d18fad4a69e751c888eaa9cac0916c7a02fb58878f6010098886e7b4503173386035fb93cfdba3edd27233bf85e592bb9a6eb66f411c36faca6b4e4
|
data/lib/cryptum/open_ai.rb
CHANGED
@@ -68,7 +68,7 @@ module Cryptum
|
|
68
68
|
response
|
69
69
|
rescue RestClient::ExceptionWithResponse => e
|
70
70
|
File.open('/tmp/cryptum-errors.txt', 'a') do |f|
|
71
|
-
f.puts Time.now.strftime('%Y-%m-%d %H:%M:%S.%N
|
71
|
+
f.puts Time.now.strftime('%Y-%m-%d %H:%M:%S.%N%z')
|
72
72
|
f.puts "Module: #{self}"
|
73
73
|
f.puts "URL: #{api_endpoint}#{api_call}"
|
74
74
|
f.puts "PARAMS: #{params.inspect}"
|
@@ -445,7 +445,7 @@ module Cryptum
|
|
445
445
|
unless buy_created_at_hash_arr.empty?
|
446
446
|
buy_created_at = Time.parse(
|
447
447
|
buy_created_at_hash_arr.first[:created_at]
|
448
|
-
).strftime('%Y-%m-%d %H:%M:%S')
|
448
|
+
).strftime('%Y-%m-%d %H:%M:%S.%N%z')
|
449
449
|
end
|
450
450
|
|
451
451
|
invest = "$#{invest_out} @ "
|
data/lib/cryptum/ui/ticker.rb
CHANGED
@@ -36,7 +36,7 @@ module Cryptum
|
|
36
36
|
# if last_sequence + 1 < sequence
|
37
37
|
# sequence_diff = sequence - last_sequence
|
38
38
|
# File.open('/tmp/cryptum-errors.txt', 'a') do |f|
|
39
|
-
# f.puts Time.now.strftime('%Y-%m-%d %H:%M:%S.%N
|
39
|
+
# f.puts Time.now.strftime('%Y-%m-%d %H:%M:%S.%N%z')
|
40
40
|
# f.puts "Module: #{self}"
|
41
41
|
# f.puts 'Messages likely dropped:'
|
42
42
|
# f.puts "This Sequence: #{sequence}"
|
data/lib/cryptum/version.rb
CHANGED