nova-api 1.1.0 → 1.2.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
  SHA256:
3
- metadata.gz: d410fdaa147a6cd242a39c66045adc47398f59f175b93c760d53f041c3d101a6
4
- data.tar.gz: 3d9d057da1e97fb373b299599fa2bce0dd51419f97b0bde30996d4ef3a1e8147
3
+ metadata.gz: 95a363b8ed0d3656f925c3364ad0fe2b9a0b3bd9f0dcc36b9ecd83ce2f16a7cc
4
+ data.tar.gz: df9655cd2ffe645c767bf73f7a63d9b2b1a4fb6f1ee6511337a8503aab9bb0d6
5
5
  SHA512:
6
- metadata.gz: 46f13e1baa522137120e1431cd3fd4ccd5ff9a98f729eb518b4ab190998303c06c4f4ae7b8712f08f8d63678245f582cc8d0fbf3aedb6ccee84762630dac1b15
7
- data.tar.gz: 19a9131c280fadc21a7ddef76119ce680211e84cf0227e7dc87eaa956c2636ed468167ad8cd08cddd1bb72e1cf77245294d3f11f852d8a0fa6f8d0683b1e8d8a
6
+ metadata.gz: e177f013e8cdbfc4c0dcb9f3658ccb295d3d32835c96682c82552d07f46bcdc195faf4605015d301fe7a826ff2ec94a16689085ce953dbdf43c15aaac6d78046
7
+ data.tar.gz: 5618212cf0a37f0a23c9d5e2d7265cf6bc88b8a01ec24ee93e25923deaffb5077bf11de225951d64a290d520d435c5ac5f4e6ccd2375b138fff4e54112949f36
data/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.2.0] - 2023-09-29
9
+
10
+ ### Added
11
+
12
+ - Apportionment name to ApportionmentValue class
13
+ - Active flag to FinancialAccount class
14
+
8
15
  ## [1.1.0] - 2023-09-22
9
16
 
10
17
  ### Added
@@ -101,7 +108,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
101
108
 
102
109
  - Apportionment related stuff
103
110
 
104
- [unreleased]: https://github.com/coyosoftware/nova-api/compare/1.1.0...HEAD
111
+ [unreleased]: https://github.com/coyosoftware/nova-api/compare/1.2.0...HEAD
112
+ [1.2.0]: https://github.com/coyosoftware/nova-api/releases/tag/1.2.0
105
113
  [1.1.0]: https://github.com/coyosoftware/nova-api/releases/tag/1.1.0
106
114
  [1.0.0]: https://github.com/coyosoftware/nova-api/releases/tag/1.0.0
107
115
  [0.8.0]: https://github.com/coyosoftware/nova-api/releases/tag/0.8.0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nova-api (1.1.0)
4
+ nova-api (1.2.0)
5
5
  dry-struct (~> 1.6)
6
6
  dry-types (~> 1.7)
7
7
  httparty (~> 0.1)
@@ -41,7 +41,7 @@ GEM
41
41
  mini_mime (>= 1.0.0)
42
42
  multi_xml (>= 0.5.2)
43
43
  ice_nine (0.11.2)
44
- mini_mime (1.1.2)
44
+ mini_mime (1.1.5)
45
45
  multi_xml (0.6.0)
46
46
  public_suffix (4.0.6)
47
47
  rake (13.0.6)
@@ -8,6 +8,7 @@ module Nova
8
8
  attribute :name, Dry::Types['coercible.string']
9
9
  attribute? :active, Dry::Types['strict.bool'].optional
10
10
  attribute? :apportionment_id, Dry::Types['coercible.integer']
11
+ attribute? :apportionment_name, Dry::Types['coercible.string']
11
12
 
12
13
  def self.endpoint(apportionment_id)
13
14
  "/api/apportionments/#{apportionment_id}/apportionment_values"
@@ -22,6 +22,7 @@ module Nova
22
22
  attribute? :financial_account, Dry::Types['coercible.string'].optional
23
23
  attribute? :income, Dry::Types['strict.bool'].optional
24
24
  attribute? :outcome, Dry::Types['strict.bool'].optional
25
+ attribute? :active, Dry::Types['strict.bool'].optional
25
26
  attribute? :children, Dry::Types['strict.array'].of(Nova::API::Resource::FinancialAccount).optional
26
27
 
27
28
  def self.endpoint
@@ -1,5 +1,5 @@
1
1
  module Nova
2
2
  module API
3
- VERSION = "1.1.0"
3
+ VERSION = "1.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nova-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Coyô Software
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-22 00:00:00.000000000 Z
11
+ date: 2023-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler