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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 8a75a368111afe0050e6bcfebe217cf4ac7e6eb9
4
- data.tar.gz: 81cf8f3ee9f897265aa688d93cc262250d91423f
2
+ SHA256:
3
+ metadata.gz: a8a1401e079e4943782c639cc65e9325e8aef86c72ecb492a61be94a58643149
4
+ data.tar.gz: e2e99e2594fed5cc8281e412a2bfd12023a09606c1874b0c2e60c2980cc674fd
5
5
  SHA512:
6
- metadata.gz: c8a89e8573557d9446198749470a2e79625175431813b623cea1174012ef7fcbc04bb18606a02f8b0724ac086bcd2970572d2ebde1ea7981d06efa0a4abe02f1
7
- data.tar.gz: 5af1c37509ee446b31782f57e058bf335d2f5df7f8b0c6148d1c8ba39760c29313a80d09b575a6244009ebc6499010302b73de25543231a9df5ecef9a9287887
6
+ metadata.gz: 07c6fbf183db3d5ab90204a8ec3f721c2e9f1ef838c02299deff5a3e3489bcd9fc9fc570557b32d1918d63f79bf8b3e798f14e07a7b4a5d64b58e4ab6e5c775b
7
+ data.tar.gz: bebe0b83a25b7d00767e6b4a47f08d24af5e05b43387bb45e450710f4558ca4cf1e840fa2b6ce1a4e59cbc1387ebb0736f9cc98eb8508e48b5cc0d49e459c698
@@ -0,0 +1,8 @@
1
+ scss:
2
+ enabled: false
3
+
4
+ ruby:
5
+ enabled: true
6
+
7
+ jshint:
8
+ enabled: false
@@ -1,12 +1,20 @@
1
- addons:
2
- code_climate:
3
- repo_token: fd4f98a0b879612c6384c111a73a31b5be9c63df23fc0a1ffd02f9fadc8c7f24
4
- after_success:
5
- - bundle exec codeclimate-test-reporter
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
@@ -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.7)
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.0)
28
+ public_suffix (3.0.1)
29
29
  rake (10.5.0)
30
- rspec (3.6.0)
31
- rspec-core (~> 3.6.0)
32
- rspec-expectations (~> 3.6.0)
33
- rspec-mocks (~> 3.6.0)
34
- rspec-core (3.6.0)
35
- rspec-support (~> 3.6.0)
36
- rspec-expectations (3.6.0)
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.6.0)
39
- rspec-mocks (3.6.0)
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.6.0)
42
- rspec-support (3.6.0)
43
- simplecov (0.15.1)
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.4)
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.0.pre.2
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
@@ -1,3 +1,3 @@
1
1
  module GVIVE
2
- VERSION = "1.1.2"
2
+ VERSION = "1.2.1"
3
3
  end
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.2
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: 2017-10-24 00:00:00.000000000 Z
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.6.13
147
+ rubygems_version: 2.7.4
147
148
  signing_key:
148
149
  specification_version: 4
149
150
  summary: GVIVE Ruby SDK