cobrato-client 0.19.0 → 0.20.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 +9 -0
- data/Gemfile.lock +1 -1
- data/lib/cobrato/entities/charge_config.rb +1 -0
- data/lib/cobrato/request.rb +3 -2
- data/lib/cobrato/version.rb +1 -1
- 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: 14055282962a175090f40b8bcbac065a43865b4b
|
4
|
+
data.tar.gz: b6746e013d431d8981029243fa6c1794fd59cc62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6f6b280d3cdc22ce4a9a327686a687a9d85ab11420a409bffc7a86fa950c417651caf9fdc847e09e94746d255ef90c65f70c284d963fdbe03c6ace4cc45fe43
|
7
|
+
data.tar.gz: afa0d337299bb135edc23546fee6f94fb8ea4ac9ff353cc517347a9ffd6d45759bd0e3349e8dbb792221edc82ba6b292b7f79256e7e96d1a81ac9529948f41df
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,15 @@
|
|
2
2
|
|
3
3
|
## Next version
|
4
4
|
|
5
|
+
## v0.20.0
|
6
|
+
|
7
|
+
- Add `payee_id` to `ChargeConfig` entity and it is a mandatory attribute.
|
8
|
+
- Use rack style for pair params encoding.
|
9
|
+
|
10
|
+
## v0.19.0
|
11
|
+
|
12
|
+
- Add `email_reply_to` to `ChargeTemplate` entity.
|
13
|
+
|
5
14
|
## v0.18.0
|
6
15
|
|
7
16
|
- Add `charges#revoke` endpoint
|
data/Gemfile.lock
CHANGED
data/lib/cobrato/request.rb
CHANGED
@@ -23,7 +23,8 @@ module Cobrato
|
|
23
23
|
body: body,
|
24
24
|
headers: headers,
|
25
25
|
userpwd: token,
|
26
|
-
accept_encoding: "gzip"
|
26
|
+
accept_encoding: "gzip",
|
27
|
+
params_encoding: :rack # this is important for filtering with array parameter
|
27
28
|
}.reject {|k,v| v.nil?}
|
28
29
|
end
|
29
30
|
|
@@ -48,4 +49,4 @@ module Cobrato
|
|
48
49
|
end
|
49
50
|
|
50
51
|
end
|
51
|
-
end
|
52
|
+
end
|
data/lib/cobrato/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cobrato-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcio Ricardo Santos
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-
|
13
|
+
date: 2017-03-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: typhoeus
|