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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6f10eb3c92e53c5e87d783a6a8ec205893904ae6
4
- data.tar.gz: 789ed1ec662eff0ef9eed139aee1d5c4a41d5d2f
3
+ metadata.gz: 7fd0fba30711d459472452515ea3b09889c338de
4
+ data.tar.gz: 8a357c5d834ed76679f0154d0fd8014c1ff2083f
5
5
  SHA512:
6
- metadata.gz: e4f00d25f4218f70ce4ef30f897c91b76ea0a0624b014c8bdbeca960b29d7dd104afdd6394ea1ea0a631a61b9453849c6c4600e9f11df2c9b2866e307787111a
7
- data.tar.gz: 295327a2f5726bbb996be4bad96ee0c9b0d44dd02eb6393c5e93ddb047681a418e5a3051d967ce62b05c8d8b84d0e9c8cb94ab11da36308e7c9ecc392b48c7d0
6
+ metadata.gz: 05091199323f8124cbfb3626a43dc7fe63ce43cf90b211b74899855bfbba8a51e77c4492cb3e9ff981a4209e76a0fe0ac22976bfaca848dc9b84d33548343cac
7
+ data.tar.gz: b8f1ff8c78db59828d96f02e55ab9373c3b52287be5233baafe3cf51adf18fe1dfc23662f9c1abb0f4b403ca793d4290283e5dd3d0edbf47ad8b9cedd707752e
@@ -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 = {})
@@ -1,3 +1,3 @@
1
1
  module Wework
2
- VERSION = '0.3.2'.freeze
2
+ VERSION = '0.3.3'.freeze
3
3
  end
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.2
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-06 00:00:00.000000000 Z
11
+ date: 2017-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http