paxful_client 1.3.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Appraisals +7 -0
- data/CHANGELOG.md +12 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +47 -35
- data/gemfiles/.bundle/config +2 -0
- data/gemfiles/dry_validation_0.13.x.gemfile +10 -0
- data/gemfiles/dry_validation_0.13.x.gemfile.lock +134 -0
- data/gemfiles/dry_validation_1.x.gemfile +10 -0
- data/gemfiles/dry_validation_1.x.gemfile.lock +138 -0
- data/lib/paxful_client/schemas/base_request_schema.rb +8 -4
- data/lib/paxful_client/schemas/get_balance_request_schema.rb +3 -1
- data/lib/paxful_client/schemas/get_completed_trades_request_schema.rb +3 -1
- data/lib/paxful_client/version.rb +1 -1
- data/paxful_client.gemspec +2 -1
- metadata +31 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15fb0470d930c10cd7f413e3937570b5a822675944583ea8590c47f326aedc22
|
4
|
+
data.tar.gz: 71fe7be689745fd6f8220d14ed8aea60844a0eb6d53508625e34e7d59849d037
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36bf8095a605b6ff2207e37b3a9e3aec20e47c9deb0080e6ccfa8ca986cde7a9d8b4ada2d178270c6e3e47a3dea115b2b231e28e356b26d957339ee563f517ad
|
7
|
+
data.tar.gz: f08d2353ef4f33808b3c2b04b58ddcdbc9480d420ef0a1dde77b48bf5f9a6899abffbdc5b5895bcf7fb7ac9f00c69484d5bf982d2a7582f82e385910eb87d0fc
|
data/Appraisals
ADDED
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## [1.5.1] - 2022-04-06
|
8
|
+
### Fixed
|
9
|
+
- Unable to find base schema when running dry-validation 0.13
|
10
|
+
|
11
|
+
## [1.5.0] - 2022-04-06
|
12
|
+
### Added
|
13
|
+
- undefined method 'size' for nil when running with dry-validation 0.13 (allow 0.13 to be installed)
|
14
|
+
|
15
|
+
## [1.4.0] - 2021-06-15
|
16
|
+
### Added
|
17
|
+
- Update `dry-validation` to 1.x
|
18
|
+
|
7
19
|
## [1.3.0] - 2021-01-06
|
8
20
|
### Changed
|
9
21
|
- `get_balance#success?` now checks if the response body has a `data` element. Sometimes Paxful returns 200, but has an empty body
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,24 +1,33 @@
|
|
1
|
+
GIT
|
2
|
+
remote: https://github.com/thoughtbot/appraisal.git
|
3
|
+
revision: 97079f000840338edde73ded08ed6687e0b5223a
|
4
|
+
ref: 97079f000840338edde73ded08ed6687e0b5223a
|
5
|
+
specs:
|
6
|
+
appraisal (2.4.1)
|
7
|
+
bundler
|
8
|
+
rake
|
9
|
+
thor (>= 0.14.0)
|
10
|
+
|
1
11
|
PATH
|
2
12
|
remote: .
|
3
13
|
specs:
|
4
|
-
paxful_client (1.
|
14
|
+
paxful_client (1.5.1)
|
5
15
|
activesupport
|
6
16
|
api_client_base
|
7
|
-
dry-validation (
|
17
|
+
dry-validation (>= 0.13, < 2)
|
8
18
|
typhoeus
|
9
19
|
|
10
20
|
GEM
|
11
21
|
remote: https://rubygems.org/
|
12
22
|
specs:
|
13
|
-
activesupport (
|
23
|
+
activesupport (7.0.2.3)
|
14
24
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
25
|
i18n (>= 1.6, < 2)
|
16
26
|
minitest (>= 5.1)
|
17
27
|
tzinfo (~> 2.0)
|
18
|
-
zeitwerk (~> 2.3)
|
19
28
|
addressable (2.7.0)
|
20
29
|
public_suffix (>= 2.0.2, < 5.0)
|
21
|
-
api_client_base (1.
|
30
|
+
api_client_base (1.11.0)
|
22
31
|
activesupport (>= 3.0)
|
23
32
|
gem_config (>= 0.3.1)
|
24
33
|
virtus (>= 1.0)
|
@@ -29,51 +38,54 @@ GEM
|
|
29
38
|
coderay (1.1.3)
|
30
39
|
coercible (1.0.0)
|
31
40
|
descendants_tracker (~> 0.0.1)
|
32
|
-
concurrent-ruby (1.1.
|
41
|
+
concurrent-ruby (1.1.10)
|
33
42
|
crack (0.4.3)
|
34
43
|
safe_yaml (~> 1.0.0)
|
35
44
|
descendants_tracker (0.0.4)
|
36
45
|
thread_safe (~> 0.3, >= 0.3.1)
|
37
46
|
diff-lcs (1.4.4)
|
38
|
-
dry-configurable (0.
|
47
|
+
dry-configurable (0.14.0)
|
48
|
+
concurrent-ruby (~> 1.0)
|
49
|
+
dry-core (~> 0.6)
|
50
|
+
dry-container (0.9.0)
|
39
51
|
concurrent-ruby (~> 1.0)
|
40
|
-
dry-
|
41
|
-
dry-
|
52
|
+
dry-configurable (~> 0.13, >= 0.13.0)
|
53
|
+
dry-core (0.7.1)
|
42
54
|
concurrent-ruby (~> 1.0)
|
43
|
-
|
44
|
-
dry-
|
55
|
+
dry-inflector (0.2.1)
|
56
|
+
dry-initializer (3.1.1)
|
57
|
+
dry-logic (1.2.0)
|
45
58
|
concurrent-ruby (~> 1.0)
|
46
|
-
|
47
|
-
dry-
|
48
|
-
dry-logic (0.6.1)
|
59
|
+
dry-core (~> 0.5, >= 0.5)
|
60
|
+
dry-schema (1.9.1)
|
49
61
|
concurrent-ruby (~> 1.0)
|
50
|
-
dry-
|
51
|
-
dry-
|
52
|
-
|
62
|
+
dry-configurable (~> 0.13, >= 0.13.0)
|
63
|
+
dry-core (~> 0.5, >= 0.5)
|
64
|
+
dry-initializer (~> 3.0)
|
65
|
+
dry-logic (~> 1.0)
|
66
|
+
dry-types (~> 1.5)
|
67
|
+
dry-types (1.5.1)
|
53
68
|
concurrent-ruby (~> 1.0)
|
54
69
|
dry-container (~> 0.3)
|
55
|
-
dry-core (~> 0.
|
56
|
-
dry-equalizer (~> 0.2)
|
70
|
+
dry-core (~> 0.5, >= 0.5)
|
57
71
|
dry-inflector (~> 0.1, >= 0.1.2)
|
58
|
-
dry-logic (~> 0
|
59
|
-
dry-validation (
|
72
|
+
dry-logic (~> 1.0, >= 1.0.2)
|
73
|
+
dry-validation (1.8.0)
|
60
74
|
concurrent-ruby (~> 1.0)
|
61
|
-
dry-
|
62
|
-
dry-core (~> 0.
|
63
|
-
dry-
|
64
|
-
dry-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
ffi (>= 1.3.0)
|
69
|
-
ffi (1.14.2)
|
75
|
+
dry-container (~> 0.7, >= 0.7.1)
|
76
|
+
dry-core (~> 0.5, >= 0.5)
|
77
|
+
dry-initializer (~> 3.0)
|
78
|
+
dry-schema (~> 1.9, >= 1.9.1)
|
79
|
+
ethon (0.15.0)
|
80
|
+
ffi (>= 1.15.0)
|
81
|
+
ffi (1.15.5)
|
70
82
|
gem_config (0.3.2)
|
71
83
|
hashdiff (1.0.1)
|
72
|
-
i18n (1.
|
84
|
+
i18n (1.10.0)
|
73
85
|
concurrent-ruby (~> 1.0)
|
74
86
|
ice_nine (0.11.2)
|
75
87
|
method_source (1.0.0)
|
76
|
-
minitest (5.
|
88
|
+
minitest (5.15.0)
|
77
89
|
pry (0.13.1)
|
78
90
|
coderay (~> 1.1)
|
79
91
|
method_source (~> 1.0)
|
@@ -93,27 +105,27 @@ GEM
|
|
93
105
|
rspec-support (~> 3.9.0)
|
94
106
|
rspec-support (3.9.3)
|
95
107
|
safe_yaml (1.0.5)
|
108
|
+
thor (1.2.1)
|
96
109
|
thread_safe (0.3.6)
|
97
110
|
typhoeus (1.4.0)
|
98
111
|
ethon (>= 0.9.0)
|
99
112
|
tzinfo (2.0.4)
|
100
113
|
concurrent-ruby (~> 1.0)
|
101
114
|
vcr (3.0.3)
|
102
|
-
virtus (
|
115
|
+
virtus (2.0.0)
|
103
116
|
axiom-types (~> 0.1)
|
104
117
|
coercible (~> 1.0)
|
105
118
|
descendants_tracker (~> 0.0, >= 0.0.3)
|
106
|
-
equalizer (~> 0.0, >= 0.0.9)
|
107
119
|
webmock (2.3.2)
|
108
120
|
addressable (>= 2.3.6)
|
109
121
|
crack (>= 0.3.2)
|
110
122
|
hashdiff
|
111
|
-
zeitwerk (2.4.2)
|
112
123
|
|
113
124
|
PLATFORMS
|
114
125
|
ruby
|
115
126
|
|
116
127
|
DEPENDENCIES
|
128
|
+
appraisal!
|
117
129
|
paxful_client!
|
118
130
|
pry
|
119
131
|
rake (~> 12.0)
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "rake", "~> 12.0"
|
6
|
+
gem "rspec", "~> 3.0"
|
7
|
+
gem "appraisal", github: "thoughtbot/appraisal", ref: "97079f000840338edde73ded08ed6687e0b5223a"
|
8
|
+
gem "dry-validation", "~> 0.13.0"
|
9
|
+
|
10
|
+
gemspec path: "../"
|
@@ -0,0 +1,134 @@
|
|
1
|
+
GIT
|
2
|
+
remote: https://github.com/thoughtbot/appraisal.git
|
3
|
+
revision: 97079f000840338edde73ded08ed6687e0b5223a
|
4
|
+
ref: 97079f000840338edde73ded08ed6687e0b5223a
|
5
|
+
specs:
|
6
|
+
appraisal (2.4.1)
|
7
|
+
bundler
|
8
|
+
rake
|
9
|
+
thor (>= 0.14.0)
|
10
|
+
|
11
|
+
PATH
|
12
|
+
remote: ..
|
13
|
+
specs:
|
14
|
+
paxful_client (1.5.0)
|
15
|
+
activesupport
|
16
|
+
api_client_base
|
17
|
+
dry-validation (>= 0.13, < 2)
|
18
|
+
typhoeus
|
19
|
+
|
20
|
+
GEM
|
21
|
+
remote: https://rubygems.org/
|
22
|
+
specs:
|
23
|
+
activesupport (7.0.2.3)
|
24
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
25
|
+
i18n (>= 1.6, < 2)
|
26
|
+
minitest (>= 5.1)
|
27
|
+
tzinfo (~> 2.0)
|
28
|
+
addressable (2.8.0)
|
29
|
+
public_suffix (>= 2.0.2, < 5.0)
|
30
|
+
api_client_base (1.11.0)
|
31
|
+
activesupport (>= 3.0)
|
32
|
+
gem_config (>= 0.3.1)
|
33
|
+
virtus (>= 1.0)
|
34
|
+
axiom-types (0.1.1)
|
35
|
+
descendants_tracker (~> 0.0.4)
|
36
|
+
ice_nine (~> 0.11.0)
|
37
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
38
|
+
coderay (1.1.3)
|
39
|
+
coercible (1.0.0)
|
40
|
+
descendants_tracker (~> 0.0.1)
|
41
|
+
concurrent-ruby (1.1.10)
|
42
|
+
crack (0.4.5)
|
43
|
+
rexml
|
44
|
+
descendants_tracker (0.0.4)
|
45
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
46
|
+
diff-lcs (1.5.0)
|
47
|
+
dry-configurable (0.14.0)
|
48
|
+
concurrent-ruby (~> 1.0)
|
49
|
+
dry-core (~> 0.6)
|
50
|
+
dry-container (0.9.0)
|
51
|
+
concurrent-ruby (~> 1.0)
|
52
|
+
dry-configurable (~> 0.13, >= 0.13.0)
|
53
|
+
dry-core (0.7.1)
|
54
|
+
concurrent-ruby (~> 1.0)
|
55
|
+
dry-equalizer (0.3.0)
|
56
|
+
dry-inflector (0.2.1)
|
57
|
+
dry-logic (0.6.1)
|
58
|
+
concurrent-ruby (~> 1.0)
|
59
|
+
dry-core (~> 0.2)
|
60
|
+
dry-equalizer (~> 0.2)
|
61
|
+
dry-types (0.14.1)
|
62
|
+
concurrent-ruby (~> 1.0)
|
63
|
+
dry-container (~> 0.3)
|
64
|
+
dry-core (~> 0.4, >= 0.4.4)
|
65
|
+
dry-equalizer (~> 0.2)
|
66
|
+
dry-inflector (~> 0.1, >= 0.1.2)
|
67
|
+
dry-logic (~> 0.5, >= 0.5)
|
68
|
+
dry-validation (0.13.3)
|
69
|
+
concurrent-ruby (~> 1.0)
|
70
|
+
dry-configurable (~> 0.1, >= 0.1.3)
|
71
|
+
dry-core (~> 0.2, >= 0.2.1)
|
72
|
+
dry-equalizer (~> 0.2)
|
73
|
+
dry-logic (~> 0.5, >= 0.5.0)
|
74
|
+
dry-types (~> 0.14.0)
|
75
|
+
ethon (0.15.0)
|
76
|
+
ffi (>= 1.15.0)
|
77
|
+
ffi (1.15.5)
|
78
|
+
gem_config (0.3.2)
|
79
|
+
hashdiff (1.0.1)
|
80
|
+
i18n (1.10.0)
|
81
|
+
concurrent-ruby (~> 1.0)
|
82
|
+
ice_nine (0.11.2)
|
83
|
+
method_source (1.0.0)
|
84
|
+
minitest (5.15.0)
|
85
|
+
pry (0.14.1)
|
86
|
+
coderay (~> 1.1)
|
87
|
+
method_source (~> 1.0)
|
88
|
+
public_suffix (4.0.6)
|
89
|
+
rake (12.3.3)
|
90
|
+
rexml (3.2.5)
|
91
|
+
rspec (3.11.0)
|
92
|
+
rspec-core (~> 3.11.0)
|
93
|
+
rspec-expectations (~> 3.11.0)
|
94
|
+
rspec-mocks (~> 3.11.0)
|
95
|
+
rspec-core (3.11.0)
|
96
|
+
rspec-support (~> 3.11.0)
|
97
|
+
rspec-expectations (3.11.0)
|
98
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
99
|
+
rspec-support (~> 3.11.0)
|
100
|
+
rspec-mocks (3.11.1)
|
101
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
102
|
+
rspec-support (~> 3.11.0)
|
103
|
+
rspec-support (3.11.0)
|
104
|
+
thor (1.2.1)
|
105
|
+
thread_safe (0.3.6)
|
106
|
+
typhoeus (1.4.0)
|
107
|
+
ethon (>= 0.9.0)
|
108
|
+
tzinfo (2.0.4)
|
109
|
+
concurrent-ruby (~> 1.0)
|
110
|
+
vcr (3.0.3)
|
111
|
+
virtus (2.0.0)
|
112
|
+
axiom-types (~> 0.1)
|
113
|
+
coercible (~> 1.0)
|
114
|
+
descendants_tracker (~> 0.0, >= 0.0.3)
|
115
|
+
webmock (2.3.2)
|
116
|
+
addressable (>= 2.3.6)
|
117
|
+
crack (>= 0.3.2)
|
118
|
+
hashdiff
|
119
|
+
|
120
|
+
PLATFORMS
|
121
|
+
ruby
|
122
|
+
|
123
|
+
DEPENDENCIES
|
124
|
+
appraisal!
|
125
|
+
dry-validation (~> 0.13.0)
|
126
|
+
paxful_client!
|
127
|
+
pry
|
128
|
+
rake (~> 12.0)
|
129
|
+
rspec (~> 3.0)
|
130
|
+
vcr (~> 3.0)
|
131
|
+
webmock (~> 2.3)
|
132
|
+
|
133
|
+
BUNDLED WITH
|
134
|
+
2.1.4
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "rake", "~> 12.0"
|
6
|
+
gem "rspec", "~> 3.0"
|
7
|
+
gem "appraisal", github: "thoughtbot/appraisal", ref: "97079f000840338edde73ded08ed6687e0b5223a"
|
8
|
+
gem "dry-validation", "~> 1.0"
|
9
|
+
|
10
|
+
gemspec path: "../"
|
@@ -0,0 +1,138 @@
|
|
1
|
+
GIT
|
2
|
+
remote: https://github.com/thoughtbot/appraisal.git
|
3
|
+
revision: 97079f000840338edde73ded08ed6687e0b5223a
|
4
|
+
ref: 97079f000840338edde73ded08ed6687e0b5223a
|
5
|
+
specs:
|
6
|
+
appraisal (2.4.1)
|
7
|
+
bundler
|
8
|
+
rake
|
9
|
+
thor (>= 0.14.0)
|
10
|
+
|
11
|
+
PATH
|
12
|
+
remote: ..
|
13
|
+
specs:
|
14
|
+
paxful_client (1.4.0)
|
15
|
+
activesupport
|
16
|
+
api_client_base
|
17
|
+
dry-validation (>= 0.13, < 2)
|
18
|
+
typhoeus
|
19
|
+
|
20
|
+
GEM
|
21
|
+
remote: https://rubygems.org/
|
22
|
+
specs:
|
23
|
+
activesupport (7.0.2.3)
|
24
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
25
|
+
i18n (>= 1.6, < 2)
|
26
|
+
minitest (>= 5.1)
|
27
|
+
tzinfo (~> 2.0)
|
28
|
+
addressable (2.8.0)
|
29
|
+
public_suffix (>= 2.0.2, < 5.0)
|
30
|
+
api_client_base (1.11.0)
|
31
|
+
activesupport (>= 3.0)
|
32
|
+
gem_config (>= 0.3.1)
|
33
|
+
virtus (>= 1.0)
|
34
|
+
axiom-types (0.1.1)
|
35
|
+
descendants_tracker (~> 0.0.4)
|
36
|
+
ice_nine (~> 0.11.0)
|
37
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
38
|
+
coderay (1.1.3)
|
39
|
+
coercible (1.0.0)
|
40
|
+
descendants_tracker (~> 0.0.1)
|
41
|
+
concurrent-ruby (1.1.10)
|
42
|
+
crack (0.4.5)
|
43
|
+
rexml
|
44
|
+
descendants_tracker (0.0.4)
|
45
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
46
|
+
diff-lcs (1.5.0)
|
47
|
+
dry-configurable (0.14.0)
|
48
|
+
concurrent-ruby (~> 1.0)
|
49
|
+
dry-core (~> 0.6)
|
50
|
+
dry-container (0.9.0)
|
51
|
+
concurrent-ruby (~> 1.0)
|
52
|
+
dry-configurable (~> 0.13, >= 0.13.0)
|
53
|
+
dry-core (0.7.1)
|
54
|
+
concurrent-ruby (~> 1.0)
|
55
|
+
dry-inflector (0.2.1)
|
56
|
+
dry-initializer (3.1.1)
|
57
|
+
dry-logic (1.2.0)
|
58
|
+
concurrent-ruby (~> 1.0)
|
59
|
+
dry-core (~> 0.5, >= 0.5)
|
60
|
+
dry-schema (1.9.1)
|
61
|
+
concurrent-ruby (~> 1.0)
|
62
|
+
dry-configurable (~> 0.13, >= 0.13.0)
|
63
|
+
dry-core (~> 0.5, >= 0.5)
|
64
|
+
dry-initializer (~> 3.0)
|
65
|
+
dry-logic (~> 1.0)
|
66
|
+
dry-types (~> 1.5)
|
67
|
+
dry-types (1.5.1)
|
68
|
+
concurrent-ruby (~> 1.0)
|
69
|
+
dry-container (~> 0.3)
|
70
|
+
dry-core (~> 0.5, >= 0.5)
|
71
|
+
dry-inflector (~> 0.1, >= 0.1.2)
|
72
|
+
dry-logic (~> 1.0, >= 1.0.2)
|
73
|
+
dry-validation (1.8.0)
|
74
|
+
concurrent-ruby (~> 1.0)
|
75
|
+
dry-container (~> 0.7, >= 0.7.1)
|
76
|
+
dry-core (~> 0.5, >= 0.5)
|
77
|
+
dry-initializer (~> 3.0)
|
78
|
+
dry-schema (~> 1.9, >= 1.9.1)
|
79
|
+
ethon (0.15.0)
|
80
|
+
ffi (>= 1.15.0)
|
81
|
+
ffi (1.15.5)
|
82
|
+
gem_config (0.3.2)
|
83
|
+
hashdiff (1.0.1)
|
84
|
+
i18n (1.10.0)
|
85
|
+
concurrent-ruby (~> 1.0)
|
86
|
+
ice_nine (0.11.2)
|
87
|
+
method_source (1.0.0)
|
88
|
+
minitest (5.15.0)
|
89
|
+
pry (0.14.1)
|
90
|
+
coderay (~> 1.1)
|
91
|
+
method_source (~> 1.0)
|
92
|
+
public_suffix (4.0.6)
|
93
|
+
rake (12.3.3)
|
94
|
+
rexml (3.2.5)
|
95
|
+
rspec (3.11.0)
|
96
|
+
rspec-core (~> 3.11.0)
|
97
|
+
rspec-expectations (~> 3.11.0)
|
98
|
+
rspec-mocks (~> 3.11.0)
|
99
|
+
rspec-core (3.11.0)
|
100
|
+
rspec-support (~> 3.11.0)
|
101
|
+
rspec-expectations (3.11.0)
|
102
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
103
|
+
rspec-support (~> 3.11.0)
|
104
|
+
rspec-mocks (3.11.1)
|
105
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
106
|
+
rspec-support (~> 3.11.0)
|
107
|
+
rspec-support (3.11.0)
|
108
|
+
thor (1.2.1)
|
109
|
+
thread_safe (0.3.6)
|
110
|
+
typhoeus (1.4.0)
|
111
|
+
ethon (>= 0.9.0)
|
112
|
+
tzinfo (2.0.4)
|
113
|
+
concurrent-ruby (~> 1.0)
|
114
|
+
vcr (3.0.3)
|
115
|
+
virtus (2.0.0)
|
116
|
+
axiom-types (~> 0.1)
|
117
|
+
coercible (~> 1.0)
|
118
|
+
descendants_tracker (~> 0.0, >= 0.0.3)
|
119
|
+
webmock (2.3.2)
|
120
|
+
addressable (>= 2.3.6)
|
121
|
+
crack (>= 0.3.2)
|
122
|
+
hashdiff
|
123
|
+
|
124
|
+
PLATFORMS
|
125
|
+
ruby
|
126
|
+
|
127
|
+
DEPENDENCIES
|
128
|
+
appraisal!
|
129
|
+
dry-validation (~> 1.0)
|
130
|
+
paxful_client!
|
131
|
+
pry
|
132
|
+
rake (~> 12.0)
|
133
|
+
rspec (~> 3.0)
|
134
|
+
vcr (~> 3.0)
|
135
|
+
webmock (~> 2.3)
|
136
|
+
|
137
|
+
BUNDLED WITH
|
138
|
+
2.1.4
|
@@ -1,8 +1,12 @@
|
|
1
1
|
module PaxfulClient
|
2
|
-
|
3
|
-
|
4
|
-
required(:key).filled(:str?)
|
5
|
-
required(:secret).filled(:str?)
|
2
|
+
if not Dry::Validation.const_defined?("Schema")
|
3
|
+
class BaseRequestSchema < Dry::Validation::Contract
|
6
4
|
|
5
|
+
params do
|
6
|
+
required(:key).filled(:string)
|
7
|
+
required(:secret).filled(:string)
|
8
|
+
end
|
9
|
+
|
10
|
+
end
|
7
11
|
end
|
8
12
|
end
|
data/paxful_client.gemspec
CHANGED
@@ -28,9 +28,10 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.add_dependency "api_client_base"
|
29
29
|
spec.add_dependency "typhoeus"
|
30
30
|
spec.add_dependency "activesupport"
|
31
|
-
spec.add_dependency "dry-validation", "
|
31
|
+
spec.add_dependency "dry-validation", ">= 0.13", "< 2"
|
32
32
|
|
33
33
|
spec.add_development_dependency "pry"
|
34
34
|
spec.add_development_dependency "vcr", "~> 3.0"
|
35
35
|
spec.add_development_dependency "webmock", "~> 2.3"
|
36
|
+
spec.add_development_dependency "appraisal"
|
36
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paxful_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Chavez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: api_client_base
|
@@ -56,16 +56,22 @@ dependencies:
|
|
56
56
|
name: dry-validation
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0.13'
|
62
|
+
- - "<"
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '2'
|
62
65
|
type: :runtime
|
63
66
|
prerelease: false
|
64
67
|
version_requirements: !ruby/object:Gem::Requirement
|
65
68
|
requirements:
|
66
|
-
- - "
|
69
|
+
- - ">="
|
67
70
|
- !ruby/object:Gem::Version
|
68
71
|
version: '0.13'
|
72
|
+
- - "<"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '2'
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: pry
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,6 +114,20 @@ dependencies:
|
|
108
114
|
- - "~>"
|
109
115
|
- !ruby/object:Gem::Version
|
110
116
|
version: '2.3'
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: appraisal
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
124
|
+
type: :development
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
111
131
|
description: API wrapper for Paxful
|
112
132
|
email:
|
113
133
|
- mjfchavez@gmail.com
|
@@ -118,6 +138,7 @@ files:
|
|
118
138
|
- ".github/workflows/ruby.yml"
|
119
139
|
- ".gitignore"
|
120
140
|
- ".rspec"
|
141
|
+
- Appraisals
|
121
142
|
- CHANGELOG.md
|
122
143
|
- CODE_OF_CONDUCT.md
|
123
144
|
- Gemfile
|
@@ -127,6 +148,11 @@ files:
|
|
127
148
|
- Rakefile
|
128
149
|
- bin/console
|
129
150
|
- bin/setup
|
151
|
+
- gemfiles/.bundle/config
|
152
|
+
- gemfiles/dry_validation_0.13.x.gemfile
|
153
|
+
- gemfiles/dry_validation_0.13.x.gemfile.lock
|
154
|
+
- gemfiles/dry_validation_1.x.gemfile
|
155
|
+
- gemfiles/dry_validation_1.x.gemfile.lock
|
130
156
|
- lib/paxful_client.rb
|
131
157
|
- lib/paxful_client/client.rb
|
132
158
|
- lib/paxful_client/models/order_book.rb
|
@@ -165,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
165
191
|
- !ruby/object:Gem::Version
|
166
192
|
version: '0'
|
167
193
|
requirements: []
|
168
|
-
rubygems_version: 3.
|
194
|
+
rubygems_version: 3.1.6
|
169
195
|
signing_key:
|
170
196
|
specification_version: 4
|
171
197
|
summary: API wrapper for Paxful
|