cryptum 0.0.458 → 0.0.459

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: 3c04633f954adc6a1d46177ffad69796738a01be430071efc785226f8f1fd116
4
- data.tar.gz: 804989be187108d606c9784aae5149dea03a302b0bd937e5115810a0714d74a7
3
+ metadata.gz: 8f3b6200242a459e04498dab907ff8783a894ff294fa4b6b29a9df2c36b9075c
4
+ data.tar.gz: 21e6dfd76ef7972d8b4a1c237b71bc9fa29453cc3aae489bb0b38f1276e6de89
5
5
  SHA512:
6
- metadata.gz: 1a86babcb3ee6fdfedf5f218ead23f74bc449c8bb8f8bb9eb7afb6b7b716458aab16cda47dc524d1af447116b04346722e9e2d7f7b453140bf1afb2b91379bb6
7
- data.tar.gz: ce866cc620947b3a575a9b4124bf076002818ba6457cfc46f479baad6b7014ecf4a489ca73dec0f5fcbb986d3db813cdde5d33bcbc03ee1214cfe77157784b56
6
+ metadata.gz: cdd2b25fe0661067796f1ac6ef882a1fbb85fda5e31e5855f682d871fdf03a37567e83875810c80d12070b893f4bfc8c8c91d5a94c06b6e0a999fa002362cc1a
7
+ data.tar.gz: 84647d1b24aee7bd44989410974ea78f7f8e2e3bf629077d0e4e57bc7820bcdac7dac9b9d0112e60486933077db5140b77c549e14c4748d67704fb5d3d2ed786
@@ -114,7 +114,7 @@ module Cryptum
114
114
  details_ln3 = "- Executed Value: $#{executed_value} | Market Type: #{market_type} | Settled: #{settled}"
115
115
 
116
116
  # UI
117
- col_just1 = (Curses.cols - Cryptum::UI.col_first) - 1
117
+ col_just1 = (Curses.cols - Cryptum::UI.col_first)
118
118
 
119
119
  # ROW 1
120
120
  out_line_no = 0
@@ -238,6 +238,14 @@ module Cryptum
238
238
  string: details_ln3.ljust(col_just1, ' ')
239
239
  )
240
240
 
241
+ # ROW 10
242
+ out_line_no += 1
243
+ Cryptum::UI.line(
244
+ ui_win: order_execute_details_win,
245
+ out_line_no: out_line_no,
246
+ color: line_color
247
+ )
248
+
241
249
  # Clear to OK ROW
242
250
  ok_row = 10
243
251
  out_line_no += 1
@@ -53,11 +53,10 @@ module Cryptum
53
53
  slice_alloc_ln2_details = " slice of $#{previous_slice_invest_out} results in $#{invest_out} being allocated for this slice."
54
54
  end
55
55
  profit_ln1_details = "3. With a slice allocation of $#{invest_out}, plus a TPM equal to #{tpm_out}%, $#{return_out} will be returned"
56
- profit_ln2_details = " once sold. With $#{invest_out} invested, the gross profit equals $#{profit_out}, minus any Maker &"
57
- profit_ln3_details = ' Taker (transaction) fees.'
56
+ profit_ln2_details = " once sold. With $#{invest_out} invested, the gross profit equals $#{profit_out}, minus any fess."
58
57
 
59
58
  # UI
60
- col_just1 = (Curses.cols - Cryptum::UI.col_first) - 1
59
+ col_just1 = (Curses.cols - Cryptum::UI.col_first)
61
60
 
62
61
  # ROW 1
63
62
  out_line_no = 0
@@ -171,14 +170,10 @@ module Cryptum
171
170
 
172
171
  # ROW 9
173
172
  out_line_no += 1
174
- order_plan_details_win.setpos(out_line_no, Cryptum::UI.col_first)
175
- order_plan_details_win.clrtoeol
176
-
177
- Cryptum::UI.colorize(
173
+ Cryptum::UI.line(
178
174
  ui_win: order_plan_details_win,
179
- color: order_color,
180
- style: style,
181
- string: profit_ln3_details.ljust(col_just1, ' ')
175
+ out_line_no: out_line_no,
176
+ color: line_color
182
177
  )
183
178
 
184
179
  # Clear to OK ROW
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.458'
4
+ VERSION = '0.0.459'
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.458
4
+ version: 0.0.459
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.