fbdoorman 0.8.0.97 → 0.8.0.98

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -18,7 +18,7 @@ Jeweler::Tasks.new do |gem|
18
18
  gem.summary = "Rails authentication with facebook single sign-on OR email & password."
19
19
  gem.description = "Painless user registration and sign-in using Facebook single sign-on with JS. Typical email login still works too."
20
20
  gem.email = "pelaez89@gmail.com"
21
- gem.version = "0.8.0.97"
21
+ gem.version = "0.8.0.98"
22
22
  gem.homepage = "http://github.com/davidpelaez/minifb-clearance"
23
23
  gem.authors = ["Fbdoorman: David Pelaez","MiniFB: Appoxy","Clearance: Thoughtbot"]
24
24
  gem.files = FileList["[A-Z]*", "{app,config,generators,lib,shoulda_macros,rails}/**/*"]
@@ -27,7 +27,8 @@ class Clearance::FacebookController < ApplicationController
27
27
  #Js is informing that the query as cleared
28
28
  def closed
29
29
  sign_out
30
- render :template => "facebook/closed"
30
+ flash[:notice] = translate(:facebook_closed, :default => "Facebook session expired.")
31
+ redirect_to sign_in_path
31
32
  end
32
33
 
33
34
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fbdoorman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0.97
4
+ version: 0.8.0.98
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: