yx_sdk 0.1.4 → 0.1.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
  SHA1:
3
- metadata.gz: 1c7a5863c64e247ada042bd5b099f0662a08069c
4
- data.tar.gz: e47f589c09c6e1c8bc0f7c9341eaa32630ad718e
3
+ metadata.gz: 3c8ed31800749fbfe9e181ace19863d8ae066c68
4
+ data.tar.gz: 54aa0f4228ea861557344822b69ddf5ec51c61b3
5
5
  SHA512:
6
- metadata.gz: 7c62303c2764561de786413057246ae0138660372af5e9ada4274bdd0fd906e97625dc5d143b177838fc5a6adb80b43ab828208f8d329430c59f82060df27c03
7
- data.tar.gz: 7b10c3fb3e74e09f0f9f572af45fa230d66fb01a46e1199cb6bb3e537932ac00eb2365ee1d10cd898898eed3b96cbce828499221c6a5b8dbc6e3bef5991d3715
6
+ metadata.gz: 1606afc33fac430947f74b99ad4e8d4ea9cf3dce1eedb2f4377ce3459a72d46c61d5b6e5d70ce0213f097e46b921c6c382ae3187abeae9cd28bfba9ab8d4b005
7
+ data.tar.gz: fd555575267c3993232a0513a1d4cf3734caad130a6ab4094ec4a9e7a3273b73dea54c366dc340fcb0722f9e2e8572859f34078f2926d8870b8638280a0c11fd
data/lib/yx_sdk/client.rb CHANGED
@@ -21,7 +21,7 @@ module YxSdk
21
21
  def get_header
22
22
  timestamp = Time.now.to_i
23
23
  noncestr = SecureRandom.hex(16)
24
- str = "#{AppSecret}#{noncestr}#{timestamp}"
24
+ str = "#{app_secret}#{noncestr}#{timestamp}"
25
25
  signature = Digest::SHA1.hexdigest(str)
26
26
  {
27
27
  "AppKey" => @app_key,
@@ -1,3 +1,3 @@
1
1
  module YxSdk
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yx_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - karidyang