bigid_bgcheck 0.3.1.3 → 1.0.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: 7cc6da1a532ea97383b76fa5b74613545b7dbb81ac23afa9c9188096293f9885
4
- data.tar.gz: ce39bbc78f38f0e5080983487f259a8566d613939b177340ea4582e27835145e
3
+ metadata.gz: 83b0ce3e3803e3ab919da5c7bb52d86e001b11c453b0009b08fc84349b0c8d04
4
+ data.tar.gz: 76d8911bdaf04c554b46697dae56e9a17cf7e567511aa06022ca67606df6749a
5
5
  SHA512:
6
- metadata.gz: 9654b2b00618e9dd01c12e2e2ef8264fcac06c2866a16567f857d9aa20517409a1e9d6ec1c22d14836cb2edd0ca45654647bf368ac22615639dc1732f0b14d43
7
- data.tar.gz: 225759d2b914aed42ed121630ebbda352cd8396f9899dffebf401adc40f55838ce6afd0d1e98201178c71ebdd8ae914e6b76cb328536b17c91b09ddb6e0bea5e
6
+ metadata.gz: 4c6b9841820338633d3abc24efce241d91f65ebe28ec079fa659e949c0927086e68de19dac41f8fe393ad460f1f5be9509e6a2b70cad80103acfdab1d23259ab
7
+ data.tar.gz: 59edc949c550899148a69ee5c6db50c874e97de5099382472db503be514940598b06ed224271842a827bac0c7085a506bd52beac633b59f83923419125a83615
@@ -9,6 +9,6 @@ module Bigid
9
9
  # Major - Incremented for incompatible changes with previous release (or big enough new features)
10
10
  # Minor - Incremented for new backwards-compatible features + deprecations
11
11
  # Patch - Incremented for backwards-compatible bug fixes
12
- VERSION = "0.3.1.3"
12
+ VERSION = "1.0.0"
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bigid_bgcheck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1.3
4
+ version: 1.0.0
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-05-06 00:00:00.000000000 Z
11
+ date: 2023-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bigid_auth
@@ -16,54 +16,48 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.2'
19
+ version: 1.0.0
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 0.2.2
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
- version: '0.2'
29
+ version: 1.0.0
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 0.2.2
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: i18n
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '1.8'
34
37
  - - ">="
35
38
  - !ruby/object:Gem::Version
36
- version: '1.0'
39
+ version: '0'
37
40
  type: :runtime
38
41
  prerelease: false
39
42
  version_requirements: !ruby/object:Gem::Requirement
40
43
  requirements:
41
- - - "~>"
42
- - !ruby/object:Gem::Version
43
- version: '1.8'
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: '1.0'
46
+ version: '0'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: json
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '2.5'
54
- - - "<"
55
- - !ruby/object:Gem::Version
56
- version: '2.7'
53
+ version: '0'
57
54
  type: :runtime
58
55
  prerelease: false
59
56
  version_requirements: !ruby/object:Gem::Requirement
60
57
  requirements:
61
58
  - - ">="
62
59
  - !ruby/object:Gem::Version
63
- version: '2.5'
64
- - - "<"
65
- - !ruby/object:Gem::Version
66
- version: '2.7'
60
+ version: '0'
67
61
  - !ruby/object:Gem::Dependency
68
62
  name: cpf_cnpj
69
63
  requirement: !ruby/object:Gem::Requirement
@@ -84,158 +78,118 @@ dependencies:
84
78
  - - ">="
85
79
  - !ruby/object:Gem::Version
86
80
  version: '0.5'
87
- - !ruby/object:Gem::Dependency
88
- name: bundler
89
- requirement: !ruby/object:Gem::Requirement
90
- requirements:
91
- - - "~>"
92
- - !ruby/object:Gem::Version
93
- version: '2.3'
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: 2.3.0
97
- type: :development
98
- prerelease: false
99
- version_requirements: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '2.3'
104
- - - ">="
105
- - !ruby/object:Gem::Version
106
- version: 2.3.0
107
81
  - !ruby/object:Gem::Dependency
108
82
  name: factory_bot
109
83
  requirement: !ruby/object:Gem::Requirement
110
84
  requirements:
111
85
  - - "~>"
112
86
  - !ruby/object:Gem::Version
113
- version: '6.2'
87
+ version: 6.2.1
114
88
  type: :development
115
89
  prerelease: false
116
90
  version_requirements: !ruby/object:Gem::Requirement
117
91
  requirements:
118
92
  - - "~>"
119
93
  - !ruby/object:Gem::Version
120
- version: '6.2'
94
+ version: 6.2.1
121
95
  - !ruby/object:Gem::Dependency
122
96
  name: pry
123
97
  requirement: !ruby/object:Gem::Requirement
124
98
  requirements:
125
99
  - - "~>"
126
100
  - !ruby/object:Gem::Version
127
- version: '0.14'
128
- type: :development
129
- prerelease: false
130
- version_requirements: !ruby/object:Gem::Requirement
131
- requirements:
132
- - - "~>"
133
- - !ruby/object:Gem::Version
134
- version: '0.14'
135
- - !ruby/object:Gem::Dependency
136
- name: rake
137
- requirement: !ruby/object:Gem::Requirement
138
- requirements:
139
- - - "~>"
140
- - !ruby/object:Gem::Version
141
- version: '13.0'
142
- - - ">="
143
- - !ruby/object:Gem::Version
144
- version: 10.0.0
101
+ version: 0.14.1
145
102
  type: :development
146
103
  prerelease: false
147
104
  version_requirements: !ruby/object:Gem::Requirement
148
105
  requirements:
149
106
  - - "~>"
150
107
  - !ruby/object:Gem::Version
151
- version: '13.0'
152
- - - ">="
153
- - !ruby/object:Gem::Version
154
- version: 10.0.0
108
+ version: 0.14.1
155
109
  - !ruby/object:Gem::Dependency
156
110
  name: rspec
157
111
  requirement: !ruby/object:Gem::Requirement
158
112
  requirements:
159
113
  - - "~>"
160
114
  - !ruby/object:Gem::Version
161
- version: '3.11'
115
+ version: 3.12.0
162
116
  type: :development
163
117
  prerelease: false
164
118
  version_requirements: !ruby/object:Gem::Requirement
165
119
  requirements:
166
120
  - - "~>"
167
121
  - !ruby/object:Gem::Version
168
- version: '3.11'
122
+ version: 3.12.0
169
123
  - !ruby/object:Gem::Dependency
170
124
  name: rubocop
171
125
  requirement: !ruby/object:Gem::Requirement
172
126
  requirements:
173
127
  - - "~>"
174
128
  - !ruby/object:Gem::Version
175
- version: '1.28'
129
+ version: 1.42.0
176
130
  type: :development
177
131
  prerelease: false
178
132
  version_requirements: !ruby/object:Gem::Requirement
179
133
  requirements:
180
134
  - - "~>"
181
135
  - !ruby/object:Gem::Version
182
- version: '1.28'
136
+ version: 1.42.0
183
137
  - !ruby/object:Gem::Dependency
184
138
  name: rubocop-packaging
185
139
  requirement: !ruby/object:Gem::Requirement
186
140
  requirements:
187
141
  - - "~>"
188
142
  - !ruby/object:Gem::Version
189
- version: '0.5'
143
+ version: 0.5.2
190
144
  type: :development
191
145
  prerelease: false
192
146
  version_requirements: !ruby/object:Gem::Requirement
193
147
  requirements:
194
148
  - - "~>"
195
149
  - !ruby/object:Gem::Version
196
- version: '0.5'
150
+ version: 0.5.2
197
151
  - !ruby/object:Gem::Dependency
198
152
  name: rubocop-performance
199
153
  requirement: !ruby/object:Gem::Requirement
200
154
  requirements:
201
155
  - - "~>"
202
156
  - !ruby/object:Gem::Version
203
- version: '1.13'
157
+ version: 1.15.2
204
158
  type: :development
205
159
  prerelease: false
206
160
  version_requirements: !ruby/object:Gem::Requirement
207
161
  requirements:
208
162
  - - "~>"
209
163
  - !ruby/object:Gem::Version
210
- version: '1.13'
164
+ version: 1.15.2
211
165
  - !ruby/object:Gem::Dependency
212
166
  name: simplecov
213
167
  requirement: !ruby/object:Gem::Requirement
214
168
  requirements:
215
169
  - - "~>"
216
170
  - !ruby/object:Gem::Version
217
- version: '0.21'
171
+ version: 0.22.0
218
172
  type: :development
219
173
  prerelease: false
220
174
  version_requirements: !ruby/object:Gem::Requirement
221
175
  requirements:
222
176
  - - "~>"
223
177
  - !ruby/object:Gem::Version
224
- version: '0.21'
178
+ version: 0.22.0
225
179
  - !ruby/object:Gem::Dependency
226
180
  name: simplecov-json
227
181
  requirement: !ruby/object:Gem::Requirement
228
182
  requirements:
229
183
  - - "~>"
230
184
  - !ruby/object:Gem::Version
231
- version: '0.2'
185
+ version: 0.2.3
232
186
  type: :development
233
187
  prerelease: false
234
188
  version_requirements: !ruby/object:Gem::Requirement
235
189
  requirements:
236
190
  - - "~>"
237
191
  - !ruby/object:Gem::Version
238
- version: '0.2'
192
+ version: 0.2.3
239
193
  description: A library to use BigData Corps background check features
240
194
  email:
241
195
  - danilo.carolino@qflash.com.br
@@ -244,10 +198,7 @@ extensions: []
244
198
  extra_rdoc_files: []
245
199
  files:
246
200
  - Rakefile
247
- - docs/CHANGELOG.md
248
- - docs/CODE_OF_CONDUCT.md
249
201
  - docs/CONTRIBUTING.md
250
- - docs/LICENSE.txt
251
202
  - docs/PUBLISHING.md
252
203
  - lib/bigid/bgcheck/bad_request_error.rb
253
204
  - lib/bigid/bgcheck/base_error.rb
@@ -295,30 +246,30 @@ required_ruby_version: !ruby/object:Gem::Requirement
295
246
  requirements:
296
247
  - - ">="
297
248
  - !ruby/object:Gem::Version
298
- version: '2.7'
249
+ version: '3.0'
299
250
  required_rubygems_version: !ruby/object:Gem::Requirement
300
251
  requirements:
301
252
  - - ">="
302
253
  - !ruby/object:Gem::Version
303
254
  version: '0'
304
255
  requirements: []
305
- rubygems_version: 3.1.2
256
+ rubygems_version: 3.4.1
306
257
  signing_key:
307
258
  specification_version: 4
308
259
  summary: Bigid Background Check Library
309
260
  test_files:
310
- - spec/support/shared_examples/errors_shared_examples.rb
311
- - spec/bigid_bgcheck_spec.rb
312
- - spec/factories/result.rb
313
- - spec/spec_helper.rb
261
+ - spec/bigid/bgcheck/bad_request_error_spec.rb
262
+ - spec/bigid/bgcheck/base_error_spec.rb
263
+ - spec/bigid/bgcheck/doc_type_spec.rb
264
+ - spec/bigid/bgcheck/document_not_supported_error_spec.rb
265
+ - spec/bigid/bgcheck/internal_error_spec.rb
314
266
  - spec/bigid/bgcheck/invalid_credentials_error_spec.rb
315
267
  - spec/bigid/bgcheck/invalid_document_value_error_spec.rb
316
- - spec/bigid/bgcheck/doc_type_spec.rb
317
268
  - spec/bigid/bgcheck/no_info_error_spec.rb
318
269
  - spec/bigid/bgcheck/request_spec.rb
319
- - spec/bigid/bgcheck/document_not_supported_error_spec.rb
320
- - spec/bigid/bgcheck/internal_error_spec.rb
321
- - spec/bigid/bgcheck/server_error_spec.rb
322
270
  - spec/bigid/bgcheck/result_code_spec.rb
323
- - spec/bigid/bgcheck/bad_request_error_spec.rb
324
- - spec/bigid/bgcheck/base_error_spec.rb
271
+ - spec/bigid/bgcheck/server_error_spec.rb
272
+ - spec/bigid_bgcheck_spec.rb
273
+ - spec/factories/result.rb
274
+ - spec/spec_helper.rb
275
+ - spec/support/shared_examples/errors_shared_examples.rb
data/docs/CHANGELOG.md DELETED
@@ -1,44 +0,0 @@
1
- # CHANGELOG for bigid_bgcheck
2
-
3
- ## v0.3.1.3-20220506 - [Danilo Carolino](@danilogco)
4
-
5
- * build(deps): bump ruby version from 3.1.0 to 3.1.2
6
- * build(deps): bump bigid_auth version to v0.2.1.4
7
- * feat: automatize the project deployment proccess
8
-
9
- ## v0.3.1.1-20220209 - [Danilo Carolino](@danilogco)
10
-
11
- * bump bigid_auth version to v0.2.1.1
12
-
13
- ## v0.3.1-20220202 - [Danilo Carolino](@danilogco)
14
-
15
- * [QC-79](https://qflash.atlassian.net/jira/software/projects/QC/boards/31?selectedIssue=QC-79)
16
- Reduzir uso de pipelines em projetos Ruby [Dependabot]
17
- * Bump Ruby version to v3.1.0
18
-
19
- ## v0.3.0 - [Danilo Carolino](@danilogco)
20
-
21
- * Bump "bigid_auth" version from v0.1.0 to v0.2.0
22
-
23
- ## v0.2.0 - [Danilo Carolino](@danilogco)
24
-
25
- Features
26
-
27
- * Add fields to service return: "raw_data", "score_details", "related_score_details" and "raw_response" (the complete json file)
28
-
29
- ## v0.1.3 - [Danilo Carolino](@danilogco)
30
-
31
- * Fix a problem with the locale initialization in Rails projects
32
-
33
- ## v0.1.2 - [Danilo Carolino](@danilogco)
34
-
35
- * Move auth service to an external package
36
-
37
- ## v0.1.1 - [Danilo Carolino](@danilogco)
38
-
39
- * Fix a problem with the credentials when its get by the env variables
40
- * Fix rubocop warnings
41
-
42
- ## v0.1.0 - [Danilo Carolino](@danilogco)
43
-
44
- * Initial release of bigid_bgcheck
@@ -1,128 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- We as members, contributors, and leaders pledge to make participation in our
6
- community a harassment-free experience for everyone, regardless of age, body
7
- size, visible or invisible disability, ethnicity, sex characteristics, gender
8
- identity and expression, level of experience, education, socio-economic status,
9
- nationality, personal appearance, race, religion, or sexual identity
10
- and orientation.
11
-
12
- We pledge to act and interact in ways that contribute to an open, welcoming,
13
- diverse, inclusive, and healthy community.
14
-
15
- ## Our Standards
16
-
17
- Examples of behavior that contributes to a positive environment for our
18
- community include:
19
-
20
- * Demonstrating empathy and kindness toward other people
21
- * Being respectful of differing opinions, viewpoints, and experiences
22
- * Giving and gracefully accepting constructive feedback
23
- * Accepting responsibility and apologizing to those affected by our mistakes,
24
- and learning from the experience
25
- * Focusing on what is best not just for us as individuals, but for the
26
- overall community
27
-
28
- Examples of unacceptable behavior include:
29
-
30
- * The use of sexualized language or imagery, and sexual attention or
31
- advances of any kind
32
- * Trolling, insulting or derogatory comments, and personal or political attacks
33
- * Public or private harassment
34
- * Publishing others' private information, such as a physical or email
35
- address, without their explicit permission
36
- * Other conduct which could reasonably be considered inappropriate in a
37
- professional setting
38
-
39
- ## Enforcement Responsibilities
40
-
41
- Community leaders are responsible for clarifying and enforcing our standards of
42
- acceptable behavior and will take appropriate and fair corrective action in
43
- response to any behavior that they deem inappropriate, threatening, offensive,
44
- or harmful.
45
-
46
- Community leaders have the right and responsibility to remove, edit, or reject
47
- comments, commits, code, wiki edits, issues, and other contributions that are
48
- not aligned to this Code of Conduct, and will communicate reasons for moderation
49
- decisions when appropriate.
50
-
51
- ## Scope
52
-
53
- This Code of Conduct applies within all community spaces, and also applies when
54
- an individual is officially representing the community in public spaces.
55
- Examples of representing our community include using an official e-mail address,
56
- posting via an official social media account, or acting as an appointed
57
- representative at an online or offline event.
58
-
59
- ## Enforcement
60
-
61
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
- reported to the community leaders responsible for enforcement at
63
- danilogcarolino@gmail.com.
64
- All complaints will be reviewed and investigated promptly and fairly.
65
-
66
- All community leaders are obligated to respect the privacy and security of the
67
- reporter of any incident.
68
-
69
- ## Enforcement Guidelines
70
-
71
- Community leaders will follow these Community Impact Guidelines in determining
72
- the consequences for any action they deem in violation of this Code of Conduct:
73
-
74
- ### 1. Correction
75
-
76
- **Community Impact**: Use of inappropriate language or other behavior deemed
77
- unprofessional or unwelcome in the community.
78
-
79
- **Consequence**: A private, written warning from community leaders, providing
80
- clarity around the nature of the violation and an explanation of why the
81
- behavior was inappropriate. A public apology may be requested.
82
-
83
- ### 2. Warning
84
-
85
- **Community Impact**: A violation through a single incident or series
86
- of actions.
87
-
88
- **Consequence**: A warning with consequences for continued behavior. No
89
- interaction with the people involved, including unsolicited interaction with
90
- those enforcing the Code of Conduct, for a specified period of time. This
91
- includes avoiding interactions in community spaces as well as external channels
92
- like social media. Violating these terms may lead to a temporary or
93
- permanent ban.
94
-
95
- ### 3. Temporary Ban
96
-
97
- **Community Impact**: A serious violation of community standards, including
98
- sustained inappropriate behavior.
99
-
100
- **Consequence**: A temporary ban from any sort of interaction or public
101
- communication with the community for a specified period of time. No public or
102
- private interaction with the people involved, including unsolicited interaction
103
- with those enforcing the Code of Conduct, is allowed during this period.
104
- Violating these terms may lead to a permanent ban.
105
-
106
- ### 4. Permanent Ban
107
-
108
- **Community Impact**: Demonstrating a pattern of violation of community
109
- standards, including sustained inappropriate behavior, harassment of an
110
- individual, or aggression toward or disparagement of classes of individuals.
111
-
112
- **Consequence**: A permanent ban from any sort of public interaction within
113
- the community.
114
-
115
- ## Attribution
116
-
117
- This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
- version 2.0, available at
119
- <https://www.contributor-covenant.org/version/2/0/code_of_conduct.html>.
120
-
121
- Community Impact Guidelines were inspired by [Mozilla's code of conduct
122
- enforcement ladder](https://github.com/mozilla/diversity).
123
-
124
- [homepage]: https://www.contributor-covenant.org
125
-
126
- For answers to common questions about this code of conduct, see the FAQ at
127
- <https://www.contributor-covenant.org/faq>. Translations are available at
128
- <https://www.contributor-covenant.org/translations>.
data/docs/LICENSE.txt DELETED
@@ -1,22 +0,0 @@
1
- Copyright (c) 2021 Quasar Flash
2
-
3
- MIT LICENSE
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.