myfinance 1.5.0 → 1.6.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 +4 -0
- data/Gemfile.lock +2 -2
- data/lib/myfinance/entities/sale.rb +2 -0
- data/lib/myfinance/version.rb +1 -1
- data/spec/lib/myfinance/entities/sale_spec.rb +2 -0
- 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: 335d65cb162b13d2b599785a55667676df9a34a0
|
|
4
|
+
data.tar.gz: 626a94fc08f9fa59fcf6b80a75380a2c6265662a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ea63ae5e785ec839db4619204524d341b91ab890c18f0d7900c8c8eb710f75077a6c1c0f8385dfb5ec663793ab73c6947bc4a293601dc790860997fbaf54b496
|
|
7
|
+
data.tar.gz: 452309ddc761e74728078630cf11fc8947c6456b412c79f6f736bace9e78f09ca2a1628429d3037265bd5a6cf9f8b592b6f743cf60421f889698cbbe27ce92b3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
## v1.6.0
|
|
3
|
+
- `Sale` can now receive `attachments` and `links` from Myfinance app
|
|
4
|
+
- `attachments` returns the attachments of the `Sale`
|
|
5
|
+
- `links` returns a few endpoints related to the `Sale` object, such as associated Attachments and Financial Transaction
|
|
2
6
|
## v1.5.0
|
|
3
7
|
### New Endpoints
|
|
4
8
|
- Add endpoints for `CustomClassifier` and `CustomClassifierValue`
|
data/Gemfile.lock
CHANGED
|
@@ -2,6 +2,7 @@ module Myfinance
|
|
|
2
2
|
module Entities
|
|
3
3
|
class Sale < Base
|
|
4
4
|
attribute :api_related
|
|
5
|
+
attribute :attachments
|
|
5
6
|
attribute :attachments_count
|
|
6
7
|
attribute :category_id
|
|
7
8
|
attribute :classification_center_id
|
|
@@ -19,6 +20,7 @@ module Myfinance
|
|
|
19
20
|
attribute :id
|
|
20
21
|
attribute :interest_amount
|
|
21
22
|
attribute :issuer
|
|
23
|
+
attribute :links
|
|
22
24
|
attribute :liquidated_at
|
|
23
25
|
attribute :liquidation_weekday
|
|
24
26
|
attribute :nominal_amount
|
data/lib/myfinance/version.rb
CHANGED
|
@@ -3,6 +3,7 @@ require "spec_helper"
|
|
|
3
3
|
describe Myfinance::Entities::Sale do
|
|
4
4
|
it_behaves_like "entity_attributes", %i[
|
|
5
5
|
api_related
|
|
6
|
+
attachments
|
|
6
7
|
attachments_count
|
|
7
8
|
category_id
|
|
8
9
|
classification_center_id
|
|
@@ -20,6 +21,7 @@ describe Myfinance::Entities::Sale do
|
|
|
20
21
|
id
|
|
21
22
|
interest_amount
|
|
22
23
|
issuer
|
|
24
|
+
links
|
|
23
25
|
liquidated_at
|
|
24
26
|
liquidation_weekday
|
|
25
27
|
nominal_amount
|
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.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eduardo Hertz
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2017-
|
|
14
|
+
date: 2017-08-17 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: typhoeus
|