just_open_id 0.0.3 → 0.0.4

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 CHANGED
@@ -34,4 +34,13 @@ config/initializers/just_open_id.rb
34
34
 
35
35
  Notes:
36
36
 
37
- If you are looking for the route that maps "/auth/open_id", it is hard to find. It is comes as part of omniauth and does not show up in `rake routes`.
37
+ If you are looking for the route that maps "/auth/open_id", it is hard to find. It is comes as part of omniauth and does not show up in `rake routes`.
38
+
39
+ Filters:
40
+
41
+ You get the following filters for controllers:
42
+ -require_user
43
+ -current_user
44
+
45
+ Heroku:
46
+ This works on Heroku, but it is using the ./tmp dir.
@@ -19,7 +19,7 @@ class ActionController::Base
19
19
 
20
20
  def deny_access
21
21
  store_location
22
- redirect_to login_path
22
+ redirect_to '/auth/open_id'
23
23
  end
24
24
 
25
25
  def current_user
@@ -1,3 +1,3 @@
1
1
  module JustOpenId
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: just_open_id
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jody Alkema
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-09 00:00:00 -08:00
18
+ date: 2011-01-10 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency