paxful_client 1.1.0 → 1.2.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 +10 -10
- data/lib/paxful_client/responses/get_completed_trades_response.rb +10 -0
- data/lib/paxful_client/version.rb +1 -1
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 445e56c7910f8f51f1029e5f0af8513452c6824ecfc974972abb780f124587ab
|
4
|
+
data.tar.gz: e49d1a66ebe40915efe9e832876b63d646597a53d7272dbddc64b70fe13c4772
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a75f633fcd0778ac1ba08d9915412e085c5499862f8430c100548673b942ae1659e08bf3c229846ee6c594e878c9f521b0dc8a256da4f88935b391af9d8f5aa
|
7
|
+
data.tar.gz: 6967c3a4737520d0e04328144c8422fe4e072bf12617b9bc8ae01fe3b60009c6c6cc166ce96c798ae394ba26f4f1af3878497f9ad57df348e662935a33c61865
|
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.2.0] - 2020-12-15
|
8
|
+
### Changed
|
9
|
+
- Only consider success for `get_completed_trades` if it meets certain criteria
|
10
|
+
|
7
11
|
## [1.1.0] - 2020-11-25
|
8
12
|
### Added
|
9
13
|
- Add support for passing in `page` for completed trades
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
paxful_client (1.
|
4
|
+
paxful_client (1.2.0)
|
5
5
|
activesupport
|
6
6
|
api_client_base
|
7
7
|
dry-validation (~> 0.13)
|
@@ -10,12 +10,12 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activesupport (6.0
|
13
|
+
activesupport (6.1.0)
|
14
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
|
-
i18n (>=
|
16
|
-
minitest (
|
17
|
-
tzinfo (~>
|
18
|
-
zeitwerk (~> 2.
|
15
|
+
i18n (>= 1.6, < 2)
|
16
|
+
minitest (>= 5.1)
|
17
|
+
tzinfo (~> 2.0)
|
18
|
+
zeitwerk (~> 2.3)
|
19
19
|
addressable (2.7.0)
|
20
20
|
public_suffix (>= 2.0.2, < 5.0)
|
21
21
|
api_client_base (1.9.0)
|
@@ -42,7 +42,7 @@ GEM
|
|
42
42
|
dry-container (0.7.2)
|
43
43
|
concurrent-ruby (~> 1.0)
|
44
44
|
dry-configurable (~> 0.1, >= 0.1.3)
|
45
|
-
dry-core (0.
|
45
|
+
dry-core (0.5.0)
|
46
46
|
concurrent-ruby (~> 1.0)
|
47
47
|
dry-equalizer (0.3.0)
|
48
48
|
dry-inflector (0.2.0)
|
@@ -97,8 +97,8 @@ GEM
|
|
97
97
|
thread_safe (0.3.6)
|
98
98
|
typhoeus (1.4.0)
|
99
99
|
ethon (>= 0.9.0)
|
100
|
-
tzinfo (
|
101
|
-
|
100
|
+
tzinfo (2.0.3)
|
101
|
+
concurrent-ruby (~> 1.0)
|
102
102
|
vcr (3.0.3)
|
103
103
|
virtus (1.0.5)
|
104
104
|
axiom-types (~> 0.1)
|
@@ -109,7 +109,7 @@ GEM
|
|
109
109
|
addressable (>= 2.3.6)
|
110
110
|
crack (>= 0.3.2)
|
111
111
|
hashdiff
|
112
|
-
zeitwerk (2.4.
|
112
|
+
zeitwerk (2.4.2)
|
113
113
|
|
114
114
|
PLATFORMS
|
115
115
|
ruby
|
@@ -22,5 +22,15 @@ module PaxfulClient
|
|
22
22
|
order_book
|
23
23
|
end
|
24
24
|
|
25
|
+
def default_success
|
26
|
+
code == 200 && present_parsed_body?
|
27
|
+
end
|
28
|
+
|
29
|
+
def present_parsed_body?
|
30
|
+
!parsed_body.nil? &&
|
31
|
+
!parsed_body["data"].nil? &&
|
32
|
+
!parsed_body["data"]["trades"].nil?
|
33
|
+
end
|
34
|
+
|
25
35
|
end
|
26
36
|
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.2.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-
|
11
|
+
date: 2020-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: api_client_base
|
@@ -150,7 +150,7 @@ metadata:
|
|
150
150
|
homepage_uri: https://github.com/MarkFChavez/paxful_client-ruby
|
151
151
|
source_code_uri: https://github.com/MarkFChavez/paxful_client-ruby
|
152
152
|
changelog_uri: https://github.com/MarkFChavez/paxful_client-ruby
|
153
|
-
post_install_message:
|
153
|
+
post_install_message:
|
154
154
|
rdoc_options: []
|
155
155
|
require_paths:
|
156
156
|
- lib
|
@@ -165,9 +165,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
167
|
requirements: []
|
168
|
-
|
169
|
-
|
170
|
-
signing_key:
|
168
|
+
rubygems_version: 3.0.3
|
169
|
+
signing_key:
|
171
170
|
specification_version: 4
|
172
171
|
summary: API wrapper for Paxful
|
173
172
|
test_files: []
|