third_party_wxa 0.2.0 → 0.2.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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/third_party_wxa/plugin.rb +2 -2
- data/lib/third_party_wxa/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 958cb6a89c21d64ee1d5fc9c2bf3ca2f66df59727b597a7769833fe3acda4554
|
|
4
|
+
data.tar.gz: 023cc018b2458f6f0fc7058a015857a9498cab53777535d6d2013cb0555f4e0f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 112d7abf57127989eec0e9f93d2444b21dd13ffdc3fa44e84db6c2fe8883c16969d53fa0b7497f04d7b85a644ccd31a742da403b6fa919313a4f11e54d7d0dc7
|
|
7
|
+
data.tar.gz: 37186fa10fb7e06efbaa3b5111e8a1506bba1e68f80dbbf5a685dcf920ed27092230c82481bbb7621c52812bf9d2e76dc8067388ab2a90c7801f8de083d49bbf
|
data/Gemfile.lock
CHANGED
|
@@ -48,7 +48,7 @@ module ThirdPartyWxa
|
|
|
48
48
|
def set_component_access_token
|
|
49
49
|
res = component_access_token_api
|
|
50
50
|
@component_access_token = res['component_access_token']
|
|
51
|
-
@component_expire_at = ThirdPartyWxa.cal_expire_at res['
|
|
51
|
+
@component_expire_at = ThirdPartyWxa.cal_expire_at res['expires_in']
|
|
52
52
|
self
|
|
53
53
|
end
|
|
54
54
|
|
|
@@ -65,7 +65,7 @@ module ThirdPartyWxa
|
|
|
65
65
|
def set_pre_auth_code
|
|
66
66
|
res = pre_auth_code_api
|
|
67
67
|
@pre_auth_code = res['pre_auth_code']
|
|
68
|
-
@pre_expire_at = ThirdPartyWxa.cal_expire_at res['
|
|
68
|
+
@pre_expire_at = ThirdPartyWxa.cal_expire_at res['expires_in'], 60
|
|
69
69
|
self
|
|
70
70
|
end
|
|
71
71
|
|