nova-api 1.6.0 → 1.6.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3289ed438ba6a1ece5a4ff75fa6d26d85ae06960fa702225deee4304099e177
4
- data.tar.gz: 9bb44585ef0a4d433a3a82dc5a4b5d981b63e1c5ebef56b233756c4c1606b099
3
+ metadata.gz: aaad8241d214c9153eabdb6f4a7397e8629f67ef0a0b9690981b011e65cbe15c
4
+ data.tar.gz: 520d6f2c78919a0f4d5a9042eedd1aceb6a1baef01f6426cf91e28993523c03a
5
5
  SHA512:
6
- metadata.gz: 7ba034021ea061029e6567e4151802a1e97035f8d8bc23b8b53dacc21267549bbde947421814d87a34c0800b793df6df42844c192a40fc121dd1c8f30e37c122
7
- data.tar.gz: f24ae827d1050af8e957e990437f45491f994128eb9a5cdce0fae4dbc04e41f9bee856d594c93a34353fc47c51b689661b9101ab15d6ed6ba983688ec69d9ede
6
+ metadata.gz: 922494c7d0ca192a8e9a69f400bf4376c679076cbf713aca69eda569654850c6f6a266aabf0de1de5c8c12fdf20a07611c1f430bbe0cedfd69ddf62623f185db
7
+ data.tar.gz: 6ca12a34bbc321cb8fb0396053cea0278e2c3c5ff3e5f261bea52ec280e64a227eaee1bbfd1b7684dd75e350e46ffc2fd876623026ef02c03082bbb494849252
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nova-api (1.6.0)
4
+ nova-api (1.6.1)
5
5
  dry-struct (~> 1.6)
6
6
  dry-types (~> 1.7)
7
7
  httparty (~> 0.1)
@@ -6,14 +6,23 @@ module Nova
6
6
 
7
7
  attribute? :active, Dry::Types['strict.bool'].optional
8
8
  attribute? :address, Dry::Types['coercible.string'].optional
9
+ attribute? :city, Dry::Types['coercible.string'].optional
10
+ attribute? :complement, Dry::Types['coercible.string'].optional
11
+ attribute? :email, Dry::Types['coercible.string'].optional
9
12
  attribute? :id, Dry::Types['coercible.integer'].optional
10
13
  attribute? :identification, Dry::Types['coercible.string'].optional
14
+ attribute? :logo, Dry::Types['coercible.string'].optional
15
+ attribute? :municipal_inscription, Dry::Types['coercible.string'].optional
11
16
  attribute? :name, Dry::Types['coercible.string'].optional
17
+ attribute? :neighborhood, Dry::Types['coercible.string'].optional
18
+ attribute? :number, Dry::Types['coercible.string'].optional
12
19
  attribute? :phone, Dry::Types['coercible.string'].optional
13
- attribute? :social_contract_date, Dry::Types['coercible.string'].constrained(format: DATE_REGEX).optional
14
- attribute? :social_contract_number, Dry::Types['coercible.string'].optional
20
+ attribute? :social_reason, Dry::Types['coercible.string'].optional
21
+ attribute? :state, Dry::Types['coercible.string'].optional
15
22
  attribute? :state_inscription, Dry::Types['coercible.string'].optional
23
+ attribute? :tax_regime, Dry::Types['coercible.integer'].optional
16
24
  attribute? :trading_name, Dry::Types['coercible.string'].optional
25
+ attribute? :zipcode, Dry::Types['coercible.string'].optional
17
26
 
18
27
  def self.endpoint
19
28
  '/api/companies'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Nova
4
4
  module API
5
- VERSION = '1.6.0'
5
+ VERSION = '1.6.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nova-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Coyô Software