user_authentication 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b82e194cda8c1e163a1cf4e5bf41b9f8947720ed
4
- data.tar.gz: b2e73713043f9b7ae1d42b6618686163918a533e
3
+ metadata.gz: 57e9ba4daaad1b708937f87ff438dd0d0a1b353f
4
+ data.tar.gz: 729a910c66b5e0dab1797b2510cec2c86b91be38
5
5
  SHA512:
6
- metadata.gz: 2dd15417e7824f50515aefd3f9de9ad86ab384ed2f179bf9a32dce7c891d02fa8b910845e9b0a9ddae1036dee2052e905c9b7f79e2392ca2df3dcbde611758f3
7
- data.tar.gz: 4eb8b3e65fab301ccf7b986c8cff5e5f3b9a6260143ddd19ee5dabb780293053ad7df07860021f2b3baf7b041fdc4c7353f8936734e5bf9164ea0828ad2c4a74
6
+ metadata.gz: 3005e24b0eff3e478813c1e00ef46a3c450196459161f70800e04d5e5a66c315b103ca4cb769e4493886f9d082a9ca6f649aa3f9402194c76f9740b90e889ce1
7
+ data.tar.gz: ed2f71e9e14824b5432191eae842a605b703634858d04317bc2b865c33aa5fab7fc73749c59eee05ab98be31a91a2cf1c6e8b1179eb0f8aa63efa74b8e7b731e
@@ -2,8 +2,8 @@ class AccountsController < ApplicationController
2
2
  before_filter :authorize, only: [:do_set_password]
3
3
 
4
4
  def login
5
- template = File.join Rails.root, 'app/views/accounts/login'
6
- if File.exists? template
5
+ template = 'accounts/login'
6
+ if lookup_context.exists? template
7
7
  render template
8
8
  else
9
9
  render 'accounts/default_login'
@@ -41,8 +41,8 @@ class AccountsController < ApplicationController
41
41
 
42
42
 
43
43
  def signup
44
- template = File.join Rails.root, 'app/views/accounts/signup'
45
- if File.exists? template
44
+ template = 'accounts/signup'
45
+ if lookup_context.exists? template
46
46
  render template
47
47
  else
48
48
  render 'accounts/default_signup'
@@ -1,3 +1,3 @@
1
1
  module UserAuthentication
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
3
3
  end
@@ -0,0 +1,3 @@
1
+ module UserAuthentication
2
+ VERSION = '1.2.1'
3
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: user_authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sujoy Gupta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-25 00:00:00.000000000 Z
11
+ date: 2015-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -160,6 +160,7 @@ files:
160
160
  - lib/tasks/user_authentication_tasks.rake
161
161
  - lib/user_authentication.rb
162
162
  - lib/user_authentication/version.rb
163
+ - lib/user_authentication/version.rb~
163
164
  homepage: http://github.com/sujoyg/user_authentication
164
165
  licenses:
165
166
  - MIT