cryptum 0.0.310 → 0.0.312
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cryptum/event.rb +7 -7
- data/lib/cryptum/option.rb +1 -1
- data/lib/cryptum/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0adc69cdbbde0908575f0c4696b09be24b0fc67a7457bf99da92f2391ce46e2f
|
4
|
+
data.tar.gz: 3aaf362ef9a5d4863ea279224afff4d4f07669f5954ceb0f9dde6d56bce2469d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6317706ccad3922075e7d3f3cdec208f8b5f34c5a7cc78eb3fcd5dde6d987d3847112cf96892c8965e063d9062ce5bf9c56c424174ea907448c0b3dd7b86dc08
|
7
|
+
data.tar.gz: bd6df428c60303db065011915fb94351131cd04c6f510c2ec3c0c4e8bdfd0ef7287d042b595a3f925484fbfa16b81b6e9b10e04e2eed0a1843b1f07300ef74d7
|
data/lib/cryptum/event.rb
CHANGED
@@ -78,13 +78,13 @@ module Cryptum
|
|
78
78
|
)
|
79
79
|
end
|
80
80
|
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
81
|
+
Cryptum::UI::OrderTimer.refresh(
|
82
|
+
option_choice: option_choice,
|
83
|
+
event_history: event_history,
|
84
|
+
order_timer_win: terminal_win.order_timer_section,
|
85
|
+
indicator_status: indicator_status,
|
86
|
+
key_press_event: terminal_win.key_press_event
|
87
|
+
)
|
88
88
|
|
89
89
|
if event_history.event_type == :l2update ||
|
90
90
|
terminal_win.market_trend_ui_resize
|
data/lib/cryptum/option.rb
CHANGED
@@ -89,7 +89,7 @@ module Cryptum
|
|
89
89
|
reason = :repo_root
|
90
90
|
end
|
91
91
|
|
92
|
-
option_choice.market_trend_reset =
|
92
|
+
option_choice.market_trend_reset = 86_400 if option_choice.market_trend_reset.to_i.zero?
|
93
93
|
unless option_choice.market_trend_reset.to_i >= 60 &&
|
94
94
|
option_choice.market_trend_reset <= 604_800
|
95
95
|
usage = true
|
data/lib/cryptum/version.rb
CHANGED