hellosign-api 1.0.4 → 1.0.5

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
  SHA256:
3
- metadata.gz: a65d836c44c62f81bdf679bbd2df87ea6c7ce6b2260f9872434e231af94e299d
4
- data.tar.gz: 05df8e4c20de933e96f636128049c78b0c23edf7cadd5c770c23b1047cb553cc
3
+ metadata.gz: 5d58b51d0771dffb7e056cc4d754d8b2a09741f74d2d011d065f05269bba52c1
4
+ data.tar.gz: ce1a575005e7ea6fd5e5ff4705f163b2735b38e64fadf790db3084eb19f37f6b
5
5
  SHA512:
6
- metadata.gz: 20699056beadebb0e61828a64e8be9a3d7ab179b6a8532e5b1922591bf8e22a539e9cede40683dc5f5da958ed0ac9d4e5247a899465346cf87e802cfe02d4080
7
- data.tar.gz: eb4242eb16ff3708b1c1b83629e66a56ea2765ce73b29de37720024b15dddfca431b885375b1f4a14a2451fedd84db1fbf3bdeb575449600e73176acf72b1bca
6
+ metadata.gz: 8f4431930761f16cc12871ab00a0fb432e936f61e9628c08200fbfc063c95d93c870b5f5750882194ad26a8f12523503783a0948c20dbc322ec59e95d788d4b5
7
+ data.tar.gz: c8f0d8a5981861b6f4e2c304db0a70d6bcb29d49219dcd9a3e5ca113bdf3492facaf2fbab0e4ba470298b1a3068943ab2ad8bcca5f62b2c2c97dc72a3744b18d
@@ -156,11 +156,11 @@ module HelloSign
156
156
 
157
157
  if options[:no_auth]
158
158
  elsif auth_token
159
- connection.authorization :Bearer, auth_token
159
+ connection.request :authorization, 'Bearer', -> { auth_token }
160
160
  elsif api_key
161
- connection.basic_auth api_key, ''
161
+ connection.request :authorization, :basic, api_key, ''
162
162
  elsif email_address
163
- connection.basic_auth email_address, password
163
+ connection.request :authorization, :basic, email_address, password
164
164
  else
165
165
  end
166
166
  if proxy_uri
@@ -21,5 +21,5 @@
21
21
  # SOFTWARE.
22
22
 
23
23
  module HelloSign
24
- VERSION = '1.0.4'
24
+ VERSION = '1.0.5'
25
25
  end
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
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-10 00:00:00.000000000 Z
11
+ date: 2022-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler