pipa-authmagic 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.rdoc CHANGED
@@ -6,16 +6,10 @@ Introduction goes here.
6
6
  Installation
7
7
  ============
8
8
 
9
- script/plugin install git://github.com/pipa/authmagic.git
10
-
11
- or
12
-
13
- git submodule add git://github.com/pipa/authmagic.git vendor/plugins/authmagic
9
+ Nonono don't do that, that makes shit. Come back later.
14
10
 
15
11
  Example
16
12
  =======
17
- BROKEN
18
- script/generate authmagic user
19
13
 
20
14
 
21
15
  Copyright (c) 2008 Igor Gunko, released under the MIT license
@@ -96,7 +96,8 @@ module Authmagic
96
96
  end
97
97
 
98
98
  def redirect_back(default = nil)
99
- redirect_to(session[:back_url] || default)
99
+ u, session[:back_url] = session[:back_url], nil
100
+ redirect_to(u || default)
100
101
  end
101
102
  end
102
103
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pipa-authmagic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Gunko
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-01-06 00:00:00 -08:00
12
+ date: 2009-01-16 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency