checkr-canada 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -0
- data/checkr-canada.gemspec +2 -2
- data/lib/checkr/canada/client.rb +1 -1
- data/lib/checkr/canada/entities/address.rb +2 -2
- data/lib/checkr/canada/entities/candidate.rb +5 -5
- data/lib/checkr/canada/entities/criminal_record.rb +2 -2
- data/lib/checkr/canada/entities/document.rb +2 -2
- data/lib/checkr/canada/entities/report.rb +7 -7
- data/lib/checkr/canada/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 95e38b8a719379e673144ca2d58fb9be030088bd7ffa4a251e813704396b8123
|
4
|
+
data.tar.gz: 518cb504a348aebb071956a93d9f2c1500a8ce0c91b71b1a82b3e190026e884e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 619bb4d1ea2ede77bfa5a85d30f8861dea464cd3db801bf0290d0b817488828a1ae888933aadb5af4f4c6a260749fb86f3a49383ee3b5d7c2852e7d26532a249
|
7
|
+
data.tar.gz: 17fdd66fc5bf9de9214c7f815308392ba0e1a739dbadecf251959a7abb9cbde0020b5642551736dbb93a41d845b0dc7f9c0805fb773e7bf253e3cf38082eb16f
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.7.5
|
data/checkr-canada.gemspec
CHANGED
@@ -17,8 +17,8 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.files = `git ls-files`.split($/)
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
|
-
spec.add_runtime_dependency "dry-types", "~> 0.
|
21
|
-
spec.add_runtime_dependency "evil-client", "~> 0.3.
|
20
|
+
spec.add_runtime_dependency "dry-types", "~> 0.15.0"
|
21
|
+
spec.add_runtime_dependency "evil-client", "~> 0.3.3"
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler"
|
24
24
|
spec.add_development_dependency "rake"
|
data/lib/checkr/canada/client.rb
CHANGED
@@ -17,8 +17,8 @@ module Checkr
|
|
17
17
|
attribute :id, Types::Strict::String
|
18
18
|
attribute :object, Types::String, optional: true
|
19
19
|
attribute :uri, Types::Strict::String
|
20
|
-
attribute :created_at, Types::
|
21
|
-
attribute :updated_at, Types::
|
20
|
+
attribute :created_at, Types::JSON::DateTime
|
21
|
+
attribute :updated_at, Types::JSON::DateTime, optional: true
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
@@ -30,10 +30,10 @@ module Checkr
|
|
30
30
|
attribute :id, Types::Strict::String
|
31
31
|
attribute :object, Types::Strict::String
|
32
32
|
attribute :uri, Types::Strict::String
|
33
|
-
attribute :created_at, Types::
|
34
|
-
attribute :updated_at, Types::
|
33
|
+
attribute :created_at, Types::JSON::DateTime
|
34
|
+
attribute :updated_at, Types::JSON::DateTime, optional: true
|
35
35
|
|
36
|
-
attribute :address_ids, Types::Strict::Array.
|
36
|
+
attribute :address_ids, Types::Strict::Array.of(Types::Strict::String)
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
@@ -53,8 +53,8 @@ module Checkr
|
|
53
53
|
attribute :object, Types::Strict::String
|
54
54
|
attribute :next_href, Types::String, optional: true
|
55
55
|
attribute :previous_href, Types::String, optional: true
|
56
|
-
attribute :count, Types::Strict::
|
57
|
-
attribute :data, Types::Coercible::Array.
|
56
|
+
attribute :count, Types::Strict::Integer
|
57
|
+
attribute :data, Types::Coercible::Array.of(Entities::Candidate)
|
58
58
|
end
|
59
59
|
|
60
60
|
response :not_authorized, 401, format: :json, raise: true do
|
@@ -13,8 +13,8 @@ module Checkr
|
|
13
13
|
attribute :id, Types::Strict::String
|
14
14
|
attribute :object, Types::String, optional: true
|
15
15
|
attribute :uri, Types::Strict::String
|
16
|
-
attribute :created_at, Types::
|
17
|
-
attribute :updated_at, Types::
|
16
|
+
attribute :created_at, Types::JSON::DateTime
|
17
|
+
attribute :updated_at, Types::JSON::DateTime, optional: true
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
@@ -9,9 +9,9 @@ module Checkr
|
|
9
9
|
attribute :filename, Types::String, optional: true
|
10
10
|
attribute :uri, Types::Strict::String
|
11
11
|
attribute :download_uri, Types::Strict::String
|
12
|
-
attribute :created_at, Types::
|
12
|
+
attribute :created_at, Types::JSON::DateTime
|
13
13
|
attribute :content_type, Types::String, optional: true
|
14
|
-
attribute :filesize, Types::
|
14
|
+
attribute :filesize, Types::Integer, optional: true
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
@@ -10,15 +10,15 @@ module Checkr
|
|
10
10
|
attribute :package, Types::Package
|
11
11
|
attribute :status, Types::Status
|
12
12
|
attribute :adjudication, Types::String, optional: true
|
13
|
-
attribute :created_at, Types::
|
14
|
-
attribute :completed_at, Types::
|
15
|
-
attribute :turnaround_time, Types::
|
13
|
+
attribute :created_at, Types::JSON::DateTime
|
14
|
+
attribute :completed_at, Types::JSON::DateTime
|
15
|
+
attribute :turnaround_time, Types::Integer, optional: true
|
16
16
|
attribute :account_id, Types::Strict::String, optional: true
|
17
17
|
attribute :candidate_id, Types::Strict::String, optional: true
|
18
18
|
attribute :motor_vehicle_report_id, Types::String, optional: true
|
19
19
|
attribute :national_criminal_search_id, Types::String, optional: true
|
20
|
-
attribute :criminal_record_ids, Types::Array.
|
21
|
-
attribute :document_ids, Types::Array.
|
20
|
+
attribute :criminal_record_ids, Types::Array.of(Types::Strict::Integer), optional: true
|
21
|
+
attribute :document_ids, Types::Array.of(Types::Strict::String), optional: true
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
@@ -38,8 +38,8 @@ module Checkr
|
|
38
38
|
attribute :object, Types::Strict::String
|
39
39
|
attribute :next_href, Types::String, optional: true
|
40
40
|
attribute :previous_href, Types::String, optional: true
|
41
|
-
attribute :count, Types::Strict::
|
42
|
-
attribute :data, Types::Coercible::Array.
|
41
|
+
attribute :count, Types::Strict::Integer
|
42
|
+
attribute :data, Types::Coercible::Array.of(Entities::Report)
|
43
43
|
end
|
44
44
|
|
45
45
|
response :not_authorized, 401, format: :json, raise: true do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: checkr-canada
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- palkan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-types
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.15.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: evil-client
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.3.
|
33
|
+
version: 0.3.3
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.3.
|
40
|
+
version: 0.3.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -104,6 +104,7 @@ files:
|
|
104
104
|
- ".gitignore"
|
105
105
|
- ".rspec"
|
106
106
|
- ".rubocop.yml"
|
107
|
+
- ".ruby-version"
|
107
108
|
- ".travis.yml"
|
108
109
|
- Gemfile
|
109
110
|
- LICENSE.txt
|
@@ -158,8 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
159
|
- !ruby/object:Gem::Version
|
159
160
|
version: '0'
|
160
161
|
requirements: []
|
161
|
-
|
162
|
-
rubygems_version: 2.6.13
|
162
|
+
rubygems_version: 3.3.17
|
163
163
|
signing_key:
|
164
164
|
specification_version: 4
|
165
165
|
summary: Checkr Canada API client
|