techlahoma_auth 0.0.2 → 0.0.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6578ceaa61bcc290fefd38b48327886428873486
|
4
|
+
data.tar.gz: 6ed620916296dc02f2cb7b1676bf8faa89eb5e07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9376e8bfd1f52008cad7925178f2de349424f42c4e1360f3a135447c20de81e7483542e5ae3f3442dda0975b2f2bf225a2a96cd06a12a8724f299dfbc21f201a
|
7
|
+
data.tar.gz: 2a11a981762240d8d03067101a6c42d16bbcb8b81c668d77bda003dd9ca56e41b984a841049437592b49984e6fb77c80d8c946493c838fa636e326b613dfa549
|
@@ -4,5 +4,5 @@ APP_ID = ENV['AUTH_PROVIDER_APPLICATION_ID'] || "not_a_real_id"
|
|
4
4
|
APP_SECRET = ENV['AUTH_PROVIDER_SECRET'] || "not_a_real_secret"
|
5
5
|
|
6
6
|
Rails.application.config.middleware.use OmniAuth::Builder do
|
7
|
-
provider :
|
7
|
+
provider :techlahoma, APP_ID, APP_SECRET
|
8
8
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'omniauth-oauth2'
|
2
2
|
module OmniAuth
|
3
3
|
module Strategies
|
4
|
-
class
|
4
|
+
class Techlahoma < OmniAuth::Strategies::OAuth2
|
5
5
|
|
6
6
|
CUSTOM_PROVIDER_URL = ENV['AUTH_PROVIDER_URL'] || "http://custom-provider-goes-here"
|
7
7
|
CUSTOM_PROVIDER_ME_URL = ENV['AUTH_PROVIDER_ME_URL'] || "/oauth/me.json"
|
data/lib/techlahoma_auth.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: techlahoma_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Green
|
@@ -125,7 +125,7 @@ files:
|
|
125
125
|
- lib/generators/techlahoma_auth/install/USAGE
|
126
126
|
- lib/generators/techlahoma_auth/install/install_generator.rb
|
127
127
|
- lib/generators/techlahoma_auth/install/templates/omniauth.rb
|
128
|
-
- lib/omniauth/strategies/
|
128
|
+
- lib/omniauth/strategies/techlahoma.rb
|
129
129
|
- lib/tasks/cucumber.rake
|
130
130
|
- lib/tasks/techlahoma_auth_tasks.rake
|
131
131
|
- lib/techlahoma_auth.rb
|