yuntongxun_sdk 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yuntongxun_sdk/api.rb +1 -1
- data/lib/yuntongxun_sdk/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42cf780f3bfaf34e7717a76207d8712d1bbae58f
|
4
|
+
data.tar.gz: a9fb0aa32f03275eba7e255aacf3c98605d51ccd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a459ec60da95cb06a36216ff48b9dc142d576d54936cea510befa543b8bca1b2dccb5c0e60519c0cfa3cb43bc1392a56fc612229563223c42f58bfb65aca6b6f
|
7
|
+
data.tar.gz: 9f8718a30b6c01f2cdd1e9b8bac47ab1950a4f3fd1e7aa1ef61881411e99e00d2d69b435671e27e18c448c5995f3ba2fc174188f659d11a0a329c0a56ce7e224
|
data/lib/yuntongxun_sdk/api.rb
CHANGED
@@ -35,7 +35,7 @@ module YuntongxunSdk
|
|
35
35
|
appId: @app_id
|
36
36
|
}.merge(args)
|
37
37
|
|
38
|
-
batch = DateTime.now.strftime("%Y%m%d%H%M%S")
|
38
|
+
batch = DateTime.now.in_time_zone("Beijing").strftime("%Y%m%d%H%M%S")
|
39
39
|
signature = "#{@account_sid}#{@auth_token}#{batch}"
|
40
40
|
sig = Digest::MD5.hexdigest(signature).upcase
|
41
41
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yuntongxun_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fuxin Hao
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.
|
112
|
+
rubygems_version: 2.6.14.1
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: 容联云通讯ruby sdk
|