wework 1.1.2 → 1.1.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
  SHA256:
3
- metadata.gz: e3c1462bca392c4dbc6ec4074dd60043100fb79b07d19117f7c159a8556f67eb
4
- data.tar.gz: 80e87ad81d226b943729c2b2f593a93f5a18d3187df42d785fbdee121a2dafba
3
+ metadata.gz: c4a4454feadfb1cadf33e0431610e3a140ef18dec8b5671c690e95f4a5c19e42
4
+ data.tar.gz: a433e6117c9ce4b27962cfc455c62c26d0a972aa243446ccbdbf9fb31cc1da4b
5
5
  SHA512:
6
- metadata.gz: 7548ccee1ebfce3d323631e4fa705142fd02266d0ca813df27e25a45768e413452f2cdf7e9b1eb7e401abe6c6b5d560e2811f4ddf5eaf877d98b539e8db97bf1
7
- data.tar.gz: bc4238244f8d59528da0d54a3160c0218855054daeacea7fc7c007851ee13c3807a6a2fef8c0be940ae903185924d0c1ad7a169b776a23115749a4b8308dc10d
6
+ metadata.gz: 754f7a608454a16aed92bb900d1be56ce8f660cc0bba8d7287209e0aa20676f67efe6071b377ae6e524d58047b44431f9bb084e01aa480932805196aa5edf7c4
7
+ data.tar.gz: 65f9f9525fd2796fe43a56a0eb447e5b1dbf5c4fab55fe692e5c2d2486feb75cf3a00ec99b41e12f5d4bcf974ad1ce84a890db2417855342afbafa3c3e5a4ede
@@ -52,7 +52,7 @@ module Wework
52
52
  parse_response(response, as || :json) do |parse_as, data|
53
53
  break data unless parse_as == :json
54
54
  result = Wework::Result.new(data)
55
- #Rails.logger.info "[WEWORK] request path(#{url_base}#{path}): #{result.inspect}" if defined?(Rails)
55
+ Rails.logger.debug "[WEWORK] request path(#{url_base}#{path}): #{result.inspect}" if defined?(Rails.logger) && Rails.logger
56
56
  raise AccessTokenExpiredError if result.token_expired?
57
57
  result
58
58
  end
@@ -1,3 +1,3 @@
1
1
  module Wework
2
- VERSION = '1.1.2'.freeze
2
+ VERSION = '1.1.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wework
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - seandong