nova-api 1.3.0 → 1.4.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 +8 -1
- data/Gemfile.lock +1 -1
- data/lib/nova/api/resource/company.rb +7 -0
- data/lib/nova/api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc2131a65cde2912afd142dcba116a5978daed17e2e1a6edc1326bc39517ad1f
|
4
|
+
data.tar.gz: 062643eb92cbf096b3aaafdc8ee86f215f440c87bc179c669123e2181c07cb1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2a9ed240b9b9737f65f204eeb8ea5b0b8952ca2aec4270f6fa7f36eb28c34c1d0f7012bd7551fb73bf43aafdeade5f118407af0a2fd8bfe1d69561671b5c9b8
|
7
|
+
data.tar.gz: 8d28637fdc47dd4068fbf3bded7c973055aa3ad5f8b83dd38d5b7d4dc04488169d97e1b18a76a0503bd01f98aa587c9226e95eb7609adc967369bb42ee6baf86
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,12 @@ 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.4.0] - 2023-10-03
|
9
|
+
|
10
|
+
### Added
|
11
|
+
|
12
|
+
- Complementary fields for company resource
|
13
|
+
|
8
14
|
## [1.3.0] - 2023-10-03
|
9
15
|
|
10
16
|
### Added
|
@@ -114,7 +120,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
114
120
|
|
115
121
|
- Apportionment related stuff
|
116
122
|
|
117
|
-
[unreleased]: https://github.com/coyosoftware/nova-api/compare/1.
|
123
|
+
[unreleased]: https://github.com/coyosoftware/nova-api/compare/1.4.0...HEAD
|
124
|
+
[1.4.0]: https://github.com/coyosoftware/nova-api/releases/tag/1.4.0
|
118
125
|
[1.3.0]: https://github.com/coyosoftware/nova-api/releases/tag/1.3.0
|
119
126
|
[1.2.0]: https://github.com/coyosoftware/nova-api/releases/tag/1.2.0
|
120
127
|
[1.1.0]: https://github.com/coyosoftware/nova-api/releases/tag/1.1.0
|
data/Gemfile.lock
CHANGED
@@ -4,8 +4,15 @@ module Nova
|
|
4
4
|
class Company < Nova::API::Base
|
5
5
|
ALLOWED_ATTRIBUTES = %i[]
|
6
6
|
|
7
|
+
attribute? :active, Dry::Types['strict.bool'].optional
|
8
|
+
attribute? :address, Dry::Types['coercible.string'].optional
|
7
9
|
attribute? :id, Dry::Types['coercible.integer'].optional
|
10
|
+
attribute? :identification, Dry::Types['coercible.string'].optional
|
8
11
|
attribute? :name, Dry::Types['coercible.string'].optional
|
12
|
+
attribute? :phone, Dry::Types['coercible.string'].optional
|
13
|
+
attribute? :social_contract_date, Dry::Types['coercible.string'].constrained(format: DATE_REGEX)
|
14
|
+
attribute? :social_contract_number, Dry::Types['coercible.string'].optional
|
15
|
+
attribute? :state_inscription, Dry::Types['coercible.string'].optional
|
9
16
|
attribute? :trading_name, Dry::Types['coercible.string'].optional
|
10
17
|
|
11
18
|
def self.endpoint
|
data/lib/nova/api/version.rb
CHANGED