bigid_bgcheck 0.3.0.2 → 0.3.1

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: e3c762eb563f762b7422597ffb3854fc268a4d90737b31aedd8bf3eebb629987
4
- data.tar.gz: f16a28500e579ca49a5f4b00e5dd632e005470bd3023a11585ec8633d93d7435
3
+ metadata.gz: be95a78ca1f565303461532c086f52e0fdc83dcfac235fed73c995f9f81493e1
4
+ data.tar.gz: 5fdeb2b9f0a5aeb97282cd55289030cd85584ab6da1879cc480c46590128e0a2
5
5
  SHA512:
6
- metadata.gz: b434e3f68d691114a83d6b27b9932b6e3112b41fb49748e4a6d387a475c169c66c2e47697138590198e9a503e8f8337334b05b237d38a86e7d9267c5ef362e97
7
- data.tar.gz: 8a65f2b886f4603ea8f0bd4de448aad82b6c640ad98088a19c93f02d8d3ab8f4684e5b385ede0021f3a88496a55ee99b4d47b392b895ddbf3d7e470068d646ae
6
+ metadata.gz: 9facd77ce7d71802b439c4e8cd074f8729f0d7de4492430f0de893e0712aecad2d7dcd2296845601477848670508b1423b90f077dceeb483993951207b47967b
7
+ data.tar.gz: c55c18f21e057426a1e634a731106a13a85028c2f2327d00b969b98917e047cfadd646eaa372ef97524aa34160acc4af2681d8cd25467ba24f2ce20c64647873
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG for bigid_bgcheck
2
2
 
3
+ ## v0.3.1-20220202 - Danilo Carolino
4
+
5
+ * [QC-79](https://qflash.atlassian.net/jira/software/projects/QC/boards/31?selectedIssue=QC-79)
6
+ Reduzir uso de pipelines em projetos Ruby [Dependabot]
7
+ * Bump Ruby version to v3.1.0
8
+
3
9
  ## v0.3.0
4
10
 
5
11
  * Bump "bigid_auth" version from v0.1.0 to v0.2.0
data/README.md CHANGED
@@ -1,9 +1,26 @@
1
1
  BigId Background Check's Library for Ruby
2
2
  ==============
3
3
 
4
+ Build Status
5
+ -----------------
6
+
4
7
  [![Gem Version](https://badge.fury.io/rb/bigid_bgcheck.svg)](https://badge.fury.io/rb/bigid_bgcheck)
5
- [![Build Status](https://travis-ci.com/Quasar-Flash/bigid_bgcheck.svg?branch=master)](https://travis-ci.com/Quasar-Flash/bigid_bgcheck)
6
8
  [![bigid_bgcheck](https://github.com/Quasar-Flash/bigid_bgcheck/actions/workflows/ruby.yml/badge.svg)](https://github.com/Quasar-Flash/bigid_bgcheck/actions/workflows/ruby.yml)
9
+ [![Quality Gate Status](https://sonarqube.eks.qflash.com.br/api/project_badges/measure?project=Quasar-Flash_bigid_bgcheck&metric=alert_status&token=23b79ee0eebe63611e370ffb911d9be245c99154)](https://sonarqube.eks.qflash.com.br/dashboard?id=Quasar-Flash_bigid_bgcheck)
10
+ [![Coverage](https://sonarqube.eks.qflash.com.br/api/project_badges/measure?project=Quasar-Flash_bigid_bgcheck&metric=coverage&token=23b79ee0eebe63611e370ffb911d9be245c99154)](https://sonarqube.eks.qflash.com.br/dashboard?id=Quasar-Flash_bigid_bgcheck)
11
+ [![Maintainability Rating](https://sonarqube.eks.qflash.com.br/api/project_badges/measure?project=Quasar-Flash_bigid_bgcheck&metric=sqale_rating&token=23b79ee0eebe63611e370ffb911d9be245c99154)](https://sonarqube.eks.qflash.com.br/dashboard?id=Quasar-Flash_bigid_bgcheck)
12
+
13
+ Project Scores
14
+ -----------------
15
+
16
+ [![Bugs](https://sonarqube.eks.qflash.com.br/api/project_badges/measure?project=Quasar-Flash_bigid_bgcheck&metric=bugs&token=23b79ee0eebe63611e370ffb911d9be245c99154)](https://sonarqube.eks.qflash.com.br/dashboard?id=Quasar-Flash_bigid_bgcheck)
17
+ [![Code Smells](https://sonarqube.eks.qflash.com.br/api/project_badges/measure?project=Quasar-Flash_bigid_bgcheck&metric=code_smells&token=23b79ee0eebe63611e370ffb911d9be245c99154)](https://sonarqube.eks.qflash.com.br/dashboard?id=Quasar-Flash_bigid_bgcheck)
18
+ [![Duplicated Lines (%)](https://sonarqube.eks.qflash.com.br/api/project_badges/measure?project=Quasar-Flash_bigid_bgcheck&metric=duplicated_lines_density&token=23b79ee0eebe63611e370ffb911d9be245c99154)](https://sonarqube.eks.qflash.com.br/dashboard?id=Quasar-Flash_bigid_bgcheck)
19
+ [![Lines of Code](https://sonarqube.eks.qflash.com.br/api/project_badges/measure?project=Quasar-Flash_bigid_bgcheck&metric=ncloc&token=23b79ee0eebe63611e370ffb911d9be245c99154)](https://sonarqube.eks.qflash.com.br/dashboard?id=Quasar-Flash_bigid_bgcheck)
20
+ [![Reliability Rating](https://sonarqube.eks.qflash.com.br/api/project_badges/measure?project=Quasar-Flash_bigid_bgcheck&metric=reliability_rating&token=23b79ee0eebe63611e370ffb911d9be245c99154)](https://sonarqube.eks.qflash.com.br/dashboard?id=Quasar-Flash_bigid_bgcheck)
21
+ [![Security Rating](https://sonarqube.eks.qflash.com.br/api/project_badges/measure?project=Quasar-Flash_bigid_bgcheck&metric=security_rating&token=23b79ee0eebe63611e370ffb911d9be245c99154)](https://sonarqube.eks.qflash.com.br/dashboard?id=Quasar-Flash_bigid_bgcheck)
22
+ [![Technical Debt](https://sonarqube.eks.qflash.com.br/api/project_badges/measure?project=Quasar-Flash_bigid_bgcheck&metric=sqale_index&token=23b79ee0eebe63611e370ffb911d9be245c99154)](https://sonarqube.eks.qflash.com.br/dashboard?id=Quasar-Flash_bigid_bgcheck)
23
+ [![Vulnerabilities](https://sonarqube.eks.qflash.com.br/api/project_badges/measure?project=Quasar-Flash_bigid_bgcheck&metric=vulnerabilities&token=23b79ee0eebe63611e370ffb911d9be245c99154)](https://sonarqube.eks.qflash.com.br/dashboard?id=Quasar-Flash_bigid_bgcheck)
7
24
 
8
25
  Requirements
9
26
  -----------------
@@ -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.0.2"
12
+ VERSION = "0.3.1"
13
13
  end
14
14
  end
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "spec_helper"
4
-
5
3
  RSpec.describe Bigid::Bgcheck::BadRequestError do
6
4
  include_examples "error"
7
5
  end
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "spec_helper"
4
-
5
3
  RSpec.describe Bigid::Bgcheck::BaseError do
6
4
  include_examples "error"
7
5
  end
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "spec_helper"
4
-
5
3
  RSpec.describe Bigid::Bgcheck::DocType do
6
4
  describe ".valid?(document_type)" do
7
5
  subject { described_class.valid?(document_type) }
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "spec_helper"
4
-
5
3
  RSpec.describe Bigid::Bgcheck::DocumentNotSupportedError do
6
4
  include_examples "error"
7
5
  end
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "spec_helper"
4
-
5
3
  RSpec.describe Bigid::Bgcheck::InternalError do
6
4
  include_examples "http_error"
7
5
  end
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "spec_helper"
4
-
5
3
  RSpec.describe Bigid::Bgcheck::InvalidCredentialsError do
6
4
  include_examples "error"
7
5
  end
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "spec_helper"
4
-
5
3
  RSpec.describe Bigid::Bgcheck::InvalidDocumentValueError do
6
4
  include_examples "error"
7
5
  end
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "spec_helper"
4
-
5
3
  RSpec.describe Bigid::Bgcheck::NoInfoError do
6
4
  include_examples "http_error"
7
5
  end
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "spec_helper"
4
-
5
3
  RSpec.describe Bigid::Bgcheck::Request do
6
4
  describe "#call" do
7
5
  let(:connection) { instance_double(Bigid::Auth::AuthenticatedConnection) }
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "spec_helper"
4
-
5
3
  RSpec.describe Bigid::Bgcheck::ResultCode do
6
4
  describe ".valid?(code)" do
7
5
  subject { described_class.valid?(code) }
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "spec_helper"
4
-
5
3
  RSpec.describe Bigid::Bgcheck::ServerError do
6
4
  include_examples "error"
7
5
  end
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "spec_helper"
4
-
5
3
  RSpec.describe Bigid::Bgcheck do
6
4
  describe "SRV_ENDPOINT" do
7
5
  subject { defined? Bigid::Bgcheck::SRV_ENDPOINT }
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "spec_helper"
4
-
5
3
  RSpec.shared_examples "error" do
6
4
  describe ".initialize" do
7
5
  context "when message parameter is null" do
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.0.2
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danilo Carolino
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-22 00:00:00.000000000 Z
11
+ date: 2022-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bigid_auth
@@ -17,9 +17,6 @@ dependencies:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0.2'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: '0.2'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,9 +24,6 @@ dependencies:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0.2'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: '0.2'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: i18n
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -54,22 +48,22 @@ dependencies:
54
48
  name: json
55
49
  requirement: !ruby/object:Gem::Requirement
56
50
  requirements:
57
- - - "~>"
51
+ - - ">="
58
52
  - !ruby/object:Gem::Version
59
53
  version: '2.5'
60
- - - ">="
54
+ - - "<"
61
55
  - !ruby/object:Gem::Version
62
- version: '2.0'
56
+ version: '2.7'
63
57
  type: :runtime
64
58
  prerelease: false
65
59
  version_requirements: !ruby/object:Gem::Requirement
66
60
  requirements:
67
- - - "~>"
61
+ - - ">="
68
62
  - !ruby/object:Gem::Version
69
63
  version: '2.5'
70
- - - ">="
64
+ - - "<"
71
65
  - !ruby/object:Gem::Version
72
- version: '2.0'
66
+ version: '2.7'
73
67
  - !ruby/object:Gem::Dependency
74
68
  name: cpf_cnpj
75
69
  requirement: !ruby/object:Gem::Requirement
@@ -118,20 +112,6 @@ dependencies:
118
112
  - - "~>"
119
113
  - !ruby/object:Gem::Version
120
114
  version: '6.2'
121
- - !ruby/object:Gem::Dependency
122
- name: fuubar
123
- requirement: !ruby/object:Gem::Requirement
124
- requirements:
125
- - - "~>"
126
- - !ruby/object:Gem::Version
127
- version: '2.5'
128
- type: :development
129
- prerelease: false
130
- version_requirements: !ruby/object:Gem::Requirement
131
- requirements:
132
- - - "~>"
133
- - !ruby/object:Gem::Version
134
- version: '2.5'
135
115
  - !ruby/object:Gem::Dependency
136
116
  name: pry
137
117
  requirement: !ruby/object:Gem::Requirement
@@ -186,14 +166,14 @@ dependencies:
186
166
  requirements:
187
167
  - - "~>"
188
168
  - !ruby/object:Gem::Version
189
- version: '1.17'
169
+ version: '1.25'
190
170
  type: :development
191
171
  prerelease: false
192
172
  version_requirements: !ruby/object:Gem::Requirement
193
173
  requirements:
194
174
  - - "~>"
195
175
  - !ruby/object:Gem::Version
196
- version: '1.17'
176
+ version: '1.25'
197
177
  - !ruby/object:Gem::Dependency
198
178
  name: rubocop-packaging
199
179
  requirement: !ruby/object:Gem::Requirement
@@ -214,28 +194,42 @@ dependencies:
214
194
  requirements:
215
195
  - - "~>"
216
196
  - !ruby/object:Gem::Version
217
- version: '1.11'
197
+ version: '1.13'
218
198
  type: :development
219
199
  prerelease: false
220
200
  version_requirements: !ruby/object:Gem::Requirement
221
201
  requirements:
222
202
  - - "~>"
223
203
  - !ruby/object:Gem::Version
224
- version: '1.11'
204
+ version: '1.13'
225
205
  - !ruby/object:Gem::Dependency
226
206
  name: simplecov
227
207
  requirement: !ruby/object:Gem::Requirement
228
208
  requirements:
229
209
  - - "~>"
230
210
  - !ruby/object:Gem::Version
231
- version: 0.21.2
211
+ version: '0.21'
212
+ type: :development
213
+ prerelease: false
214
+ version_requirements: !ruby/object:Gem::Requirement
215
+ requirements:
216
+ - - "~>"
217
+ - !ruby/object:Gem::Version
218
+ version: '0.21'
219
+ - !ruby/object:Gem::Dependency
220
+ name: simplecov-json
221
+ requirement: !ruby/object:Gem::Requirement
222
+ requirements:
223
+ - - "~>"
224
+ - !ruby/object:Gem::Version
225
+ version: '0.2'
232
226
  type: :development
233
227
  prerelease: false
234
228
  version_requirements: !ruby/object:Gem::Requirement
235
229
  requirements:
236
230
  - - "~>"
237
231
  - !ruby/object:Gem::Version
238
- version: 0.21.2
232
+ version: '0.2'
239
233
  description: A library to use BigData Corps background check features
240
234
  email:
241
235
  - danilo.carolino@qflash.com.br
@@ -285,7 +279,7 @@ metadata:
285
279
  changelog_uri: https://github.com/Quasar-Flash/bigid_bgcheck/blob/master/CHANGELOG.md
286
280
  source_code_uri: https://github.com/Quasar-Flash/bigid_bgcheck
287
281
  bug_tracker_uri: https://github.com/Quasar-Flash/bigid_bgcheck/issues
288
- post_install_message:
282
+ post_install_message:
289
283
  rdoc_options: []
290
284
  require_paths:
291
285
  - lib
@@ -293,30 +287,30 @@ required_ruby_version: !ruby/object:Gem::Requirement
293
287
  requirements:
294
288
  - - ">="
295
289
  - !ruby/object:Gem::Version
296
- version: '2.5'
290
+ version: '2.7'
297
291
  required_rubygems_version: !ruby/object:Gem::Requirement
298
292
  requirements:
299
293
  - - ">="
300
294
  - !ruby/object:Gem::Version
301
295
  version: '0'
302
296
  requirements: []
303
- rubygems_version: 3.1.4
304
- signing_key:
297
+ rubygems_version: 3.3.3
298
+ signing_key:
305
299
  specification_version: 4
306
300
  summary: Bigid Background Check Library
307
301
  test_files:
308
- - spec/bigid_bgcheck_spec.rb
309
- - spec/support/shared_examples/errors_shared_examples.rb
310
- - spec/factories/result.rb
311
- - spec/spec_helper.rb
312
- - spec/bigid/bgcheck/invalid_document_value_error_spec.rb
313
302
  - spec/bigid/bgcheck/bad_request_error_spec.rb
314
- - spec/bigid/bgcheck/no_info_error_spec.rb
303
+ - spec/bigid/bgcheck/base_error_spec.rb
304
+ - spec/bigid/bgcheck/doc_type_spec.rb
305
+ - spec/bigid/bgcheck/document_not_supported_error_spec.rb
315
306
  - spec/bigid/bgcheck/internal_error_spec.rb
307
+ - spec/bigid/bgcheck/invalid_credentials_error_spec.rb
308
+ - spec/bigid/bgcheck/invalid_document_value_error_spec.rb
309
+ - spec/bigid/bgcheck/no_info_error_spec.rb
310
+ - spec/bigid/bgcheck/request_spec.rb
316
311
  - spec/bigid/bgcheck/result_code_spec.rb
317
312
  - spec/bigid/bgcheck/server_error_spec.rb
318
- - spec/bigid/bgcheck/request_spec.rb
319
- - spec/bigid/bgcheck/invalid_credentials_error_spec.rb
320
- - spec/bigid/bgcheck/document_not_supported_error_spec.rb
321
- - spec/bigid/bgcheck/doc_type_spec.rb
322
- - spec/bigid/bgcheck/base_error_spec.rb
313
+ - spec/bigid_bgcheck_spec.rb
314
+ - spec/factories/result.rb
315
+ - spec/spec_helper.rb
316
+ - spec/support/shared_examples/errors_shared_examples.rb