peatio-electrum 2.6.1 → 2.6.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: bd8974bd78b1fefd288202dae7efdac8ea326e061ad6a277f86c4544ffeb34fb
4
- data.tar.gz: c231dfd84abd8fac23394b97c4a76a3eecb37dce9720a24bb615d0e7fed2007a
3
+ metadata.gz: 1408f46feaa1506f8f058eab83022ecabe76eb8959c1b967bd2466ee31d36823
4
+ data.tar.gz: 7c1407348445e651a1e6e7f105da37022dcc987745df974fba0d64bc08c9cc7a
5
5
  SHA512:
6
- metadata.gz: a23e16912618f80e879f8cdf9fa0abfa74caddfd80106940477a9784961b41ee989a2a7ea28170b4db6232a0b11460665ea122a8fc64b71f13f13d8b725c3c6a
7
- data.tar.gz: 54883fe422a68eaa557783103f65e68f493dab81018f4e13760ef9e168c6009e275fb64e649f9eb9c34698e23feefd44bd308171b4af901c6e2d1d7163125d0b
6
+ metadata.gz: 585b4feacbbce687c45dde9ad7ef2c196132f87059057d2d9be8f44430468506a35367518e31cbb55a890f5e79a5f6bbc8e691d5b2ffb3b66344882e559356fd
7
+ data.tar.gz: e7828672e7d038ac6d8fcf5c003c9de14efcb1b3709b2f81401412280ec075b99d4d1e1c59f153be59e0ac5045ae84355186a43a00b516a5e3b3acdab63739c9
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- peatio-electrum (2.6.1)
4
+ peatio-electrum (2.6.2)
5
5
  activesupport (~> 5.2.3)
6
6
  faraday (~> 0.17)
7
7
  net-http-persistent (~> 3.0.1)
@@ -28,7 +28,7 @@ GEM
28
28
  byebug (11.1.3)
29
29
  clamp (1.3.1)
30
30
  concurrent-ruby (1.1.6)
31
- connection_pool (2.2.2)
31
+ connection_pool (2.2.3)
32
32
  cookiejar (0.3.3)
33
33
  crack (0.4.3)
34
34
  safe_yaml (~> 1.0.0)
@@ -53,7 +53,7 @@ GEM
53
53
  multipart-post (>= 1.2, < 3)
54
54
  faraday_middleware (0.13.1)
55
55
  faraday (>= 0.7.4, < 1.0)
56
- faye (1.2.5)
56
+ faye (1.3.0)
57
57
  cookiejar (>= 0.3.0)
58
58
  em-http-request (>= 0.3.0)
59
59
  eventmachine (>= 0.12.0)
@@ -66,7 +66,7 @@ GEM
66
66
  websocket-driver (>= 0.5.1)
67
67
  hashdiff (1.0.1)
68
68
  http_parser.rb (0.6.0)
69
- i18n (1.8.2)
69
+ i18n (1.8.3)
70
70
  concurrent-ruby (~> 1.0)
71
71
  io-console (0.5.6)
72
72
  irb (1.2.4)
@@ -78,7 +78,7 @@ GEM
78
78
  mysql2 (0.5.3)
79
79
  net-http-persistent (3.0.1)
80
80
  connection_pool (~> 2.2)
81
- peatio (2.4.4)
81
+ peatio (2.6.1)
82
82
  activemodel (> 5.2, <= 6.0.0)
83
83
  amqp
84
84
  bunny
@@ -128,7 +128,7 @@ GEM
128
128
  hashdiff (>= 0.4.0, < 2.0.0)
129
129
  websocket-driver (0.7.2)
130
130
  websocket-extensions (>= 0.1.0)
131
- websocket-extensions (0.1.4)
131
+ websocket-extensions (0.1.5)
132
132
 
133
133
  PLATFORMS
134
134
  ruby
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Peatio
4
4
  module Electrum
5
- VERSION = "2.6.1".freeze
5
+ VERSION = "2.6.2".freeze
6
6
  end
7
7
  end
@@ -8,8 +8,11 @@ module Peatio::Electrum
8
8
  class Wallet < Peatio::Wallet::Abstract
9
9
  attr_reader :client
10
10
 
11
- def initialize(settings = {})
12
- @settings = settings
11
+ DEFAULT_FEATURES = { skip_deposit_collection: false }.freeze
12
+
13
+ def initialize(custom_features = {})
14
+ @features = DEFAULT_FEATURES.merge(custom_features).slice(*SUPPORTED_FEATURES)
15
+ @settings = {}
13
16
  end
14
17
 
15
18
  # Merges given configuration parameters with defined during initialization
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peatio-electrum
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.1
4
+ version: 2.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Camille Meulien
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-02 00:00:00.000000000 Z
11
+ date: 2020-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport