omniauth-zoom 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/gem-push.yml +1 -0
- data/CHANGELOG.md +4 -0
- data/lib/omniauth-zoom/version.rb +1 -1
- data/lib/omniauth/strategies/zoom.rb +4 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 703cf57a67ac95c78f70ed144d8702d813ee097a9120f743719dc2db46340f8e
|
4
|
+
data.tar.gz: 401f9a4a02c1f68809ba34329c3641198e94ffd9d03c574a1aa47e2c8bf5ff93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b52c52705950e54d4535396b5785b0ec29f9ab6baf6dc75630d2f518705d00c33510f0dff3054c4b78577765e78e32c7ddc5823540530a234cff246303623d59
|
7
|
+
data.tar.gz: f190110083b0589a9e8bf9db2102f6ac1d0d60ee6ea1430f67799fa71f436c3e533abe8ccf42a4c485e630ad2877df927320aca76eac649b385e3d6c64bc77b8
|
data/CHANGELOG.md
CHANGED
@@ -36,7 +36,10 @@ module OmniAuth
|
|
36
36
|
return @raw_info if defined?(@raw_info)
|
37
37
|
|
38
38
|
@raw_info = access_token.get('/v2/users/me').parsed || {}
|
39
|
-
rescue
|
39
|
+
rescue ::OAuth2::Error => e
|
40
|
+
raise e unless e.response.status == 400
|
41
|
+
|
42
|
+
# in case of missing a scope for reading current user info
|
40
43
|
log(:error, "#{e.class} occured. message:#{e.message}")
|
41
44
|
@raw_info = {}
|
42
45
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-zoom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kenji Koshikawa
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth2
|
@@ -194,7 +194,7 @@ metadata:
|
|
194
194
|
homepage_uri: https://github.com/koshilife/omniauth-zoom
|
195
195
|
source_code_uri: https://github.com/koshilife/omniauth-zoom
|
196
196
|
changelog_uri: https://github.com/koshilife/omniauth-zoom/blob/master/CHANGELOG.md
|
197
|
-
documentation_uri: https://www.rubydoc.info/gems/omniauth-zoom/0.1.
|
197
|
+
documentation_uri: https://www.rubydoc.info/gems/omniauth-zoom/0.1.2
|
198
198
|
post_install_message:
|
199
199
|
rdoc_options: []
|
200
200
|
require_paths:
|