omniauth-outrightmental 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
[![Build Status](https://travis-ci.org/outrightmental/omniauth-outrightmental.svg)](https://travis-ci.org/outrightmental/omniauth-outrightmental)
|
1
|
+
[![Build Status](https://travis-ci.org/outrightmental/omniauth-outrightmental.svg)](https://travis-ci.org/outrightmental/omniauth-outrightmental) [![Gem Version](https://badge.fury.io/rb/omniauth-outrightmental.svg)](http://badge.fury.io/rb/omniauth-outrightmental)
|
2
2
|
|
3
3
|
# OmniAuth: Outright Mental Inc.
|
4
4
|
|
5
|
-
This is the official OmniAuth strategy for authenticating to Outright Mental Inc. To use it, you'll need to have a partner account- probably because we're building something together. Then just sign in and create an OAuth2 Application ID and Secret
|
5
|
+
This is the official OmniAuth strategy for authenticating to [Outright Mental Inc.](http://www.outrightmental.com/) To use it, you'll need to have a partner account- probably because we're building something together. Then just sign in and create an OAuth2 Application ID and Secret
|
6
6
|
on the [Applications Page](https://ont.io/#/settings/applications).
|
7
7
|
|
8
8
|
## Basic Usage
|
@@ -4,7 +4,7 @@ module OmniAuth
|
|
4
4
|
module Strategies
|
5
5
|
class OutrightMental < OmniAuth::Strategies::OAuth2
|
6
6
|
option :client_options, {
|
7
|
-
:site => 'https://ont.io/
|
7
|
+
:site => 'https://ont.io/',
|
8
8
|
:authorize_url => 'https://ont.io/login/oauth/authorize',
|
9
9
|
:token_url => 'https://ont.io/login/oauth/access_token'
|
10
10
|
}
|
@@ -5,7 +5,7 @@ Gem::Specification.new do |gem|
|
|
5
5
|
gem.authors = ["Outright Mental Inc."]
|
6
6
|
gem.email = ["charney@ont.io"]
|
7
7
|
gem.description = %q{Official OmniAuth strategy for Outright Mental Inc.}
|
8
|
-
gem.summary = %q{
|
8
|
+
gem.summary = %q{Login with Outright Mental in order to experience our media.}
|
9
9
|
gem.homepage = "https://github.com/outrightmental/omniauth-outrightmental"
|
10
10
|
gem.license = "MIT"
|
11
11
|
|
@@ -30,7 +30,7 @@ describe OmniAuth::Strategies::OutrightMental do
|
|
30
30
|
|
31
31
|
context "client options" do
|
32
32
|
it 'should have correct site' do
|
33
|
-
subject.options.client_options.site.should eq("https://ont.io/
|
33
|
+
subject.options.client_options.site.should eq("https://ont.io/")
|
34
34
|
end
|
35
35
|
|
36
36
|
it 'should have correct authorize url' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-outrightmental
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-05-
|
12
|
+
date: 2015-05-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omniauth
|
@@ -157,5 +157,5 @@ rubyforge_project:
|
|
157
157
|
rubygems_version: 1.8.23
|
158
158
|
signing_key:
|
159
159
|
specification_version: 3
|
160
|
-
summary:
|
160
|
+
summary: Login with Outright Mental in order to experience our media.
|
161
161
|
test_files: []
|