any_login 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/any_login.rb +6 -1
- data/lib/any_login/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 777c2dc1222aba1d6d6ea85b46dfb1b47da43e449e6522426756ffcbf7e965f7
|
4
|
+
data.tar.gz: 91c5e4da0d91ecf7d7ebe3cd2eb77cf05fcd8e6ac17bc88ee54b2ef5cb08f7cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4bde15aaec63b378218426637df030bf262256ef4450fad4d9d51e71fb36e4694ef9fde3965e1f64b19cc3f9d78b59172977f6a37d27c61454bf0eff4bb52f8
|
7
|
+
data.tar.gz: 759e08b870d934eec9dc94da2cb6632c555010ddee5a46558d7513f48ba895a1612803536f959c1ac2b58edf7044f0898a4616b7b1b77d2ba76b505274ece7dc
|
data/lib/any_login.rb
CHANGED
@@ -94,7 +94,12 @@ module AnyLogin
|
|
94
94
|
end
|
95
95
|
|
96
96
|
def self.cookie_name
|
97
|
-
|
97
|
+
module_parent_name = if Rails::VERSION::MAJOR >= 6
|
98
|
+
Rails.application.class.module_parent_name
|
99
|
+
else
|
100
|
+
Rails.application.class.parent_name
|
101
|
+
end
|
102
|
+
"any_login_previous_#{module_parent_name}".underscore
|
98
103
|
end
|
99
104
|
|
100
105
|
private
|
data/lib/any_login/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: any_login
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Kasyanchuk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|