devise_pam_authenticatable2 9.1.0 → 9.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/devise_pam_authenticatable2.gemspec +4 -4
- data/lib/devise_pam_authenticatable/model.rb +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b5a2e95cd38e325b6555a0e01abdd750f547d08b1a0f245160a802c56b3bbeb
|
4
|
+
data.tar.gz: 66851cb9018a91f8baa9352f4afefc5b893d6844a29d92efdbc1dfb8ff666c20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccdef9da289a501329681458a59660c5c5e41bca7b5befa1c78d5d64ad159951be6605dee797f0d133a7edb4d458bd4671daec7d2256c136e7e81d88b3d04abf
|
7
|
+
data.tar.gz: 4810a70d54e7625214ab915fb6aaf446a7f78aad9c1a87af9ea9b499e9ad4ab3b9e76953623bab9dfb9ac15dac2ffb30c4736af4d84b0b16e1948ba6e77fe33f
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
9.1.
|
1
|
+
9.1.1
|
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: devise_pam_authenticatable2 9.1.
|
5
|
+
# stub: devise_pam_authenticatable2 9.1.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "devise_pam_authenticatable2".freeze
|
9
|
-
s.version = "9.1.
|
9
|
+
s.version = "9.1.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["James Wilson".freeze, "Alexander Kaftan".freeze]
|
14
|
-
s.date = "2018-
|
14
|
+
s.date = "2018-08-24"
|
15
15
|
s.description = "For authenticating against PAM (Pluggable Authentication Modules)".freeze
|
16
16
|
s.email = "devkral@web.de".freeze
|
17
17
|
s.extra_rdoc_files = [
|
@@ -30,7 +30,7 @@ Gem::Specification.new do |s|
|
|
30
30
|
]
|
31
31
|
s.homepage = "http://github.com/devkral/devise_pam_authenticatable2".freeze
|
32
32
|
s.licenses = ["MIT".freeze]
|
33
|
-
s.rubygems_version = "2.
|
33
|
+
s.rubygems_version = "2.7.3".freeze
|
34
34
|
s.summary = "Devise PAM authentication module using rpam2".freeze
|
35
35
|
|
36
36
|
if s.respond_to? :specification_version then
|
@@ -22,7 +22,8 @@ module Devise
|
|
22
22
|
pos = email.index("@#{suffix}\n")
|
23
23
|
# deceptive emailaddresses use newlines, so check this here
|
24
24
|
# and return nil in case another newline is found.
|
25
|
-
|
25
|
+
# warning: don't try to optimize with '' \n. Escapes doesn't work in ''
|
26
|
+
return nil if !pos || email.count("\n") > 1
|
26
27
|
email.slice(0, pos)
|
27
28
|
end
|
28
29
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise_pam_authenticatable2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.1.
|
4
|
+
version: 9.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Wilson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-08-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: devise
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.7.
|
78
|
+
rubygems_version: 2.7.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Devise PAM authentication module using rpam2
|