jumio_rock 0.0.1 → 0.0.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
2
  SHA1:
3
- metadata.gz: 79f167bbb44aee514fdc352519cdaa2104a68157
4
- data.tar.gz: 95cdacf2f400d87f714322c18b4f1e6ffb76a9cd
3
+ metadata.gz: dadf1487aa5254bada80e7f27cd261ded31eb1fd
4
+ data.tar.gz: 3c8aad17fcc6d80a64cda5f8bd577eb2d1007202
5
5
  SHA512:
6
- metadata.gz: be228cb58c13c0a6bca0d506cec1992239b1b3afbc2fb925d9c734a4d036b22d74f7614f65b075a3bef3ccaf06d5e0662a54a35b76f658977e619484c2c79904
7
- data.tar.gz: f4061e823bc6f21ee686ac379ba45b00781602d7b65452b080907487d75bde373a2b0c741c06a4362dced2be012687d27bb49d17a491182d622a2daa1e248668
6
+ metadata.gz: 0055621ab74cad90d64bde4e3f2245d15d6ced649f03f4f408a1b31a6746fdd87eae56bbe2326ae57bf893ed8b5ef0fe405cc4aae3e754f86310e95d1c3b16e0
7
+ data.tar.gz: f2d6d173fbf75a3c6f5b97b1568fe78e38002e8d0a3668a05a4a745f0f5971dd05c01568cf5265853cd4c4cc71926fd6a741b311b22a65a0bd6d901c1ef53c65
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # JumioRock
2
2
 
3
- Unofficial Jumio Netverify implementation
3
+ Unofficial Jumio Netverify Integration
4
4
 
5
5
  ## Installation
6
6
 
data/jumio_rock.gemspec CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
8
8
  spec.version = JumioRock::VERSION
9
9
  spec.authors = ["Michele Minazzato"]
10
10
  spec.email = ["michelemina@gmail.com"]
11
- spec.summary = "Unofficial Jumio API implementation"
12
- spec.description = ""
11
+ spec.summary = "Unofficial Jumio API Integration"
12
+ spec.description = "Netverify is a customer-friendly technology that utilizes computer vision technology to collect and validate customer personal data (PII)."
13
13
  spec.homepage = ""
14
14
  spec.license = "MIT"
15
15
 
@@ -18,10 +18,9 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "excon"
22
- spec.add_development_dependency "bundler"
23
- spec.add_development_dependency "minitest"
24
- spec.add_development_dependency "rake"
25
- spec.add_development_dependency "chunky_png"
26
- spec.add_development_dependency "webmock"
21
+ spec.add_dependency "excon", '0.32.1'
22
+ spec.add_development_dependency "minitest", '4.7.5'
23
+ spec.add_development_dependency "rake", '10.2.2'
24
+ spec.add_development_dependency "chunky_png", '1.3.1'
25
+ spec.add_development_dependency "webmock", '1.17.4'
27
26
  end
@@ -1,3 +1,3 @@
1
1
  module JumioRock
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -35,21 +35,21 @@ def stub_init_embed_request
35
35
  'Authorization'=>'Basic dXNlcm5hbWU6cGFzc3dvcmQ=',
36
36
  'Content-Type'=>'application/json',
37
37
  'Host'=>'netverify.com:443',
38
- 'User-Agent'=>'YOURCOMPANYNAME YOURAPPLICATIONNAME/0.0.1'}).
38
+ 'User-Agent'=>"YOURCOMPANYNAME YOURAPPLICATIONNAME/#{JumioRock::VERSION}"}).
39
39
  to_return(:status => 200, :body => json_init_embed_response, :headers => {})
40
40
  end
41
41
 
42
42
  def stub_multi_document_request
43
43
  stub_request(:post, "https://username:password@netverify.com/api/netverify/v2/createDocumentAcquisition").
44
44
  with(:body => "{\"documentType\":\"CC\",\"merchantScanReference\":\"YOURSCANREFERENCE\",\"customerID\":\"CUSTOMERID\",\"successUrl\":\"https://95.240.235.90/success\",\"errorUrl\":\"https://95.240.235.90/error\"}",
45
- :headers => {'Accept'=>'application/json', 'Authorization'=>'Basic dXNlcm5hbWU6cGFzc3dvcmQ=', 'Content-Type'=>'application/json', 'Host'=>'netverify.com:443', 'User-Agent'=>'YOURCOMPANYNAME YOURAPPLICATIONNAME/0.0.1'}).
45
+ :headers => {'Accept'=>'application/json', 'Authorization'=>'Basic dXNlcm5hbWU6cGFzc3dvcmQ=', 'Content-Type'=>'application/json', 'Host'=>'netverify.com:443', 'User-Agent'=>"YOURCOMPANYNAME YOURAPPLICATIONNAME/#{JumioRock::VERSION}"}).
46
46
  to_return(:status => 200, :body => json_multi_document_response, :headers => {})
47
47
  end
48
48
 
49
49
  def stub_redirect_request
50
50
  stub_request(:post, "https://username:password@netverify.com/api/netverify/v2/initiateNetverifyRedirect").
51
51
  with(:body => "{\"merchantIdScanReference\":\"scan_id\",\"customerId\":\"customer_id\"}",
52
- :headers => {'Accept'=>'application/json', 'Authorization'=>'Basic dXNlcm5hbWU6cGFzc3dvcmQ=', 'Content-Type'=>'application/json', 'Host'=>'netverify.com:443', 'User-Agent'=>'YOURCOMPANYNAME YOURAPPLICATIONNAME/0.0.1'}).
52
+ :headers => {'Accept'=>'application/json', 'Authorization'=>'Basic dXNlcm5hbWU6cGFzc3dvcmQ=', 'Content-Type'=>'application/json', 'Host'=>'netverify.com:443', 'User-Agent'=>"YOURCOMPANYNAME YOURAPPLICATIONNAME/#{JumioRock::VERSION}"}).
53
53
  to_return(:status => 200, :body => json_redirect_response, :headers => {})
54
54
  end
55
55
 
metadata CHANGED
@@ -1,107 +1,94 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumio_rock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michele Minazzato
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-26 00:00:00.000000000 Z
11
+ date: 2014-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 0.32.1
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'
27
- - !ruby/object:Gem::Dependency
28
- name: bundler
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '>='
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '>='
39
- - !ruby/object:Gem::Version
40
- version: '0'
26
+ version: 0.32.1
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: minitest
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - '>='
31
+ - - '='
46
32
  - !ruby/object:Gem::Version
47
- version: '0'
33
+ version: 4.7.5
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - '>='
38
+ - - '='
53
39
  - !ruby/object:Gem::Version
54
- version: '0'
40
+ version: 4.7.5
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rake
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - '>='
45
+ - - '='
60
46
  - !ruby/object:Gem::Version
61
- version: '0'
47
+ version: 10.2.2
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - '>='
52
+ - - '='
67
53
  - !ruby/object:Gem::Version
68
- version: '0'
54
+ version: 10.2.2
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: chunky_png
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
- - - '>='
59
+ - - '='
74
60
  - !ruby/object:Gem::Version
75
- version: '0'
61
+ version: 1.3.1
76
62
  type: :development
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
- - - '>='
66
+ - - '='
81
67
  - !ruby/object:Gem::Version
82
- version: '0'
68
+ version: 1.3.1
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: webmock
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
- - - '>='
73
+ - - '='
88
74
  - !ruby/object:Gem::Version
89
- version: '0'
75
+ version: 1.17.4
90
76
  type: :development
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
- - - '>='
80
+ - - '='
95
81
  - !ruby/object:Gem::Version
96
- version: '0'
97
- description: ''
82
+ version: 1.17.4
83
+ description: Netverify is a customer-friendly technology that utilizes computer vision
84
+ technology to collect and validate customer personal data (PII).
98
85
  email:
99
86
  - michelemina@gmail.com
100
87
  executables: []
101
88
  extensions: []
102
89
  extra_rdoc_files: []
103
90
  files:
104
- - .gitignore
91
+ - ".gitignore"
105
92
  - Gemfile
106
93
  - LICENSE.txt
107
94
  - README.md
@@ -132,12 +119,12 @@ require_paths:
132
119
  - lib
133
120
  required_ruby_version: !ruby/object:Gem::Requirement
134
121
  requirements:
135
- - - '>='
122
+ - - ">="
136
123
  - !ruby/object:Gem::Version
137
124
  version: '0'
138
125
  required_rubygems_version: !ruby/object:Gem::Requirement
139
126
  requirements:
140
- - - '>='
127
+ - - ">="
141
128
  - !ruby/object:Gem::Version
142
129
  version: '0'
143
130
  requirements: []
@@ -145,7 +132,7 @@ rubyforge_project:
145
132
  rubygems_version: 2.2.2
146
133
  signing_key:
147
134
  specification_version: 4
148
- summary: Unofficial Jumio API implementation
135
+ summary: Unofficial Jumio API Integration
149
136
  test_files:
150
137
  - test/example.rb
151
138
  - test/lib/jumio_rock/jumio_rock_test.rb