zaig 1.0.11 → 1.0.12

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: '03094fa60fc889bb1771ce1e6ae0daf0e2df220d669fecdd9afac1bcc2de5991'
4
- data.tar.gz: 61de42ec0c42be9c38469a7f9bec9b32b7cc5257d28cc8b912e0ea6e644ebcd3
3
+ metadata.gz: b4719e441ffbc87348213ad8eaf3fa0382302b6902e8b77333bf848640bab9be
4
+ data.tar.gz: 776fd72fc248541de97f0fea62b3d24ced77afd106b536e70ada9cdc22189972
5
5
  SHA512:
6
- metadata.gz: 751ae73d08258541b3d1d98b82f0730d113c80c6c81b26121318a446a9f914457a4cf1b4d0f224e010359fca221255cc5d7d6195716ec2fd77f61e92ac553682
7
- data.tar.gz: 5547939be36e3dbda4f8a366486f9e1a305875733e362e9e70c4c641dee5e7ed714d39e4e0336abb3191ffab232c8d9a95e3ecc435cbef1bb35dae2da67ddd72
6
+ metadata.gz: ef993e534b4ac582728473e5312f92d9fcd9b1fd494cee2acd4b4755729bead3c7922c10954fe46b2ab9e39b0b2dbd56881efa7b02aa7489e47fce62f370858c
7
+ data.tar.gz: ad7ef55377f4e320847252c090285e05a18619a39ecd74657cd90602c290b7344832a3c616cd1ad382bc902e28c4c97c6140098c2c612cbfe7c1a38ed5f31c0e
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Class to create address-like objects.
3
4
  class Address
4
5
  attr_accessor :city, :complement, :country, :neighborhood, :number, :postal_code,
5
6
  :street, :uf
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Class to create company-like objects.
3
4
  class Company
4
5
  attr_accessor :address, :client_category, :constitution_date, :constitution_type,
5
6
  :document_number, :email, :financial, :guarantors,
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Class to create phone-like objects.
3
4
  class Phone
4
5
  attr_accessor :area_code, :international_dial_code, :number, :type
5
6
 
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Class to create shareholders objects.
3
4
  class Shareholder
4
5
  attr_accessor :address, :birthdate, :declared_assets, :document_number, :email, :fathername, :gender,
5
6
  :mothername, :monthly_income, :name, :nationality, :occupation, :phone
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Zaig
4
+ # Field validation error.
4
5
  class FieldValidationError < Zaig::BaseError
5
6
  attr_accessor :detail
6
7
  end
data/lib/zaig/version.rb CHANGED
@@ -8,5 +8,5 @@ module Zaig
8
8
  # Major - Incremented for incompatible changes with previous release (or big enough new features)
9
9
  # Minor - Incremented for new backwards-compatible features + deprecations
10
10
  # Patch - Incremented for backwards-compatible bug fixes
11
- VERSION = "1.0.11"
11
+ VERSION = File.read(".version").strip
12
12
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zaig
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
4
+ version: 1.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danilo Carolino
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-22 00:00:00.000000000 Z
11
+ date: 2023-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cpf_cnpj
@@ -126,126 +126,126 @@ dependencies:
126
126
  requirements:
127
127
  - - "~>"
128
128
  - !ruby/object:Gem::Version
129
- version: 3.11.0
129
+ version: 3.12.0
130
130
  type: :development
131
131
  prerelease: false
132
132
  version_requirements: !ruby/object:Gem::Requirement
133
133
  requirements:
134
134
  - - "~>"
135
135
  - !ruby/object:Gem::Version
136
- version: 3.11.0
136
+ version: 3.12.0
137
137
  - !ruby/object:Gem::Dependency
138
138
  name: rubocop
139
139
  requirement: !ruby/object:Gem::Requirement
140
140
  requirements:
141
141
  - - "~>"
142
142
  - !ruby/object:Gem::Version
143
- version: 1.31.1
143
+ version: 1.44.0
144
144
  type: :development
145
145
  prerelease: false
146
146
  version_requirements: !ruby/object:Gem::Requirement
147
147
  requirements:
148
148
  - - "~>"
149
149
  - !ruby/object:Gem::Version
150
- version: 1.31.1
150
+ version: 1.44.0
151
151
  - !ruby/object:Gem::Dependency
152
152
  name: rubocop-faker
153
153
  requirement: !ruby/object:Gem::Requirement
154
154
  requirements:
155
- - - ">="
155
+ - - "~>"
156
156
  - !ruby/object:Gem::Version
157
- version: '0'
157
+ version: 1.1.0
158
158
  type: :development
159
159
  prerelease: false
160
160
  version_requirements: !ruby/object:Gem::Requirement
161
161
  requirements:
162
- - - ">="
162
+ - - "~>"
163
163
  - !ruby/object:Gem::Version
164
- version: '0'
164
+ version: 1.1.0
165
165
  - !ruby/object:Gem::Dependency
166
166
  name: rubocop-i18n
167
167
  requirement: !ruby/object:Gem::Requirement
168
168
  requirements:
169
- - - ">="
169
+ - - "~>"
170
170
  - !ruby/object:Gem::Version
171
- version: '0'
171
+ version: 3.0.0
172
172
  type: :development
173
173
  prerelease: false
174
174
  version_requirements: !ruby/object:Gem::Requirement
175
175
  requirements:
176
- - - ">="
176
+ - - "~>"
177
177
  - !ruby/object:Gem::Version
178
- version: '0'
178
+ version: 3.0.0
179
179
  - !ruby/object:Gem::Dependency
180
180
  name: rubocop-packaging
181
181
  requirement: !ruby/object:Gem::Requirement
182
182
  requirements:
183
- - - ">="
183
+ - - "~>"
184
184
  - !ruby/object:Gem::Version
185
- version: '0'
185
+ version: 0.5.2
186
186
  type: :development
187
187
  prerelease: false
188
188
  version_requirements: !ruby/object:Gem::Requirement
189
189
  requirements:
190
- - - ">="
190
+ - - "~>"
191
191
  - !ruby/object:Gem::Version
192
- version: '0'
192
+ version: 0.5.2
193
193
  - !ruby/object:Gem::Dependency
194
194
  name: rubocop-performance
195
195
  requirement: !ruby/object:Gem::Requirement
196
196
  requirements:
197
- - - ">="
197
+ - - "~>"
198
198
  - !ruby/object:Gem::Version
199
- version: '0'
199
+ version: 1.15.2
200
200
  type: :development
201
201
  prerelease: false
202
202
  version_requirements: !ruby/object:Gem::Requirement
203
203
  requirements:
204
- - - ">="
204
+ - - "~>"
205
205
  - !ruby/object:Gem::Version
206
- version: '0'
206
+ version: 1.15.2
207
207
  - !ruby/object:Gem::Dependency
208
208
  name: rubocop-rspec
209
209
  requirement: !ruby/object:Gem::Requirement
210
210
  requirements:
211
- - - ">="
211
+ - - "~>"
212
212
  - !ruby/object:Gem::Version
213
- version: '0'
213
+ version: 2.18.1
214
214
  type: :development
215
215
  prerelease: false
216
216
  version_requirements: !ruby/object:Gem::Requirement
217
217
  requirements:
218
- - - ">="
218
+ - - "~>"
219
219
  - !ruby/object:Gem::Version
220
- version: '0'
220
+ version: 2.18.1
221
221
  - !ruby/object:Gem::Dependency
222
222
  name: rubocop-thread_safety
223
223
  requirement: !ruby/object:Gem::Requirement
224
224
  requirements:
225
- - - ">="
225
+ - - "~>"
226
226
  - !ruby/object:Gem::Version
227
- version: '0'
227
+ version: 0.4.4
228
228
  type: :development
229
229
  prerelease: false
230
230
  version_requirements: !ruby/object:Gem::Requirement
231
231
  requirements:
232
- - - ">="
232
+ - - "~>"
233
233
  - !ruby/object:Gem::Version
234
- version: '0'
234
+ version: 0.4.4
235
235
  - !ruby/object:Gem::Dependency
236
236
  name: simplecov
237
237
  requirement: !ruby/object:Gem::Requirement
238
238
  requirements:
239
239
  - - "~>"
240
240
  - !ruby/object:Gem::Version
241
- version: 0.21.2
241
+ version: 0.22.0
242
242
  type: :development
243
243
  prerelease: false
244
244
  version_requirements: !ruby/object:Gem::Requirement
245
245
  requirements:
246
246
  - - "~>"
247
247
  - !ruby/object:Gem::Version
248
- version: 0.21.2
248
+ version: 0.22.0
249
249
  - !ruby/object:Gem::Dependency
250
250
  name: simplecov-json
251
251
  requirement: !ruby/object:Gem::Requirement
@@ -266,14 +266,14 @@ dependencies:
266
266
  requirements:
267
267
  - - "~>"
268
268
  - !ruby/object:Gem::Version
269
- version: 3.14.0
269
+ version: 3.18.1
270
270
  type: :development
271
271
  prerelease: false
272
272
  version_requirements: !ruby/object:Gem::Requirement
273
273
  requirements:
274
274
  - - "~>"
275
275
  - !ruby/object:Gem::Version
276
- version: 3.14.0
276
+ version: 3.18.1
277
277
  description: SDK to consume the Zaig services
278
278
  email: danilo.carolino@qflash.com.br
279
279
  executables: []