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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c1c83d612d11500b8eab232e27f04c0f2c9f4fda
4
- data.tar.gz: cb1454846da86dad3df714b067a21f5d5e433087
3
+ metadata.gz: fa22a782af077613e8cca5a042a09cc8eb49e743
4
+ data.tar.gz: 64bd4bebd4bc382852459cffc78c330abceae883
5
5
  SHA512:
6
- metadata.gz: 9c89e958da41a0cc76b945f328cf9ccd91cde42fde02f5e0064203eb0ff799acf031864c22a97dbc947bd05cf9fff3c729cf9f000601ac2057f272e2f8226d3d
7
- data.tar.gz: 43ec194ad4b38884721bb6b32634106e2304657c7171c7c81fb21c7acd054c3de61d6e5696aa596a90120520bc1ba64b773750997acd4257ad990ca0bb781cb4
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'] ||= 'http://local.api.myvr.com:8000/auth/'
12
- ENV['MYVR_KEY'] ||= '811f088e585dd0e4beaba9e758059f02'
13
- ENV['MYVR_SECRET'] ||= '6e33b7189bc37bdeb571f94c366b6ef5'
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
  }
@@ -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.5"
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"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-myvr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - CJ Avilla