cryptum 0.0.301 → 0.0.303

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: f71267d3768882eabe5dd2b2e0800ba03a4ebb71eef033f017afe1824d92f3da
4
- data.tar.gz: c4ac586c2fb0cf347f3800d7efc4bbc42b7a2b25a35d59cf911999422de7443c
3
+ metadata.gz: 44095bddd33f0c26be28ab2ce086ae1199f59b0aedfde689a4dac8fc0e87852e
4
+ data.tar.gz: d5096ba2a7ae95dbd1897e91d1bbe24b28751eae1a7c98770eef4f7d4d2e0a2c
5
5
  SHA512:
6
- metadata.gz: 9ff5ab01aa6d5b886c35c86c553c314f9777fa6e3faf1270cd7c232c77ff6624751c21a3c9e153ac285c53ae64ea24dec04b8d8b5695f79c6d4bdc9c2051c147
7
- data.tar.gz: 26265b830cf9894b840b68c69af8dd4892ef6692f53c100b4bddd7451fdeee6dfa476c35fd60e0d4acef10935aa7105610d4385ff71b99875bea457fb0d1744c
6
+ metadata.gz: 8fdd97548c0e7db8423338b38484b1b642309e261cb58e8f2e488f743156461a2c2611f6e884f55f19acd8cf932311d334f26425c602bebc0e600955f2afcd2b
7
+ data.tar.gz: 2e7ddc39484bcb365cf80fce8b97b3fe8807b329b4f86ac36f1e744e58e5a02f7f156b0d5909851bd85d075198071ffe86d4bca0cff1ba36e7fc42963562d373
@@ -426,6 +426,7 @@ module Cryptum
426
426
  event_history.order_execute_index_offset = first_row
427
427
  remaining_blank_rows = max_rows_to_display - last_row
428
428
  end
429
+ remaining_blank_rows = max_rows_to_display if order_history_meta.empty?
429
430
 
430
431
  if order_history_meta.any?
431
432
  selected_order = event_history.order_execute_selected_data
@@ -349,6 +349,7 @@ module Cryptum
349
349
  event_history.order_plan_index_offset = first_row
350
350
  remaining_blank_rows = max_rows_to_display - last_row
351
351
  end
352
+ remaining_blank_rows = max_rows_to_display if order_plan.empty?
352
353
 
353
354
  selected_order = event_history.order_plan_selected_data
354
355
  order_plan[first_row..last_row].each do |order|
@@ -417,7 +418,7 @@ module Cryptum
417
418
  # (Only Applicable if order_book[:order_plan] < max_rows_to_display)
418
419
  out_line_no += 1
419
420
  rows_to_blank = (out_line_no + remaining_blank_rows) - 1
420
- (out_line_no..remaining_blank_rows).each do |clr_line|
421
+ (out_line_no..rows_to_blank).each do |clr_line|
421
422
  out_line_no = clr_line
422
423
  order_plan_win.setpos(clr_line, Cryptum::UI.col_first)
423
424
  Cryptum::UI.colorize(
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.301'
4
+ VERSION = '0.0.303'
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.301
4
+ version: 0.0.303
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.