cryptum 0.0.426 → 0.0.427
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/Gemfile +2 -2
- data/lib/cryptum/log.rb +6 -2
- data/lib/cryptum/ui/order/execute.rb +2 -2
- data/lib/cryptum/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6727655e4af558dbafa2b01ee20190a20f7833f8a6a3ee62382b209710e4697
|
4
|
+
data.tar.gz: a5fdae6874f69f4dd5bbb1d5901d6e5f0666ff60f56afdfda78a842b09b71d90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3eec879f5b3ae0351a274b58c70e931ed987a2e62c94706928e450d9a0308fffdeb283ac53c0ea05c6fcf7102d806969a51d3e829b6aeb0c344c9ec767dd74b4
|
7
|
+
data.tar.gz: 05eb5192d9d556c621db29ffdf71cabbf4189595bccaed77b42ed2877f027a74a5649bee19ac4a4a8b49d036bd8fb9d9d44c7fa2ffbbe8793376f0bc5e020874
|
data/.rubocop.yml
CHANGED
data/Gemfile
CHANGED
@@ -12,7 +12,7 @@ gemspec
|
|
12
12
|
# to build appropriately. Defer to ./reinstall_coinbot_gemset.sh
|
13
13
|
# to review these custom flags
|
14
14
|
gem 'addressable', '2.8.4'
|
15
|
-
gem 'bundler', '>=2.4.
|
15
|
+
gem 'bundler', '>=2.4.12'
|
16
16
|
gem 'bundler-audit', '0.9.1'
|
17
17
|
gem 'curses', '1.4.4'
|
18
18
|
gem 'eventmachine', '1.2.7'
|
@@ -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.50.
|
29
|
+
gem 'rubocop', '1.50.2'
|
30
30
|
gem 'rubocop-rake', '0.6.0'
|
31
31
|
gem 'rubocop-rspec', '2.19.0'
|
32
32
|
gem 'ruby-prof', '1.6.1'
|
data/lib/cryptum/log.rb
CHANGED
@@ -88,8 +88,12 @@ module Cryptum
|
|
88
88
|
|
89
89
|
if msg.instance_of?(Interrupt)
|
90
90
|
logger.level = Logger::WARN
|
91
|
-
|
92
|
-
|
91
|
+
if driver_name == 'cryptum-repl'
|
92
|
+
log_event += ' => CTRL+C Detected.'
|
93
|
+
else
|
94
|
+
log_event += ' => CTRL+C Detected...Exiting Session.'
|
95
|
+
exit_gracefully = true unless driver_name == 'cryptum-repl'
|
96
|
+
end
|
93
97
|
else
|
94
98
|
log_event += " => #{msg}"
|
95
99
|
if msg.respond_to?('backtrace') && !msg.instance_of?(Errno::ECONNRESET)
|
@@ -455,11 +455,11 @@ module Cryptum
|
|
455
455
|
oh[:id] == meta[:buy_order_id]
|
456
456
|
end
|
457
457
|
|
458
|
-
buy_created_at = '____-__-__ __:__:__'
|
458
|
+
buy_created_at = '____-__-__ __:__:__-____'
|
459
459
|
unless buy_created_at_hash_arr.empty?
|
460
460
|
buy_created_at = Time.parse(
|
461
461
|
buy_created_at_hash_arr.first[:created_at]
|
462
|
-
).strftime('%Y-%m-%d %H:%M:%S
|
462
|
+
).strftime('%Y-%m-%d %H:%M:%S%z')
|
463
463
|
end
|
464
464
|
|
465
465
|
invest = "$#{invest_out} @ "
|
data/lib/cryptum/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.427
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 0day Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.4.
|
33
|
+
version: 2.4.12
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.4.
|
40
|
+
version: 2.4.12
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler-audit
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -226,14 +226,14 @@ dependencies:
|
|
226
226
|
requirements:
|
227
227
|
- - '='
|
228
228
|
- !ruby/object:Gem::Version
|
229
|
-
version: 1.50.
|
229
|
+
version: 1.50.2
|
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.50.
|
236
|
+
version: 1.50.2
|
237
237
|
- !ruby/object:Gem::Dependency
|
238
238
|
name: rubocop-rake
|
239
239
|
requirement: !ruby/object:Gem::Requirement
|
@@ -537,7 +537,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
537
537
|
- !ruby/object:Gem::Version
|
538
538
|
version: '0'
|
539
539
|
requirements: []
|
540
|
-
rubygems_version: 3.4.
|
540
|
+
rubygems_version: 3.4.12
|
541
541
|
signing_key:
|
542
542
|
specification_version: 4
|
543
543
|
summary: Coinbase Pro High-Frequency Trading Bot
|