omniauth-myvr 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth/strategies/myvr.rb +6 -0
- data/omniauth-myvr.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 657582c413b288e3234f557fae4245ccad97aae3
|
4
|
+
data.tar.gz: c7a81d16ea3634ffaf4a3c8190e72faa00714c63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd0fdb6fb8c5d3936defd436783bc432323e750a389fd2f3a8e9f80c41022e5bfbb49de94f41bad7df572324975867feebf39a99fc289e48159ee0552067c7cd
|
7
|
+
data.tar.gz: 21a9a3453f7fe38a4d2f5f41aedde44e8fda4cd04037a4e1ccb60414a1db9fefbd7c7ca0c74a14b0a573b0459dcf5140c6ce13697d377dee379c9a272b51dcc8
|
@@ -37,6 +37,12 @@ module OmniAuth
|
|
37
37
|
verifier = request.params['code']
|
38
38
|
client.auth_code.get_token(verifier, token_params)
|
39
39
|
end
|
40
|
+
|
41
|
+
# Fixes regression in omniauth-oauth2 v1.4.0 by
|
42
|
+
# https://github.com/intridea/omniauth-oauth2/commit/85fdbe117c2a4400d001a6368cc359d88f40abc7
|
43
|
+
def callback_url
|
44
|
+
options[:redirect_uri] || (full_host + script_name + callback_path)
|
45
|
+
end
|
40
46
|
end
|
41
47
|
end
|
42
48
|
end
|
data/omniauth-myvr.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "omniauth-myvr"
|
6
|
-
s.version = "0.1.
|
6
|
+
s.version = "0.1.7"
|
7
7
|
s.authors = ["CJ Avilla"]
|
8
8
|
s.email = ["cjavilla@gmail.com"]
|
9
9
|
s.homepage = "https://github.com/w1zeman1p/omniauth-myvr"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-myvr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CJ Avilla
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|