cryptum 0.0.458 → 0.0.460

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: 9d494cae62a763c70e5b55d867193eb9632627cc8c840ab7610b9924aa402b72
4
+ data.tar.gz: '08f1176f763b9846c57f3b82f6f0149dc391082739ed143912ee35d5c517013f'
5
5
  SHA512:
6
- metadata.gz: 1a86babcb3ee6fdfedf5f218ead23f74bc449c8bb8f8bb9eb7afb6b7b716458aab16cda47dc524d1af447116b04346722e9e2d7f7b453140bf1afb2b91379bb6
7
- data.tar.gz: ce866cc620947b3a575a9b4124bf076002818ba6457cfc46f479baad6b7014ecf4a489ca73dec0f5fcbb986d3db813cdde5d33bcbc03ee1214cfe77157784b56
6
+ metadata.gz: 4280286449327a91d6cead5a29f07acbd1c91c720a707a1ca37ba0ef7b1f2d1383eb27f6d4348c3c938ee9464fcb61f56124ec58044bf51fd8e00de72aee76f0
7
+ data.tar.gz: 80812d19d530192af68f94736c8876ead5f4c298e5d1bbff821db57e68d85728912ad5816845002e2714c315051873f570f6978a981354795621e4970ccd0ab9
@@ -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.460'
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.460
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.