peatio-litecoin 0.2.0 → 0.2.1.pre.alpha

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: 93ba1727ce6721ca73e21c077b8164aa76ce4368e09e2beee29b475a06e37bf0
4
- data.tar.gz: c8d3060399341d365d63e1182e9627a946e4d5e8d9a573cbfba9c59232cf4adf
3
+ metadata.gz: ee7645b5bd4f658ff2f622f26d227679b57eff12a0c58908779c10f15d7d57f7
4
+ data.tar.gz: '059a9bf2f321ddd0b4284b0e7b6b24980cad1af4884fdd875d2972eeb41cebfc'
5
5
  SHA512:
6
- metadata.gz: d61a3dafc8bdd5833546693f0389f6b12dd8b18d94e7be8d8b5e67b45e091b5618cf7a3f89136c58d83eef599dd0b87e12d756dfb5d917a6b6d3c7e9413420a7
7
- data.tar.gz: d97b176b7775f4dd47e91e93fe687150a0f3431f47ed7ab43beddd52e947b6adc1bb2c3e12c94b773d88269efe680691115f2524caf904a5f6aee35538f772b8
6
+ metadata.gz: 2fbe2816a2a9241d04e81fe4fe7f36502082efe4f66c11147fd5dcf90e7e2eaf2b527da619623e14eb33f3cfa062be9f211314601c42ab6775265e4c15c63803
7
+ data.tar.gz: 6d9f659c51d5bceec668eea720ec7464d784f8406ceeb47d3b632df441d0f5e706d3e68c9b512fc1cb963ab06524e35e2d46358a2ad2725a6d0abfcf662c5d5a
data/Gemfile.lock CHANGED
@@ -1,12 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- peatio-litecoin (0.1.0)
4
+ peatio-litecoin (0.2.1.pre.alpha)
5
5
  activesupport (~> 5.2.3)
6
6
  better-faraday (~> 1.0.5)
7
7
  faraday (~> 0.15.4)
8
8
  memoist (~> 0.16.0)
9
- peatio (~> 0.6.1)
9
+ net-http-persistent (~> 3.0.1)
10
+ peatio (~> 0.6.3)
10
11
 
11
12
  GEM
12
13
  remote: https://rubygems.org/
@@ -24,15 +25,16 @@ GEM
24
25
  amqp (1.8.0)
25
26
  amq-protocol (>= 2.2.0)
26
27
  eventmachine
27
- better-faraday (1.0.5)
28
+ better-faraday (1.0.8)
28
29
  activesupport (>= 4.0, < 6.0)
29
30
  faraday (~> 0.12)
30
- bunny (2.14.2)
31
+ bunny (2.14.3)
31
32
  amq-protocol (~> 2.3, >= 2.3.0)
32
33
  byebug (11.0.1)
33
- clamp (1.3.0)
34
+ clamp (1.3.1)
34
35
  coderay (1.1.2)
35
36
  concurrent-ruby (1.1.5)
37
+ connection_pool (2.2.2)
36
38
  crack (0.4.3)
37
39
  safe_yaml (~> 1.0.0)
38
40
  diff-lcs (1.3)
@@ -44,19 +46,21 @@ GEM
44
46
  multipart-post (>= 1.2, < 3)
45
47
  hashdiff (0.3.9)
46
48
  http_parser.rb (0.6.0)
47
- i18n (1.6.0)
49
+ i18n (1.7.0)
48
50
  concurrent-ruby (~> 1.0)
49
51
  jwt (2.2.1)
50
- memoist (0.16.0)
52
+ memoist (0.16.1)
51
53
  metaclass (0.0.4)
52
54
  method_source (0.9.2)
53
- minitest (5.11.3)
55
+ minitest (5.13.0)
54
56
  mocha (1.8.0)
55
57
  metaclass (~> 0.0.1)
56
58
  multipart-post (2.1.1)
57
59
  mysql2 (0.5.2)
58
- peatio (0.6.1)
59
- activemodel (~> 5.2.3)
60
+ net-http-persistent (3.0.1)
61
+ connection_pool (~> 2.2)
62
+ peatio (0.6.3)
63
+ activemodel (> 5.2, <= 6.0.0)
60
64
  amqp
61
65
  bunny
62
66
  clamp
@@ -107,4 +111,4 @@ DEPENDENCIES
107
111
  webmock (~> 3.5)
108
112
 
109
113
  BUNDLED WITH
110
- 1.16.3
114
+ 1.17.3
@@ -48,14 +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
@@ -1,5 +1,5 @@
1
1
  module Peatio
2
2
  module Litecoin
3
- VERSION = "0.2.0".freeze
3
+ VERSION = "0.2.1-alpha".freeze
4
4
  end
5
5
  end
@@ -27,7 +27,8 @@ 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
+ spec.add_dependency 'net-http-persistent', '~> 3.0.1'
31
32
 
32
33
  spec.add_development_dependency "bundler", "~> 1.16"
33
34
  spec.add_development_dependency "mocha", "~> 1.8"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peatio-litecoin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1.pre.alpha
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaroslav S.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-27 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,28 @@ 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
+ - !ruby/object:Gem::Dependency
84
+ name: net-http-persistent
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 3.0.1
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 3.0.1
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: bundler
85
99
  requirement: !ruby/object:Gem::Requirement
@@ -210,12 +224,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
210
224
  version: '0'
211
225
  required_rubygems_version: !ruby/object:Gem::Requirement
212
226
  requirements:
213
- - - ">="
227
+ - - ">"
214
228
  - !ruby/object:Gem::Version
215
- version: '0'
229
+ version: 1.3.1
216
230
  requirements: []
217
- rubyforge_project:
218
- rubygems_version: 2.7.8
231
+ rubygems_version: 3.0.3
219
232
  signing_key:
220
233
  specification_version: 4
221
234
  summary: Gem for extending Peatio plugable system with Litecoin implementation.