twitter-auth-with-mongo-mapper 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -2,4 +2,4 @@ TwitterAuth is an awesome gem written by mbleigh, which you can check out [here]
2
2
 
3
3
  MongoMapper is an awesome gem written by jnunemaker, which you can check out [here](http://github.com/jnunemaker).
4
4
 
5
- This was a proof of concept for using them together. Really very little needed to be changed.
5
+ This began as a proof of concept of putting the two together, but it is slowly becoming a full-fledged auth strategy. It's rough and undocumented now, so use at your own risk, but more features and clear documentation are coming.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 9
3
- :major: 0
2
+ :patch: 0
3
+ :major: 1
4
4
  :minor: 0
@@ -58,8 +58,8 @@ class SessionsController < ApplicationController
58
58
  session[:user_id] = @user.id
59
59
  cookies[:remember_token] = { :value => @user.remember_me, :expires => 1.year.from_now}
60
60
  if @user.onboard_status == 2
61
- #onboard_user
62
- authentication_succeeded
61
+ onboard_user
62
+ #authentication_succeeded
63
63
  else
64
64
  authentication_succeeded
65
65
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter-auth-with-mongo-mapper
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
+ - 1
8
9
  - 0
9
- - 9
10
- version: 0.0.9
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Bleigh, Keith Norman and Allison Liechty