cryptum 0.0.311 → 0.0.313
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cryptum/option.rb +1 -1
- data/lib/cryptum/version.rb +1 -1
- data/lib/cryptum/web_sock/event_machine.rb +2 -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: 1af2b52f852e9bbf4444145d1ac3a0e65d2c2cbb2bad6f9b38937bfbe6b3ad11
|
4
|
+
data.tar.gz: ceb7f155e11fe50e2e310e56f7b5dca5bec277830acb62393cb4650791198794
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01bd5b1d9b7ed32b82ba267a793ae62d6ae45cac9cc26db42100ca31239d23d6ad209fd48259075d877f0160954d64284011cc828afb258a7dcb7ec69fe6477f
|
7
|
+
data.tar.gz: 0f592c80e061b21e352b068d31019def360be9f67a7d4eac26f6844b876e366e267a3b6e6e89a55a5763269d6d8c6deaaecdabd1e29033a35f8bde11ae7a2473
|
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
@@ -241,7 +241,8 @@ module Cryptum
|
|
241
241
|
end
|
242
242
|
rescue Faye::WebSocket::API::ErrorEvent,
|
243
243
|
Errno::ECONNREFUSED,
|
244
|
-
Errno::ECONNRESET
|
244
|
+
Errno::ECONNRESET,
|
245
|
+
LoadError => e
|
245
246
|
|
246
247
|
File.open('/tmp/cryptum-errors.txt', 'a') do |f|
|
247
248
|
f.puts Time.now.strftime('%Y-%m-%d %H:%M:%S.%N %z')
|