tanker-core 4.3.0.alpha.2 → 4.3.1.alpha.1
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38c8430a0727e4d742ba34b01612123a7a51495de1e0e9df8464f174920415bc
|
4
|
+
data.tar.gz: fa3af75e9204a6a03acb3294b901a3d6c4a6b20f6e1c114e6a487cc20fc425cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cafd9ffe7126f93230b6fc39770ab2d1ba1e14e27431da509b4ac07bfb5e66b13915d8e92ac69ed4d4e1c49b784a7b85d00301efe3585ff3fc57091c1a4ebf3
|
7
|
+
data.tar.gz: 393a60e04d869f811126666b290186f7d57d6462d8eda8ce95de3f5567102936e5db9ad1340b23aaec9174dfa557434fd1611d6d517c9a55657167e008a7c071
|
data/lib/tanker/core/http.rb
CHANGED
@@ -46,7 +46,7 @@ module Tanker
|
|
46
46
|
|
47
47
|
@method = self.class.method_str_to_symbol crequest[:method]
|
48
48
|
@url = crequest[:url]
|
49
|
-
@body = crequest[:body].read_string_length(crequest[:body_size])
|
49
|
+
@body = (crequest[:body].read_string_length(crequest[:body_size]) if crequest[:body_size].positive?)
|
50
50
|
|
51
51
|
count = crequest[:num_headers]
|
52
52
|
headers_base_addr = crequest[:headers]
|
@@ -166,7 +166,7 @@ module Tanker
|
|
166
166
|
headers['X-Tanker-SdkType'] = @sdk_type
|
167
167
|
headers['X-Tanker-SdkVersion'] = @sdk_version
|
168
168
|
|
169
|
-
fresponse =
|
169
|
+
fresponse = @conn.run_request(request.method, request.url, request.body, headers)
|
170
170
|
|
171
171
|
request.complete_if_not_canceled do
|
172
172
|
# Faraday stores identical headers as a comma separated string
|
data/lib/tanker/core/version.rb
CHANGED
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tanker-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.1.alpha.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tanker team
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-02-26 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: faraday
|
@@ -33,16 +33,22 @@ dependencies:
|
|
33
33
|
name: ffi
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
35
35
|
requirements:
|
36
|
-
- - "
|
36
|
+
- - ">="
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: 1.17.1
|
39
|
+
- - "<"
|
37
40
|
- !ruby/object:Gem::Version
|
38
|
-
version: '
|
41
|
+
version: '2.0'
|
39
42
|
type: :runtime
|
40
43
|
prerelease: false
|
41
44
|
version_requirements: !ruby/object:Gem::Requirement
|
42
45
|
requirements:
|
43
|
-
- - "
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 1.17.1
|
49
|
+
- - "<"
|
44
50
|
- !ruby/object:Gem::Version
|
45
|
-
version: '
|
51
|
+
version: '2.0'
|
46
52
|
description: |
|
47
53
|
Ruby bindings for the Tanker SDK.
|
48
54
|
Tanker is a platform as a service that allows you to easily protect your users' data with end-to-end encryption through a SDK
|