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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56cb77f404bc5d32a123bdaea880909fcdac8e50b7f66d7288bde77cc43d4cd0
4
- data.tar.gz: 761a17df931637c5d4984c1fef6bb47d0bca86c347becef5459a55836a4a04cd
3
+ metadata.gz: 7b5a2e95cd38e325b6555a0e01abdd750f547d08b1a0f245160a802c56b3bbeb
4
+ data.tar.gz: 66851cb9018a91f8baa9352f4afefc5b893d6844a29d92efdbc1dfb8ff666c20
5
5
  SHA512:
6
- metadata.gz: 04d2b020a01a224968907a211cf8707bb23af5d92abe7a4ef88d2a04a037c05e6301fc565279e5886c3e44c76a9e61fdb7ba57b1dedad9f52818e548f435cbf2
7
- data.tar.gz: a2679852f5609cb0fa358feea1314a9ec4b0c57846e8a5467e26547339e95a6bf43e0db4fe17524523966368dc8cf0b72225743a288c457c35c988ba7f9fd411
6
+ metadata.gz: ccdef9da289a501329681458a59660c5c5e41bca7b5befa1c78d5d64ad159951be6605dee797f0d133a7edb4d458bd4671daec7d2256c136e7e81d88b3d04abf
7
+ data.tar.gz: 4810a70d54e7625214ab915fb6aaf446a7f78aad9c1a87af9ea9b499e9ad4ab3b9e76953623bab9dfb9ac15dac2ffb30c4736af4d84b0b16e1948ba6e77fe33f
data/VERSION CHANGED
@@ -1 +1 @@
1
- 9.1.0
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.0 ruby lib
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.0"
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-03-23"
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.6.13".freeze
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
- return nil if !pos || email.count('\n') > 1
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.0
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-03-23 00:00:00.000000000 Z
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.6
78
+ rubygems_version: 2.7.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Devise PAM authentication module using rpam2