cryptum 0.0.291 → 0.0.293

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: de399b2c8ca142a086d12d91f497a7c77283f56719f1c02cdeb8b0f73655c97c
4
- data.tar.gz: 6bbbc70fef48971cefa7e489b20be9c6f27342f641e5836d1bdc1fd5dc0492d0
3
+ metadata.gz: 529fcd623116fbe8003e36deba8754a0e5e50843795680fb6a0b179e61662324
4
+ data.tar.gz: 55b4072da8ccc199568b33d10f283dfa04dc7eb7ec30aff09a9998a94b989d2c
5
5
  SHA512:
6
- metadata.gz: 4d627c18f7bb9ba293edb645a084233a1f11efabea06626ac86b5fb12fe7912f7eb96aac94f7c43f5449dd13f92f3b2ba2a14e5bc2871023339edbee653ed48d
7
- data.tar.gz: 56c49b05af1efe358b0799be7b2802b14700d3a1be779d05afdba98bbf897ce208f9aa04f430d0414b1d5bb1454541aa2da50a4ef45c93213f83eb97097d1b68
6
+ metadata.gz: 235d5c7052cb8b9c5deabed73fc497e198e7e8261adff584b8bc7cf6c055fcd5dd8711a32c82ea0826be2ea26e26f117d3bfc7815dd78b273209b478b70fc94c
7
+ data.tar.gz: 3d0f6e2db4966dc6508f14e6e988520c859565d2b056e0c50a5fa4fc0f61da76feb469ecc98d86c5e6d0d72b971335a4865f219e3b6bd5f60dfb1b3d35e7bbac
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2022-12-06 22:57:28 UTC using RuboCop version 1.39.0.
3
+ # on 2022-12-08 03:39:16 UTC using RuboCop version 1.39.0.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
@@ -28,11 +28,10 @@ Layout/CommentIndentation:
28
28
  - 'lib/cryptum/api.rb'
29
29
  - 'lib/cryptum/ui/order_execution.rb'
30
30
 
31
- # Offense count: 4
31
+ # Offense count: 3
32
32
  # This cop supports safe autocorrection (--autocorrect).
33
33
  Layout/EmptyLineAfterGuardClause:
34
34
  Exclude:
35
- - 'lib/cryptum/order_book/market_trend.rb'
36
35
  - 'lib/cryptum/ui/order_execution.rb'
37
36
 
38
37
  # Offense count: 1
@@ -65,13 +64,12 @@ Layout/IndentationStyle:
65
64
  Exclude:
66
65
  - 'lib/cryptum/ui/order_execution.rb'
67
66
 
68
- # Offense count: 6
67
+ # Offense count: 2
69
68
  # This cop supports safe autocorrection (--autocorrect).
70
69
  # Configuration parameters: EnforcedStyle, IndentationWidth.
71
70
  # SupportedStyles: aligned, indented
72
71
  Layout/MultilineOperationIndentation:
73
72
  Exclude:
74
- - 'lib/cryptum/order_book/market_trend.rb'
75
73
  - 'lib/cryptum/ui/order_execution.rb'
76
74
  - 'lib/cryptum/ui/ticker.rb'
77
75
 
@@ -87,47 +85,47 @@ Layout/TrailingWhitespace:
87
85
  - 'lib/cryptum/ui/order_plan.rb'
88
86
  - 'lib/cryptum/ui/order_timer.rb'
89
87
 
90
- # Offense count: 87
88
+ # Offense count: 85
91
89
  Lint/UselessAssignment:
92
90
  Enabled: false
93
91
 
94
92
  # Offense count: 47
95
93
  # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
96
94
  Metrics/AbcSize:
97
- Max: 405
95
+ Max: 407
98
96
 
99
97
  # Offense count: 7
100
98
  # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
101
99
  # AllowedMethods: refine
102
100
  Metrics/BlockLength:
103
- Max: 146
101
+ Max: 144
104
102
 
105
103
  # Offense count: 4
106
104
  # Configuration parameters: CountBlocks.
107
105
  Metrics/BlockNesting:
108
106
  Max: 4
109
107
 
110
- # Offense count: 20
108
+ # Offense count: 19
111
109
  # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
112
110
  Metrics/CyclomaticComplexity:
113
- Max: 73
111
+ Max: 76
114
112
 
115
113
  # Offense count: 68
116
114
  # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
117
115
  Metrics/MethodLength:
118
- Max: 389
116
+ Max: 390
119
117
 
120
- # Offense count: 18
118
+ # Offense count: 17
121
119
  # Configuration parameters: CountComments, CountAsOne.
122
120
  Metrics/ModuleLength:
123
121
  Max: 538
124
122
 
125
- # Offense count: 20
123
+ # Offense count: 19
126
124
  # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
127
125
  Metrics/PerceivedComplexity:
128
- Max: 76
126
+ Max: 79
129
127
 
130
- # Offense count: 4
128
+ # Offense count: 5
131
129
  # This cop supports safe autocorrection (--autocorrect).
132
130
  # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
133
131
  # SupportedStyles: assign_to_condition, assign_inside_condition
@@ -162,7 +160,7 @@ Style/Next:
162
160
  Exclude:
163
161
  - 'lib/cryptum/api.rb'
164
162
 
165
- # Offense count: 4
163
+ # Offense count: 3
166
164
  # This cop supports safe autocorrection (--autocorrect).
167
165
  # Configuration parameters: Strict, AllowedNumbers, AllowedPatterns.
168
166
  Style/NumericLiterals:
data/lib/cryptum/event.rb CHANGED
@@ -139,7 +139,7 @@ module Cryptum
139
139
  end
140
140
 
141
141
  unless event_history.order_execute_details_win_active
142
- Cryptum::UI::OrderExecution.refresh(
142
+ event_history = Cryptum::UI::OrderExecution.refresh(
143
143
  option_choice: option_choice,
144
144
  order_execute_win: terminal_win.order_execute_section,
145
145
  env: env,
@@ -523,6 +523,8 @@ module Cryptum
523
523
 
524
524
  # Reset Order Ready Boolean
525
525
  event_history.order_ready = false
526
+
527
+ event_history
526
528
  rescue Interrupt
527
529
  # Exit Gracefully if CTRL+C is Pressed During Session
528
530
  Cryptum.exit_gracefully(which_self: self)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.291'
4
+ VERSION = '0.0.293'
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.291
4
+ version: 0.0.293
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.