omniauth-calendly 1.0.0 → 1.0.1

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: 00d5fefb7352e94038ea44123d0782214eb37b75003ca5a8cd97c456f46955eb
4
- data.tar.gz: ea79fdd4f4d5673a8b4c2cab5869317e803dcba606add68750fec9772ce281f8
3
+ metadata.gz: 3804ce4c2555178e4a761670ff70e5d53fc8919d97b6dbf23cdbbce708a3aab2
4
+ data.tar.gz: 79209555ce2dcad9b0d3c84e27612ce8abae35126e79d7a163c20a2f496b20db
5
5
  SHA512:
6
- metadata.gz: abb3fc2786daf892bb8c7a6eb913b5fe73b9a6b52966366054bb999fadf5bf761c876c21396574f6f0fbd98a91e651664107a9406c5dbc90efc5e374810fce6d
7
- data.tar.gz: e8e8e4731de4650c19e22dbc0e543b906ea12b1fab2b0aa32bbd887d8ecd0c9668113cdc398ca133aed14a701f89f8e0c315c9a0bac7a4ee60a48fd030c0008f
6
+ metadata.gz: e968601d6076fda3bc645d3c3a6d1ea3f89b5a323f34e942ea1c6f2b2e9cd8a1113f57e6f385b4ca7deb6bddf927e391a2d62efcc1f9dc0051235ea0554c065c
7
+ data.tar.gz: 7020ced4b3ae14451b7bbf5a815479bfe0a95151bbcd6e6a6f9a599837f06e8ca4e16e1c0573eff84d50e0469ec06bfdcc9f3dfb3a8fddadad24fdf74c3e24a7
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module Calendly
5
- VERSION = '1.0.0'
5
+ VERSION = '1.0.1'
6
6
  end
7
7
  end
@@ -22,13 +22,8 @@ module OmniAuth
22
22
  @raw_info = access_token.get("#{USER_API_URL}me").parsed
23
23
  end
24
24
 
25
- def callback_url
26
- full_host + callback_path
27
- end
28
-
29
25
  def extract_uid
30
- user_info = raw_info
31
- return unless user_info
26
+ return unless raw_info
32
27
  return unless raw_info['resource']
33
28
  return unless raw_info['resource']['uri']
34
29
 
@@ -39,6 +34,10 @@ module OmniAuth
39
34
 
40
35
  m[1]
41
36
  end
37
+
38
+ def callback_url
39
+ full_host + callback_path
40
+ end
42
41
  end
43
42
  end
44
43
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-calendly
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenji Koshikawa
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-03 00:00:00.000000000 Z
11
+ date: 2021-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth
@@ -180,7 +180,7 @@ metadata:
180
180
  homepage_uri: https://github.com/koshilife/omniauth-calendly
181
181
  source_code_uri: https://github.com/koshilife/omniauth-calendly
182
182
  changelog_uri: https://github.com/koshilife/omniauth-calendly/blob/master/CHANGELOG.md
183
- documentation_uri: https://www.rubydoc.info/gems/omniauth-calendly/1.0.0
183
+ documentation_uri: https://www.rubydoc.info/gems/omniauth-calendly/1.0.1
184
184
  post_install_message:
185
185
  rdoc_options: []
186
186
  require_paths: