eversign-sdk 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eversign/client.rb +4 -1
- data/lib/eversign/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21545a21dc21e817fcd7e0a615c34a91d9d96564bc66310452a29c4e05aabdf9
|
4
|
+
data.tar.gz: '0347485f7e9c444cb6794a5fa5e435aada44c34f895e262c6e7afec60ccbc59b'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 116fedfbcf1e7616eae7e438220ddbb9f5597b54a70717a3915c7d3ba6d801abd4751321cc93b5e81b8bcb6ee443a4b43593f2bb7411988543adee862472ec37
|
7
|
+
data.tar.gz: 78809276e64e20b4fa2d610708355d9622d1e151b4c9afa9d7627a3c74eab73b70cd44441be814379e9e2f99009700fdb9def13ffe0d5067abe7aba1de0577a0
|
data/lib/eversign/client.rb
CHANGED
@@ -155,10 +155,12 @@ module Eversign
|
|
155
155
|
private
|
156
156
|
|
157
157
|
def append_sdk_id (body)
|
158
|
-
|
158
|
+
begin
|
159
159
|
bodyHash = JSON.parse(body)
|
160
160
|
bodyHash['client'] = 'ruby-sdk'
|
161
161
|
return bodyHash.to_json
|
162
|
+
rescue
|
163
|
+
return body
|
162
164
|
end
|
163
165
|
end
|
164
166
|
|
@@ -173,6 +175,7 @@ module Eversign
|
|
173
175
|
|
174
176
|
body = append_sdk_id(body)
|
175
177
|
|
178
|
+
|
176
179
|
@faraday.send(method) do |request|
|
177
180
|
request.url path
|
178
181
|
request.body = body if body
|
data/lib/eversign/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eversign-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- eversign
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -178,7 +178,7 @@ homepage: https://github.com/eversign/eversign-ruby-sdk
|
|
178
178
|
licenses:
|
179
179
|
- MIT
|
180
180
|
metadata: {}
|
181
|
-
post_install_message:
|
181
|
+
post_install_message:
|
182
182
|
rdoc_options: []
|
183
183
|
require_paths:
|
184
184
|
- lib
|
@@ -193,8 +193,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
195
|
requirements: []
|
196
|
-
rubygems_version: 3.
|
197
|
-
signing_key:
|
196
|
+
rubygems_version: 3.2.15
|
197
|
+
signing_key:
|
198
198
|
specification_version: 4
|
199
199
|
summary: Gem for Eversign API Client.
|
200
200
|
test_files: []
|