wework 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wework/api/base.rb +3 -0
- data/lib/wework/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fd0fba30711d459472452515ea3b09889c338de
|
4
|
+
data.tar.gz: 8a357c5d834ed76679f0154d0fd8014c1ff2083f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05091199323f8124cbfb3626a43dc7fe63ce43cf90b211b74899855bfbba8a51e77c4492cb3e9ff981a4209e76a0fe0ac22976bfaca848dc9b84d33548343cac
|
7
|
+
data.tar.gz: b8f1ff8c78db59828d96f02e55ab9373c3b52287be5233baafe3cf51adf18fe1dfc23662f9c1abb0f4b403ca793d4290283e5dd3d0edbf47ad8b9cedd707752e
|
data/lib/wework/api/base.rb
CHANGED
@@ -30,6 +30,9 @@ module Wework
|
|
30
30
|
access_token.present?
|
31
31
|
rescue AccessTokenExpiredError
|
32
32
|
false
|
33
|
+
rescue => e
|
34
|
+
Rails.logger.error "[WEWORK] (valid?) fetch access token error(#{corp_id}##{app_id}): #{e.inspect}" if defined?(Rails)
|
35
|
+
false
|
33
36
|
end
|
34
37
|
|
35
38
|
def get(path, headers = {})
|
data/lib/wework/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- seandong
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|