devise_pam_authenticatable2 6.1.0 → 6.1.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5745cc55b3ccebdf26683d92c40f957763aa11427c857ae389c3a9ab4ff68f6b
4
- data.tar.gz: a6fe0983a958d2e9bacd098d5896eba3af22f4fd7871c23e0f0aa69b335b8361
3
+ metadata.gz: f55e4967e974aa8516eb7b204f8c407a9d5b7989e3227103d0463e1b2055f58e
4
+ data.tar.gz: b079c8ac2d4f75a84f3422464f50f318dbf3049214b075c999158804c3acffcf
5
5
  SHA512:
6
- metadata.gz: 6ff5f1a174b2f0aed9022f6c9ba137fbaa98eec91c168a622773cd702a21b1e1e3092e287d4059961137f8ab7b4b8f246a945fd0bbefac88fa58fdb8a5d413a0
7
- data.tar.gz: 28f19cf3c0d2db216d5671744d5ec8d885d7806b747718169f91db34d47f1f0d6c299a3a4beb03febef903c22a9b5b3533d9a79fd1399bdf8c3d4508cbfe9f54
6
+ metadata.gz: 4ae221343f7f695c24ea84bd29b5df81a757a2127d28342a9f3f54472bdf18d3a2415bceb5a5a8b37b9786ce35d1716a8b6f481e5f299ac482da075178ad0b2c
7
+ data.tar.gz: 9d7a541ebd10f391a423f2124a23869eadb41f4bae46aa0a633badb97671c953e5d862fc90c91f117d161c36b1bf05c016f93f097a6656ca1e08b1fcd405f9ba
data/VERSION CHANGED
@@ -1 +1 @@
1
- 6.1.0
1
+ 6.1.1
@@ -2,11 +2,11 @@
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 6.1.0 ruby lib
5
+ # stub: devise_pam_authenticatable2 6.1.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "devise_pam_authenticatable2".freeze
9
- s.version = "6.1.0"
9
+ s.version = "6.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]
@@ -62,7 +62,7 @@ module Devise
62
62
  module ClassMethods
63
63
  Devise::Models.config(self, :pam_service, :pam_suffix)
64
64
 
65
- def pam_find_user(attributes = {})
65
+ def pam_get_user(attributes = {})
66
66
  if ::Devise.usernamefield && attributes[:username]
67
67
  resource = find_by(::Devise.usernamefield => attributes[:username])
68
68
 
@@ -94,7 +94,7 @@ module Devise
94
94
  def authenticate_with_pam(attributes = {})
95
95
  return nil unless attributes[:password]
96
96
 
97
- return nil unless (resource = pam_find_user(attributes))
97
+ return nil unless (resource = pam_get_user(attributes))
98
98
 
99
99
  # potential conflict detected
100
100
  resource = resource.pam_conflict(attributes) if resource.pam_conflict?
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: 6.1.0
4
+ version: 6.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Wilson