omniauth-myvr 0.0.5 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/example/config.ru +4 -3
- data/lib/omniauth/strategies/myvr.rb +1 -1
- data/omniauth-myvr.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa22a782af077613e8cca5a042a09cc8eb49e743
|
4
|
+
data.tar.gz: 64bd4bebd4bc382852459cffc78c330abceae883
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92e51fe0f9cbe14b953c23de8dfd9d0019e02e833d3b1e421deb96c586a0a7f36de4db224e365124861a15fb63a79514098930df92385849616f69a5005c1f7d
|
7
|
+
data.tar.gz: 953cb77a760df8779c2293dab95d1ea69e7ea79b4a1e8549ce944128ad07d07a5ae50ee82b60bac4519fb9bf2e465bf8d97d8f2e7e36293861262cb1a6bfb03c
|
data/example/config.ru
CHANGED
@@ -8,9 +8,10 @@ require 'sinatra'
|
|
8
8
|
require 'omniauth'
|
9
9
|
require '../lib/omniauth_myvr'
|
10
10
|
|
11
|
-
ENV['BASE_SCOPE_URL']
|
12
|
-
ENV['
|
13
|
-
ENV['
|
11
|
+
ENV['BASE_SCOPE_URL'] = 'http://local.api.myvr.com:8000/auth/'
|
12
|
+
ENV['BASE_SITE'] = 'http://local.api.myvr.com:8000/'
|
13
|
+
ENV['MYVR_KEY'] = '811f088e585dd0e4beaba9e758059f02'
|
14
|
+
ENV['MYVR_SECRET'] = '6e33b7189bc37bdeb571f94c366b6ef5'
|
14
15
|
# Do not use for production code.
|
15
16
|
# This is only to make setup easier when running through the sample.
|
16
17
|
#
|
@@ -30,7 +30,7 @@ module OmniAuth
|
|
30
30
|
option :authorized_client_ids, []
|
31
31
|
|
32
32
|
option :client_options, {
|
33
|
-
:site => 'https://myvr.com/',
|
33
|
+
:site => ENV.fetch('BASE_SITE', 'https://myvr.com/'),
|
34
34
|
:authorize_url => '/connect/oauth/auth',
|
35
35
|
:token_url => '/connect/oauth/token'
|
36
36
|
}
|
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.0.
|
6
|
+
s.version = "0.0.7"
|
7
7
|
s.authors = ["CJ Avilla"]
|
8
8
|
s.email = ["cjavilla@gmail.com"]
|
9
9
|
s.homepage = "https://github.com/w1zeman1p/omniauth-myvr"
|