bayonet_client 2.3.0 → 2.4.0
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 +4 -4
- data/README.md +0 -10
- data/bayonet_client.gemspec +1 -1
- data/lib/bayonet_client/version.rb +1 -1
- metadata +10 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f430a96a164fb9bcbb29bd09f4e0f9e00265119f
|
4
|
+
data.tar.gz: ae11a61db06917c498ab39b9896cc1bb97470498
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bf93f925bcf8c4beb7344eb63d4de754c8c9cf1f92511bc9c77381551373cac6d73c17cb128fb277d1012fe349161c19688cfee14706fb0ccbae672af1ca19a
|
7
|
+
data.tar.gz: 19341d855d9a07a89c4fa9074875c07e17f13eb093c8f0cbcfa5a5fdd4578aab69bd4b30e3f23c1e0533d147283a88216e04514660d5eb4db1dbbf4a922d5aee
|
data/README.md
CHANGED
@@ -278,16 +278,6 @@ Once you have Bayonet's SDK configured, you can call the APIs with the following
|
|
278
278
|
}
|
279
279
|
})
|
280
280
|
```
|
281
|
-
### Device Fingerprint
|
282
|
-
* Get-fingerprint-data API
|
283
|
-
|
284
|
-
You can use this endpoint to get detailed information about a fingerprint generated by the Bayonet fingerprinting JS installed on your front-end
|
285
|
-
|
286
|
-
```ruby
|
287
|
-
BayonetClient::DeviceFingerprint.get_fingerprint_data({
|
288
|
-
bayonet_fingerprint_token: '<fingerprint-token-generated-by-JS-snippet>'
|
289
|
-
})
|
290
|
-
```
|
291
281
|
|
292
282
|
## Error handling
|
293
283
|
Bayonet's SDK raises exceptions both when confguring the client object and executing functions:
|
data/bayonet_client.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = ['lib']
|
23
23
|
|
24
|
-
spec.add_dependency 'httparty', '
|
24
|
+
spec.add_dependency 'httparty', '>= 0.15.6', '< 1.0'
|
25
25
|
|
26
26
|
spec.add_development_dependency 'rspec', '~> 3.5'
|
27
27
|
spec.add_development_dependency 'rake'
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bayonet_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bayonet
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-11 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
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.15.6
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '1.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: 0.15.6
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '1.0'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: rspec
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|