cryptum 0.0.444 → 0.0.446
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/lib/cryptum/ui/order/execute.rb +3 -2
- 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: e602fec1892c72d24cec28660f090b8209fc469fa38407252be04a10e6781237
|
4
|
+
data.tar.gz: ea39698a8b93f4601b7d010dc0758b493a771bcd0e803dc10aa3fa5ece210d75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e139b0f1062881677a60a9d00ac53fcb0ee12fdc7b169d6393acdca33e77d7d9970f54d47dbed287440ae24523ebfc34141060d15553cc3cab36417e787bf5c
|
7
|
+
data.tar.gz: c8f1e40e9356e121679d0f8da180eeca87dad2162fe44136c96f983e78901fb3102c9791c16f13623a6b9752857f833a2f9b0dcb57c8c261931dda3d18d9e9da
|
data/.rubocop.yml
CHANGED
@@ -268,8 +268,9 @@ module Cryptum
|
|
268
268
|
end
|
269
269
|
|
270
270
|
oh_sold = order_history.find { |oh| oh[:id] == sell_order_id }
|
271
|
-
meta[:done_at] = oh_sold[:done_at] unless oh_sold.nil?
|
272
|
-
meta[:done_at] ||=
|
271
|
+
meta[:done_at] = Time.parse(oh_sold[:done_at]).strftime('%Y-%m-%d %H:%M:%S%z') unless oh_sold.nil?
|
272
|
+
meta[:done_at] ||= '____-__-__ __:__:__-____'
|
273
|
+
# meta[:done_at] ||= Time.now.strftime('%Y-%m-%d %H:%M:%S%z')
|
273
274
|
meta[:color] = :green
|
274
275
|
|
275
276
|
# Obtain buy && sell order details from order history
|
data/lib/cryptum/version.rb
CHANGED