cryptum 0.0.448 → 0.0.450

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
  SHA256:
3
- metadata.gz: c8c01b84ae6f435626bf3012826afd00ba094510addb82c916b984785a73f222
4
- data.tar.gz: 6b99a0071732f8dc1023bb066f3aec1b96856a3690e218bc585c4c974d69f7f0
3
+ metadata.gz: '0927792ea2ac9e77095747e146ec3c0bfab5d8387ebee48f4032af5dfa2ed7f1'
4
+ data.tar.gz: 49985b1166bcd865fbee9b73d028c9bfc47be457b544a3426ca74a353b937dea
5
5
  SHA512:
6
- metadata.gz: 86013ba72221a8bf963df1184dcd1adbadc2846362db3b1e2d2ffecff51bb0073e5eaffa1841228632409d5f299970000020554c24970d965f44ea2ffb0852c3
7
- data.tar.gz: 2d79c80880a1da770feae76e1c0fa410bbf4e5f8dcdc63ce848b6a879965f59d5ea15b3ed7955fba160368809eb05adc5e03c50f88b8d86d10bd5c8f8cd6a21a
6
+ metadata.gz: 897dbfe423703b75244b22a72ce28e8222efc95884778ad02044e93322da09a57758cd90c49e615dd06985a7c9cd2d432890405a139128a8506cd5c996ef1a57
7
+ data.tar.gz: 4fff271c7398bc2fe5ca987d7343143aae47ecc34f48f20b5faf1d0d397bbc4a6949d7c260a6ad34bf2afbde624878257418d03782906f5247d66f41b86f58af
@@ -272,7 +272,7 @@ module Cryptum
272
272
  # oh_sold = order_history.find { |oh| oh[:id] == sell_order_id }
273
273
  # meta[:done_at] = Time.parse(oh_sold[:done_at]).strftime('%Y-%m-%d %H:%M:%S%z') unless oh_sold.nil?
274
274
  meta[:done_at] = meta[:sell_details][:done_at] unless meta[:sell_details].nil?
275
- meta[:done_at] ||= '____-__-__ __:__:__-____'
275
+ meta[:done_at] ||= Time.now.strftime('%Y-%m-%d %H:%M:%S%z')
276
276
  meta[:color] = :green
277
277
 
278
278
  # Obtain buy && sell order details from order history
@@ -302,7 +302,7 @@ module Cryptum
302
302
  ohm_sold_twenty_four_arr = []
303
303
  unless oh_meta_sold_arr.empty?
304
304
  ohm_sold_twenty_four_arr = oh_meta_sold_arr.select do |o|
305
- Time.parse(o[:done_at]) >= twenty_four_hrs_ago
305
+ Time.parse(o[:sell_details][:done_at]) >= twenty_four_hrs_ago
306
306
  end
307
307
  end
308
308
  order_hist_meta_sold_twenty_four = ohm_sold_twenty_four_arr.length
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.448'
4
+ VERSION = '0.0.450'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.448
4
+ version: 0.0.450
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.