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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9357673e3ed0d4427a8f6d4748434c4b40ca9766
4
- data.tar.gz: b38258be10692d5c74a313ffe80376104d9b8132
3
+ metadata.gz: 14055282962a175090f40b8bcbac065a43865b4b
4
+ data.tar.gz: b6746e013d431d8981029243fa6c1794fd59cc62
5
5
  SHA512:
6
- metadata.gz: 700f2ec0de71afc247c4d03a618a1bf63ffb377571dcc0173e3d82af6ea8095e97f1743981145c3ce23f242be9bf893e82975f766eef04ddf8ee38502184ca36
7
- data.tar.gz: 13ee9e3562630a55569bc6e276f6fdf308e1ec15cedbf76afe21d0a4ff21aa077e3768bba011415bfe9a9d282d41d707e66161e2804a1b3473672f39791b9aef
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cobrato-client (0.19.0)
4
+ cobrato-client (0.20.0)
5
5
  multi_json (~> 1.11.2)
6
6
  typhoeus (~> 0.8.0)
7
7
  virtus (~> 1.0.5)
@@ -5,6 +5,7 @@ module Cobrato
5
5
  attribute :name, String
6
6
  attribute :type, String
7
7
  attribute :status, String
8
+ attribute :payee_id, String
8
9
 
9
10
  # billet specifics
10
11
  attribute :bank_account_id, Integer
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Cobrato
2
- VERSION = '0.19.0'
2
+ VERSION = '0.20.0'
3
3
  end
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.19.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-02-20 00:00:00.000000000 Z
13
+ date: 2017-03-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: typhoeus