yol_erp_lite 0.0.1 → 0.0.2

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
  SHA256:
3
- metadata.gz: 2cc35d71d445f54b7fc5af88ec9bfc23c1d017f527aa14f9a6f9647c8ee0fd8d
4
- data.tar.gz: 00ae296b4125deb7b35dee5164f20ccd7214ad0d72dc33411d91c8b6ed64a027
3
+ metadata.gz: 879ddabb2ad266143d6e0dd12d34b625d12f2ced5986fe9bbb71034cfbd28bcb
4
+ data.tar.gz: 639e16f2e58e8247b8466842f1fbef103e5eef4622b1f4827a765ea9064438a3
5
5
  SHA512:
6
- metadata.gz: a602aa3786c4a84f426bdfad487b69bf9c29c665ea1e44d2ff7fa4c8c45907072ab3b997a6d191d91b3ade06985134364601bece211846ed3cf24ab73f08ccca
7
- data.tar.gz: 2e9a1c16f2a85b01d1d9fe5893609d15d0272fc86ca431820fc4095ed64109d80cb2c009133e09b94a320947da165f7cfca4b4a15bbdaf968be8036475dbca7f
6
+ metadata.gz: 83a410dc07c2aded7f950660797ccc04cff52411f6b4484c294f74cb17bb9435dd85cbc0e76ac60c6b13de2531a89d9a76da032db7d45ab6c21f125baf4987e4
7
+ data.tar.gz: 2e634d9164733d9fbee28dae63fc6446a5d5b207394b299d271f74002de54996eeadfe22d9c216e7d0bf3381fc2f80b4a48e9f5907200a1fbcd5ea61f3c7d0ee
@@ -26,7 +26,7 @@ module YolErpLite
26
26
  else
27
27
  access_token = redis.get("erp_lite_access_token")
28
28
  if access_token.nil?
29
- access_token = redis.get("erp_lite_access_token")
29
+ access_token = get_token(corpsecret)
30
30
  if access_token.nil?
31
31
  raise Exception.new("ErpLite access token authorize false, corpsecret: #{corpsecret}")
32
32
  else
@@ -1,3 +1,3 @@
1
1
  module YolErpLite
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yol_erp_lite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - luojie