gvive 1.1.2 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.hound.yml +8 -0
- data/.travis.yml +13 -5
- data/Gemfile.lock +17 -17
- data/lib/gvive/identity/driver.rb +2 -0
- data/lib/gvive/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: a8a1401e079e4943782c639cc65e9325e8aef86c72ecb492a61be94a58643149
|
|
4
|
+
data.tar.gz: e2e99e2594fed5cc8281e412a2bfd12023a09606c1874b0c2e60c2980cc674fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 07c6fbf183db3d5ab90204a8ec3f721c2e9f1ef838c02299deff5a3e3489bcd9fc9fc570557b32d1918d63f79bf8b3e798f14e07a7b4a5d64b58e4ab6e5c775b
|
|
7
|
+
data.tar.gz: bebe0b83a25b7d00767e6b4a47f08d24af5e05b43387bb45e450710f4558ca4cf1e840fa2b6ce1a4e59cbc1387ebb0736f9cc98eb8508e48b5cc0d49e459c698
|
data/.hound.yml
ADDED
data/.travis.yml
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
-
|
|
1
|
+
env:
|
|
2
|
+
global:
|
|
3
|
+
- CC_TEST_REPORTER_ID=fd4f98a0b879612c6384c111a73a31b5be9c63df23fc0a1ffd02f9fadc8c7f24
|
|
4
|
+
before_script:
|
|
5
|
+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
|
6
|
+
- chmod +x ./cc-test-reporter
|
|
7
|
+
- ./cc-test-reporter before-build
|
|
8
|
+
script:
|
|
9
|
+
- bundle exec rspec
|
|
6
10
|
language: ruby
|
|
7
11
|
rvm:
|
|
12
|
+
- 2.5.0
|
|
13
|
+
- 2.4.3
|
|
8
14
|
- 2.4.0
|
|
9
15
|
- 2.3.0
|
|
10
16
|
- 2.2.0
|
|
11
17
|
- 2.1
|
|
12
18
|
before_install: gem install bundler --pre
|
|
19
|
+
after_script:
|
|
20
|
+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
data/Gemfile.lock
CHANGED
|
@@ -9,8 +9,8 @@ GEM
|
|
|
9
9
|
specs:
|
|
10
10
|
addressable (2.5.2)
|
|
11
11
|
public_suffix (>= 2.0.2, < 4.0)
|
|
12
|
-
codeclimate-test-reporter (1.0.
|
|
13
|
-
simplecov
|
|
12
|
+
codeclimate-test-reporter (1.0.8)
|
|
13
|
+
simplecov (<= 0.13)
|
|
14
14
|
diff-lcs (1.3)
|
|
15
15
|
docile (1.1.5)
|
|
16
16
|
domain_name (0.5.20170404)
|
|
@@ -25,29 +25,29 @@ GEM
|
|
|
25
25
|
http-form_data (1.0.3)
|
|
26
26
|
http_parser.rb (0.6.0)
|
|
27
27
|
json (2.1.0)
|
|
28
|
-
public_suffix (3.0.
|
|
28
|
+
public_suffix (3.0.1)
|
|
29
29
|
rake (10.5.0)
|
|
30
|
-
rspec (3.
|
|
31
|
-
rspec-core (~> 3.
|
|
32
|
-
rspec-expectations (~> 3.
|
|
33
|
-
rspec-mocks (~> 3.
|
|
34
|
-
rspec-core (3.
|
|
35
|
-
rspec-support (~> 3.
|
|
36
|
-
rspec-expectations (3.
|
|
30
|
+
rspec (3.7.0)
|
|
31
|
+
rspec-core (~> 3.7.0)
|
|
32
|
+
rspec-expectations (~> 3.7.0)
|
|
33
|
+
rspec-mocks (~> 3.7.0)
|
|
34
|
+
rspec-core (3.7.1)
|
|
35
|
+
rspec-support (~> 3.7.0)
|
|
36
|
+
rspec-expectations (3.7.0)
|
|
37
37
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
38
|
-
rspec-support (~> 3.
|
|
39
|
-
rspec-mocks (3.
|
|
38
|
+
rspec-support (~> 3.7.0)
|
|
39
|
+
rspec-mocks (3.7.0)
|
|
40
40
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
41
|
-
rspec-support (~> 3.
|
|
42
|
-
rspec-support (3.
|
|
43
|
-
simplecov (0.
|
|
41
|
+
rspec-support (~> 3.7.0)
|
|
42
|
+
rspec-support (3.7.1)
|
|
43
|
+
simplecov (0.13.0)
|
|
44
44
|
docile (~> 1.1.0)
|
|
45
45
|
json (>= 1.8, < 3)
|
|
46
46
|
simplecov-html (~> 0.10.0)
|
|
47
47
|
simplecov-html (0.10.2)
|
|
48
48
|
unf (0.1.4)
|
|
49
49
|
unf_ext
|
|
50
|
-
unf_ext (0.0.7.
|
|
50
|
+
unf_ext (0.0.7.5)
|
|
51
51
|
|
|
52
52
|
PLATFORMS
|
|
53
53
|
ruby
|
|
@@ -61,4 +61,4 @@ DEPENDENCIES
|
|
|
61
61
|
simplecov
|
|
62
62
|
|
|
63
63
|
BUNDLED WITH
|
|
64
|
-
1.16.
|
|
64
|
+
1.16.1
|
|
@@ -20,6 +20,8 @@ module GVIVE
|
|
|
20
20
|
def valid?
|
|
21
21
|
@response = gvive_request(driver_endpoint, id_params({ coc: @id, fname: @fullname}))
|
|
22
22
|
@data = @response.to_o
|
|
23
|
+
@data.picture = @data.driver_image # Make API uniform
|
|
24
|
+
@data.signature = @data.driver_signature # Make API Uniform
|
|
23
25
|
@response.success?
|
|
24
26
|
end
|
|
25
27
|
end
|
data/lib/gvive/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gvive
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alfred Rowe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-03-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -102,6 +102,7 @@ extensions: []
|
|
|
102
102
|
extra_rdoc_files: []
|
|
103
103
|
files:
|
|
104
104
|
- ".gitignore"
|
|
105
|
+
- ".hound.yml"
|
|
105
106
|
- ".rspec"
|
|
106
107
|
- ".travis.yml"
|
|
107
108
|
- CODE_OF_CONDUCT.md
|
|
@@ -143,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
143
144
|
version: '0'
|
|
144
145
|
requirements: []
|
|
145
146
|
rubyforge_project:
|
|
146
|
-
rubygems_version: 2.
|
|
147
|
+
rubygems_version: 2.7.4
|
|
147
148
|
signing_key:
|
|
148
149
|
specification_version: 4
|
|
149
150
|
summary: GVIVE Ruby SDK
|