cryptum 0.0.362 → 0.0.364
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/Gemfile +3 -3
- data/cryptum.gemspec +2 -2
- data/lib/cryptum/ui/order_execution.rb +1 -1
- data/lib/cryptum/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33f30c72fe260b2b72f38a072252ff026fd6c68f8ab7844cc6cdcc9e935e46a4
|
4
|
+
data.tar.gz: c348d38caaf4b87e598de40cabaa8d1e78bafb473c9343a18d956d33aa6df7d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9af56f7eb818ad5d904f204e69a9d9ace21b71fc4f2faa9661a6b013b8225dd1abcfecd067aadf66ddc52f2297af4fc38ddcba842e28de6bec2c89c45838e54
|
7
|
+
data.tar.gz: 8a5e05362ccb60ecfa98361fb39a8e4d9d8d1a71b12293cf0ed47704c85052eda8ff4866824d4a6d7e7919e0cc69f260341cf9aa8dab73c1837df800cd2f4fbc
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.2.
|
1
|
+
3.2.1
|
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.1'
|
15
|
-
gem 'bundler', '>=2.4.
|
15
|
+
gem 'bundler', '>=2.4.6'
|
16
16
|
gem 'bundler-audit', '0.9.1'
|
17
17
|
gem 'curses', '1.4.4'
|
18
18
|
gem 'eventmachine', '1.2.7'
|
@@ -26,10 +26,10 @@ 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.
|
29
|
+
gem 'rubocop', '1.45.1'
|
30
30
|
gem 'rubocop-rake', '0.6.0'
|
31
31
|
gem 'rubocop-rspec', '2.18.1'
|
32
|
-
gem 'ruby-prof', '1.
|
32
|
+
gem 'ruby-prof', '1.5.0'
|
33
33
|
gem 'rvm', '1.11.3.9'
|
34
34
|
gem 'sinatra', '3.0.5'
|
35
35
|
gem 'thin', '1.8.1'
|
data/cryptum.gemspec
CHANGED
@@ -7,8 +7,8 @@ require 'cryptum/version'
|
|
7
7
|
Gem::Specification.new do |spec|
|
8
8
|
# Switch back when RVM has stable 3.1.2 (i.e. not just preview / p20)
|
9
9
|
# spec.required_ruby_version = ">= #{File.read('.ruby-version')}"
|
10
|
-
|
11
|
-
spec.required_ruby_version = ">= #{
|
10
|
+
required_ruby_version = File.read('.ruby-version').split('-').last.chomp
|
11
|
+
spec.required_ruby_version = ">= #{required_ruby_version}"
|
12
12
|
spec.name = 'cryptum'
|
13
13
|
spec.version = Cryptum::VERSION
|
14
14
|
spec.authors = ['0day Inc.']
|
@@ -89,7 +89,7 @@ module Cryptum
|
|
89
89
|
order if order[:color] == 'yellow'
|
90
90
|
end.last
|
91
91
|
last_purchase_price = 0.0
|
92
|
-
last_purchase_price = last_order[:price].to_f if last_order
|
92
|
+
last_purchase_price = last_order[:price].to_f if last_order
|
93
93
|
|
94
94
|
limit_price = last_purchase_price - quote_increment.to_f if last_purchase_price.positive? && last_purchase_price < limit_price
|
95
95
|
|
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.364
|
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-
|
11
|
+
date: 2023-02-09 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.6
|
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.6
|
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.
|
229
|
+
version: 1.45.1
|
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.
|
236
|
+
version: 1.45.1
|
237
237
|
- !ruby/object:Gem::Dependency
|
238
238
|
name: rubocop-rake
|
239
239
|
requirement: !ruby/object:Gem::Requirement
|
@@ -268,14 +268,14 @@ dependencies:
|
|
268
268
|
requirements:
|
269
269
|
- - '='
|
270
270
|
- !ruby/object:Gem::Version
|
271
|
-
version: 1.
|
271
|
+
version: 1.5.0
|
272
272
|
type: :runtime
|
273
273
|
prerelease: false
|
274
274
|
version_requirements: !ruby/object:Gem::Requirement
|
275
275
|
requirements:
|
276
276
|
- - '='
|
277
277
|
- !ruby/object:Gem::Version
|
278
|
-
version: 1.
|
278
|
+
version: 1.5.0
|
279
279
|
- !ruby/object:Gem::Dependency
|
280
280
|
name: rvm
|
281
281
|
requirement: !ruby/object:Gem::Requirement
|
@@ -483,14 +483,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
483
483
|
requirements:
|
484
484
|
- - ">="
|
485
485
|
- !ruby/object:Gem::Version
|
486
|
-
version:
|
486
|
+
version: 3.2.1
|
487
487
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
488
488
|
requirements:
|
489
489
|
- - ">="
|
490
490
|
- !ruby/object:Gem::Version
|
491
491
|
version: '0'
|
492
492
|
requirements: []
|
493
|
-
rubygems_version: 3.4.
|
493
|
+
rubygems_version: 3.4.6
|
494
494
|
signing_key:
|
495
495
|
specification_version: 4
|
496
496
|
summary: Coinbase Pro High-Frequency Trading Bot
|