hellosign-api 1.0.4 → 1.0.5
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/lib/hello_sign/client.rb +3 -3
- data/lib/hello_sign/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5d58b51d0771dffb7e056cc4d754d8b2a09741f74d2d011d065f05269bba52c1
|
|
4
|
+
data.tar.gz: ce1a575005e7ea6fd5e5ff4705f163b2735b38e64fadf790db3084eb19f37f6b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f4431930761f16cc12871ab00a0fb432e936f61e9628c08200fbfc063c95d93c870b5f5750882194ad26a8f12523503783a0948c20dbc322ec59e95d788d4b5
|
|
7
|
+
data.tar.gz: c8f0d8a5981861b6f4e2c304db0a70d6bcb29d49219dcd9a3e5ca113bdf3492facaf2fbab0e4ba470298b1a3068943ab2ad8bcca5f62b2c2c97dc72a3744b18d
|
data/lib/hello_sign/client.rb
CHANGED
|
@@ -156,11 +156,11 @@ module HelloSign
|
|
|
156
156
|
|
|
157
157
|
if options[:no_auth]
|
|
158
158
|
elsif auth_token
|
|
159
|
-
connection.authorization
|
|
159
|
+
connection.request :authorization, 'Bearer', -> { auth_token }
|
|
160
160
|
elsif api_key
|
|
161
|
-
connection.
|
|
161
|
+
connection.request :authorization, :basic, api_key, ''
|
|
162
162
|
elsif email_address
|
|
163
|
-
connection.
|
|
163
|
+
connection.request :authorization, :basic, email_address, password
|
|
164
164
|
else
|
|
165
165
|
end
|
|
166
166
|
if proxy_uri
|
data/lib/hello_sign/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hellosign-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- HelloSign, Aubrey Holland
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-03-
|
|
11
|
+
date: 2022-03-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|