myfinance 1.6.4 → 1.6.5
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 +9 -0
- data/Gemfile.lock +3 -3
- data/lib/myfinance/entities/sale.rb +7 -1
- data/lib/myfinance/version.rb +1 -1
- data/spec/lib/myfinance/entities/sale_spec.rb +7 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 14b8c101b48dcaeaab81d8426d147581222fb9bc
|
|
4
|
+
data.tar.gz: 415f58908c165ccace53db1613beb941dd8e7260
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a5b363a886d3a42d922dcf50e202f8e760696ce73e964a194f3f2c02fb6497c231c7153c4fdb219e30b70b96961f1d3e01116afaca27c09c11bd2e8b15a9d23c
|
|
7
|
+
data.tar.gz: 464d3f4f8568b3c236f39b8dc954f23c894d43a49a44e8b4adb1f1ef7e6b1a6ceba49d0269d06010aa17133ec4d5c843d425d75931a8bd8812afbd50ed45a5b2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
## v1.6.5
|
|
3
|
+
### Added
|
|
4
|
+
- `Sale` now has the following new attributes:
|
|
5
|
+
* `document`
|
|
6
|
+
* `document_emission_date`
|
|
7
|
+
* `installment_count`
|
|
8
|
+
* `installment_number`
|
|
9
|
+
* `provider_code`
|
|
10
|
+
* `original_sale_id`
|
|
2
11
|
## v1.6.4
|
|
3
12
|
- Add headers information in RequestError object
|
|
4
13
|
## v1.6.3
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
myfinance (1.6.
|
|
4
|
+
myfinance (1.6.5)
|
|
5
5
|
mime-types (>= 1.16, < 3.0)
|
|
6
6
|
multi_json (~> 1.11)
|
|
7
7
|
require_all (~> 1.4.0)
|
|
@@ -32,7 +32,7 @@ GEM
|
|
|
32
32
|
equalizer (0.0.11)
|
|
33
33
|
ethon (0.11.0)
|
|
34
34
|
ffi (>= 1.3.0)
|
|
35
|
-
ffi (1.9.
|
|
35
|
+
ffi (1.9.25)
|
|
36
36
|
ice_nine (0.11.2)
|
|
37
37
|
json (2.0.3)
|
|
38
38
|
method_source (0.8.2)
|
|
@@ -97,4 +97,4 @@ DEPENDENCIES
|
|
|
97
97
|
webmock (~> 1.9.3)
|
|
98
98
|
|
|
99
99
|
BUNDLED WITH
|
|
100
|
-
1.16.
|
|
100
|
+
1.16.2
|
|
@@ -12,22 +12,29 @@ module Myfinance
|
|
|
12
12
|
attribute :days_to_liquidation
|
|
13
13
|
attribute :description
|
|
14
14
|
attribute :discount_amount
|
|
15
|
+
attribute :document
|
|
16
|
+
attribute :document_emission_date
|
|
15
17
|
attribute :estimated_liquidated_at
|
|
16
18
|
attribute :fee_percentage
|
|
17
19
|
attribute :fee_percentage_amount
|
|
18
20
|
attribute :financial_account_id
|
|
19
21
|
attribute :fixed_fee_amount
|
|
20
22
|
attribute :id
|
|
23
|
+
attribute :installment_count
|
|
24
|
+
attribute :installment_number
|
|
21
25
|
attribute :interest_amount
|
|
22
26
|
attribute :issuer
|
|
23
27
|
attribute :links
|
|
24
28
|
attribute :liquidated_at
|
|
25
29
|
attribute :liquidation_weekday
|
|
30
|
+
attribute :net_amount
|
|
26
31
|
attribute :nominal_amount
|
|
27
32
|
attribute :observation
|
|
28
33
|
attribute :occurred_at
|
|
34
|
+
attribute :original_sale_id
|
|
29
35
|
attribute :payment_method
|
|
30
36
|
attribute :person_id
|
|
37
|
+
attribute :provider_code
|
|
31
38
|
attribute :receivable_amount
|
|
32
39
|
attribute :sale_account_id
|
|
33
40
|
attribute :status
|
|
@@ -36,7 +43,6 @@ module Myfinance
|
|
|
36
43
|
attribute :ticket_amount
|
|
37
44
|
attribute :total_amount
|
|
38
45
|
attribute :updated_at
|
|
39
|
-
attribute :net_amount
|
|
40
46
|
end
|
|
41
47
|
end
|
|
42
48
|
end
|
data/lib/myfinance/version.rb
CHANGED
|
@@ -13,23 +13,29 @@ describe Myfinance::Entities::Sale do
|
|
|
13
13
|
days_to_liquidation
|
|
14
14
|
description
|
|
15
15
|
discount_amount
|
|
16
|
+
document
|
|
17
|
+
document_emission_date
|
|
16
18
|
estimated_liquidated_at
|
|
17
19
|
fee_percentage
|
|
18
20
|
fee_percentage_amount
|
|
19
|
-
net_amount
|
|
20
21
|
financial_account_id
|
|
21
22
|
fixed_fee_amount
|
|
22
23
|
id
|
|
24
|
+
installment_count
|
|
25
|
+
installment_number
|
|
23
26
|
interest_amount
|
|
24
27
|
issuer
|
|
25
28
|
links
|
|
26
29
|
liquidated_at
|
|
27
30
|
liquidation_weekday
|
|
28
31
|
nominal_amount
|
|
32
|
+
net_amount
|
|
29
33
|
observation
|
|
30
34
|
occurred_at
|
|
35
|
+
original_sale_id
|
|
31
36
|
payment_method
|
|
32
37
|
person_id
|
|
38
|
+
provider_code
|
|
33
39
|
receivable_amount
|
|
34
40
|
sale_account_id
|
|
35
41
|
status
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: myfinance
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eduardo Hertz
|
|
@@ -12,7 +12,7 @@ authors:
|
|
|
12
12
|
autorequire:
|
|
13
13
|
bindir: bin
|
|
14
14
|
cert_chain: []
|
|
15
|
-
date: 2018-
|
|
15
|
+
date: 2018-06-11 00:00:00.000000000 Z
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
18
18
|
name: typhoeus
|
|
@@ -433,7 +433,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
433
433
|
version: '0'
|
|
434
434
|
requirements: []
|
|
435
435
|
rubyforge_project:
|
|
436
|
-
rubygems_version: 2.
|
|
436
|
+
rubygems_version: 2.5.2.3
|
|
437
437
|
signing_key:
|
|
438
438
|
specification_version: 4
|
|
439
439
|
summary: A Ruby client for the Myfinance REST API
|