cobrato-client 0.16.0 → 0.17.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: ff78832a8015f17587d8f16331f31f0ee3ecce94
4
- data.tar.gz: 1fb46e76ebdf1ed463c78dc34b82519ccef82ece
3
+ metadata.gz: 0f84bdf0969a7b9b9cf364be61fe23d688240b46
4
+ data.tar.gz: 9a981969965bde75d4a39655c754e67e2ab116e8
5
5
  SHA512:
6
- metadata.gz: 5bfee4a5ecfc6bb66c4f9de56a01342d1b96315efacc39e1becac1d091589836359a233d9130a76dc52a20209448890fd09ad849fe6f59e80e132f40ce9c8c67
7
- data.tar.gz: 203fef09872f8e5b2558353f393c72d735f9d7251f4ce3d87396a0f80e7fbbfcd9288f9ba1c470a0a0859151e008f9ca8b3d1463dea9e6fa262dbd4be1d40909
6
+ metadata.gz: c404ef3792b30877143917682d8a461234a167bced2eb249b75c153ce451cf030597870f8eb6409239c1068ca33747d707be2061bca311640d1878364667c5d2
7
+ data.tar.gz: 23ef5dd02b49444be95eac9cb01b5bbf896ab1724950334bc0559fcef7d2d61f08356f273f34ebf9df43049ee3a5c92fe3f852ee9528a14d59a8aee2f04a8d90
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Next version
4
4
 
5
+ ## v0.17.0
6
+
7
+ - Add `paid_discount`, `paid_addition`, `paid_rebate` to Charge entity
8
+ - Add `paid_difference` (vitual attribute) to Charge entity
9
+
5
10
  ## v0.16.0
6
11
 
7
12
  - Add `auto_send_billet` to Charge entity
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cobrato-client (0.16.0)
4
+ cobrato-client (0.17.0)
5
5
  multi_json (~> 1.11.2)
6
6
  typhoeus (~> 0.8.0)
7
7
  virtus (~> 1.0.5)
@@ -84,4 +84,4 @@ DEPENDENCIES
84
84
  vcr (~> 2.9)
85
85
 
86
86
  BUNDLED WITH
87
- 1.13.6
87
+ 1.13.7
@@ -50,6 +50,10 @@ module Cobrato
50
50
  attribute :email_subject, String
51
51
  attribute :email_text, String
52
52
  attribute :charge_template_id, Integer
53
+ attribute :paid_discount, Decimal
54
+ attribute :paid_additions, Decimal
55
+ attribute :paid_rebate, Decimal
56
+ attribute :paid_difference, Decimal
53
57
 
54
58
  # payment gateway specifics
55
59
  attribute :credit_card_id, Integer
@@ -1,3 +1,3 @@
1
1
  module Cobrato
2
- VERSION = '0.16.0'
2
+ VERSION = '0.17.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.16.0
4
+ version: 0.17.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: 2016-12-22 00:00:00.000000000 Z
13
+ date: 2017-01-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: typhoeus