veriff 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +1 -1
- data/Gemfile.lock +30 -26
- data/lib/veriff/configuration.rb +3 -1
- data/lib/veriff/version.rb +1 -1
- data/lib/veriff.rb +2 -1
- data/veriff.gemspec +6 -5
- metadata +34 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8223cd4ef7a57bd60ff6f8f54043d1f70d757545d720dee031c16eeaade4fb9
|
4
|
+
data.tar.gz: a2a73d4c23ae1f38e9cd825e6ef1f8e3680debaf583128b9fed53b8174192c7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09aae37b6cc88bc7bd748f659b226e5201c9cef72fd7bbd9516d80c8ccf2b28b20c61c1d84084b9e2aa96424e0420e1235f703953a891ed43ff251ac3b95a687'
|
7
|
+
data.tar.gz: 9af3a868e82f81cf468d2866223ddb9599957d701988760475dc5af8901b5f0c9377eee87100f384a63e811f1eb72d476a6d08f36d17f24dea74fdf2d140a2ad
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-
|
1
|
+
ruby-3.3.4
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -2,44 +2,48 @@ PATH
|
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
4
|
veriff (0.2.1)
|
5
|
-
httparty
|
5
|
+
httparty
|
6
|
+
json
|
6
7
|
|
7
8
|
GEM
|
8
9
|
remote: https://rubygems.org/
|
9
10
|
specs:
|
10
|
-
|
11
|
-
|
12
|
-
|
11
|
+
bigdecimal (3.1.8)
|
12
|
+
csv (3.3.0)
|
13
|
+
diff-lcs (1.5.1)
|
14
|
+
httparty (0.22.0)
|
15
|
+
csv
|
16
|
+
mini_mime (>= 1.0.0)
|
13
17
|
multi_xml (>= 0.5.2)
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
rake (
|
19
|
-
rspec (3.
|
20
|
-
rspec-core (~> 3.
|
21
|
-
rspec-expectations (~> 3.
|
22
|
-
rspec-mocks (~> 3.
|
23
|
-
rspec-core (3.
|
24
|
-
rspec-support (~> 3.
|
25
|
-
rspec-expectations (3.
|
18
|
+
json (2.7.2)
|
19
|
+
mini_mime (1.1.5)
|
20
|
+
multi_xml (0.7.1)
|
21
|
+
bigdecimal (~> 3.1)
|
22
|
+
rake (13.2.1)
|
23
|
+
rspec (3.13.0)
|
24
|
+
rspec-core (~> 3.13.0)
|
25
|
+
rspec-expectations (~> 3.13.0)
|
26
|
+
rspec-mocks (~> 3.13.0)
|
27
|
+
rspec-core (3.13.0)
|
28
|
+
rspec-support (~> 3.13.0)
|
29
|
+
rspec-expectations (3.13.1)
|
26
30
|
diff-lcs (>= 1.2.0, < 2.0)
|
27
|
-
rspec-support (~> 3.
|
28
|
-
rspec-mocks (3.
|
31
|
+
rspec-support (~> 3.13.0)
|
32
|
+
rspec-mocks (3.13.1)
|
29
33
|
diff-lcs (>= 1.2.0, < 2.0)
|
30
|
-
rspec-support (~> 3.
|
31
|
-
rspec-support (3.
|
32
|
-
timecop (0.9.
|
34
|
+
rspec-support (~> 3.13.0)
|
35
|
+
rspec-support (3.13.1)
|
36
|
+
timecop (0.9.10)
|
33
37
|
|
34
38
|
PLATFORMS
|
35
39
|
ruby
|
36
40
|
|
37
41
|
DEPENDENCIES
|
38
|
-
bundler
|
39
|
-
rake
|
40
|
-
rspec
|
41
|
-
timecop
|
42
|
+
bundler
|
43
|
+
rake
|
44
|
+
rspec
|
45
|
+
timecop
|
42
46
|
veriff!
|
43
47
|
|
44
48
|
BUNDLED WITH
|
45
|
-
2.
|
49
|
+
2.5.17
|
data/lib/veriff/configuration.rb
CHANGED
@@ -6,8 +6,10 @@ module Veriff
|
|
6
6
|
base_uri: 'https://api.veriff.me/v1'
|
7
7
|
}.freeze
|
8
8
|
|
9
|
+
Config = Struct.new(:api_key, :api_secret, :base_uri, keyword_init: true)
|
10
|
+
|
9
11
|
def configuration
|
10
|
-
@configuration ||=
|
12
|
+
@configuration ||= Config.new(**DEFAULT_CONFIG)
|
11
13
|
end
|
12
14
|
|
13
15
|
def configure
|
data/lib/veriff/version.rb
CHANGED
data/lib/veriff.rb
CHANGED
data/veriff.gemspec
CHANGED
@@ -27,9 +27,10 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
28
|
spec.require_paths = ['lib']
|
29
29
|
|
30
|
-
spec.add_dependency 'httparty'
|
31
|
-
spec.
|
32
|
-
spec.add_development_dependency '
|
33
|
-
spec.add_development_dependency '
|
34
|
-
spec.add_development_dependency '
|
30
|
+
spec.add_dependency 'httparty'
|
31
|
+
spec.add_dependency 'json'
|
32
|
+
spec.add_development_dependency 'bundler'
|
33
|
+
spec.add_development_dependency 'rake'
|
34
|
+
spec.add_development_dependency 'rspec'
|
35
|
+
spec.add_development_dependency 'timecop'
|
35
36
|
end
|
metadata
CHANGED
@@ -1,91 +1,99 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: veriff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wojtek Widenka
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0.17'
|
20
17
|
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0
|
19
|
+
version: '0'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - "
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: json
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
30
31
|
- - ">="
|
31
32
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
33
41
|
- !ruby/object:Gem::Dependency
|
34
42
|
name: bundler
|
35
43
|
requirement: !ruby/object:Gem::Requirement
|
36
44
|
requirements:
|
37
|
-
- - "
|
45
|
+
- - ">="
|
38
46
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
47
|
+
version: '0'
|
40
48
|
type: :development
|
41
49
|
prerelease: false
|
42
50
|
version_requirements: !ruby/object:Gem::Requirement
|
43
51
|
requirements:
|
44
|
-
- - "
|
52
|
+
- - ">="
|
45
53
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
54
|
+
version: '0'
|
47
55
|
- !ruby/object:Gem::Dependency
|
48
56
|
name: rake
|
49
57
|
requirement: !ruby/object:Gem::Requirement
|
50
58
|
requirements:
|
51
|
-
- - "
|
59
|
+
- - ">="
|
52
60
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
61
|
+
version: '0'
|
54
62
|
type: :development
|
55
63
|
prerelease: false
|
56
64
|
version_requirements: !ruby/object:Gem::Requirement
|
57
65
|
requirements:
|
58
|
-
- - "
|
66
|
+
- - ">="
|
59
67
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
68
|
+
version: '0'
|
61
69
|
- !ruby/object:Gem::Dependency
|
62
70
|
name: rspec
|
63
71
|
requirement: !ruby/object:Gem::Requirement
|
64
72
|
requirements:
|
65
|
-
- - "
|
73
|
+
- - ">="
|
66
74
|
- !ruby/object:Gem::Version
|
67
|
-
version: '
|
75
|
+
version: '0'
|
68
76
|
type: :development
|
69
77
|
prerelease: false
|
70
78
|
version_requirements: !ruby/object:Gem::Requirement
|
71
79
|
requirements:
|
72
|
-
- - "
|
80
|
+
- - ">="
|
73
81
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
82
|
+
version: '0'
|
75
83
|
- !ruby/object:Gem::Dependency
|
76
84
|
name: timecop
|
77
85
|
requirement: !ruby/object:Gem::Requirement
|
78
86
|
requirements:
|
79
|
-
- - "
|
87
|
+
- - ">="
|
80
88
|
- !ruby/object:Gem::Version
|
81
|
-
version: '0
|
89
|
+
version: '0'
|
82
90
|
type: :development
|
83
91
|
prerelease: false
|
84
92
|
version_requirements: !ruby/object:Gem::Requirement
|
85
93
|
requirements:
|
86
|
-
- - "
|
94
|
+
- - ">="
|
87
95
|
- !ruby/object:Gem::Version
|
88
|
-
version: '0
|
96
|
+
version: '0'
|
89
97
|
description: Simple wrapper on Verff.com API
|
90
98
|
email:
|
91
99
|
- wojtek@codegarden.online
|
@@ -148,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
156
|
- !ruby/object:Gem::Version
|
149
157
|
version: '0'
|
150
158
|
requirements: []
|
151
|
-
rubygems_version: 3.
|
159
|
+
rubygems_version: 3.5.17
|
152
160
|
signing_key:
|
153
161
|
specification_version: 4
|
154
162
|
summary: Simple wrapper on Verff.com API
|