cryptum 0.0.350 → 0.0.352

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: 07b1c23924235cd1e1e941809b4e6dec5fee5fc75b9f73353a931c22fdc02410
4
- data.tar.gz: 8a74b80a2366097f40bfc0bf041815864b67ee98ce98f8378cd4a70a29b73abb
3
+ metadata.gz: a23224cc73178c4663be48c1acc1f32b206b72b08773267a32d5a17c14c6f5b1
4
+ data.tar.gz: 5f19b50281cbe3ef284b1a8dfa64d0cf606dfd02687ca9b1c16fcd49edaab275
5
5
  SHA512:
6
- metadata.gz: 92e6b5b3d8bb9c9a30cb5a64ab9316bfcfc245390806d2f01e94d9296dfa547cc126facf7ab7cd77bf95c282c9ec4182d7827b377f15c8e1963ac8b560220339
7
- data.tar.gz: d413bdd55aba8ad7e40faaf25e5df03ce4eaa6eb7e1e949791ecc9c801a877088040273efbf52e18e197f2b8908924b55be08366717abce51e4f7873930e020f
6
+ metadata.gz: 28424b87e5b2d603294746caedd30e2463643ea320044a2305f482e2f2a7d25f8661eac42d3b6c58fff2149b771c3eb54a9f433386f3bee9175c36dfd730ee13
7
+ data.tar.gz: 49878b0040b787f9799e9d90785876da078a990d1a6b693d2b4180aed5d4387730b9529c567edfb19fde68231910e81279546341cd2c396af341e95b228e4b54
data/Gemfile CHANGED
@@ -26,7 +26,7 @@ gem 'rdoc', '6.5.0'
26
26
  gem 'require_all', '3.0.0'
27
27
  gem 'rest-client', '2.1.0'
28
28
  gem 'rspec', '3.12.0'
29
- gem 'rubocop', '1.40.0'
29
+ gem 'rubocop', '1.41.0'
30
30
  gem 'rubocop-rake', '0.6.0'
31
31
  gem 'rubocop-rspec', '2.16.0'
32
32
  gem 'ruby-prof', '1.4.4'
@@ -45,7 +45,7 @@ module Cryptum
45
45
  # order_difference = Cryptum.beautify_large_number(
46
46
  # value: order_difference
47
47
  # ).to_i
48
- motivation = 'BUYING DIP'
48
+ motivation = 'BUYING THE DIP'
49
49
  indicator_hash[:color] = :red
50
50
  if event_history.bullish_trend
51
51
  motivation = 'FOMO' if event_history.bullish_trend
@@ -62,7 +62,7 @@ module Cryptum
62
62
  motivation = 'REKT'
63
63
  indicator_hash[:color] = :red
64
64
  if event_history.bullish_trend
65
- motivation = 'PROFITING' if event_history.bullish_trend
65
+ motivation = 'TAKING PROFITS' if event_history.bullish_trend
66
66
  indicator_hash[:color] = :green
67
67
  end
68
68
  trend = "SELLS #{Cryptum.up_arrow} BY #{order_difference.to_i}"
@@ -28,9 +28,6 @@ module Cryptum
28
28
  market_trend_out = indicator_hash[:ui]
29
29
 
30
30
  # UI
31
- col_just1 = (Curses.cols - Cryptum::UI.col_first) - 1
32
- col_just4 = Curses.cols - Cryptum::UI.col_fourth
33
-
34
31
  # ROW 1
35
32
  out_line_no = 0
36
33
  Cryptum::UI.line(
@@ -40,19 +37,11 @@ module Cryptum
40
37
 
41
38
  # ROW 2
42
39
  out_line_no += 1
43
- market_trend_win.setpos(out_line_no, Cryptum::UI.col_first)
44
- market_trend_win.clrtoeol
45
-
46
- Cryptum::UI.colorize(
47
- ui_win: market_trend_win,
48
- color: market_trend_color,
49
- string: ''.ljust(col_just1, ' ')
50
- )
51
-
52
40
  market_trend_win.setpos(
53
41
  out_line_no,
54
42
  Cryptum::UI.col_center(str: market_trend_out)
55
43
  )
44
+ market_trend_win.clrtoeol
56
45
  Cryptum::UI.colorize(
57
46
  ui_win: market_trend_win,
58
47
  color: market_trend_color,
@@ -60,13 +49,6 @@ module Cryptum
60
49
  string: market_trend_out
61
50
  )
62
51
 
63
- market_trend_win.setpos(out_line_no, Cryptum::UI.col_fourth)
64
- Cryptum::UI.colorize(
65
- ui_win: market_trend_win,
66
- color: market_trend_color,
67
- string: ''.ljust(col_just4, ' ')
68
- )
69
-
70
52
  market_trend_win.refresh
71
53
 
72
54
  event_history
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.350'
4
+ VERSION = '0.0.352'
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.350
4
+ version: 0.0.352
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-19 00:00:00.000000000 Z
11
+ date: 2022-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -226,14 +226,14 @@ dependencies:
226
226
  requirements:
227
227
  - - '='
228
228
  - !ruby/object:Gem::Version
229
- version: 1.40.0
229
+ version: 1.41.0
230
230
  type: :runtime
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - '='
235
235
  - !ruby/object:Gem::Version
236
- version: 1.40.0
236
+ version: 1.41.0
237
237
  - !ruby/object:Gem::Dependency
238
238
  name: rubocop-rake
239
239
  requirement: !ruby/object:Gem::Requirement