wework 0.2.3 → 0.2.4

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: 9250f8db2e5ed399e904350ea3aa637ffde4cf35
4
- data.tar.gz: 52d7d0cdf01ff50029e93ed1323c3b15f217f6b7
3
+ metadata.gz: d8ff0bc3c04da4365ecf068a2ff17904473d8a80
4
+ data.tar.gz: 9feb6d02227b123b0eaeffc7d1956986f702f87a
5
5
  SHA512:
6
- metadata.gz: c606e7facfdb79a078252d20530abc21f0e2f2a56b8f022cd8669f4f71d1b01a4ac1a6137fd9700c866431faa561427212ee9eb560104e14dd29d037822fe577
7
- data.tar.gz: c7703412bae3286e4508d5812bbe77761677402a28a2ce8fb350066668fa3c1d135c3c08e18e08bb70bcb00038ebb1718791568c788bcc144ea92585d5125fa6
6
+ metadata.gz: 4a49ea0d577c52df6fd5df650dda2c8b8485fbcbfa54c5d12a29799c8b122324d443e56681d45f5aac33209138087f0a3c631624308160bf961d636adfba5c95
7
+ data.tar.gz: 2377e8e1dd6386154695cb1f06ca99277436f78e80b789396a732fc45413d1960afb04cfd653418c3b4365f3df21d0590683f638c37f4282461a5096c5c358ae
@@ -28,6 +28,8 @@ module Wework
28
28
 
29
29
  def valid?
30
30
  access_token.present?
31
+ rescue AccessTokenExpiredError
32
+ false
31
33
  end
32
34
 
33
35
  def get(path, headers = {})
@@ -1,3 +1,3 @@
1
1
  module Wework
2
- VERSION = '0.2.3'.freeze
2
+ VERSION = '0.2.4'.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.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - seandong
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-08 00:00:00.000000000 Z
11
+ date: 2017-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http