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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6882a856d028ce52c3838de798ca00c57ab7a41aa00d44dc70c94b9eaabdd2fc
4
- data.tar.gz: 9eaf079c05d42a22cfc63ec2f6e71b685a1d90afdcb015145a4a1b5469b915d8
3
+ metadata.gz: 91d7507b182a6e5aa3fa2c08e2aab3ff29186795b3e9d8d344525d492bc024e4
4
+ data.tar.gz: b88d5e7045f1ccd13ca6d907a66446d2df1f4b47c692cbe77533531f05951c5e
5
5
  SHA512:
6
- metadata.gz: 92da7224e97f0e738bfafa688207ae189de407d6e7e6cbe55637fc1c9a10d5145cd9a747c31709ae5ac6723674a321819bd278535f74a9eba3b1f47813737655
7
- data.tar.gz: acc76707127a4e7f408bdb83ceae060c9d1e4e4d5bd423d89d01a7807bf429c05728a2ee1aeb89eba093876000133e384323ed23bc67355a4f67d83a554e5418
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.0)
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
- peatio (~> 0.6.1)
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.5)
30
+ better-faraday (1.0.8)
30
31
  activesupport (>= 4.0, < 6.0)
31
32
  faraday (~> 0.12)
32
- bunny (2.14.2)
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.0)
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.6.0)
53
+ i18n (1.7.0)
52
54
  concurrent-ruby (~> 1.0)
53
55
  jwt (2.2.1)
54
- memoist (0.16.0)
56
+ memoist (0.16.1)
55
57
  metaclass (0.0.4)
56
58
  method_source (0.9.2)
57
- minitest (5.11.3)
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
- peatio (0.6.1)
63
- activemodel (~> 5.2.3)
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.1
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).tap do |connection|
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
-
@@ -1,5 +1,5 @@
1
1
  module Peatio
2
2
  module Bitcoincash
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -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.1"
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.0
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-07-31 00:00:00.000000000 Z
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.1
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.1
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