peatio 2.4.3 → 2.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/peatio/upstream/base.rb +5 -0
- data/lib/peatio/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc4f8e1e466d879d27371bb2350c387de4862b67a5c7e22c09b5520de3d8fcf1
|
4
|
+
data.tar.gz: e5db65471707d00d86e9c8e45c6f89de6ab09499b5ae1a8413cd7ede568b0c03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94695de75e3bd793e5ebc90035c84cce5295d8cdebd4e1cf3c7b53301c70af019f1dbcedf7e60a76bcee33e36c5b7109ba504c9a28af490b7e1763bacdd5bff2
|
7
|
+
data.tar.gz: 77c2083620d64aebc7d518a8943b83226d59999dae1f251a4b2ac7090acb62fd5bf8612b6e63ff7107d6922999db9dcdbc669b5327cef89620a3eb3eff7153c0
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
peatio (2.4.
|
4
|
+
peatio (2.4.4)
|
5
5
|
activemodel (> 5.2, <= 6.0.0)
|
6
6
|
amqp
|
7
7
|
bunny
|
@@ -103,7 +103,7 @@ GEM
|
|
103
103
|
pry-byebug (3.7.0)
|
104
104
|
byebug (~> 11.0)
|
105
105
|
pry (~> 0.10)
|
106
|
-
public_suffix (4.0.
|
106
|
+
public_suffix (4.0.4)
|
107
107
|
rack (2.2.2)
|
108
108
|
rainbow (3.0.0)
|
109
109
|
rake (13.0.1)
|
@@ -148,7 +148,7 @@ GEM
|
|
148
148
|
eventmachine (~> 1.0, >= 1.0.4)
|
149
149
|
rack (>= 1, < 3)
|
150
150
|
thread_safe (0.3.6)
|
151
|
-
tzinfo (1.2.
|
151
|
+
tzinfo (1.2.7)
|
152
152
|
thread_safe (~> 0.1)
|
153
153
|
unicode-display_width (1.6.0)
|
154
154
|
websocket (1.2.8)
|
data/lib/peatio/upstream/base.rb
CHANGED
@@ -33,6 +33,7 @@ module Peatio
|
|
33
33
|
|
34
34
|
@ws.on(:open) do |_e|
|
35
35
|
subscribe_trades(@target, @ws)
|
36
|
+
subscribe_orderbook(@target, @ws)
|
36
37
|
logger.info { "Websocket connected" }
|
37
38
|
end
|
38
39
|
|
@@ -59,6 +60,10 @@ module Peatio
|
|
59
60
|
method_not_implemented
|
60
61
|
end
|
61
62
|
|
63
|
+
def subscribe_orderbook(_market, _ws)
|
64
|
+
method_not_implemented
|
65
|
+
end
|
66
|
+
|
62
67
|
def ws_read_public_message(msg)
|
63
68
|
logger.info { "received public message: #{msg}" }
|
64
69
|
end
|
data/lib/peatio/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: peatio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Louis B.
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-04-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activemodel
|
@@ -456,7 +456,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
456
456
|
- !ruby/object:Gem::Version
|
457
457
|
version: '0'
|
458
458
|
requirements: []
|
459
|
-
rubygems_version: 3.0.
|
459
|
+
rubygems_version: 3.0.3
|
460
460
|
signing_key:
|
461
461
|
specification_version: 4
|
462
462
|
summary: Peatio is a gem for running critical core services
|