omniauth-myvr 0.1.6 → 0.1.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f6f41f596892ff7c1dcd031e5adc6605a1298d4d
4
- data.tar.gz: 278608d5d34ef9d46c9bfda0e44c763e56a86626
3
+ metadata.gz: 657582c413b288e3234f557fae4245ccad97aae3
4
+ data.tar.gz: c7a81d16ea3634ffaf4a3c8190e72faa00714c63
5
5
  SHA512:
6
- metadata.gz: fd9281699719e33f43b12763b7fc7b3fe269637e8613a0fefc681b6a127ecb38738a923ff4d30fa060f3d01ba3e9131cb7ae195f71d4e310c7c3dbeecf235bba
7
- data.tar.gz: 1552268f0171efdaf3455b8f32e438bc3d6bd3d5f51bd853a55ae34fba5451bbd0f93757522323cdc0f20043cef08a8bd854ed23caa9118a5929bf824c9df031
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
@@ -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"
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.6
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-24 00:00:00.000000000 Z
11
+ date: 2017-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth