devise-naught_authentication 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -23,11 +23,12 @@ I'm now able to turn on a special session controller that our client which is do
23
23
  a api-server credential that can be re-used.
24
24
 
25
25
 
26
- devise_for :users, path_names: {sign_in: ''}, controllers: {sessions: "accounts"}, only: :sessions, path: 'account'
26
+ devise_for :users, :skip => [:sessions]
27
27
 
28
- Our sessions controller will farm out user exchange to another system and is used to negoitate a session token.
28
+ Our Accounts controller will farm out user exchange to another system and is used to negoitate a session token - it can use
29
+ devise to 'sign_in @user' without devise messing about in the routes
29
30
 
30
- class AccountsController < Devise::SessionsController
31
+ class AccountsController < AccountController
31
32
  def create
32
33
  end
33
34
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "devise-naught_authentication"
8
- s.version = "0.1.4"
8
+ s.version = "0.1.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Curtis9"]
@@ -3,5 +3,5 @@ Devise.add_module :naught_authentication,
3
3
  :model => 'devise/naught_authentication/model',
4
4
  :strategy => true,
5
5
  :controller => :sessions,
6
- :route => {:session => [:create]}
6
+ :route => :sessions
7
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise-naught_authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -130,7 +130,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
130
130
  version: '0'
131
131
  segments:
132
132
  - 0
133
- hash: -3262730705071926365
133
+ hash: 531987275081334145
134
134
  required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  none: false
136
136
  requirements: