cryptum 0.0.285 → 0.0.287

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: 11fd793af2271f3e611c3ec71809c89d3b55d8e5d8f4c848aa1a51bb92e50994
4
- data.tar.gz: e9a583f65fc801fe5560a38d1c0bdb13aa3862d6acbf2c159a8ddb2272696d28
3
+ metadata.gz: 3af245be05a353a38b00a4f409f4fbe62af39a4b40dfed208f9e65833933a4cb
4
+ data.tar.gz: 367eec9cccb3e42140ded8a6b8a5c46d9b980bc992dc3da3a51e400bbeb59f38
5
5
  SHA512:
6
- metadata.gz: 970e1172f5a797644dc35eb91e36788e12c37921ff1c68217ef55da740564af51b825a34b01e350bf21640efbe886ab1e6f5615c83c601f4aaad29dfe9a59e79
7
- data.tar.gz: 963a96eeba7c7116d7d909b5a556e8da1f1a411dd39f6530a5d55a4f2da52d6765dfd491217f7cbf4d8495f981e77be46b7cd3aaafc74924b40bf077018f5e1d
6
+ metadata.gz: 55c6e432b6589f6e042c2f37734a75b197dc69973d5b4905a38ee91e50eaf6d6e79a946a497c910f36bc10b8d5d67378ebaf1c82db42f95aca13f775d6b40652
7
+ data.tar.gz: d1bf1b12f2adde0de81458a9cb587d09f4f5cee57c12d14e8b39b3312563affb09a6500f890dd6f05545a65ef0d39ed5f346eb30941426e97b13ec0279a4db6f
@@ -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
+ unless order_history_meta.empty?
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
@@ -72,7 +72,7 @@ module Cryptum
72
72
  ui_win: order_timer_win,
73
73
  color: :white,
74
74
  style: :bold,
75
- string: "Market Trend Reset: #{trend_countdown}"
75
+ string: "#{option_choice.market_trend_reset_label} Market Trend Reset: #{trend_countdown}"
76
76
  )
77
77
 
78
78
  # COLUMN 2
@@ -18,7 +18,7 @@ module Cryptum
18
18
  quote_increment = this_product[:quote_increment]
19
19
  fiat_smallest_decimal = quote_increment.to_s.split('.')[-1].length
20
20
 
21
- symbol_out = "#{this_product[:id]}.#{option_choice.market_trend_reset_label}"
21
+ symbol_out = "#{this_product[:id]}.D"
22
22
  fiat = this_product[:quote_currency].to_sym
23
23
  fiat_symbol = '?'
24
24
  fiat_symbol = '$' if fiat == :USD
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.285'
4
+ VERSION = '0.0.287'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.285
4
+ version: 0.0.287
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-07 00:00:00.000000000 Z
11
+ date: 2022-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable