devise_ldap_authenticatable 0.4.1 → 0.4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.md +1 -1
- data/VERSION +1 -1
- data/devise_ldap_authenticatable.gemspec +2 -2
- data/lib/devise_ldap_authenticatable/ldap_adapter.rb +1 -1
- data/lib/devise_ldap_authenticatable/version.rb +1 -1
- metadata +4 -3
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -28,7 +28,7 @@ This will *only* work for Rails 3 applications.
|
|
28
28
|
In the Gemfile for your application:
|
29
29
|
|
30
30
|
gem "devise", "1.1.rc2"
|
31
|
-
gem "devise_ldap_authenticatable", "0.4.
|
31
|
+
gem "devise_ldap_authenticatable", "0.4.1"
|
32
32
|
|
33
33
|
To get the latest version, pull directly from github instead of the gem:
|
34
34
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.1
|
1
|
+
0.4.1.1
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{devise_ldap_authenticatable}
|
8
|
-
s.version = "0.4.1"
|
8
|
+
s.version = "0.4.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Curtis Schiewek"]
|
12
|
-
s.date = %q{2010-08-
|
12
|
+
s.date = %q{2010-08-02}
|
13
13
|
s.description = %q{LDAP authentication module for Devise}
|
14
14
|
s.email = %q{curtis.schiewek@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -6,7 +6,7 @@ module Devise
|
|
6
6
|
|
7
7
|
def self.valid_credentials?(login, password_plaintext)
|
8
8
|
options = {:login => login, :password => password_plaintext}
|
9
|
-
options.merge({ :admin => true }) if ::Devise.ldap_use_admin_to_bind
|
9
|
+
options.merge!({ :admin => true }) if ::Devise.ldap_use_admin_to_bind
|
10
10
|
resource = LdapConnect.new(options)
|
11
11
|
resource.authorized?
|
12
12
|
end
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise_ldap_authenticatable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 105
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
9
|
- 1
|
10
|
-
|
10
|
+
- 1
|
11
|
+
version: 0.4.1.1
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- Curtis Schiewek
|
@@ -15,7 +16,7 @@ autorequire:
|
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date: 2010-08-
|
19
|
+
date: 2010-08-02 00:00:00 -04:00
|
19
20
|
default_executable:
|
20
21
|
dependencies:
|
21
22
|
- !ruby/object:Gem::Dependency
|