omniauth-calendly 0.2.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/omniauth-calendly/version.rb +1 -1
- data/lib/omniauth/strategies/calendly.rb +6 -9
- data/omniauth-calendly.gemspec +2 -1
- metadata +21 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 15913053fa70f43d59d3e874f951b5057ecc6b531cb25d628ebb192178b6c4ca
|
|
4
|
+
data.tar.gz: ef0b050b19059c0df95437d64b56118f34cf7c133bd21738c0c4dcce6e15e5e5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 36c978e06142fad9de5af3240bc54f2a7b9fda80e4df90407b4decafd1f98c395e5516a4e7ad28754b571a5236b0eb55ec0ae70b3dc08b0f34d2b8034f6f3070
|
|
7
|
+
data.tar.gz: 8c0ace6f1eef3923eb72de2b1f82ef3a3cdb8dcd20b2935a999885095a0edc5e11a5d6df3dab9a3afbc3397b27ab7eb3613e4b85ae68086feb69236632d6362d
|
data/CHANGELOG.md
CHANGED
|
@@ -22,23 +22,20 @@ 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 + script_name + callback_path
|
|
27
|
-
end
|
|
28
|
-
|
|
29
25
|
def extract_uid
|
|
30
|
-
|
|
31
|
-
return unless
|
|
32
|
-
return unless raw_info['resource']
|
|
33
|
-
return unless raw_info['resource']['uri']
|
|
26
|
+
uri = raw_info.dig('resource', 'uri')
|
|
27
|
+
return unless uri
|
|
34
28
|
|
|
35
|
-
uri = raw_info['resource']['uri']
|
|
36
29
|
re = /\A#{USER_API_URL}(.+)\z/
|
|
37
30
|
m = re.match uri
|
|
38
31
|
return if m.nil?
|
|
39
32
|
|
|
40
33
|
m[1]
|
|
41
34
|
end
|
|
35
|
+
|
|
36
|
+
def callback_url
|
|
37
|
+
full_host + callback_path
|
|
38
|
+
end
|
|
42
39
|
end
|
|
43
40
|
end
|
|
44
41
|
end
|
data/omniauth-calendly.gemspec
CHANGED
|
@@ -28,7 +28,8 @@ Gem::Specification.new do |spec|
|
|
|
28
28
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
29
29
|
spec.require_paths = ['lib']
|
|
30
30
|
|
|
31
|
-
spec.add_runtime_dependency 'omniauth
|
|
31
|
+
spec.add_runtime_dependency 'omniauth', '~> 2.0'
|
|
32
|
+
spec.add_runtime_dependency 'omniauth-oauth2', '~> 1.7.1'
|
|
32
33
|
|
|
33
34
|
spec.add_development_dependency 'bundler'
|
|
34
35
|
spec.add_development_dependency 'codecov'
|
metadata
CHANGED
|
@@ -1,29 +1,43 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-calendly
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kenji Koshikawa
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-03-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: omniauth
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '2.0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '2.0'
|
|
13
27
|
- !ruby/object:Gem::Dependency
|
|
14
28
|
name: omniauth-oauth2
|
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
|
16
30
|
requirements:
|
|
17
|
-
- - "
|
|
31
|
+
- - "~>"
|
|
18
32
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 1.
|
|
33
|
+
version: 1.7.1
|
|
20
34
|
type: :runtime
|
|
21
35
|
prerelease: false
|
|
22
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
37
|
requirements:
|
|
24
|
-
- - "
|
|
38
|
+
- - "~>"
|
|
25
39
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 1.
|
|
40
|
+
version: 1.7.1
|
|
27
41
|
- !ruby/object:Gem::Dependency
|
|
28
42
|
name: bundler
|
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -166,7 +180,7 @@ metadata:
|
|
|
166
180
|
homepage_uri: https://github.com/koshilife/omniauth-calendly
|
|
167
181
|
source_code_uri: https://github.com/koshilife/omniauth-calendly
|
|
168
182
|
changelog_uri: https://github.com/koshilife/omniauth-calendly/blob/master/CHANGELOG.md
|
|
169
|
-
documentation_uri: https://www.rubydoc.info/gems/omniauth-calendly/0.
|
|
183
|
+
documentation_uri: https://www.rubydoc.info/gems/omniauth-calendly/1.0.3
|
|
170
184
|
post_install_message:
|
|
171
185
|
rdoc_options: []
|
|
172
186
|
require_paths:
|