little_finger 0.2.0 → 0.3.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 +8 -8
- data/lib/little_finger/avatax.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OGUwZTVjOTAyZDFlMmRjYWI2NmU5MjJhNjljMDExOTBjNGMxODY0ZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjQxOTNhM2NiODcyNGIxMmNiZDJmZjM2ODlkMTFlNzljNTMwZjFjMw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZmQ5MjljMGEzOTYyNzZjM2M0ZDU4MzdjZjc4ZTYxOWJkOTgxNTM4OGQ2YjNj
|
10
|
+
Yjg3N2E4NDZjYmRjZTdlYTZmMjNjN2Q2ZTYwNzhmYWE3YzQ1OTRiNjIyMDQx
|
11
|
+
OGVmZmNlZmE0MTRjMGQzNzRmYjQwNTkxODViYTAwZjgwNjg5Yzk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTg0NGQ1N2FjNDgyNjY0Mjc4N2ZjOGU5Y2E5M2Q0NDVhZmU4ZmUxM2I4OGQ0
|
14
|
+
OGU4ZDRmOTYyMDc4YWU5Nzc2ZjYxMjRhNDBiYjQ4ZDJhOGFlNWE0MmY2Mzc4
|
15
|
+
ZDFkMThkODczYWQ2YjE1YWY2MmJlMjI4NjVjNDBhZDEwY2Y1Y2M=
|
data/lib/little_finger/avatax.rb
CHANGED
@@ -91,7 +91,7 @@ private
|
|
91
91
|
# @param optional [Hash] custom_headers
|
92
92
|
def send_request(method, uri, payload = {}, custom_headers = {})
|
93
93
|
headers = {authorization: @credentials, content_type: "application/json"}.merge(custom_headers)
|
94
|
-
RestClient::Request.execute(method: method.to_sym, url: uri, timeout: @api_timeout, payload: JSON.generate(payload), headers: headers){|response, request, result| response }
|
94
|
+
RestClient::Request.execute(method: method.to_sym, url: uri, timeout: @api_timeout, payload: JSON.generate(payload), headers: headers, ssl_version: 'TLSv1'){|response, request, result| response }
|
95
95
|
end
|
96
96
|
|
97
97
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: little_finger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Honest Company
|
@@ -198,16 +198,16 @@ dependencies:
|
|
198
198
|
name: rest-client
|
199
199
|
requirement: !ruby/object:Gem::Requirement
|
200
200
|
requirements:
|
201
|
-
- -
|
201
|
+
- - '='
|
202
202
|
- !ruby/object:Gem::Version
|
203
|
-
version: 1.
|
203
|
+
version: 1.7.0
|
204
204
|
type: :runtime
|
205
205
|
prerelease: false
|
206
206
|
version_requirements: !ruby/object:Gem::Requirement
|
207
207
|
requirements:
|
208
|
-
- -
|
208
|
+
- - '='
|
209
209
|
- !ruby/object:Gem::Version
|
210
|
-
version: 1.
|
210
|
+
version: 1.7.0
|
211
211
|
- !ruby/object:Gem::Dependency
|
212
212
|
name: yard
|
213
213
|
requirement: !ruby/object:Gem::Requirement
|