cryptum 0.0.309 → 0.0.311

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fb68bf30183a4ab61756a6235927a9eb4ee02c326e26d5e3cf1ce835717b0e08
4
- data.tar.gz: 69ffe9a4fa666d6179f4f6eb8a94d48b12ae595be88c109d0fb899dae8111ee4
3
+ metadata.gz: 5c35dd6a842ff94a953cd5d95cccdcac9adb09dc10e2272ce21c7ab637728b9f
4
+ data.tar.gz: b3337abccc8ca624daaad47b6b05f4d34fc8cd4039a0a0af070ec22f70fe182b
5
5
  SHA512:
6
- metadata.gz: c1867796708dec2626f7978ca350ed742bd7a6375b93ad934d3aaca0797cba3417721b2a6326ef3d499071e8b72026778c89b0e312fc786deb1aceab9ea3e627
7
- data.tar.gz: b1789a0f62d71f86738155133996d7637702a479c8704c229ccc02c726a53d05aa96ad1e52408b5ca3acbce5bdf68a5de4bf70e00ccf14e6112d5fb436d626c5
6
+ metadata.gz: '08c94f066ce7051f1d5da4083ed702dc45da09943edf6c6bd367a46e5f8f7c419c8f559a92047cffa4eab140e64bdd89bb31fc2fbb4541b666b2af3dd0c05470'
7
+ data.tar.gz: 83c38e9c728995f8baae09b4272db387c9604c1fa96824ec994fd853bdd2e96ba7f1b88dd8eeedd5147555941f00978a798cea535911f6b6345d762a395f6f5f
data/lib/cryptum/event.rb CHANGED
@@ -78,13 +78,13 @@ module Cryptum
78
78
  )
79
79
  end
80
80
 
81
- # order_countdown = Cryptum::UI::OrderTimer.refresh(
82
- # option_choice: option_choice,
83
- # event_history: event_history,
84
- # order_timer_win: terminal_win.order_timer_section,
85
- # indicator_status: indicator_status,
86
- # key_press_event: terminal_win.key_press_event
87
- # )
81
+ Cryptum::UI::OrderTimer.refresh(
82
+ option_choice: option_choice,
83
+ event_history: event_history,
84
+ order_timer_win: terminal_win.order_timer_section,
85
+ indicator_status: indicator_status,
86
+ key_press_event: terminal_win.key_press_event
87
+ )
88
88
 
89
89
  if event_history.event_type == :l2update ||
90
90
  terminal_win.market_trend_ui_resize
@@ -330,8 +330,7 @@ module Cryptum
330
330
  string: ''.ljust(col_just4, ' ')
331
331
  )
332
332
 
333
- matrix_rows = max_rows_to_display + 1
334
- matrix_rows.times.each do
333
+ max_rows_to_display.times.each do
335
334
  out_line_no += 1
336
335
  this_matrix_row = Cryptum::Matrix.generate(cols: Curses.cols)
337
336
  order_plan_win.setpos(out_line_no, Cryptum::UI.col_first)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.309'
4
+ VERSION = '0.0.311'
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.309
4
+ version: 0.0.311
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.