myfinance 1.5.0 → 1.6.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: 589e8dda000cd743433879d1fc4d1055347b167c
4
- data.tar.gz: 157ffd66f873d623ebcc00a20124272c0b191d43
3
+ metadata.gz: 335d65cb162b13d2b599785a55667676df9a34a0
4
+ data.tar.gz: 626a94fc08f9fa59fcf6b80a75380a2c6265662a
5
5
  SHA512:
6
- metadata.gz: 2bec2de68fc39a90ac6e916db7e2b4ee2eab79e062de0ed7a3c2d25a3196fdc623c8f4bc4aa4698dc9765ef2b5d157a00a980d1e52f6cc35d284661f72da9bb5
7
- data.tar.gz: 3abcdac4f99c38b63a4cd596ff7e5b6c7f3035d84ed0e90067efaac355ccc5eb380f32106165da7481661025f95aa9cb0cb6037d9054fe6792f6f50fea58286f
6
+ metadata.gz: ea63ae5e785ec839db4619204524d341b91ab890c18f0d7900c8c8eb710f75077a6c1c0f8385dfb5ec663793ab73c6947bc4a293601dc790860997fbaf54b496
7
+ data.tar.gz: 452309ddc761e74728078630cf11fc8947c6456b412c79f6f736bace9e78f09ca2a1628429d3037265bd5a6cf9f8b592b6f743cf60421f889698cbbe27ce92b3
@@ -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`
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- myfinance (1.5.0)
4
+ myfinance (1.6.0)
5
5
  mime-types (~> 2.99)
6
6
  multi_json (~> 1.11)
7
7
  require_all (~> 1.4.0)
@@ -97,4 +97,4 @@ DEPENDENCIES
97
97
  webmock (~> 1.9.3)
98
98
 
99
99
  BUNDLED WITH
100
- 1.15.2
100
+ 1.15.3
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Myfinance
2
- VERSION = "1.5.0".freeze
2
+ VERSION = "1.6.0".freeze
3
3
  end
@@ -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.5.0
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-07-20 00:00:00.000000000 Z
14
+ date: 2017-08-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: typhoeus