smile-identity-core 1.2.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +18 -0
- data/.github/workflows/test.yml +36 -0
- data/.gitignore +3 -0
- data/.rubocop.yml +6 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +71 -30
- data/Gemfile +3 -1
- data/Gemfile.lock +35 -7
- data/README.md +33 -464
- data/Rakefile +5 -3
- data/bin/console +4 -3
- data/examples/biometric_kyc.rb +67 -0
- data/examples/business_verification.rb +37 -0
- data/examples/document_verification.rb +74 -0
- data/examples/enhanced_kyc.rb +39 -0
- data/examples/example-project/Gemfile +7 -0
- data/examples/example-project/Gemfile.lock +25 -0
- data/examples/example-project/README.md +14 -0
- data/examples/example-project/sample.env +4 -0
- data/examples/example-project/smart_bank.rb +216 -0
- data/examples/smart_selfie_authentication.rb +56 -0
- data/lib/smile-identity-core/business_verification.rb +109 -0
- data/lib/smile-identity-core/constants/env.rb +13 -0
- data/lib/smile-identity-core/constants/image_type.rb +14 -0
- data/lib/smile-identity-core/constants/job_type.rb +13 -0
- data/lib/smile-identity-core/id_api.rb +40 -61
- data/lib/smile-identity-core/signature.rb +15 -36
- data/lib/smile-identity-core/utilities.rb +28 -55
- data/lib/smile-identity-core/validations.rb +32 -0
- data/lib/smile-identity-core/version.rb +4 -6
- data/lib/smile-identity-core/web_api.rb +99 -153
- data/lib/smile-identity-core.rb +11 -5
- data/smile-identity-core.gemspec +26 -21
- metadata +79 -19
- data/.travis.yml +0 -11
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smile-identity-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Smile Identity
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '12.3'
|
34
34
|
type: :development
|
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: '
|
40
|
+
version: '12.3'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,6 +52,48 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rubocop
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.37.1
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.37.1
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rubocop-rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.6.0
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.6.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rubocop-rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 2.14.1
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 2.14.1
|
55
97
|
- !ruby/object:Gem::Dependency
|
56
98
|
name: simplecov
|
57
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,45 +109,45 @@ dependencies:
|
|
67
109
|
- !ruby/object:Gem::Version
|
68
110
|
version: 0.12.0
|
69
111
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
112
|
+
name: rubyzip
|
71
113
|
requirement: !ruby/object:Gem::Requirement
|
72
114
|
requirements:
|
73
115
|
- - "~>"
|
74
116
|
- !ruby/object:Gem::Version
|
75
|
-
version: '1.
|
117
|
+
version: '1.2'
|
76
118
|
- - ">="
|
77
119
|
- !ruby/object:Gem::Version
|
78
|
-
version: 1.
|
120
|
+
version: 1.2.3
|
79
121
|
type: :runtime
|
80
122
|
prerelease: false
|
81
123
|
version_requirements: !ruby/object:Gem::Requirement
|
82
124
|
requirements:
|
83
125
|
- - "~>"
|
84
126
|
- !ruby/object:Gem::Version
|
85
|
-
version: '1.
|
127
|
+
version: '1.2'
|
86
128
|
- - ">="
|
87
129
|
- !ruby/object:Gem::Version
|
88
|
-
version: 1.
|
130
|
+
version: 1.2.3
|
89
131
|
- !ruby/object:Gem::Dependency
|
90
|
-
name:
|
132
|
+
name: typhoeus
|
91
133
|
requirement: !ruby/object:Gem::Requirement
|
92
134
|
requirements:
|
93
135
|
- - "~>"
|
94
136
|
- !ruby/object:Gem::Version
|
95
|
-
version: '1.
|
137
|
+
version: '1.0'
|
96
138
|
- - ">="
|
97
139
|
- !ruby/object:Gem::Version
|
98
|
-
version: 1.
|
140
|
+
version: 1.0.1
|
99
141
|
type: :runtime
|
100
142
|
prerelease: false
|
101
143
|
version_requirements: !ruby/object:Gem::Requirement
|
102
144
|
requirements:
|
103
145
|
- - "~>"
|
104
146
|
- !ruby/object:Gem::Version
|
105
|
-
version: '1.
|
147
|
+
version: '1.0'
|
106
148
|
- - ">="
|
107
149
|
- !ruby/object:Gem::Version
|
108
|
-
version: 1.
|
150
|
+
version: 1.0.1
|
109
151
|
description: The Official Smile Identity gem
|
110
152
|
email:
|
111
153
|
- support@smileidentity.com
|
@@ -113,9 +155,12 @@ executables: []
|
|
113
155
|
extensions: []
|
114
156
|
extra_rdoc_files: []
|
115
157
|
files:
|
158
|
+
- ".github/workflows/release.yml"
|
159
|
+
- ".github/workflows/test.yml"
|
116
160
|
- ".gitignore"
|
117
161
|
- ".rspec"
|
118
|
-
- ".
|
162
|
+
- ".rubocop.yml"
|
163
|
+
- ".ruby-version"
|
119
164
|
- CHANGELOG.md
|
120
165
|
- Gemfile
|
121
166
|
- Gemfile.lock
|
@@ -123,10 +168,25 @@ files:
|
|
123
168
|
- Rakefile
|
124
169
|
- bin/console
|
125
170
|
- bin/setup
|
171
|
+
- examples/biometric_kyc.rb
|
172
|
+
- examples/business_verification.rb
|
173
|
+
- examples/document_verification.rb
|
174
|
+
- examples/enhanced_kyc.rb
|
175
|
+
- examples/example-project/Gemfile
|
176
|
+
- examples/example-project/Gemfile.lock
|
177
|
+
- examples/example-project/README.md
|
178
|
+
- examples/example-project/sample.env
|
179
|
+
- examples/example-project/smart_bank.rb
|
180
|
+
- examples/smart_selfie_authentication.rb
|
126
181
|
- lib/smile-identity-core.rb
|
182
|
+
- lib/smile-identity-core/business_verification.rb
|
183
|
+
- lib/smile-identity-core/constants/env.rb
|
184
|
+
- lib/smile-identity-core/constants/image_type.rb
|
185
|
+
- lib/smile-identity-core/constants/job_type.rb
|
127
186
|
- lib/smile-identity-core/id_api.rb
|
128
187
|
- lib/smile-identity-core/signature.rb
|
129
188
|
- lib/smile-identity-core/utilities.rb
|
189
|
+
- lib/smile-identity-core/validations.rb
|
130
190
|
- lib/smile-identity-core/version.rb
|
131
191
|
- lib/smile-identity-core/web_api.rb
|
132
192
|
- smile-identity-core.gemspec
|
@@ -137,7 +197,7 @@ metadata:
|
|
137
197
|
homepage_uri: https://www.smileidentity.com/
|
138
198
|
source_code_uri: https://github.com/smileidentity/smile-identity-core-ruby
|
139
199
|
documentation_uri: https://docs.smileidentity.com
|
140
|
-
changelog_uri: https://github.com/smileidentity/smile-identity-core/blob/master/CHANGELOG.md
|
200
|
+
changelog_uri: https://github.com/smileidentity/smile-identity-core-ruby/blob/master/CHANGELOG.md
|
141
201
|
post_install_message:
|
142
202
|
rdoc_options: []
|
143
203
|
require_paths:
|
@@ -146,16 +206,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
146
206
|
requirements:
|
147
207
|
- - ">="
|
148
208
|
- !ruby/object:Gem::Version
|
149
|
-
version: '2.
|
209
|
+
version: '2.5'
|
150
210
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
211
|
requirements:
|
152
212
|
- - ">="
|
153
213
|
- !ruby/object:Gem::Version
|
154
214
|
version: '0'
|
155
215
|
requirements: []
|
156
|
-
rubygems_version: 3.
|
216
|
+
rubygems_version: 3.3.7
|
157
217
|
signing_key:
|
158
218
|
specification_version: 4
|
159
|
-
summary: The Smile Identity Web API allows the user to access most of the features
|
219
|
+
summary: The Smile Identity Web API allows the user to access\ most of the features
|
160
220
|
of the Smile Identity system through direct server to server queries.
|
161
221
|
test_files: []
|