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 +4 -4
- data/CHANGELOG.md +9 -1
- data/Gemfile.lock +2 -2
- data/lib/nova/api/resource/apportionment_value.rb +1 -0
- data/lib/nova/api/resource/financial_account.rb +1 -0
- data/lib/nova/api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95a363b8ed0d3656f925c3364ad0fe2b9a0b3bd9f0dcc36b9ecd83ce2f16a7cc
|
4
|
+
data.tar.gz: df9655cd2ffe645c767bf73f7a63d9b2b1a4fb6f1ee6511337a8503aab9bb0d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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.
|
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
|
data/lib/nova/api/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2023-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|