so_auth 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -4
- data/lib/so_auth/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfdef09d9fb0c0082ee582c2f7ee8383c31f5633
|
4
|
+
data.tar.gz: cdb8dea01c342bb039d33855d7a5720e4ad81e4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42a84e375d81ed9ee39ec06684d2c3c7a1fbbe99121005c3935b75107ca6ec1869cde6c62794e508ffbbea39e353bfbf8f33ace7177bed3db7e250a9de360954
|
7
|
+
data.tar.gz: d617c27bf071aef8e8fb8411e0b5fa58104cc17081830500e405fa897aa8d40abd8f78d0f5153b5fbfafe65166f4cd60761f8607fd2b9951192b320df71ab112
|
data/README.md
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
# SoAuth
|
2
2
|
|
3
3
|
A Rails engine that makes it easy to delegate authentication for a Rails
|
4
|
-
site to
|
4
|
+
site to
|
5
|
+
[SoAuthProvider](https://github.com/jagthedrummer/so_auth_provider).
|
6
|
+
See the [SoAuthClient](https://github.com/jagthedrummer/so_auth_client)
|
7
|
+
project for an example of using this gem.
|
8
|
+
|
9
|
+
See [http://www.octolabs.com/so-auth](http://www.octolabs.com/so-auth)
|
10
|
+
for more details.
|
5
11
|
|
6
12
|
|
7
13
|
Usage
|
@@ -13,7 +19,7 @@ Usage
|
|
13
19
|
gem 'so_auth'
|
14
20
|
```
|
15
21
|
|
16
|
-
## Generate an
|
22
|
+
## Generate an initializer
|
17
23
|
|
18
24
|
Run this command
|
19
25
|
|
@@ -35,7 +41,7 @@ probably be `http://localhost:3000/oauth/applications`.
|
|
35
41
|
|
36
42
|
Create a new application, and set the callback URL to
|
37
43
|
`http://localhost:3001/auth/so/callback`. Change the port if you
|
38
|
-
plan to run your client app on a
|
44
|
+
plan to run your client app on a different port. (See the optional
|
39
45
|
section below.)
|
40
46
|
|
41
47
|
After creating the app make note of the Application Id and the
|
@@ -73,7 +79,7 @@ rake db:migrate; rake db:test:prepare
|
|
73
79
|
|
74
80
|
## Update `ApplicationController`
|
75
81
|
|
76
|
-
Change your `ApplicationController` to
|
82
|
+
Change your `ApplicationController` to inherit from
|
77
83
|
`SoAuth::ApplicationController`. The first line should look like this.
|
78
84
|
|
79
85
|
```ruby
|
data/lib/so_auth/version.rb
CHANGED
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: so_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Green
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 4.0.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 4.0.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
150
|
version: '0'
|
151
151
|
requirements: []
|
152
152
|
rubyforge_project:
|
153
|
-
rubygems_version: 2.2.
|
153
|
+
rubygems_version: 2.2.2
|
154
154
|
signing_key:
|
155
155
|
specification_version: 4
|
156
156
|
summary: A gem that allows a Rails app to be an client of SoAuthProvider.
|