peatio-dash 0.1.1 → 0.1.2

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: 727229fcd3f00d3351bf9264f755551128651208358769172bf23a60f67b4eda
4
- data.tar.gz: 47102d95576153e18af8195d448f8ba4e651de92499d37560c799283d59c45c1
3
+ metadata.gz: 2f63ffa199814d3fbfeb83fde184494bcd6078224c287cd0a19fa122d6b78a1d
4
+ data.tar.gz: 8cfb247cadea77ea6f415a6ff3be85839a96c7cea6f6949c6e5cb7a45e789f6a
5
5
  SHA512:
6
- metadata.gz: 654419080581c1af51dd8656b7f0f719c1d3e6e6614d810fb6323b82b81ecea7114697fca229713876932a186d6a2bf9abec4dc2b98968cf977594a81c87fb2b
7
- data.tar.gz: 0bc977fc0ae1494997394a41ae00a7a2a2511ac1354f813143a4f7f55c27eeaeef5a09c57a206925226974a7bd7ad99f16e9f7fffcbee45843a40ce130acd44c
6
+ metadata.gz: 96af661466273160394a0ec3ff205adb76b115a701555061dfadc75114cc6a7a0c05317acc854dc4f349dec5e565a22363ce40827994f9549f967ef72b8a2c85
7
+ data.tar.gz: 0a796943025236b1ab09c2073ffe03e27cb464c2efbc8eaa6ca84248fe52757a5b6724d0f1fd543eb6b96175d762b8b29c225596f02a7decccdcfdc18b0cd5e9
data/Gemfile.lock CHANGED
@@ -1,12 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- peatio-dash (0.1.0)
4
+ peatio-dash (0.1.2)
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/
@@ -25,15 +26,16 @@ GEM
25
26
  amq-protocol (>= 2.2.0)
26
27
  eventmachine
27
28
  ast (2.4.0)
28
- better-faraday (1.0.6)
29
+ better-faraday (1.0.8)
29
30
  activesupport (>= 4.0, < 6.0)
30
31
  faraday (~> 0.12)
31
- bunny (2.14.2)
32
+ bunny (2.14.3)
32
33
  amq-protocol (~> 2.3, >= 2.3.0)
33
34
  byebug (11.0.1)
34
- clamp (1.3.0)
35
+ clamp (1.3.1)
35
36
  coderay (1.1.2)
36
37
  concurrent-ruby (1.1.5)
38
+ connection_pool (2.2.2)
37
39
  crack (0.4.3)
38
40
  safe_yaml (~> 1.0.0)
39
41
  diff-lcs (1.3)
@@ -46,25 +48,27 @@ GEM
46
48
  multipart-post (>= 1.2, < 3)
47
49
  hashdiff (0.4.0)
48
50
  http_parser.rb (0.6.0)
49
- i18n (1.6.0)
51
+ i18n (1.7.0)
50
52
  concurrent-ruby (~> 1.0)
51
53
  irb (1.0.0)
52
54
  jaro_winkler (1.5.2)
53
55
  json (2.2.0)
54
56
  jwt (2.2.1)
55
- memoist (0.16.0)
57
+ memoist (0.16.1)
56
58
  metaclass (0.0.4)
57
59
  method_source (0.9.2)
58
- minitest (5.11.3)
60
+ minitest (5.13.0)
59
61
  mocha (1.8.0)
60
62
  metaclass (~> 0.0.1)
61
63
  multipart-post (2.1.1)
62
64
  mysql2 (0.5.2)
65
+ net-http-persistent (3.0.1)
66
+ connection_pool (~> 2.2)
63
67
  parallel (1.17.0)
64
68
  parser (2.6.3.0)
65
69
  ast (~> 2.4.0)
66
- peatio (0.6.1)
67
- activemodel (~> 5.2.3)
70
+ peatio (0.6.3)
71
+ activemodel (> 5.2, <= 6.0.0)
68
72
  amqp
69
73
  bunny
70
74
  clamp
@@ -57,14 +57,15 @@ module Peatio
57
57
  end
58
58
 
59
59
  def connection
60
- Faraday.new(@json_rpc_endpoint).tap do |connection|
60
+ @connection ||= Faraday.new(@json_rpc_endpoint) do |f|
61
+ f.adapter :net_http_persistent, pool_size: 5
62
+ end.tap do |connection|
61
63
  unless @json_rpc_endpoint.user.blank?
62
64
  connection.basic_auth(@json_rpc_endpoint.user,
63
65
  @json_rpc_endpoint.password)
64
66
  end
65
67
  end
66
68
  end
67
- memoize :connection
68
69
  end
69
70
  end
70
71
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Peatio
4
4
  module Dash
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
data/peatio-dash.gemspec CHANGED
@@ -40,7 +40,8 @@ Gem::Specification.new do |spec|
40
40
  spec.add_dependency "better-faraday", "~> 1.0.5"
41
41
  spec.add_dependency "faraday", "~> 0.15.4"
42
42
  spec.add_dependency "memoist", "~> 0.16.0"
43
- spec.add_dependency "peatio", "~> 0.6.1"
43
+ spec.add_dependency "peatio", "~> 0.6.3"
44
+ spec.add_dependency 'net-http-persistent', '~> 3.0.1'
44
45
 
45
46
  spec.add_development_dependency "bundler", "~> 1.17"
46
47
  spec.add_development_dependency "irb"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peatio-dash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - MoD
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-23 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