paxful_client 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +32 -28
- data/lib/paxful_client/schemas/base_request_schema.rb +5 -3
- data/lib/paxful_client/version.rb +1 -1
- data/paxful_client.gemspec +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36845963975c5db9f0a3184a366c0958283e4eeb18dd583db1987c4c4aac98a8
|
4
|
+
data.tar.gz: 968fb3acba949cb42c2e9425af38655da1ed612ca6a1a9b4793c620bb3b9296e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01e726e25a432383ab74b3ccde07c3cff7d1bf1c480afb8f9a4feaf0b52a0ca646f362fa427c2830e13a9996c21fe27112ec9af2d4f0394b99a58936fe8b3c85
|
7
|
+
data.tar.gz: d2b14a64416ba640ba0231c9bd2ea9f75d3d37eb7a41ccb71d40e3e110bb45a8160b7a0adf383da2099d24b3e9957e63c3a3be3e1b318c1441c587347079447b
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,10 @@ 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.4.0] - 2021-06-15
|
8
|
+
### Added
|
9
|
+
- Update `dry-validation` to 1.x
|
10
|
+
|
7
11
|
## [1.3.0] - 2021-01-06
|
8
12
|
### Changed
|
9
13
|
- `get_balance#success?` now checks if the response body has a `data` element. Sometimes Paxful returns 200, but has an empty body
|
data/Gemfile.lock
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
paxful_client (1.
|
4
|
+
paxful_client (1.4.0)
|
5
5
|
activesupport
|
6
6
|
api_client_base
|
7
|
-
dry-validation (~> 0
|
7
|
+
dry-validation (~> 1.0, < 2)
|
8
8
|
typhoeus
|
9
9
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activesupport (6.1.
|
13
|
+
activesupport (6.1.3.2)
|
14
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
15
|
i18n (>= 1.6, < 2)
|
16
16
|
minitest (>= 5.1)
|
@@ -18,7 +18,7 @@ GEM
|
|
18
18
|
zeitwerk (~> 2.3)
|
19
19
|
addressable (2.7.0)
|
20
20
|
public_suffix (>= 2.0.2, < 5.0)
|
21
|
-
api_client_base (1.
|
21
|
+
api_client_base (1.10.0)
|
22
22
|
activesupport (>= 3.0)
|
23
23
|
gem_config (>= 0.3.1)
|
24
24
|
virtus (>= 1.0)
|
@@ -29,51 +29,56 @@ GEM
|
|
29
29
|
coderay (1.1.3)
|
30
30
|
coercible (1.0.0)
|
31
31
|
descendants_tracker (~> 0.0.1)
|
32
|
-
concurrent-ruby (1.1.
|
32
|
+
concurrent-ruby (1.1.9)
|
33
33
|
crack (0.4.3)
|
34
34
|
safe_yaml (~> 1.0.0)
|
35
35
|
descendants_tracker (0.0.4)
|
36
36
|
thread_safe (~> 0.3, >= 0.3.1)
|
37
37
|
diff-lcs (1.4.4)
|
38
|
-
dry-configurable (0.12.
|
38
|
+
dry-configurable (0.12.1)
|
39
39
|
concurrent-ruby (~> 1.0)
|
40
40
|
dry-core (~> 0.5, >= 0.5.0)
|
41
|
-
dry-container (0.
|
41
|
+
dry-container (0.8.0)
|
42
42
|
concurrent-ruby (~> 1.0)
|
43
43
|
dry-configurable (~> 0.1, >= 0.1.3)
|
44
|
-
dry-core (0.
|
44
|
+
dry-core (0.6.0)
|
45
45
|
concurrent-ruby (~> 1.0)
|
46
46
|
dry-equalizer (0.3.0)
|
47
47
|
dry-inflector (0.2.0)
|
48
|
-
dry-
|
48
|
+
dry-initializer (3.0.4)
|
49
|
+
dry-logic (1.2.0)
|
49
50
|
concurrent-ruby (~> 1.0)
|
50
|
-
dry-core (~> 0.
|
51
|
-
|
52
|
-
|
51
|
+
dry-core (~> 0.5, >= 0.5)
|
52
|
+
dry-schema (1.6.2)
|
53
|
+
concurrent-ruby (~> 1.0)
|
54
|
+
dry-configurable (~> 0.8, >= 0.8.3)
|
55
|
+
dry-core (~> 0.5, >= 0.5)
|
56
|
+
dry-initializer (~> 3.0)
|
57
|
+
dry-logic (~> 1.0)
|
58
|
+
dry-types (~> 1.5)
|
59
|
+
dry-types (1.5.1)
|
53
60
|
concurrent-ruby (~> 1.0)
|
54
61
|
dry-container (~> 0.3)
|
55
|
-
dry-core (~> 0.
|
56
|
-
dry-equalizer (~> 0.2)
|
62
|
+
dry-core (~> 0.5, >= 0.5)
|
57
63
|
dry-inflector (~> 0.1, >= 0.1.2)
|
58
|
-
dry-logic (~> 0
|
59
|
-
dry-validation (
|
64
|
+
dry-logic (~> 1.0, >= 1.0.2)
|
65
|
+
dry-validation (1.6.0)
|
60
66
|
concurrent-ruby (~> 1.0)
|
61
|
-
dry-
|
62
|
-
dry-core (~> 0.
|
67
|
+
dry-container (~> 0.7, >= 0.7.1)
|
68
|
+
dry-core (~> 0.4)
|
63
69
|
dry-equalizer (~> 0.2)
|
64
|
-
dry-
|
65
|
-
dry-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
ffi (1.14.2)
|
70
|
+
dry-initializer (~> 3.0)
|
71
|
+
dry-schema (~> 1.5, >= 1.5.2)
|
72
|
+
ethon (0.14.0)
|
73
|
+
ffi (>= 1.15.0)
|
74
|
+
ffi (1.15.1)
|
70
75
|
gem_config (0.3.2)
|
71
76
|
hashdiff (1.0.1)
|
72
|
-
i18n (1.8.
|
77
|
+
i18n (1.8.10)
|
73
78
|
concurrent-ruby (~> 1.0)
|
74
79
|
ice_nine (0.11.2)
|
75
80
|
method_source (1.0.0)
|
76
|
-
minitest (5.14.
|
81
|
+
minitest (5.14.4)
|
77
82
|
pry (0.13.1)
|
78
83
|
coderay (~> 1.1)
|
79
84
|
method_source (~> 1.0)
|
@@ -99,11 +104,10 @@ GEM
|
|
99
104
|
tzinfo (2.0.4)
|
100
105
|
concurrent-ruby (~> 1.0)
|
101
106
|
vcr (3.0.3)
|
102
|
-
virtus (
|
107
|
+
virtus (2.0.0)
|
103
108
|
axiom-types (~> 0.1)
|
104
109
|
coercible (~> 1.0)
|
105
110
|
descendants_tracker (~> 0.0, >= 0.0.3)
|
106
|
-
equalizer (~> 0.0, >= 0.0.9)
|
107
111
|
webmock (2.3.2)
|
108
112
|
addressable (>= 2.3.6)
|
109
113
|
crack (>= 0.3.2)
|
@@ -1,8 +1,10 @@
|
|
1
1
|
module PaxfulClient
|
2
|
-
BaseRequestSchema
|
2
|
+
class BaseRequestSchema < Dry::Validation::Contract
|
3
3
|
|
4
|
-
|
5
|
-
|
4
|
+
params do
|
5
|
+
required(:key).filled(:string)
|
6
|
+
required(:secret).filled(:string)
|
7
|
+
end
|
6
8
|
|
7
9
|
end
|
8
10
|
end
|
data/paxful_client.gemspec
CHANGED
@@ -28,7 +28,7 @@ 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", "~> 0
|
31
|
+
spec.add_dependency "dry-validation", "~> 1.0", "< 2"
|
32
32
|
|
33
33
|
spec.add_development_dependency "pry"
|
34
34
|
spec.add_development_dependency "vcr", "~> 3.0"
|
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.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Chavez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: api_client_base
|
@@ -58,14 +58,20 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0
|
61
|
+
version: '1.0'
|
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
|
-
version: '0
|
71
|
+
version: '1.0'
|
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
|
@@ -165,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
165
171
|
- !ruby/object:Gem::Version
|
166
172
|
version: '0'
|
167
173
|
requirements: []
|
168
|
-
rubygems_version: 3.
|
174
|
+
rubygems_version: 3.1.6
|
169
175
|
signing_key:
|
170
176
|
specification_version: 4
|
171
177
|
summary: API wrapper for Paxful
|