peatio-coinpaymentnew 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.idea/peatio-coinpaymentnew.iml +25 -11
- data/Gemfile.lock +6 -6
- data/lib/peatio/coinpaymentnew/version.rb +1 -1
- data/lib/peatio/coinpaymentnew/wallet.rb +1 -1
- data/lib/peatio/coinpaymentnew.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2acbf149c789e765dd318ad69120c2b7e41e7dcb
|
4
|
+
data.tar.gz: eea76d2cba2afed3a85f1dfef9aafe92648e7bd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b4d69b611e35929de926dd0532cf1e58edc1af1e93297aac2c95b031605ac02e1687c9b696a84ca396ece0ff062d320c644d360861e56ce1bbba3664b743e5e
|
7
|
+
data.tar.gz: 7086449212a179300795af5b9d9ede47651e2f9bb32f01de7b96f5adf3597d1e5b3afce843dea9e20abf5de6b84ce36967924774c681b6e2f46d1b43d00958ba
|
@@ -17,38 +17,49 @@
|
|
17
17
|
<orderEntry type="library" scope="PROVIDED" name="amq-protocol (v2.3.2, ruby-2.6.8-p205) [gem]" level="application" />
|
18
18
|
<orderEntry type="library" scope="PROVIDED" name="amqp (v1.8.0, ruby-2.6.8-p205) [gem]" level="application" />
|
19
19
|
<orderEntry type="library" scope="PROVIDED" name="better-faraday (v1.0.8, ruby-2.6.8-p205) [gem]" level="application" />
|
20
|
-
<orderEntry type="library" scope="PROVIDED" name="bundler (
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v2.2.32, ruby-2.6.8-p205) [gem]" level="application" />
|
21
21
|
<orderEntry type="library" scope="PROVIDED" name="bunny (v2.19.0, ruby-2.6.8-p205) [gem]" level="application" />
|
22
22
|
<orderEntry type="library" scope="PROVIDED" name="byebug (v11.1.3, ruby-2.6.8-p205) [gem]" level="application" />
|
23
23
|
<orderEntry type="library" scope="PROVIDED" name="clamp (v1.3.2, ruby-2.6.8-p205) [gem]" level="application" />
|
24
24
|
<orderEntry type="library" scope="PROVIDED" name="coderay (v1.1.3, ruby-2.6.8-p205) [gem]" level="application" />
|
25
25
|
<orderEntry type="library" scope="PROVIDED" name="coinpayments (v0.0.4, ruby-2.6.8-p205) [gem]" level="application" />
|
26
26
|
<orderEntry type="library" scope="PROVIDED" name="concurrent-ruby (v1.1.9, ruby-2.6.8-p205) [gem]" level="application" />
|
27
|
+
<orderEntry type="library" scope="PROVIDED" name="cookiejar (v0.3.3, ruby-2.6.8-p205) [gem]" level="application" />
|
27
28
|
<orderEntry type="library" scope="PROVIDED" name="crack (v0.4.5, ruby-2.6.8-p205) [gem]" level="application" />
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="daemons (v1.4.1, ruby-2.6.8-p205) [gem]" level="application" />
|
28
30
|
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.4.4, ruby-2.6.8-p205) [gem]" level="application" />
|
29
|
-
<orderEntry type="library" scope="PROVIDED" name="em-
|
31
|
+
<orderEntry type="library" scope="PROVIDED" name="em-http-request (v1.1.7, ruby-2.6.8-p205) [gem]" level="application" />
|
32
|
+
<orderEntry type="library" scope="PROVIDED" name="em-socksify (v0.3.2, ruby-2.6.8-p205) [gem]" level="application" />
|
33
|
+
<orderEntry type="library" scope="PROVIDED" name="em-synchrony (v1.0.6, ruby-2.6.8-p205) [gem]" level="application" />
|
34
|
+
<orderEntry type="library" scope="PROVIDED" name="em-websocket (v0.5.3, ruby-2.6.8-p205) [gem]" level="application" />
|
30
35
|
<orderEntry type="library" scope="PROVIDED" name="eventmachine (v1.2.7, ruby-2.6.8-p205) [gem]" level="application" />
|
31
|
-
<orderEntry type="library" scope="PROVIDED" name="faraday (v0.
|
36
|
+
<orderEntry type="library" scope="PROVIDED" name="faraday (v0.17.4, ruby-2.6.8-p205) [gem]" level="application" />
|
37
|
+
<orderEntry type="library" scope="PROVIDED" name="faraday_middleware (v0.13.1, ruby-2.6.8-p205) [gem]" level="application" />
|
38
|
+
<orderEntry type="library" scope="PROVIDED" name="faye (v1.4.0, ruby-2.6.8-p205) [gem]" level="application" />
|
39
|
+
<orderEntry type="library" scope="PROVIDED" name="faye-websocket (v0.11.1, ruby-2.6.8-p205) [gem]" level="application" />
|
32
40
|
<orderEntry type="library" scope="PROVIDED" name="hashdiff (v1.0.1, ruby-2.6.8-p205) [gem]" level="application" />
|
33
|
-
<orderEntry type="library" scope="PROVIDED" name="hashie (
|
34
|
-
<orderEntry type="library" scope="PROVIDED" name="http_parser.rb (v0.
|
41
|
+
<orderEntry type="library" scope="PROVIDED" name="hashie (v5.0.0, ruby-2.6.8-p205) [gem]" level="application" />
|
42
|
+
<orderEntry type="library" scope="PROVIDED" name="http_parser.rb (v0.8.0, ruby-2.6.8-p205) [gem]" level="application" />
|
35
43
|
<orderEntry type="library" scope="PROVIDED" name="httparty (v0.20.0, ruby-2.6.8-p205) [gem]" level="application" />
|
36
|
-
<orderEntry type="library" scope="PROVIDED" name="i18n (v1.8.
|
44
|
+
<orderEntry type="library" scope="PROVIDED" name="i18n (v1.8.11, ruby-2.6.8-p205) [gem]" level="application" />
|
37
45
|
<orderEntry type="library" scope="PROVIDED" name="jwt (v2.3.0, ruby-2.6.8-p205) [gem]" level="application" />
|
38
46
|
<orderEntry type="library" scope="PROVIDED" name="memoist (v0.16.2, ruby-2.6.8-p205) [gem]" level="application" />
|
39
47
|
<orderEntry type="library" scope="PROVIDED" name="method_source (v1.0.0, ruby-2.6.8-p205) [gem]" level="application" />
|
40
|
-
<orderEntry type="library" scope="PROVIDED" name="mime-types (v3.
|
41
|
-
<orderEntry type="library" scope="PROVIDED" name="mime-types-data (v3.2021.
|
48
|
+
<orderEntry type="library" scope="PROVIDED" name="mime-types (v3.4.1, ruby-2.6.8-p205) [gem]" level="application" />
|
49
|
+
<orderEntry type="library" scope="PROVIDED" name="mime-types-data (v3.2021.1115, ruby-2.6.8-p205) [gem]" level="application" />
|
42
50
|
<orderEntry type="library" scope="PROVIDED" name="minitest (v5.14.4, ruby-2.6.8-p205) [gem]" level="application" />
|
43
51
|
<orderEntry type="library" scope="PROVIDED" name="mocha (v1.13.0, ruby-2.6.8-p205) [gem]" level="application" />
|
52
|
+
<orderEntry type="library" scope="PROVIDED" name="multi_json (v1.15.0, ruby-2.6.8-p205) [gem]" level="application" />
|
44
53
|
<orderEntry type="library" scope="PROVIDED" name="multi_xml (v0.6.0, ruby-2.6.8-p205) [gem]" level="application" />
|
45
54
|
<orderEntry type="library" scope="PROVIDED" name="multipart-post (v2.1.1, ruby-2.6.8-p205) [gem]" level="application" />
|
46
55
|
<orderEntry type="library" scope="PROVIDED" name="mysql2 (v0.5.3, ruby-2.6.8-p205) [gem]" level="application" />
|
47
|
-
<orderEntry type="library" scope="PROVIDED" name="peatio (
|
56
|
+
<orderEntry type="library" scope="PROVIDED" name="peatio (v2.6.5, ruby-2.6.8-p205) [gem]" level="application" />
|
57
|
+
<orderEntry type="library" scope="PROVIDED" name="prometheus-client (v2.1.0, ruby-2.6.8-p205) [gem]" level="application" />
|
48
58
|
<orderEntry type="library" scope="PROVIDED" name="pry (v0.13.1, ruby-2.6.8-p205) [gem]" level="application" />
|
49
59
|
<orderEntry type="library" scope="PROVIDED" name="pry-byebug (v3.9.0, ruby-2.6.8-p205) [gem]" level="application" />
|
50
60
|
<orderEntry type="library" scope="PROVIDED" name="public_suffix (v4.0.6, ruby-2.6.8-p205) [gem]" level="application" />
|
51
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
61
|
+
<orderEntry type="library" scope="PROVIDED" name="rack (v2.2.3, ruby-2.6.8-p205) [gem]" level="application" />
|
62
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v13.0.6, ruby-2.6.8-p205) [gem]" level="application" />
|
52
63
|
<orderEntry type="library" scope="PROVIDED" name="rbtree (v0.4.4, ruby-2.6.8-p205) [gem]" level="application" />
|
53
64
|
<orderEntry type="library" scope="PROVIDED" name="rexml (v3.2.5, ruby-2.6.8-p205) [gem]" level="application" />
|
54
65
|
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.10.0, ruby-2.6.8-p205) [gem]" level="application" />
|
@@ -56,11 +67,14 @@
|
|
56
67
|
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.10.1, ruby-2.6.8-p205) [gem]" level="application" />
|
57
68
|
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.10.2, ruby-2.6.8-p205) [gem]" level="application" />
|
58
69
|
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.10.2, ruby-2.6.8-p205) [gem]" level="application" />
|
59
|
-
<orderEntry type="library" scope="PROVIDED" name="set (v1.0.
|
70
|
+
<orderEntry type="library" scope="PROVIDED" name="set (v1.0.2, ruby-2.6.8-p205) [gem]" level="application" />
|
60
71
|
<orderEntry type="library" scope="PROVIDED" name="sorted_set (v1.0.3, ruby-2.6.8-p205) [gem]" level="application" />
|
72
|
+
<orderEntry type="library" scope="PROVIDED" name="thin (v1.8.1, ruby-2.6.8-p205) [gem]" level="application" />
|
61
73
|
<orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.6, ruby-2.6.8-p205) [gem]" level="application" />
|
62
74
|
<orderEntry type="library" scope="PROVIDED" name="tzinfo (v1.2.9, ruby-2.6.8-p205) [gem]" level="application" />
|
63
75
|
<orderEntry type="library" scope="PROVIDED" name="webmock (v3.14.0, ruby-2.6.8-p205) [gem]" level="application" />
|
76
|
+
<orderEntry type="library" scope="PROVIDED" name="websocket-driver (v0.7.5, ruby-2.6.8-p205) [gem]" level="application" />
|
77
|
+
<orderEntry type="library" scope="PROVIDED" name="websocket-extensions (v0.1.5, ruby-2.6.8-p205) [gem]" level="application" />
|
64
78
|
</component>
|
65
79
|
<component name="RakeTasksCache">
|
66
80
|
<option name="myRootTask">
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
peatio-coinpaymentnew (
|
4
|
+
peatio-coinpaymentnew (1.0.3)
|
5
5
|
activesupport (~> 5.2.3)
|
6
6
|
better-faraday (~> 1.0.5)
|
7
7
|
coinpayments (~> 0.0.4)
|
@@ -73,7 +73,7 @@ GEM
|
|
73
73
|
eventmachine (>= 0.12.0)
|
74
74
|
websocket-driver (>= 0.5.1)
|
75
75
|
hashdiff (1.0.1)
|
76
|
-
hashie (
|
76
|
+
hashie (5.0.0)
|
77
77
|
http_parser.rb (0.8.0)
|
78
78
|
httparty (0.20.0)
|
79
79
|
mime-types (~> 3.0)
|
@@ -83,9 +83,9 @@ GEM
|
|
83
83
|
jwt (2.3.0)
|
84
84
|
memoist (0.16.2)
|
85
85
|
method_source (1.0.0)
|
86
|
-
mime-types (3.
|
86
|
+
mime-types (3.4.1)
|
87
87
|
mime-types-data (~> 3.2015)
|
88
|
-
mime-types-data (3.2021.
|
88
|
+
mime-types-data (3.2021.1115)
|
89
89
|
minitest (5.14.4)
|
90
90
|
mocha (1.13.0)
|
91
91
|
multi_json (1.15.0)
|
@@ -154,7 +154,7 @@ PLATFORMS
|
|
154
154
|
x64-mingw32
|
155
155
|
|
156
156
|
DEPENDENCIES
|
157
|
-
bundler (~>
|
157
|
+
bundler (~> 2.2.32)
|
158
158
|
mocha (~> 1.8)
|
159
159
|
peatio-coinpaymentnew!
|
160
160
|
pry-byebug
|
@@ -163,4 +163,4 @@ DEPENDENCIES
|
|
163
163
|
webmock (~> 3.5)
|
164
164
|
|
165
165
|
BUNDLED WITH
|
166
|
-
|
166
|
+
2.2.32
|
@@ -25,7 +25,7 @@ module Peatio
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def create_address!(_options = {})
|
28
|
-
r = Coinpayments.get_callback_address(
|
28
|
+
r = Coinpayments.get_callback_address(currency_id.upcase, {ipn_url: "https://v2app.rokes.exchange/api/v2/peatio/public/webhooks/deposit"})
|
29
29
|
{ address: r[:address] }
|
30
30
|
rescue Coinpaymentnew::Client::Error => e
|
31
31
|
raise Peatio::Wallet::ClientError, e
|
@@ -11,6 +11,7 @@ module Peatio
|
|
11
11
|
require "bigdecimal"
|
12
12
|
require "bigdecimal/util"
|
13
13
|
|
14
|
+
require_relative "../../config/initializers/coinpayments"
|
14
15
|
require_relative "coinpaymentnew/blockchain"
|
15
16
|
require_relative "coinpaymentnew/client"
|
16
17
|
require_relative "coinpaymentnew/wallet"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: peatio-coinpaymentnew
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Harishankar Joshi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|