cryptum 0.0.286 → 0.0.288

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: c6803b2f1648237eeb6d2fdf0277e397e4c4224370185ba089ca51aeba5a0fb2
4
- data.tar.gz: 5301e4fe263731a469adb3a315c28da88efa4703eddac7a2a9ccceb8ef3c466d
3
+ metadata.gz: e15d53daea50fb3e48d90dbc818818da862ad2fb25e9a35b0238a40c31a497bc
4
+ data.tar.gz: 72d4171221a6b32532aa6356d3c433070f3088a919308cd5eba6cdb6e0043433
5
5
  SHA512:
6
- metadata.gz: 208a2da8cb0fb3f1f11c33c17e6a17c13f24337cb0053ce41b550ad5ec8ac8c090b5e6f819f5f44652b00ab3d137c87381bd08796e8faca75fefcd3b4bee891d
7
- data.tar.gz: aa4f27d4a756f925502aa9f329eb4b7d1d6c36f5756494b8b9f23df9e306b2a648bc68d8ce73bbf90ad869c9b85d9179977ee62783e5b9464245e8c703a7a620
6
+ metadata.gz: 3709fdfee43b9b00c628aa619ac32b875715d2522798bf44eb9dc88d621d05b74d1da9dfc205ef5e1691672baa3a5798571b3620f90f9713e304fe3b51ac240c
7
+ data.tar.gz: 545f7a78e5ace8789d07469941749b681a7c2467d406a94624ed76b71a06c1f9618d8b1eea5defdbd37c479640e34f5390569c0567357e2270fdfe5f6290818f
@@ -57,7 +57,7 @@ module Cryptum
57
57
  executed_value = 'N/A'
58
58
  market_type = 'N/A'
59
59
  settled = 'N/A'
60
- if order_history_arr.any?
60
+ unless order_history_arr.empty?
61
61
  order_history = order_history_arr.first
62
62
  order_type = order_history[:type].capitalize
63
63
  time_in_force = order_history[:time_in_force].upcase
@@ -420,7 +420,7 @@ module Cryptum
420
420
  event_history.order_execute_index_offset = first_row
421
421
  end
422
422
 
423
- if order_history_meta.any?
423
+ if order_history_meta && order_history_meta.any?
424
424
  selected_order = event_history.order_execute_selected_data
425
425
  order_history_meta.reverse[first_row..last_row].each do |meta|
426
426
  out_line_no += 1
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.286'
4
+ VERSION = '0.0.288'
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.286
4
+ version: 0.0.288
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.