loyal_devise 2.1.3 → 2.1.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/lib/devise/controllers/helpers.rb +1 -1
- data/loyal_devise.gemspec +1 -1
- metadata +3 -2
@@ -272,7 +272,7 @@ module Devise
|
|
272
272
|
# Overwrite Rails' handle unverified request to sign out all scopes,
|
273
273
|
# clear run strategies and remove cached variables.
|
274
274
|
def handle_unverified_request
|
275
|
-
if
|
275
|
+
if signed_in??
|
276
276
|
sign_out_all_scopes(false)
|
277
277
|
request.env["devise.skip_storage"] = true
|
278
278
|
expire_devise_cached_variables!
|
data/loyal_devise.gemspec
CHANGED
@@ -5,7 +5,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "loyal_devise"
|
7
7
|
# s.version = Devise::VERSION.dup
|
8
|
-
s.version = '2.1.
|
8
|
+
s.version = '2.1.4'
|
9
9
|
s.platform = Gem::Platform::RUBY
|
10
10
|
s.licenses = ["MIT"]
|
11
11
|
s.summary = "Flexible authentication solution for Rails with Warden"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: loyal_devise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: warden
|
@@ -443,3 +443,4 @@ test_files:
|
|
443
443
|
- test/test_helper.rb
|
444
444
|
- test/test_helpers_test.rb
|
445
445
|
- test/test_models.rb
|
446
|
+
has_rdoc:
|