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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 74880f3679ce3498a8df2bd0aa561900bb1bb57d
4
- data.tar.gz: 2a7634a90be32bba847c89c747888808cf67e88f
2
+ SHA256:
3
+ metadata.gz: 95e38b8a719379e673144ca2d58fb9be030088bd7ffa4a251e813704396b8123
4
+ data.tar.gz: 518cb504a348aebb071956a93d9f2c1500a8ce0c91b71b1a82b3e190026e884e
5
5
  SHA512:
6
- metadata.gz: a90f74c5f57defbfc8f13cf4cb5ac75f52aae6d921c7e16528f228766cc0a44372dda3564cd03079fa19959f88261b43035ca78043a821e30cf52745ca87d5f1
7
- data.tar.gz: '09002161aea75e66ba468663d0808754269c5bfb4219553e243d7defadc3a2a6f0e2d9e4d3064ed3c5dc4430bb9cf678ed6f8dde8c86bb6f89a4d7fa9b26ec9d'
6
+ metadata.gz: 619bb4d1ea2ede77bfa5a85d30f8861dea464cd3db801bf0290d0b817488828a1ae888933aadb5af4f4c6a260749fb86f3a49383ee3b5d7c2852e7d26532a249
7
+ data.tar.gz: 17fdd66fc5bf9de9214c7f815308392ba0e1a739dbadecf251959a7abb9cbde0020b5642551736dbb93a41d845b0dc7f9c0805fb773e7bf253e3cf38082eb16f
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.7.5
@@ -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.10.3"
21
- spec.add_runtime_dependency "evil-client", "~> 0.3.2"
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"
@@ -17,7 +17,7 @@ module Checkr
17
17
 
18
18
  settings do
19
19
  param :api_key, Types::Strict::String
20
- option :version, Types::Coercible::Int, default: proc { 1 }
20
+ option :version, Types::Coercible::Integer, default: proc { 1 }
21
21
  end
22
22
 
23
23
  base_url do |settings|
@@ -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::Json::DateTime
21
- attribute :updated_at, Types::Json::DateTime, optional: true
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::Json::DateTime
34
- attribute :updated_at, Types::Json::DateTime, optional: true
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.member(Types::Strict::String)
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::Int
57
- attribute :data, Types::Coercible::Array.member(Entities::Candidate)
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::Json::DateTime
17
- attribute :updated_at, Types::Json::DateTime, optional: true
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::Json::DateTime
12
+ attribute :created_at, Types::JSON::DateTime
13
13
  attribute :content_type, Types::String, optional: true
14
- attribute :filesize, Types::Int, optional: true
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::Json::DateTime
14
- attribute :completed_at, Types::Json::DateTime
15
- attribute :turnaround_time, Types::Int, optional: true
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.member(Types::Strict::Int), optional: true
21
- attribute :document_ids, Types::Array.member(Types::Strict::String), optional: true
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::Int
42
- attribute :data, Types::Coercible::Array.member(Entities::Report)
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Checkr
4
4
  module Canada
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
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.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: 2017-10-31 00:00:00.000000000 Z
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.10.3
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.10.3
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.2
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.2
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
- rubyforge_project:
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