devise_ldap_authenticatable 0.4.6 → 0.4.7

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.
data/README.md CHANGED
@@ -19,8 +19,8 @@ Requirements
19
19
 
20
20
  These gems are dependencies of the gem:
21
21
 
22
- - Devise 1.1.2
23
- - net-ldap 0.1.1
22
+ - Devise 1.4.0
23
+ - net-ldap 0.2.2
24
24
 
25
25
  Installation
26
26
  ------------
@@ -31,7 +31,7 @@ This will *only* work for Rails 3 applications.
31
31
 
32
32
  In the Gemfile for your application:
33
33
 
34
- gem "devise", "1.1.2"
34
+ gem "devise", "1.4.0"
35
35
  gem "devise_ldap_authenticatable"
36
36
 
37
37
  To get the latest version, pull directly from github instead of the gem:
@@ -75,6 +75,21 @@ This devise plugin has not been tested with DatabaseAuthenticatable enabled at t
75
75
 
76
76
  The field that is used for logins is the first key that's configured in the `config/devise.rb` file under `config.authentication_keys`, which by default is email. For help changing this, please see the [Railscast](http://railscasts.com/episodes/210-customizing-devise) that goes through how to customize Devise.
77
77
 
78
+
79
+ Querying LDAP
80
+ ----------------
81
+
82
+ Given that ldap\_create\_user is set to true and you are authenticating with username, you can query an LDAP server for other attributes.
83
+
84
+ in your user model:
85
+
86
+ before_save :get_ldap_email
87
+
88
+ def get_ldap_email
89
+ self.email = Devise::LdapAdapter.get_ldap_param(self.username,"mail")
90
+ end
91
+
92
+
78
93
  Configuration
79
94
  -------------
80
95
 
data/Rakefile CHANGED
@@ -43,8 +43,8 @@ begin
43
43
  gemspec.email = "curtis.schiewek@gmail.com"
44
44
  gemspec.homepage = "http://github.com/cschiewek/devise_ldap_authenticatable"
45
45
  gemspec.authors = ["Curtis Schiewek", "Daniel McNevin"]
46
- gemspec.add_runtime_dependency "devise", "1.1.2"
47
- gemspec.add_runtime_dependency "net-ldap", "0.1.1"
46
+ gemspec.add_runtime_dependency "devise", "1.3.1"
47
+ gemspec.add_runtime_dependency "net-ldap", "0.2.2"
48
48
  end
49
49
  Jeweler::GemcutterTasks.new
50
50
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.6
1
+ 0.4.7
@@ -1,173 +1,133 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{devise_ldap_authenticatable}
8
- s.version = "0.4.6"
8
+ s.version = "0.4.7"
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", "Daniel McNevin"]
12
- s.date = %q{2010-09-23}
12
+ s.date = %q{2011-05-24}
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 = [
16
16
  "README.md"
17
17
  ]
18
18
  s.files = [
19
- ".gitignore",
20
- "MIT-LICENSE",
21
- "README.md",
22
- "Rakefile",
23
- "VERSION",
24
- "devise_ldap_authenticatable.gemspec",
25
- "lib/devise_ldap_authenticatable.rb",
26
- "lib/devise_ldap_authenticatable/exception.rb",
27
- "lib/devise_ldap_authenticatable/ldap_adapter.rb",
28
- "lib/devise_ldap_authenticatable/logger.rb",
29
- "lib/devise_ldap_authenticatable/model.rb",
30
- "lib/devise_ldap_authenticatable/routes.rb",
31
- "lib/devise_ldap_authenticatable/schema.rb",
32
- "lib/devise_ldap_authenticatable/strategy.rb",
33
- "lib/devise_ldap_authenticatable/version.rb",
34
- "lib/generators/devise_ldap_authenticatable/install_generator.rb",
35
- "lib/generators/devise_ldap_authenticatable/templates/ldap.yml",
36
- "rails/init.rb",
37
- "test/devise_ldap_authenticatable_test.rb",
38
- "test/ldap/base.ldif",
39
- "test/ldap/clear.ldif",
40
- "test/ldap/local.schema",
41
- "test/ldap/run-server.sh",
42
- "test/ldap/server.pem",
43
- "test/ldap/slapd-ssl-test.conf",
44
- "test/ldap/slapd-test.conf",
45
- "test/rails_app/Gemfile",
46
- "test/rails_app/Gemfile.lock",
47
- "test/rails_app/Rakefile",
48
- "test/rails_app/app/controllers/application_controller.rb",
49
- "test/rails_app/app/controllers/posts_controller.rb",
50
- "test/rails_app/app/helpers/application_helper.rb",
51
- "test/rails_app/app/helpers/posts_helper.rb",
52
- "test/rails_app/app/models/post.rb",
53
- "test/rails_app/app/models/user.rb",
54
- "test/rails_app/app/views/layouts/application.html.erb",
55
- "test/rails_app/app/views/posts/index.html.erb",
56
- "test/rails_app/config.ru",
57
- "test/rails_app/config/application.rb",
58
- "test/rails_app/config/boot.rb",
59
- "test/rails_app/config/cucumber.yml",
60
- "test/rails_app/config/database.yml",
61
- "test/rails_app/config/environment.rb",
62
- "test/rails_app/config/environments/development.rb",
63
- "test/rails_app/config/environments/production.rb",
64
- "test/rails_app/config/environments/test.rb",
65
- "test/rails_app/config/initializers/backtrace_silencers.rb",
66
- "test/rails_app/config/initializers/devise.rb",
67
- "test/rails_app/config/initializers/inflections.rb",
68
- "test/rails_app/config/initializers/mime_types.rb",
69
- "test/rails_app/config/initializers/secret_token.rb",
70
- "test/rails_app/config/initializers/session_store.rb",
71
- "test/rails_app/config/ldap.yml",
72
- "test/rails_app/config/ldap_with_erb.yml",
73
- "test/rails_app/config/ldap_with_uid.yml",
74
- "test/rails_app/config/locales/devise.en.yml",
75
- "test/rails_app/config/locales/en.yml",
76
- "test/rails_app/config/routes.rb",
77
- "test/rails_app/config/ssl_ldap.yml",
78
- "test/rails_app/config/ssl_ldap_with_erb.yml",
79
- "test/rails_app/config/ssl_ldap_with_uid.yml",
80
- "test/rails_app/db/migrate/20100708120302_create_posts.rb",
81
- "test/rails_app/db/migrate/20100708120448_devise_create_users.rb",
82
- "test/rails_app/db/schema.rb",
83
- "test/rails_app/db/seeds.rb",
84
- "test/rails_app/features/manage_logins.feature",
85
- "test/rails_app/features/step_definitions/login_steps.rb",
86
- "test/rails_app/features/step_definitions/web_steps.rb",
87
- "test/rails_app/features/support/env.rb",
88
- "test/rails_app/features/support/paths.rb",
89
- "test/rails_app/lib/tasks/.gitkeep",
90
- "test/rails_app/lib/tasks/cucumber.rake",
91
- "test/rails_app/public/404.html",
92
- "test/rails_app/public/422.html",
93
- "test/rails_app/public/500.html",
94
- "test/rails_app/public/images/rails.png",
95
- "test/rails_app/public/javascripts/application.js",
96
- "test/rails_app/public/javascripts/controls.js",
97
- "test/rails_app/public/javascripts/dragdrop.js",
98
- "test/rails_app/public/javascripts/effects.js",
99
- "test/rails_app/public/javascripts/prototype.js",
100
- "test/rails_app/public/javascripts/rails.js",
101
- "test/rails_app/public/stylesheets/.gitkeep",
102
- "test/rails_app/script/cucumber",
103
- "test/rails_app/script/rails",
104
- "test/rails_app/test/factories/users.rb",
105
- "test/rails_app/test/functional/posts_controller_test.rb",
106
- "test/rails_app/test/performance/browsing_test.rb",
107
- "test/rails_app/test/test_helper.rb",
108
- "test/rails_app/test/unit/helpers/posts_helper_test.rb",
109
- "test/rails_app/test/unit/post_test.rb",
110
- "test/rails_app/test/unit/user_test.rb",
111
- "test/test_helper.rb"
19
+ "MIT-LICENSE",
20
+ "README.md",
21
+ "Rakefile",
22
+ "VERSION",
23
+ "devise_ldap_authenticatable.gemspec",
24
+ "lib/devise_ldap_authenticatable.rb",
25
+ "lib/devise_ldap_authenticatable/exception.rb",
26
+ "lib/devise_ldap_authenticatable/ldap_adapter.rb",
27
+ "lib/devise_ldap_authenticatable/logger.rb",
28
+ "lib/devise_ldap_authenticatable/model.rb",
29
+ "lib/devise_ldap_authenticatable/routes.rb",
30
+ "lib/devise_ldap_authenticatable/schema.rb",
31
+ "lib/devise_ldap_authenticatable/strategy.rb",
32
+ "lib/devise_ldap_authenticatable/version.rb",
33
+ "lib/generators/devise_ldap_authenticatable/install_generator.rb",
34
+ "lib/generators/devise_ldap_authenticatable/templates/ldap.yml",
35
+ "rails/init.rb",
36
+ "test/devise_ldap_authenticatable_test.rb",
37
+ "test/ldap/base.ldif",
38
+ "test/ldap/clear.ldif",
39
+ "test/ldap/local.schema",
40
+ "test/ldap/run-server.sh",
41
+ "test/ldap/server.pem",
42
+ "test/ldap/slapd-ssl-test.conf",
43
+ "test/ldap/slapd-test.conf",
44
+ "test/rails_app/Gemfile",
45
+ "test/rails_app/Gemfile.lock",
46
+ "test/rails_app/Rakefile",
47
+ "test/rails_app/app/controllers/application_controller.rb",
48
+ "test/rails_app/app/controllers/posts_controller.rb",
49
+ "test/rails_app/app/helpers/application_helper.rb",
50
+ "test/rails_app/app/helpers/posts_helper.rb",
51
+ "test/rails_app/app/models/post.rb",
52
+ "test/rails_app/app/models/user.rb",
53
+ "test/rails_app/app/views/layouts/application.html.erb",
54
+ "test/rails_app/app/views/posts/index.html.erb",
55
+ "test/rails_app/config.ru",
56
+ "test/rails_app/config/application.rb",
57
+ "test/rails_app/config/boot.rb",
58
+ "test/rails_app/config/cucumber.yml",
59
+ "test/rails_app/config/database.yml",
60
+ "test/rails_app/config/environment.rb",
61
+ "test/rails_app/config/environments/development.rb",
62
+ "test/rails_app/config/environments/production.rb",
63
+ "test/rails_app/config/environments/test.rb",
64
+ "test/rails_app/config/initializers/backtrace_silencers.rb",
65
+ "test/rails_app/config/initializers/devise.rb",
66
+ "test/rails_app/config/initializers/inflections.rb",
67
+ "test/rails_app/config/initializers/mime_types.rb",
68
+ "test/rails_app/config/initializers/secret_token.rb",
69
+ "test/rails_app/config/initializers/session_store.rb",
70
+ "test/rails_app/config/ldap.yml",
71
+ "test/rails_app/config/ldap_with_erb.yml",
72
+ "test/rails_app/config/ldap_with_uid.yml",
73
+ "test/rails_app/config/locales/devise.en.yml",
74
+ "test/rails_app/config/locales/en.yml",
75
+ "test/rails_app/config/routes.rb",
76
+ "test/rails_app/config/ssl_ldap.yml",
77
+ "test/rails_app/config/ssl_ldap_with_erb.yml",
78
+ "test/rails_app/config/ssl_ldap_with_uid.yml",
79
+ "test/rails_app/db/migrate/20100708120302_create_posts.rb",
80
+ "test/rails_app/db/migrate/20100708120448_devise_create_users.rb",
81
+ "test/rails_app/db/schema.rb",
82
+ "test/rails_app/db/seeds.rb",
83
+ "test/rails_app/features/manage_logins.feature",
84
+ "test/rails_app/features/step_definitions/login_steps.rb",
85
+ "test/rails_app/features/step_definitions/web_steps.rb",
86
+ "test/rails_app/features/support/env.rb",
87
+ "test/rails_app/features/support/paths.rb",
88
+ "test/rails_app/lib/tasks/.gitkeep",
89
+ "test/rails_app/lib/tasks/cucumber.rake",
90
+ "test/rails_app/public/404.html",
91
+ "test/rails_app/public/422.html",
92
+ "test/rails_app/public/500.html",
93
+ "test/rails_app/public/images/rails.png",
94
+ "test/rails_app/public/javascripts/application.js",
95
+ "test/rails_app/public/javascripts/controls.js",
96
+ "test/rails_app/public/javascripts/dragdrop.js",
97
+ "test/rails_app/public/javascripts/effects.js",
98
+ "test/rails_app/public/javascripts/prototype.js",
99
+ "test/rails_app/public/javascripts/rails.js",
100
+ "test/rails_app/public/stylesheets/.gitkeep",
101
+ "test/rails_app/script/cucumber",
102
+ "test/rails_app/script/rails",
103
+ "test/rails_app/test/factories/users.rb",
104
+ "test/rails_app/test/functional/posts_controller_test.rb",
105
+ "test/rails_app/test/performance/browsing_test.rb",
106
+ "test/rails_app/test/test_helper.rb",
107
+ "test/rails_app/test/unit/helpers/posts_helper_test.rb",
108
+ "test/rails_app/test/unit/post_test.rb",
109
+ "test/rails_app/test/unit/user_test.rb",
110
+ "test/test_helper.rb"
112
111
  ]
113
112
  s.homepage = %q{http://github.com/cschiewek/devise_ldap_authenticatable}
114
- s.rdoc_options = ["--charset=UTF-8"]
115
113
  s.require_paths = ["lib"]
116
114
  s.rubygems_version = %q{1.3.7}
117
115
  s.summary = %q{LDAP authentication module for Devise}
118
- s.test_files = [
119
- "test/devise_ldap_authenticatable_test.rb",
120
- "test/rails_app/app/controllers/application_controller.rb",
121
- "test/rails_app/app/controllers/posts_controller.rb",
122
- "test/rails_app/app/helpers/application_helper.rb",
123
- "test/rails_app/app/helpers/posts_helper.rb",
124
- "test/rails_app/app/models/post.rb",
125
- "test/rails_app/app/models/user.rb",
126
- "test/rails_app/config/application.rb",
127
- "test/rails_app/config/boot.rb",
128
- "test/rails_app/config/environment.rb",
129
- "test/rails_app/config/environments/development.rb",
130
- "test/rails_app/config/environments/production.rb",
131
- "test/rails_app/config/environments/test.rb",
132
- "test/rails_app/config/initializers/backtrace_silencers.rb",
133
- "test/rails_app/config/initializers/devise.rb",
134
- "test/rails_app/config/initializers/inflections.rb",
135
- "test/rails_app/config/initializers/mime_types.rb",
136
- "test/rails_app/config/initializers/secret_token.rb",
137
- "test/rails_app/config/initializers/session_store.rb",
138
- "test/rails_app/config/routes.rb",
139
- "test/rails_app/db/migrate/20100708120302_create_posts.rb",
140
- "test/rails_app/db/migrate/20100708120448_devise_create_users.rb",
141
- "test/rails_app/db/schema.rb",
142
- "test/rails_app/db/seeds.rb",
143
- "test/rails_app/features/step_definitions/login_steps.rb",
144
- "test/rails_app/features/step_definitions/web_steps.rb",
145
- "test/rails_app/features/support/env.rb",
146
- "test/rails_app/features/support/paths.rb",
147
- "test/rails_app/test/factories/users.rb",
148
- "test/rails_app/test/functional/posts_controller_test.rb",
149
- "test/rails_app/test/performance/browsing_test.rb",
150
- "test/rails_app/test/test_helper.rb",
151
- "test/rails_app/test/unit/helpers/posts_helper_test.rb",
152
- "test/rails_app/test/unit/post_test.rb",
153
- "test/rails_app/test/unit/user_test.rb",
154
- "test/test_helper.rb"
155
- ]
156
116
 
157
117
  if s.respond_to? :specification_version then
158
118
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
159
119
  s.specification_version = 3
160
120
 
161
121
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
162
- s.add_runtime_dependency(%q<devise>, ["= 1.1.2"])
163
- s.add_runtime_dependency(%q<net-ldap>, ["= 0.1.1"])
122
+ s.add_runtime_dependency(%q<devise>, ["= 1.4.0"])
123
+ s.add_runtime_dependency(%q<net-ldap>, ["= 0.2.2"])
164
124
  else
165
- s.add_dependency(%q<devise>, ["= 1.1.2"])
166
- s.add_dependency(%q<net-ldap>, ["= 0.1.1"])
125
+ s.add_dependency(%q<devise>, ["= 1.4.0"])
126
+ s.add_dependency(%q<net-ldap>, ["= 0.2.2"])
167
127
  end
168
128
  else
169
- s.add_dependency(%q<devise>, ["= 1.1.2"])
170
- s.add_dependency(%q<net-ldap>, ["= 0.1.1"])
129
+ s.add_dependency(%q<devise>, ["= 1.4.0"])
130
+ s.add_dependency(%q<net-ldap>, ["= 0.2.2"])
171
131
  end
172
132
  end
173
133
 
@@ -15,14 +15,39 @@ module Devise
15
15
  end
16
16
 
17
17
  def self.update_password(login, new_password)
18
- resource = LdapConnect.new(:login => login, :new_password => new_password)
18
+ options = {:login => login,
19
+ :new_password => new_password,
20
+ :ldap_auth_username_builder => ::Devise.ldap_auth_username_builder,
21
+ :admin => ::Devise.ldap_use_admin_to_bind}
22
+
23
+ resource = LdapConnect.new(options)
19
24
  resource.change_password! if new_password.present?
20
25
  end
21
26
 
22
27
  def self.get_groups(login)
23
- ldap = LdapConnect.new(:login => login)
28
+ options = {:login => login,
29
+ :ldap_auth_username_builder => ::Devise.ldap_auth_username_builder,
30
+ :admin => ::Devise.ldap_use_admin_to_bind}
31
+
32
+ ldap = LdapConnect.new(options)
24
33
  ldap.user_groups
25
34
  end
35
+
36
+ def self.get_dn(login)
37
+ options = {:login => login,
38
+ :ldap_auth_username_builder => ::Devise.ldap_auth_username_builder,
39
+ :admin => ::Devise.ldap_use_admin_to_bind}
40
+ resource = LdapConnect.new(options)
41
+ resource.dn
42
+ end
43
+
44
+ def self.get_ldap_param(login,param)
45
+ options = {:login => login,
46
+ :ldap_auth_username_builder => ::Devise.ldap_auth_username_builder,
47
+ :admin => ::Devise.ldap_use_admin_to_bind}
48
+ resource = LdapConnect.new(options)
49
+ resource.ldap_param_value(param)
50
+ end
26
51
 
27
52
  class LdapConnect
28
53
 
@@ -63,6 +88,15 @@ module Devise
63
88
  end
64
89
  end
65
90
 
91
+ def ldap_param_value(param)
92
+ filter = Net::LDAP::Filter.eq(@attribute.to_s, @login.to_s)
93
+ ldap_entry = nil
94
+ @ldap.search(:filter => filter) {|entry| ldap_entry = entry}
95
+
96
+ DeviseLdapAuthenticatable::Logger.send("Requested param #{param} has value #{ldap_entry.send(param)}")
97
+ ldap_entry.send(param).to_s
98
+ end
99
+
66
100
  def authenticate!
67
101
  @ldap.auth(dn, @password)
68
102
  @ldap.bind
@@ -126,7 +160,7 @@ module Devise
126
160
 
127
161
  def user_groups
128
162
  admin_ldap = LdapConnect.admin
129
-
163
+
130
164
  DeviseLdapAuthenticatable::Logger.send("Getting groups for #{dn}")
131
165
  filter = Net::LDAP::Filter.eq("uniqueMember", dn)
132
166
  admin_ldap.search(:filter => filter, :base => @group_base).collect(&:dn)
@@ -45,6 +45,15 @@ module Devise
45
45
  def ldap_groups
46
46
  Devise::LdapAdapter.get_groups(login_with)
47
47
  end
48
+
49
+ def ldap_dn
50
+ Devise::LdapAdapter.get_dn(login_with)
51
+ end
52
+
53
+ def ldap_get_param(login_with, param)
54
+ Devise::LdapAdapter.get_ldap_param(login_with,param)
55
+ end
56
+
48
57
 
49
58
  module ClassMethods
50
59
  # Authenticate a user based on configured attribute keys. Returns the
@@ -52,9 +61,9 @@ module Devise
52
61
  def authenticate_with_ldap(attributes={})
53
62
  @login_with = ::Devise.authentication_keys.first
54
63
  return nil unless attributes[@login_with].present?
55
-
64
+
56
65
  # resource = find_for_ldap_authentication(conditions)
57
- resource = scoped.where(@login_with => attributes[@login_with]).first
66
+ resource = where(@login_with => attributes[@login_with]).first
58
67
 
59
68
  if (resource.blank? and ::Devise.ldap_create_user)
60
69
  resource = new
@@ -18,12 +18,12 @@ module Devise
18
18
  else
19
19
  fail(:invalid)
20
20
  end
21
- end
21
+ end
22
22
 
23
23
  protected
24
24
 
25
25
  def valid_controller?
26
- params[:controller] == 'devise/sessions'
26
+ params[:controller] == mapping.controllers[:sessions]
27
27
  end
28
28
 
29
29
  def valid_params?
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_ldap_authenticatable
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 4
9
- - 6
10
- version: 0.4.6
4
+ prerelease:
5
+ version: 0.4.7
11
6
  platform: ruby
12
7
  authors:
13
8
  - Curtis Schiewek
@@ -16,8 +11,7 @@ autorequire:
16
11
  bindir: bin
17
12
  cert_chain: []
18
13
 
19
- date: 2010-09-23 00:00:00 -04:00
20
- default_executable:
14
+ date: 2011-05-24 00:00:00 Z
21
15
  dependencies:
22
16
  - !ruby/object:Gem::Dependency
23
17
  name: devise
@@ -27,12 +21,7 @@ dependencies:
27
21
  requirements:
28
22
  - - "="
29
23
  - !ruby/object:Gem::Version
30
- hash: 23
31
- segments:
32
- - 1
33
- - 1
34
- - 2
35
- version: 1.1.2
24
+ version: 1.4.0
36
25
  type: :runtime
37
26
  version_requirements: *id001
38
27
  - !ruby/object:Gem::Dependency
@@ -43,12 +32,7 @@ dependencies:
43
32
  requirements:
44
33
  - - "="
45
34
  - !ruby/object:Gem::Version
46
- hash: 25
47
- segments:
48
- - 0
49
- - 1
50
- - 1
51
- version: 0.1.1
35
+ version: 0.2.2
52
36
  type: :runtime
53
37
  version_requirements: *id002
54
38
  description: LDAP authentication module for Devise
@@ -60,7 +44,6 @@ extensions: []
60
44
  extra_rdoc_files:
61
45
  - README.md
62
46
  files:
63
- - .gitignore
64
47
  - MIT-LICENSE
65
48
  - README.md
66
49
  - Rakefile
@@ -153,13 +136,12 @@ files:
153
136
  - test/rails_app/test/unit/post_test.rb
154
137
  - test/rails_app/test/unit/user_test.rb
155
138
  - test/test_helper.rb
156
- has_rdoc: true
157
139
  homepage: http://github.com/cschiewek/devise_ldap_authenticatable
158
140
  licenses: []
159
141
 
160
142
  post_install_message:
161
- rdoc_options:
162
- - --charset=UTF-8
143
+ rdoc_options: []
144
+
163
145
  require_paths:
164
146
  - lib
165
147
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -167,60 +149,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
167
149
  requirements:
168
150
  - - ">="
169
151
  - !ruby/object:Gem::Version
170
- hash: 3
171
- segments:
172
- - 0
173
152
  version: "0"
174
153
  required_rubygems_version: !ruby/object:Gem::Requirement
175
154
  none: false
176
155
  requirements:
177
156
  - - ">="
178
157
  - !ruby/object:Gem::Version
179
- hash: 3
180
- segments:
181
- - 0
182
158
  version: "0"
183
159
  requirements: []
184
160
 
185
161
  rubyforge_project:
186
- rubygems_version: 1.3.7
162
+ rubygems_version: 1.8.5
187
163
  signing_key:
188
164
  specification_version: 3
189
165
  summary: LDAP authentication module for Devise
190
- test_files:
191
- - test/devise_ldap_authenticatable_test.rb
192
- - test/rails_app/app/controllers/application_controller.rb
193
- - test/rails_app/app/controllers/posts_controller.rb
194
- - test/rails_app/app/helpers/application_helper.rb
195
- - test/rails_app/app/helpers/posts_helper.rb
196
- - test/rails_app/app/models/post.rb
197
- - test/rails_app/app/models/user.rb
198
- - test/rails_app/config/application.rb
199
- - test/rails_app/config/boot.rb
200
- - test/rails_app/config/environment.rb
201
- - test/rails_app/config/environments/development.rb
202
- - test/rails_app/config/environments/production.rb
203
- - test/rails_app/config/environments/test.rb
204
- - test/rails_app/config/initializers/backtrace_silencers.rb
205
- - test/rails_app/config/initializers/devise.rb
206
- - test/rails_app/config/initializers/inflections.rb
207
- - test/rails_app/config/initializers/mime_types.rb
208
- - test/rails_app/config/initializers/secret_token.rb
209
- - test/rails_app/config/initializers/session_store.rb
210
- - test/rails_app/config/routes.rb
211
- - test/rails_app/db/migrate/20100708120302_create_posts.rb
212
- - test/rails_app/db/migrate/20100708120448_devise_create_users.rb
213
- - test/rails_app/db/schema.rb
214
- - test/rails_app/db/seeds.rb
215
- - test/rails_app/features/step_definitions/login_steps.rb
216
- - test/rails_app/features/step_definitions/web_steps.rb
217
- - test/rails_app/features/support/env.rb
218
- - test/rails_app/features/support/paths.rb
219
- - test/rails_app/test/factories/users.rb
220
- - test/rails_app/test/functional/posts_controller_test.rb
221
- - test/rails_app/test/performance/browsing_test.rb
222
- - test/rails_app/test/test_helper.rb
223
- - test/rails_app/test/unit/helpers/posts_helper_test.rb
224
- - test/rails_app/test/unit/post_test.rb
225
- - test/rails_app/test/unit/user_test.rb
226
- - test/test_helper.rb
166
+ test_files: []
167
+
data/.gitignore DELETED
@@ -1,6 +0,0 @@
1
- .bundle
2
- log
3
- *.sqlite3
4
- openldap-data
5
- test/rails_app/tmp
6
- pkg/*