paxful_client 1.2.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 445e56c7910f8f51f1029e5f0af8513452c6824ecfc974972abb780f124587ab
4
- data.tar.gz: e49d1a66ebe40915efe9e832876b63d646597a53d7272dbddc64b70fe13c4772
3
+ metadata.gz: f1270e036afa4946b85f7118c5ec2578220ba6a5eccc9186fb6fd52df03109dc
4
+ data.tar.gz: 594243a091d8649c460bdb3a9ee99e42cb69eee7716c4c662f362bd3db566a07
5
5
  SHA512:
6
- metadata.gz: 9a75f633fcd0778ac1ba08d9915412e085c5499862f8430c100548673b942ae1659e08bf3c229846ee6c594e878c9f521b0dc8a256da4f88935b391af9d8f5aa
7
- data.tar.gz: 6967c3a4737520d0e04328144c8422fe4e072bf12617b9bc8ae01fe3b60009c6c6cc166ce96c798ae394ba26f4f1af3878497f9ad57df348e662935a33c61865
6
+ metadata.gz: aef69d896ccbdac8f1c5fc26157b2e30e9a298445ac7f12f41e2153f8ca0e65fc213f696d0b8fd91a441f7c7269b35c1a2cc7071a25bd83f67312b6c8bd056d5
7
+ data.tar.gz: e6389e3e9f731838f39d8cfe46bba9084c4977c30477dd9d57c28f7375b21d582bbe745b38ff5266dd18a96af2d4ad44b5971f78bff13e96823ca758aadf2823
data/Appraisals ADDED
@@ -0,0 +1,7 @@
1
+ appraise "dry-validation-0.13.x" do
2
+ gem "dry-validation", "~> 0.13.0"
3
+ end
4
+
5
+ appraise "dry-validation-1.x" do
6
+ gem "dry-validation", "~> 1.0"
7
+ end
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.0] - 2022-04-06
8
+ ### Added
9
+ - undefined method 'size' for nil when running with dry-validation 0.13 (allow 0.13 to be installed)
10
+
11
+ ## [1.4.0] - 2021-06-15
12
+ ### Added
13
+ - Update `dry-validation` to 1.x
14
+
15
+ ## [1.3.0] - 2021-01-06
16
+ ### Changed
17
+ - `get_balance#success?` now checks if the response body has a `data` element. Sometimes Paxful returns 200, but has an empty body
18
+
7
19
  ## [1.2.0] - 2020-12-15
8
20
  ### Changed
9
21
  - Only consider success for `get_completed_trades` if it meets certain criteria
data/Gemfile CHANGED
@@ -5,3 +5,5 @@ gemspec
5
5
 
6
6
  gem "rake", "~> 12.0"
7
7
  gem "rspec", "~> 3.0"
8
+
9
+ gem "appraisal", github: "thoughtbot/appraisal", ref: "97079f000840338edde73ded08ed6687e0b5223a"
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.2.0)
14
+ paxful_client (1.5.0)
5
15
  activesupport
6
16
  api_client_base
7
- dry-validation (~> 0.13)
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 (6.1.0)
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.9.0)
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,52 +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.7)
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.11.6)
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-core (~> 0.4, >= 0.4.7)
41
- dry-equalizer (~> 0.2)
42
- dry-container (0.7.2)
52
+ dry-configurable (~> 0.13, >= 0.13.0)
53
+ dry-core (0.7.1)
43
54
  concurrent-ruby (~> 1.0)
44
- dry-configurable (~> 0.1, >= 0.1.3)
45
- dry-core (0.5.0)
55
+ dry-inflector (0.2.1)
56
+ dry-initializer (3.1.1)
57
+ dry-logic (1.2.0)
46
58
  concurrent-ruby (~> 1.0)
47
- dry-equalizer (0.3.0)
48
- dry-inflector (0.2.0)
49
- dry-logic (0.6.1)
59
+ dry-core (~> 0.5, >= 0.5)
60
+ dry-schema (1.9.1)
50
61
  concurrent-ruby (~> 1.0)
51
- dry-core (~> 0.2)
52
- dry-equalizer (~> 0.2)
53
- dry-types (0.14.1)
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)
54
68
  concurrent-ruby (~> 1.0)
55
69
  dry-container (~> 0.3)
56
- dry-core (~> 0.4, >= 0.4.4)
57
- dry-equalizer (~> 0.2)
70
+ dry-core (~> 0.5, >= 0.5)
58
71
  dry-inflector (~> 0.1, >= 0.1.2)
59
- dry-logic (~> 0.5, >= 0.5)
60
- dry-validation (0.13.3)
72
+ dry-logic (~> 1.0, >= 1.0.2)
73
+ dry-validation (1.8.0)
61
74
  concurrent-ruby (~> 1.0)
62
- dry-configurable (~> 0.1, >= 0.1.3)
63
- dry-core (~> 0.2, >= 0.2.1)
64
- dry-equalizer (~> 0.2)
65
- dry-logic (~> 0.5, >= 0.5.0)
66
- dry-types (~> 0.14.0)
67
- equalizer (0.0.11)
68
- ethon (0.12.0)
69
- ffi (>= 1.3.0)
70
- ffi (1.13.1)
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)
71
82
  gem_config (0.3.2)
72
83
  hashdiff (1.0.1)
73
- i18n (1.8.5)
84
+ i18n (1.10.0)
74
85
  concurrent-ruby (~> 1.0)
75
86
  ice_nine (0.11.2)
76
87
  method_source (1.0.0)
77
- minitest (5.14.2)
88
+ minitest (5.15.0)
78
89
  pry (0.13.1)
79
90
  coderay (~> 1.1)
80
91
  method_source (~> 1.0)
@@ -94,27 +105,27 @@ GEM
94
105
  rspec-support (~> 3.9.0)
95
106
  rspec-support (3.9.3)
96
107
  safe_yaml (1.0.5)
108
+ thor (1.2.1)
97
109
  thread_safe (0.3.6)
98
110
  typhoeus (1.4.0)
99
111
  ethon (>= 0.9.0)
100
- tzinfo (2.0.3)
112
+ tzinfo (2.0.4)
101
113
  concurrent-ruby (~> 1.0)
102
114
  vcr (3.0.3)
103
- virtus (1.0.5)
115
+ virtus (2.0.0)
104
116
  axiom-types (~> 0.1)
105
117
  coercible (~> 1.0)
106
118
  descendants_tracker (~> 0.0, >= 0.0.3)
107
- equalizer (~> 0.0, >= 0.0.9)
108
119
  webmock (2.3.2)
109
120
  addressable (>= 2.3.6)
110
121
  crack (>= 0.3.2)
111
122
  hashdiff
112
- zeitwerk (2.4.2)
113
123
 
114
124
  PLATFORMS
115
125
  ruby
116
126
 
117
127
  DEPENDENCIES
128
+ appraisal!
118
129
  paxful_client!
119
130
  pry
120
131
  rake (~> 12.0)
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_RETRY: "1"
@@ -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.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-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
@@ -5,6 +5,7 @@ module PaxfulClient
5
5
 
6
6
  attribute :body, Object, lazy: true, default: :default_body
7
7
  attribute :parsed_body, String, lazy: true, default: :default_parsed_body
8
+ attribute :error_message, String, lazy: true
8
9
 
9
10
  private
10
11
 
@@ -1,7 +1,5 @@
1
1
  module PaxfulClient
2
- class GetBalanceResponse
3
-
4
- include APIClientBase::Response.module
2
+ class GetBalanceResponse < BaseResponse
5
3
 
6
4
  attribute :wallet, PaxfulClient::Wallet, lazy: true, default: :default_wallet
7
5
  attribute :body, Object, lazy: true, default: :default_body
@@ -9,6 +7,14 @@ module PaxfulClient
9
7
 
10
8
  private
11
9
 
10
+ def default_success
11
+ unless parsed_body['data'].present?
12
+ self.error_message = 'GetBalanceResponse: data not present'
13
+ return false
14
+ end
15
+ raw_response.success?
16
+ end
17
+
12
18
  def default_wallet
13
19
  args = parsed_body["data"].each_with_object({}) do |(attr, val), hash|
14
20
  hash[attr.underscore] = val
@@ -1,8 +1,12 @@
1
1
  module PaxfulClient
2
- BaseRequestSchema = Dry::Validation.Schema do
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
@@ -1,3 +1,3 @@
1
1
  module PaxfulClient
2
- VERSION = "1.2.0"
2
+ VERSION = "1.5.0"
3
3
  end
@@ -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", "~> 0.13"
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.2.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Chavez
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-16 00:00:00.000000000 Z
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
@@ -150,7 +176,7 @@ metadata:
150
176
  homepage_uri: https://github.com/MarkFChavez/paxful_client-ruby
151
177
  source_code_uri: https://github.com/MarkFChavez/paxful_client-ruby
152
178
  changelog_uri: https://github.com/MarkFChavez/paxful_client-ruby
153
- post_install_message:
179
+ post_install_message:
154
180
  rdoc_options: []
155
181
  require_paths:
156
182
  - lib
@@ -165,8 +191,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
191
  - !ruby/object:Gem::Version
166
192
  version: '0'
167
193
  requirements: []
168
- rubygems_version: 3.0.3
169
- signing_key:
194
+ rubygems_version: 3.1.6
195
+ signing_key:
170
196
  specification_version: 4
171
197
  summary: API wrapper for Paxful
172
198
  test_files: []