myfinance 1.7.0 → 1.8.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 +10 -0
- data/Gemfile.lock +1 -1
- data/lib/myfinance/entities/credit_card.rb +1 -0
- data/lib/myfinance/entities/credit_card_transaction.rb +1 -0
- data/lib/myfinance/entities/financial_account.rb +1 -0
- data/lib/myfinance/entities/financial_transaction.rb +1 -0
- data/lib/myfinance/entities/sale.rb +2 -1
- data/lib/myfinance/entities/sale_account.rb +2 -1
- data/lib/myfinance/version.rb +1 -1
- data/spec/lib/myfinance/entities/credit_card_spec.rb +2 -1
- data/spec/lib/myfinance/entities/credit_card_transaction_spec.rb +1 -1
- data/spec/lib/myfinance/entities/financial_transaction_spec.rb +2 -1
- data/spec/lib/myfinance/entities/payable_account_spec.rb +1 -1
- data/spec/lib/myfinance/entities/receivable_account_spec.rb +2 -1
- data/spec/lib/myfinance/entities/sale_account_spec.rb +1 -0
- data/spec/lib/myfinance/entities/sale_spec.rb +1 -0
- 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: 0b48f44005bc9c3eb890ac3ba4278394f6a38538
|
4
|
+
data.tar.gz: 756915f57c9bc1ed3e8193555cc74439240464c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ceb31c745452f4a6b3ba50dc2cbcaf53f8a30b2fcd466313e7d7c1e93b1cb967b05fb411e3309433793cada8117f326ba18bd03406abd4af1a3bacb44213a75d
|
7
|
+
data.tar.gz: d621809bb4d562d54a7bb5b8e00e976dd6ee9a05ab6d383c5582a911e1d5514188204d5a0a46be4894a74b665d1f22f6a236b0fd9c0b317e79525fe52549e580
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## v1.8.0
|
4
|
+
### Added
|
5
|
+
- The following resources now have `classification_center_classifications`:
|
6
|
+
* `CreditCard`
|
7
|
+
* `CreditCardTransaction`
|
8
|
+
* `FinancialTransaction`
|
9
|
+
* `Sale`
|
10
|
+
* `SaleAccount`
|
11
|
+
* `ReceivableAccount`
|
12
|
+
* `PayableAccount`
|
3
13
|
## v1.7.0
|
4
14
|
### Added
|
5
15
|
- `ReceivableAccount` now has the following new attribute:
|
data/Gemfile.lock
CHANGED
@@ -8,6 +8,7 @@ module Myfinance
|
|
8
8
|
attribute :category_id, Integer
|
9
9
|
attribute :closing_day, Integer
|
10
10
|
attribute :custom_classifications, Array[Hash]
|
11
|
+
attribute :classification_center_classifications, Array[Hash]
|
11
12
|
attribute :expiration_day, Integer
|
12
13
|
attribute :name, String
|
13
14
|
attribute :flag, String
|
@@ -7,6 +7,7 @@ module Myfinance
|
|
7
7
|
attribute :classification_center_id, Integer
|
8
8
|
attribute :category_id, Integer
|
9
9
|
attribute :custom_classifications, Array[Hash]
|
10
|
+
attribute :classification_center_classifications, Array[Hash]
|
10
11
|
attribute :amount, Decimal
|
11
12
|
attribute :description, String
|
12
13
|
attribute :occurred_at, Date
|
@@ -26,6 +26,7 @@ module Myfinance
|
|
26
26
|
attribute :tax_charges, Array[Hash]
|
27
27
|
attribute :financial_account_taxes_attributes, Array[Hash]
|
28
28
|
attribute :custom_classifications, Array[Hash]
|
29
|
+
attribute :classification_center_classifications, Array[Hash]
|
29
30
|
attribute :reconciliations, Hash[String => Array]
|
30
31
|
attribute :links, Array[Hash[String => String]]
|
31
32
|
end
|
@@ -9,6 +9,7 @@ module Myfinance
|
|
9
9
|
attribute :currency_id, Integer
|
10
10
|
attribute :category_id, Integer
|
11
11
|
attribute :custom_classifications, Array[Hash]
|
12
|
+
attribute :classification_center_classifications, Array[Hash]
|
12
13
|
attribute :type, String
|
13
14
|
attribute :occurred_at, Date
|
14
15
|
attribute :document, String
|
@@ -6,10 +6,11 @@ module Myfinance
|
|
6
6
|
attribute :attachments_count
|
7
7
|
attribute :category_id
|
8
8
|
attribute :classification_center_id
|
9
|
+
attribute :classification_center_classifications, Array[Hash]
|
9
10
|
attribute :competency_month
|
10
11
|
attribute :confirmed_at
|
11
12
|
attribute :created_at
|
12
|
-
attribute :custom_classifications
|
13
|
+
attribute :custom_classifications, Array[Hash]
|
13
14
|
attribute :days_to_liquidation
|
14
15
|
attribute :description
|
15
16
|
attribute :discount_amount
|
@@ -5,7 +5,8 @@ module Myfinance
|
|
5
5
|
attribute :classification_center_id
|
6
6
|
attribute :consolidate
|
7
7
|
attribute :created_at
|
8
|
-
attribute :custom_classifications
|
8
|
+
attribute :custom_classifications, Array[Hash]
|
9
|
+
attribute :classification_center_classifications, Array[Hash]
|
9
10
|
attribute :description
|
10
11
|
attribute :entity_id
|
11
12
|
attribute :id
|
data/lib/myfinance/version.rb
CHANGED
@@ -3,5 +3,6 @@ require "spec_helper"
|
|
3
3
|
describe Myfinance::Entities::CreditCard do
|
4
4
|
it_behaves_like "entity_attributes", %i[created_at id name updated_at entity_id person_id flag
|
5
5
|
flag_image_url observation classification_center_id category_id
|
6
|
-
closing_day expiration_day custom_classifications
|
6
|
+
closing_day expiration_day custom_classifications
|
7
|
+
classification_center_classifications]
|
7
8
|
end
|
@@ -5,5 +5,5 @@ describe Myfinance::Entities::CreditCardTransaction do
|
|
5
5
|
description occurred_at type document observation created_at
|
6
6
|
updated_at invoice_payment excel_import_id financial_account_id
|
7
7
|
person_id moved recurrence_id indexed_at credit_card_id id
|
8
|
-
custom_classifications]
|
8
|
+
custom_classifications classification_center_classifications]
|
9
9
|
end
|
@@ -8,5 +8,6 @@ describe Myfinance::Entities::FinancialTransaction do
|
|
8
8
|
bank_statement_id balance_difference force_destroy divided
|
9
9
|
attachments_count duplicity_suspicion_id excel_import_id
|
10
10
|
observation api_related bank_slips_count reconciled indexed_at
|
11
|
-
automatic_rule_related classification_center_id
|
11
|
+
automatic_rule_related classification_center_id
|
12
|
+
classification_center_classifications custom_classifications]
|
12
13
|
end
|
@@ -9,6 +9,6 @@ describe Myfinance::Entities::PayableAccount do
|
|
9
9
|
reminded_at income_tax_relevant category_id classification_center_id expected_deposit_account_id
|
10
10
|
recurrence_id person_id recurrent parcelled recurrence_period number_of_parcels current_parcel
|
11
11
|
competency_month financial_account_taxes_attributes tax_charges reconciliations
|
12
|
-
links created_at updated_at custom_classifications sale_account_id sale_ids
|
12
|
+
links created_at updated_at custom_classifications classification_center_classifications sale_account_id sale_ids
|
13
13
|
]
|
14
14
|
end
|
@@ -9,6 +9,7 @@ describe Myfinance::Entities::ReceivableAccount do
|
|
9
9
|
reminded_at income_tax_relevant category_id classification_center_id expected_deposit_account_id
|
10
10
|
recurrence_id person_id recurrent parcelled recurrence_period number_of_parcels current_parcel
|
11
11
|
competency_month financial_account_taxes_attributes tax_charges reconciliations
|
12
|
-
links created_at updated_at custom_classifications sale_account_id
|
12
|
+
links created_at updated_at custom_classifications classification_center_classifications sale_account_id
|
13
|
+
sale_ids eletronic_invoices
|
13
14
|
]
|
14
15
|
end
|
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.
|
4
|
+
version: 1.8.0
|
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-09-20 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.5.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
|