peatio-bitcoincash 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +15 -11
- data/lib/peatio/bitcoincash/client.rb +3 -3
- data/lib/peatio/bitcoincash/version.rb +1 -1
- data/peatio-bitcoincash.gemspec +2 -1
- metadata +18 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91d7507b182a6e5aa3fa2c08e2aab3ff29186795b3e9d8d344525d492bc024e4
|
4
|
+
data.tar.gz: b88d5e7045f1ccd13ca6d907a66446d2df1f4b47c692cbe77533531f05951c5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74fa303a78575ba7272cdca746a63190fb45c80e33527ec100923391fd114ea5626cd061c08d1f6a4b39d2092004c07e03ede0bcdf0c515c51f9f8c94ace697f
|
7
|
+
data.tar.gz: ea99e9ed40d0a26560ce3f5e645dff652cadde142041cd21d9cdb3e0a3b8c43b6fcb84002e2605dec04fc222f7af1d7425feb9b2592cb1da0c879b47dd06acca
|
data/Gemfile.lock
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
peatio-bitcoincash (0.1.
|
4
|
+
peatio-bitcoincash (0.1.1)
|
5
5
|
activesupport (~> 5.2.3)
|
6
6
|
better-faraday (~> 1.0.5)
|
7
7
|
cash-addr (~> 0.2.0)
|
8
8
|
faraday (~> 0.15.4)
|
9
9
|
memoist (~> 0.16.0)
|
10
|
-
|
10
|
+
net-http-persistent (~> 3.0.1)
|
11
|
+
peatio (~> 0.6.3)
|
11
12
|
|
12
13
|
GEM
|
13
14
|
remote: https://rubygems.org/
|
@@ -26,17 +27,18 @@ GEM
|
|
26
27
|
amq-protocol (>= 2.2.0)
|
27
28
|
eventmachine
|
28
29
|
base58 (0.2.3)
|
29
|
-
better-faraday (1.0.
|
30
|
+
better-faraday (1.0.8)
|
30
31
|
activesupport (>= 4.0, < 6.0)
|
31
32
|
faraday (~> 0.12)
|
32
|
-
bunny (2.14.
|
33
|
+
bunny (2.14.3)
|
33
34
|
amq-protocol (~> 2.3, >= 2.3.0)
|
34
35
|
byebug (11.0.1)
|
35
36
|
cash-addr (0.2.0)
|
36
37
|
base58 (~> 0.2.2)
|
37
|
-
clamp (1.3.
|
38
|
+
clamp (1.3.1)
|
38
39
|
coderay (1.1.2)
|
39
40
|
concurrent-ruby (1.1.5)
|
41
|
+
connection_pool (2.2.2)
|
40
42
|
crack (0.4.3)
|
41
43
|
safe_yaml (~> 1.0.0)
|
42
44
|
diff-lcs (1.3)
|
@@ -48,19 +50,21 @@ GEM
|
|
48
50
|
multipart-post (>= 1.2, < 3)
|
49
51
|
hashdiff (0.3.9)
|
50
52
|
http_parser.rb (0.6.0)
|
51
|
-
i18n (1.
|
53
|
+
i18n (1.7.0)
|
52
54
|
concurrent-ruby (~> 1.0)
|
53
55
|
jwt (2.2.1)
|
54
|
-
memoist (0.16.
|
56
|
+
memoist (0.16.1)
|
55
57
|
metaclass (0.0.4)
|
56
58
|
method_source (0.9.2)
|
57
|
-
minitest (5.
|
59
|
+
minitest (5.13.0)
|
58
60
|
mocha (1.8.0)
|
59
61
|
metaclass (~> 0.0.1)
|
60
62
|
multipart-post (2.1.1)
|
61
63
|
mysql2 (0.5.2)
|
62
|
-
|
63
|
-
|
64
|
+
net-http-persistent (3.0.1)
|
65
|
+
connection_pool (~> 2.2)
|
66
|
+
peatio (0.6.3)
|
67
|
+
activemodel (> 5.2, <= 6.0.0)
|
64
68
|
amqp
|
65
69
|
bunny
|
66
70
|
clamp
|
@@ -111,4 +115,4 @@ DEPENDENCIES
|
|
111
115
|
webmock (~> 3.5)
|
112
116
|
|
113
117
|
BUNDLED WITH
|
114
|
-
1.17.
|
118
|
+
1.17.3
|
@@ -48,15 +48,15 @@ module Peatio
|
|
48
48
|
private
|
49
49
|
|
50
50
|
def connection
|
51
|
-
Faraday.new(@json_rpc_endpoint)
|
51
|
+
@connection ||= Faraday.new(@json_rpc_endpoint) do |f|
|
52
|
+
f.adapter :net_http_persistent, pool_size: 5
|
53
|
+
end.tap do |connection|
|
52
54
|
unless @json_rpc_endpoint.user.blank?
|
53
55
|
connection.basic_auth(@json_rpc_endpoint.user,
|
54
56
|
@json_rpc_endpoint.password)
|
55
57
|
end
|
56
58
|
end
|
57
59
|
end
|
58
|
-
memoize :connection
|
59
60
|
end
|
60
61
|
end
|
61
62
|
end
|
62
|
-
|
data/peatio-bitcoincash.gemspec
CHANGED
@@ -27,8 +27,9 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.add_dependency "better-faraday", "~> 1.0.5"
|
28
28
|
spec.add_dependency "faraday", "~> 0.15.4"
|
29
29
|
spec.add_dependency "memoist", "~> 0.16.0"
|
30
|
-
spec.add_dependency "peatio", "~> 0.6.
|
30
|
+
spec.add_dependency "peatio", "~> 0.6.3"
|
31
31
|
spec.add_dependency "cash-addr", '~> 0.2.0'
|
32
|
+
spec.add_dependency 'net-http-persistent', '~> 3.0.1'
|
32
33
|
|
33
34
|
spec.add_development_dependency "bundler", "~> 1.17"
|
34
35
|
spec.add_development_dependency "mocha", "~> 1.8"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: peatio-bitcoincash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dinesh Chohda
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.6.
|
75
|
+
version: 0.6.3
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.6.
|
82
|
+
version: 0.6.3
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: cash-addr
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,6 +94,20 @@ dependencies:
|
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 0.2.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: net-http-persistent
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 3.0.1
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 3.0.1
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: bundler
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|