cobrato-client 0.11.0 → 0.12.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 +4 -4
- data/CHANGELOG.md +7 -1
- data/Gemfile.lock +1 -1
- data/lib/cobrato/entities/charge.rb +9 -4
- 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: f7e523ee6e4dfefdaa40c18de8ff37f4b197bd61
|
4
|
+
data.tar.gz: ce2ae1431ba4cfb93f8f6d910af79631e39dd0cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 209ab62ce87ecb55a4c5e6f0434e9056a6961827162f447db5678d708d57ede2d49fef85b2338b4f3ffb08bbe18d6382fb9cba3b61293e47cf63e5dcb2c3fd90
|
7
|
+
data.tar.gz: 9f08587ea1aac602b55450b5c229bf4be60d572657e14987756dc22e3820cd75f4a14754280ac07e85c7848398f613b7d212496626dcdb956792df8db786b382
|
data/CHANGELOG.md
CHANGED
@@ -2,7 +2,13 @@
|
|
2
2
|
|
3
3
|
## Next version
|
4
4
|
|
5
|
-
|
5
|
+
## v0.12.0
|
6
|
+
|
7
|
+
- Add `Charge#payment_tax`
|
8
|
+
- Remove `Charge#received` # but still there as deprecated
|
9
|
+
- Rename `Charge#total_amount` to `Charge#charged_amount` # but still there as deprecated
|
10
|
+
- Rename `Charge#received_amount` to `Charge#paid_amount` # but still there as deprecated
|
11
|
+
- Rename `Charge#received_at` to `Charge#paid_at` # but still there as deprecated
|
6
12
|
|
7
13
|
## v0.11.0
|
8
14
|
|
data/Gemfile.lock
CHANGED
@@ -4,7 +4,7 @@ module Cobrato
|
|
4
4
|
attribute :id, Integer
|
5
5
|
attribute :type, String
|
6
6
|
attribute :charge_config_id, Integer
|
7
|
-
attribute :
|
7
|
+
attribute :charged_amount, Decimal
|
8
8
|
attribute :notification_emails, String
|
9
9
|
attribute :payer_id, Integer
|
10
10
|
attribute :payer_national_identifier_type, String
|
@@ -20,6 +20,13 @@ module Cobrato
|
|
20
20
|
attribute :for_homologation, Boolean
|
21
21
|
attribute :for_homologation, Boolean
|
22
22
|
attribute :canceled_at, DateTime
|
23
|
+
attribute :paid_amount, Decimal
|
24
|
+
attribute :paid_at, Date
|
25
|
+
|
26
|
+
attribute :total_amount, Decimal # deprecated
|
27
|
+
attribute :received, Boolean # deprecated
|
28
|
+
attribute :received_amount, Decimal # deprecated
|
29
|
+
attribute :received_at, Date # deprecated
|
23
30
|
|
24
31
|
# billet specifics
|
25
32
|
attribute :due_date, Date
|
@@ -32,14 +39,12 @@ module Cobrato
|
|
32
39
|
attribute :our_number_digit, String
|
33
40
|
attribute :instructions, String
|
34
41
|
attribute :demonstrative, String
|
35
|
-
attribute :received, Boolean
|
36
|
-
attribute :received_amount, Decimal
|
37
|
-
attribute :received_at, Date
|
38
42
|
attribute :registrable, Boolean
|
39
43
|
attribute :registration_status, String
|
40
44
|
attribute :interest_amount_per_month, Decimal
|
41
45
|
attribute :mulct_type, String
|
42
46
|
attribute :mulct_value, Decimal
|
47
|
+
attribute :payment_tax, Decimal
|
43
48
|
|
44
49
|
# payment gateway specifics
|
45
50
|
attribute :credit_card_id, Integer
|
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.12.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-
|
13
|
+
date: 2016-10-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: typhoeus
|