tencent_trustsql 0.1.2 → 0.1.3
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/tencent_trustsql/client.rb +1 -2
- data/lib/tencent_trustsql/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a0dd4eade6b4d4d99d4aaee08dfbea2c759a341bbfce48a92a37d973cc7e022e
|
|
4
|
+
data.tar.gz: a9fd0ebf838176377f2f362857c103ff84eaf7e2cf9a468239f194646e3e04e7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9f0cf22f1c43a919356711f95340e65d1461150ab69d7a247ebf5d06dc3ea466aa67c069c3d7d6638ab59bb074454154ba2130c3f83c68c7e9233e71e4fef571
|
|
7
|
+
data.tar.gz: 8ab410882a541273d29afe34b8bd4ef2d767e75cf728e1e0676035c84ab75e8eea955c7facae802c92a6e75d142a14ad837bc0e5c82f0728b93a439954134fed
|
|
@@ -21,10 +21,9 @@ module TencentTrustsql
|
|
|
21
21
|
p "obj --------- #{obj}"
|
|
22
22
|
p obj.keys
|
|
23
23
|
[:account, :sign_str, :id].each do |key|
|
|
24
|
-
signed_obj["#{key.to_s}"] = obj[key] || obj[key.
|
|
24
|
+
signed_obj["#{key.to_s}"] = obj[key] || obj[key.to_s]
|
|
25
25
|
end
|
|
26
26
|
p signed_obj['sign_str']
|
|
27
|
-
p user_private_key
|
|
28
27
|
sign = TencentTrustsql.trans_sign user_private_key, signed_obj['sign_str']
|
|
29
28
|
p a = TencentTrustsql.output_formatter.out_sign(sign)
|
|
30
29
|
signed_obj['sign'] = a#TencentTrustsql.output_formatter.out_sign sign
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencent_trustsql
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- jack
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-09
|
|
11
|
+
date: 2019-10-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: http
|
|
@@ -122,7 +122,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
122
122
|
- !ruby/object:Gem::Version
|
|
123
123
|
version: '0'
|
|
124
124
|
requirements: []
|
|
125
|
-
|
|
125
|
+
rubyforge_project:
|
|
126
|
+
rubygems_version: 2.7.9
|
|
126
127
|
signing_key:
|
|
127
128
|
specification_version: 4
|
|
128
129
|
summary: Tencent trustsql support tencent Baas rest api request
|