ruby-activeldap 0.8.3 → 0.8.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. data/CHANGES +431 -0
  2. data/COPYING +340 -0
  3. data/LICENSE +58 -0
  4. data/README +104 -0
  5. data/Rakefile +165 -0
  6. data/TODO +22 -0
  7. data/benchmark/bench-al.rb +202 -0
  8. data/benchmark/config.yaml.sample +5 -0
  9. data/data/locale/en/LC_MESSAGES/active-ldap.mo +0 -0
  10. data/data/locale/ja/LC_MESSAGES/active-ldap.mo +0 -0
  11. data/examples/al-admin/README +182 -0
  12. data/examples/al-admin/Rakefile +10 -0
  13. data/examples/al-admin/app/controllers/account_controller.rb +50 -0
  14. data/examples/al-admin/app/controllers/application.rb +15 -0
  15. data/examples/al-admin/app/controllers/directory_controller.rb +22 -0
  16. data/examples/al-admin/app/controllers/users_controller.rb +38 -0
  17. data/examples/al-admin/app/controllers/welcome_controller.rb +4 -0
  18. data/examples/al-admin/app/helpers/account_helper.rb +2 -0
  19. data/examples/al-admin/app/helpers/application_helper.rb +6 -0
  20. data/examples/al-admin/app/helpers/directory_helper.rb +2 -0
  21. data/examples/al-admin/app/helpers/users_helper.rb +13 -0
  22. data/examples/al-admin/app/helpers/welcome_helper.rb +2 -0
  23. data/examples/al-admin/app/models/entry.rb +19 -0
  24. data/examples/al-admin/app/models/ldap_user.rb +49 -0
  25. data/examples/al-admin/app/models/user.rb +91 -0
  26. data/examples/al-admin/app/views/account/login.rhtml +12 -0
  27. data/examples/al-admin/app/views/account/sign_up.rhtml +22 -0
  28. data/examples/al-admin/app/views/directory/index.rhtml +5 -0
  29. data/examples/al-admin/app/views/directory/populate.rhtml +2 -0
  30. data/examples/al-admin/app/views/layouts/application.rhtml +41 -0
  31. data/examples/al-admin/app/views/users/_attribute_information.rhtml +22 -0
  32. data/examples/al-admin/app/views/users/_entry.rhtml +12 -0
  33. data/examples/al-admin/app/views/users/_form.rhtml +29 -0
  34. data/examples/al-admin/app/views/users/_object_class_information.rhtml +23 -0
  35. data/examples/al-admin/app/views/users/edit.rhtml +10 -0
  36. data/examples/al-admin/app/views/users/index.rhtml +9 -0
  37. data/examples/al-admin/app/views/users/show.rhtml +3 -0
  38. data/examples/al-admin/app/views/welcome/index.rhtml +16 -0
  39. data/examples/al-admin/config/boot.rb +45 -0
  40. data/examples/al-admin/config/database.yml.example +19 -0
  41. data/examples/al-admin/config/environment.rb +68 -0
  42. data/examples/al-admin/config/environments/development.rb +21 -0
  43. data/examples/al-admin/config/environments/production.rb +18 -0
  44. data/examples/al-admin/config/environments/test.rb +19 -0
  45. data/examples/al-admin/config/ldap.yml.example +21 -0
  46. data/examples/al-admin/config/routes.rb +26 -0
  47. data/examples/al-admin/db/migrate/001_create_users.rb +16 -0
  48. data/examples/al-admin/lib/accept_http_rails_relative_url_root.rb +9 -0
  49. data/examples/al-admin/lib/authenticated_system.rb +131 -0
  50. data/examples/al-admin/lib/authenticated_test_helper.rb +113 -0
  51. data/examples/al-admin/lib/tasks/gettext.rake +35 -0
  52. data/examples/al-admin/po/en/al-admin.po +190 -0
  53. data/examples/al-admin/po/ja/al-admin.po +190 -0
  54. data/examples/al-admin/po/nl/al-admin.po +202 -0
  55. data/examples/al-admin/public/.htaccess +40 -0
  56. data/examples/al-admin/public/404.html +30 -0
  57. data/examples/al-admin/public/500.html +30 -0
  58. data/examples/al-admin/public/dispatch.cgi +10 -0
  59. data/examples/al-admin/public/dispatch.fcgi +24 -0
  60. data/examples/al-admin/public/dispatch.rb +10 -0
  61. data/examples/al-admin/public/favicon.ico +0 -0
  62. data/examples/al-admin/public/images/rails.png +0 -0
  63. data/examples/al-admin/public/javascripts/application.js +2 -0
  64. data/examples/al-admin/public/javascripts/controls.js +833 -0
  65. data/examples/al-admin/public/javascripts/dragdrop.js +942 -0
  66. data/examples/al-admin/public/javascripts/effects.js +1088 -0
  67. data/examples/al-admin/public/javascripts/prototype.js +2515 -0
  68. data/examples/al-admin/public/robots.txt +1 -0
  69. data/examples/al-admin/public/stylesheets/rails.css +35 -0
  70. data/examples/al-admin/public/stylesheets/screen.css +52 -0
  71. data/examples/al-admin/script/about +3 -0
  72. data/examples/al-admin/script/breakpointer +3 -0
  73. data/examples/al-admin/script/console +3 -0
  74. data/examples/al-admin/script/destroy +3 -0
  75. data/examples/al-admin/script/generate +3 -0
  76. data/examples/al-admin/script/performance/benchmarker +3 -0
  77. data/examples/al-admin/script/performance/profiler +3 -0
  78. data/examples/al-admin/script/plugin +3 -0
  79. data/examples/al-admin/script/process/inspector +3 -0
  80. data/examples/al-admin/script/process/reaper +3 -0
  81. data/examples/al-admin/script/process/spawner +3 -0
  82. data/examples/al-admin/script/runner +3 -0
  83. data/examples/al-admin/script/server +3 -0
  84. data/examples/al-admin/test/fixtures/users.yml +9 -0
  85. data/examples/al-admin/test/functional/account_controller_test.rb +24 -0
  86. data/examples/al-admin/test/functional/directory_controller_test.rb +18 -0
  87. data/examples/al-admin/test/functional/users_controller_test.rb +18 -0
  88. data/examples/al-admin/test/functional/welcome_controller_test.rb +18 -0
  89. data/examples/al-admin/test/run-test.sh +3 -0
  90. data/examples/al-admin/test/test_helper.rb +28 -0
  91. data/examples/al-admin/test/unit/user_test.rb +13 -0
  92. data/examples/al-admin/vendor/plugins/exception_notification/README +111 -0
  93. data/examples/al-admin/vendor/plugins/exception_notification/init.rb +1 -0
  94. data/examples/al-admin/vendor/plugins/exception_notification/lib/exception_notifiable.rb +99 -0
  95. data/examples/al-admin/vendor/plugins/exception_notification/lib/exception_notifier.rb +67 -0
  96. data/examples/al-admin/vendor/plugins/exception_notification/lib/exception_notifier_helper.rb +77 -0
  97. data/examples/al-admin/vendor/plugins/exception_notification/test/exception_notifier_helper_test.rb +61 -0
  98. data/examples/al-admin/vendor/plugins/exception_notification/test/test_helper.rb +7 -0
  99. data/examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/_backtrace.rhtml +1 -0
  100. data/examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/_environment.rhtml +7 -0
  101. data/examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/_inspect_model.rhtml +16 -0
  102. data/examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/_request.rhtml +3 -0
  103. data/examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/_session.rhtml +2 -0
  104. data/examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/_title.rhtml +3 -0
  105. data/examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/exception_notification.rhtml +6 -0
  106. data/examples/config.yaml.example +5 -0
  107. data/examples/example.der +0 -0
  108. data/examples/example.jpg +0 -0
  109. data/examples/groupadd +41 -0
  110. data/examples/groupdel +35 -0
  111. data/examples/groupls +49 -0
  112. data/examples/groupmod +42 -0
  113. data/examples/lpasswd +55 -0
  114. data/examples/objects/group.rb +13 -0
  115. data/examples/objects/ou.rb +4 -0
  116. data/examples/objects/user.rb +20 -0
  117. data/examples/ouadd +38 -0
  118. data/examples/useradd +45 -0
  119. data/examples/useradd-binary +50 -0
  120. data/examples/userdel +34 -0
  121. data/examples/userls +50 -0
  122. data/examples/usermod +42 -0
  123. data/examples/usermod-binary-add +47 -0
  124. data/examples/usermod-binary-add-time +51 -0
  125. data/examples/usermod-binary-del +48 -0
  126. data/examples/usermod-lang-add +43 -0
  127. data/lib/active_ldap.rb +978 -0
  128. data/lib/active_ldap/adapter/base.rb +512 -0
  129. data/lib/active_ldap/adapter/ldap.rb +233 -0
  130. data/lib/active_ldap/adapter/ldap_ext.rb +69 -0
  131. data/lib/active_ldap/adapter/net_ldap.rb +290 -0
  132. data/lib/active_ldap/adapter/net_ldap_ext.rb +29 -0
  133. data/lib/active_ldap/association/belongs_to.rb +47 -0
  134. data/lib/active_ldap/association/belongs_to_many.rb +42 -0
  135. data/lib/active_ldap/association/collection.rb +83 -0
  136. data/lib/active_ldap/association/has_many.rb +31 -0
  137. data/lib/active_ldap/association/has_many_utils.rb +35 -0
  138. data/lib/active_ldap/association/has_many_wrap.rb +46 -0
  139. data/lib/active_ldap/association/proxy.rb +102 -0
  140. data/lib/active_ldap/associations.rb +172 -0
  141. data/lib/active_ldap/attributes.rb +211 -0
  142. data/lib/active_ldap/base.rb +1256 -0
  143. data/lib/active_ldap/callbacks.rb +19 -0
  144. data/lib/active_ldap/command.rb +48 -0
  145. data/lib/active_ldap/configuration.rb +114 -0
  146. data/lib/active_ldap/connection.rb +234 -0
  147. data/lib/active_ldap/distinguished_name.rb +250 -0
  148. data/lib/active_ldap/escape.rb +12 -0
  149. data/lib/active_ldap/get_text/parser.rb +142 -0
  150. data/lib/active_ldap/get_text_fallback.rb +53 -0
  151. data/lib/active_ldap/get_text_support.rb +12 -0
  152. data/lib/active_ldap/helper.rb +23 -0
  153. data/lib/active_ldap/ldap_error.rb +74 -0
  154. data/lib/active_ldap/object_class.rb +93 -0
  155. data/lib/active_ldap/operations.rb +419 -0
  156. data/lib/active_ldap/populate.rb +44 -0
  157. data/lib/active_ldap/schema.rb +427 -0
  158. data/lib/active_ldap/timeout.rb +75 -0
  159. data/lib/active_ldap/timeout_stub.rb +17 -0
  160. data/lib/active_ldap/user_password.rb +93 -0
  161. data/lib/active_ldap/validations.rb +112 -0
  162. data/po/en/active-ldap.po +3011 -0
  163. data/po/ja/active-ldap.po +3044 -0
  164. data/rails/plugin/active_ldap/README +54 -0
  165. data/rails/plugin/active_ldap/generators/scaffold_al/scaffold_al_generator.rb +7 -0
  166. data/rails/plugin/active_ldap/generators/scaffold_al/templates/ldap.yml +21 -0
  167. data/rails/plugin/active_ldap/init.rb +19 -0
  168. data/test/al-test-utils.rb +362 -0
  169. data/test/command.rb +62 -0
  170. data/test/config.yaml.sample +6 -0
  171. data/test/run-test.rb +31 -0
  172. data/test/test-unit-ext.rb +4 -0
  173. data/test/test-unit-ext/always-show-result.rb +28 -0
  174. data/test/test-unit-ext/backtrace-filter.rb +17 -0
  175. data/test/test-unit-ext/long-display-for-emacs.rb +25 -0
  176. data/test/test-unit-ext/priority.rb +163 -0
  177. metadata +211 -4
@@ -0,0 +1,62 @@
1
+ require "thread"
2
+ require "socket"
3
+ require "shellwords"
4
+
5
+ module Command
6
+ class Error < StandardError
7
+ attr_reader :command, :result
8
+ def initialize(command, result)
9
+ @command = command
10
+ @result = result
11
+ super("#{command}: #{result}")
12
+ end
13
+ end
14
+
15
+ module_function
16
+ def detach_io
17
+ require 'fcntl'
18
+ [TCPSocket, ::File].each do |c|
19
+ ObjectSpace.each_object(c) do |io|
20
+ begin
21
+ unless io.closed?
22
+ io.fcntl(Fcntl::F_SETFD, Fcntl::FD_CLOEXEC)
23
+ end
24
+ rescue SystemCallError,IOError => e
25
+ end
26
+ end
27
+ end
28
+ end
29
+
30
+ def run(cmd, *args)
31
+ raise ArgumentError, "command isn't specified" if cmd.nil?
32
+ if args.any? {|x| x.nil?}
33
+ raise ArgumentError, "args has nil: #{args.inspect}"
34
+ end
35
+ in_r, in_w = IO.pipe
36
+ out_r, out_w = IO.pipe
37
+ pid = exit_status = nil
38
+ Thread.exclusive do
39
+ verbose = $VERBOSE
40
+ # ruby(>=1.8)'s fork terminates other threads with warning messages
41
+ $VERBOSE = nil
42
+ pid = fork do
43
+ $VERBOSE = verbose
44
+ detach_io
45
+ out = STDERR.dup
46
+ STDIN.reopen(in_r)
47
+ in_r.close
48
+ STDOUT.reopen(out_w)
49
+ STDERR.reopen(out_w)
50
+ out_w.close
51
+ exec(cmd, *args.collect {|arg| arg.to_s})
52
+ exit!(-1)
53
+ end
54
+ $VERBOSE = verbose
55
+ end
56
+ yield(out_r, in_w) if block_given?
57
+ in_r.close unless in_r.closed?
58
+ out_w.close unless out_w.closed?
59
+ pid, status = Process.waitpid2(pid)
60
+ [status.exited? && status.exitstatus.zero?, out_r.read]
61
+ end
62
+ end
@@ -0,0 +1,6 @@
1
+ test:
2
+ host: 127.0.0.1
3
+ base: dc=test,dc=localdomain
4
+ method: :tls
5
+ bind_dn: cn=user-name,dc=localdomain
6
+ password: secret
@@ -0,0 +1,31 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ $KCODE = 'u'
4
+
5
+ require 'yaml'
6
+ require "test/unit"
7
+
8
+ base_dir = File.expand_path(File.dirname(__FILE__))
9
+ top_dir = File.expand_path(File.join(base_dir, ".."))
10
+ $LOAD_PATH.unshift(File.join(top_dir, "lib"))
11
+ $LOAD_PATH.unshift(File.join(top_dir, "test"))
12
+
13
+ require 'test-unit-ext'
14
+
15
+ test_file = "test/test_*.rb"
16
+ Dir.glob(test_file) do |file|
17
+ require file
18
+ end
19
+
20
+ [nil, "ldap", "net-ldap"].each do |adapter|
21
+ ENV["ACTIVE_LDAP_TEST_ADAPTER"] = adapter
22
+ puts "using adapter: #{adapter ? adapter : 'default'}"
23
+ args = [File.dirname($0), ARGV.dup]
24
+ if Test::Unit::AutoRunner.respond_to?(:standalone?)
25
+ args.unshift(false)
26
+ else
27
+ args.unshift($0)
28
+ end
29
+ Test::Unit::AutoRunner.run(*args)
30
+ puts
31
+ end
@@ -0,0 +1,4 @@
1
+ require "test-unit-ext/always-show-result"
2
+ require "test-unit-ext/priority"
3
+ require "test-unit-ext/backtrace-filter"
4
+ require "test-unit-ext/long-display-for-emacs"
@@ -0,0 +1,28 @@
1
+ require "test/unit/ui/testrunnermediator"
2
+
3
+ module Test
4
+ module Unit
5
+ module UI
6
+ class TestRunnerMediator
7
+ alias_method :original_run_suite, :run_suite
8
+ def run_suite
9
+ @notified_finished = false
10
+ begin_time = Time.now
11
+ original_run_suite
12
+ rescue Interrupt
13
+ unless @notified_finished
14
+ end_time = Time.now
15
+ elapsed_time = end_time - begin_time
16
+ notify_listeners(FINISHED, elapsed_time)
17
+ end
18
+ raise
19
+ end
20
+
21
+ def notify_listeners(channel_name, *arguments)
22
+ @notified_finished = true if channel_name == FINISHED
23
+ super
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,17 @@
1
+ require 'test/unit/util/backtracefilter'
2
+
3
+ module Test
4
+ module Unit
5
+ module Util
6
+ module BacktraceFilter
7
+ TEST_UNIT_EXT_PREFIX = File.dirname(__FILE__)
8
+
9
+ alias_method :original_filter_backtrace, :filter_backtrace
10
+ def filter_backtrace(backtrace, prefix=nil)
11
+ original_result = original_filter_backtrace(backtrace, prefix)
12
+ original_filter_backtrace(original_result, TEST_UNIT_EXT_PREFIX)
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,25 @@
1
+ require 'test/unit/failure'
2
+ require 'test/unit/error'
3
+
4
+ module Test
5
+ module Unit
6
+ BACKTRACE_INFO_RE = /.+:\d+:in `.+?'/
7
+ class Failure
8
+ alias_method :original_long_display, :long_display
9
+ def long_display
10
+ extract_backtraces_re =
11
+ /^ \[(#{BACKTRACE_INFO_RE}(?:\n #{BACKTRACE_INFO_RE})+)\]:$/
12
+ original_long_display.gsub(extract_backtraces_re) do |backtraces|
13
+ $1.gsub(/^ (#{BACKTRACE_INFO_RE})/, '\1') + ':'
14
+ end
15
+ end
16
+ end
17
+
18
+ class Error
19
+ alias_method :original_long_display, :long_display
20
+ def long_display
21
+ original_long_display.gsub(/^ (#{BACKTRACE_INFO_RE})/, '\1')
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,163 @@
1
+ require "test/unit"
2
+
3
+ require "fileutils"
4
+
5
+ module Test
6
+ module Unit
7
+ class TestCase
8
+ class << self
9
+ def inherited(sub)
10
+ super
11
+ sub.instance_variable_set("@priority_initialized", true)
12
+ sub.instance_variable_set("@priority_table", {})
13
+ sub.priority :normal
14
+ end
15
+
16
+ def include(*args)
17
+ args.reverse_each do |mod|
18
+ super(mod)
19
+ next unless defined?(@priority_initialized)
20
+ mod.instance_methods(false).each do |name|
21
+ set_priority(name)
22
+ end
23
+ end
24
+ end
25
+
26
+ def method_added(name)
27
+ set_priority(name) if defined?(@priority_initialized)
28
+ end
29
+
30
+ def priority(name, *tests)
31
+ unless private_methods.include?(priority_check_method_name(name))
32
+ raise ArgumentError, "unknown priority: #{name}"
33
+ end
34
+ if tests.empty?
35
+ @current_priority = name
36
+ else
37
+ tests.each do |test|
38
+ set_priority(test, name)
39
+ end
40
+ end
41
+ end
42
+
43
+ def need_to_run?(test_name)
44
+ normalized_test_name = normalize_test_name(test_name)
45
+ priority = @priority_table[normalized_test_name]
46
+ return true unless priority
47
+ __send__(priority_check_method_name(priority), test_name)
48
+ end
49
+
50
+ private
51
+ def priority_check_method_name(priority_name)
52
+ "run_priority_#{priority_name}?"
53
+ end
54
+
55
+ def normalize_test_name(test_name)
56
+ "test_#{test_name.to_s.sub(/^test_/, '')}"
57
+ end
58
+
59
+ def set_priority(name, priority=@current_priority)
60
+ @priority_table[normalize_test_name(name)] = priority
61
+ end
62
+
63
+ def run_priority_must?(test_name)
64
+ true
65
+ end
66
+
67
+ def run_priority_important?(test_name)
68
+ rand > 0.1
69
+ end
70
+
71
+ def run_priority_high?(test_name)
72
+ rand > 0.3
73
+ end
74
+
75
+ def run_priority_normal?(test_name)
76
+ rand > 0.5
77
+ end
78
+
79
+ def run_priority_low?(test_name)
80
+ rand > 0.75
81
+ end
82
+
83
+ def run_priority_never?(test_name)
84
+ false
85
+ end
86
+ end
87
+
88
+ def need_to_run?
89
+ !previous_test_success? or self.class.need_to_run?(@method_name)
90
+ end
91
+
92
+ alias_method :original_run, :run
93
+ def run(result, &block)
94
+ original_run(result, &block)
95
+ ensure
96
+ if passed?
97
+ FileUtils.touch(passed_file)
98
+ else
99
+ FileUtils.rm_f(passed_file)
100
+ end
101
+ end
102
+
103
+ private
104
+ def previous_test_success?
105
+ File.exist?(passed_file)
106
+ end
107
+
108
+ def result_dir
109
+ dir = File.join(File.dirname($0), ".test-result",
110
+ self.class.name, @method_name.to_s)
111
+ dir = File.expand_path(dir)
112
+ FileUtils.mkdir_p(dir)
113
+ dir
114
+ end
115
+
116
+ def passed_file
117
+ File.join(result_dir, "passed")
118
+ end
119
+ end
120
+
121
+ class TestSuite
122
+ @@priority_mode = false
123
+
124
+ class << self
125
+ def priority_mode=(bool)
126
+ @@priority_mode = bool
127
+ end
128
+ end
129
+
130
+ alias_method :original_run, :run
131
+ def run(*args, &block)
132
+ priority_mode = @@priority_mode
133
+ if priority_mode
134
+ @original_tests = @tests
135
+ apply_priority
136
+ end
137
+ original_run(*args, &block)
138
+ ensure
139
+ @tests = @original_tests if priority_mode
140
+ end
141
+
142
+ def apply_priority
143
+ @tests = @tests.reject {|test| !test.need_to_run?}
144
+ end
145
+
146
+ def need_to_run?
147
+ apply_priority
148
+ !@tests.empty?
149
+ end
150
+ end
151
+
152
+ class AutoRunner
153
+ alias_method :original_options, :options
154
+ def options
155
+ opts = original_options
156
+ opts.on("--[no-]priority", "use priority mode") do |bool|
157
+ TestSuite.priority_mode = bool
158
+ end
159
+ opts
160
+ end
161
+ end
162
+ end
163
+ end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: ruby-activeldap
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.8.3
7
- date: 2007-08-26 00:00:00 -07:00
6
+ version: 0.8.3.1
7
+ date: 2007-08-29 00:00:00 -07:00
8
8
  summary: Ruby/ActiveLdap is a object-oriented API to LDAP
9
9
  require_paths:
10
10
  - lib
@@ -31,8 +31,215 @@ post_install_message:
31
31
  authors:
32
32
  - Will Drewry
33
33
  - Kouhei Sutou
34
- files: []
35
-
34
+ files:
35
+ - CHANGES
36
+ - COPYING
37
+ - LICENSE
38
+ - README
39
+ - Rakefile
40
+ - TODO
41
+ - benchmark/bench-al.rb
42
+ - benchmark/config.yaml.sample
43
+ - data/locale/en/LC_MESSAGES/active-ldap.mo
44
+ - data/locale/ja/LC_MESSAGES/active-ldap.mo
45
+ - examples/al-admin/README
46
+ - examples/al-admin/Rakefile
47
+ - examples/al-admin/app/controllers/account_controller.rb
48
+ - examples/al-admin/app/controllers/application.rb
49
+ - examples/al-admin/app/controllers/directory_controller.rb
50
+ - examples/al-admin/app/controllers/users_controller.rb
51
+ - examples/al-admin/app/controllers/welcome_controller.rb
52
+ - examples/al-admin/app/helpers/account_helper.rb
53
+ - examples/al-admin/app/helpers/application_helper.rb
54
+ - examples/al-admin/app/helpers/directory_helper.rb
55
+ - examples/al-admin/app/helpers/users_helper.rb
56
+ - examples/al-admin/app/helpers/welcome_helper.rb
57
+ - examples/al-admin/app/models/entry.rb
58
+ - examples/al-admin/app/models/ldap_user.rb
59
+ - examples/al-admin/app/models/user.rb
60
+ - examples/al-admin/app/views/account/login.rhtml
61
+ - examples/al-admin/app/views/account/sign_up.rhtml
62
+ - examples/al-admin/app/views/directory/index.rhtml
63
+ - examples/al-admin/app/views/directory/populate.rhtml
64
+ - examples/al-admin/app/views/layouts/application.rhtml
65
+ - examples/al-admin/app/views/users/_attribute_information.rhtml
66
+ - examples/al-admin/app/views/users/_entry.rhtml
67
+ - examples/al-admin/app/views/users/_form.rhtml
68
+ - examples/al-admin/app/views/users/_object_class_information.rhtml
69
+ - examples/al-admin/app/views/users/edit.rhtml
70
+ - examples/al-admin/app/views/users/index.rhtml
71
+ - examples/al-admin/app/views/users/show.rhtml
72
+ - examples/al-admin/app/views/welcome/index.rhtml
73
+ - examples/al-admin/config/boot.rb
74
+ - examples/al-admin/config/database.yml.example
75
+ - examples/al-admin/config/environment.rb
76
+ - examples/al-admin/config/environments/development.rb
77
+ - examples/al-admin/config/environments/production.rb
78
+ - examples/al-admin/config/environments/test.rb
79
+ - examples/al-admin/config/ldap.yml.example
80
+ - examples/al-admin/config/routes.rb
81
+ - examples/al-admin/db/migrate/001_create_users.rb
82
+ - examples/al-admin/lib/accept_http_rails_relative_url_root.rb
83
+ - examples/al-admin/lib/authenticated_system.rb
84
+ - examples/al-admin/lib/authenticated_test_helper.rb
85
+ - examples/al-admin/lib/tasks/gettext.rake
86
+ - examples/al-admin/po/en/al-admin.po
87
+ - examples/al-admin/po/ja/al-admin.po
88
+ - examples/al-admin/po/nl/al-admin.po
89
+ - examples/al-admin/public/.htaccess
90
+ - examples/al-admin/public/404.html
91
+ - examples/al-admin/public/500.html
92
+ - examples/al-admin/public/dispatch.cgi
93
+ - examples/al-admin/public/dispatch.fcgi
94
+ - examples/al-admin/public/dispatch.rb
95
+ - examples/al-admin/public/favicon.ico
96
+ - examples/al-admin/public/images/rails.png
97
+ - examples/al-admin/public/javascripts/application.js
98
+ - examples/al-admin/public/javascripts/controls.js
99
+ - examples/al-admin/public/javascripts/dragdrop.js
100
+ - examples/al-admin/public/javascripts/effects.js
101
+ - examples/al-admin/public/javascripts/prototype.js
102
+ - examples/al-admin/public/robots.txt
103
+ - examples/al-admin/public/stylesheets/rails.css
104
+ - examples/al-admin/public/stylesheets/screen.css
105
+ - examples/al-admin/script/about
106
+ - examples/al-admin/script/breakpointer
107
+ - examples/al-admin/script/console
108
+ - examples/al-admin/script/destroy
109
+ - examples/al-admin/script/generate
110
+ - examples/al-admin/script/performance/benchmarker
111
+ - examples/al-admin/script/performance/profiler
112
+ - examples/al-admin/script/plugin
113
+ - examples/al-admin/script/process/inspector
114
+ - examples/al-admin/script/process/reaper
115
+ - examples/al-admin/script/process/spawner
116
+ - examples/al-admin/script/runner
117
+ - examples/al-admin/script/server
118
+ - examples/al-admin/test/fixtures/users.yml
119
+ - examples/al-admin/test/functional/account_controller_test.rb
120
+ - examples/al-admin/test/functional/directory_controller_test.rb
121
+ - examples/al-admin/test/functional/users_controller_test.rb
122
+ - examples/al-admin/test/functional/welcome_controller_test.rb
123
+ - examples/al-admin/test/run-test.sh
124
+ - examples/al-admin/test/test_helper.rb
125
+ - examples/al-admin/test/unit/user_test.rb
126
+ - examples/al-admin/vendor/plugins/exception_notification/README
127
+ - examples/al-admin/vendor/plugins/exception_notification/init.rb
128
+ - examples/al-admin/vendor/plugins/exception_notification/lib/exception_notifiable.rb
129
+ - examples/al-admin/vendor/plugins/exception_notification/lib/exception_notifier.rb
130
+ - examples/al-admin/vendor/plugins/exception_notification/lib/exception_notifier_helper.rb
131
+ - examples/al-admin/vendor/plugins/exception_notification/test/exception_notifier_helper_test.rb
132
+ - examples/al-admin/vendor/plugins/exception_notification/test/test_helper.rb
133
+ - examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/_backtrace.rhtml
134
+ - examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/_environment.rhtml
135
+ - examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/_inspect_model.rhtml
136
+ - examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/_request.rhtml
137
+ - examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/_session.rhtml
138
+ - examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/_title.rhtml
139
+ - examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/exception_notification.rhtml
140
+ - examples/config.yaml.example
141
+ - examples/example.der
142
+ - examples/example.jpg
143
+ - examples/groupadd
144
+ - examples/groupdel
145
+ - examples/groupls
146
+ - examples/groupmod
147
+ - examples/lpasswd
148
+ - examples/objects/group.rb
149
+ - examples/objects/ou.rb
150
+ - examples/objects/user.rb
151
+ - examples/ouadd
152
+ - examples/useradd
153
+ - examples/useradd-binary
154
+ - examples/userdel
155
+ - examples/userls
156
+ - examples/usermod
157
+ - examples/usermod-binary-add
158
+ - examples/usermod-binary-add-time
159
+ - examples/usermod-binary-del
160
+ - examples/usermod-lang-add
161
+ - lib/active_ldap.rb
162
+ - lib/active_ldap/adapter/base.rb
163
+ - lib/active_ldap/adapter/ldap.rb
164
+ - lib/active_ldap/adapter/ldap_ext.rb
165
+ - lib/active_ldap/adapter/net_ldap.rb
166
+ - lib/active_ldap/adapter/net_ldap_ext.rb
167
+ - lib/active_ldap/association/belongs_to.rb
168
+ - lib/active_ldap/association/belongs_to_many.rb
169
+ - lib/active_ldap/association/collection.rb
170
+ - lib/active_ldap/association/has_many.rb
171
+ - lib/active_ldap/association/has_many_utils.rb
172
+ - lib/active_ldap/association/has_many_wrap.rb
173
+ - lib/active_ldap/association/proxy.rb
174
+ - lib/active_ldap/associations.rb
175
+ - lib/active_ldap/attributes.rb
176
+ - lib/active_ldap/base.rb
177
+ - lib/active_ldap/callbacks.rb
178
+ - lib/active_ldap/command.rb
179
+ - lib/active_ldap/configuration.rb
180
+ - lib/active_ldap/connection.rb
181
+ - lib/active_ldap/distinguished_name.rb
182
+ - lib/active_ldap/escape.rb
183
+ - lib/active_ldap/get_text/parser.rb
184
+ - lib/active_ldap/get_text_fallback.rb
185
+ - lib/active_ldap/get_text_support.rb
186
+ - lib/active_ldap/helper.rb
187
+ - lib/active_ldap/ldap_error.rb
188
+ - lib/active_ldap/object_class.rb
189
+ - lib/active_ldap/operations.rb
190
+ - lib/active_ldap/populate.rb
191
+ - lib/active_ldap/schema.rb
192
+ - lib/active_ldap/timeout.rb
193
+ - lib/active_ldap/timeout_stub.rb
194
+ - lib/active_ldap/user_password.rb
195
+ - lib/active_ldap/validations.rb
196
+ - po/en/active-ldap.po
197
+ - po/ja/active-ldap.po
198
+ - rails/plugin/active_ldap/README
199
+ - rails/plugin/active_ldap/generators/scaffold_al/scaffold_al_generator.rb
200
+ - rails/plugin/active_ldap/generators/scaffold_al/templates/ldap.yml
201
+ - rails/plugin/active_ldap/init.rb
202
+ - test/al-test-utils.rb
203
+ - test/command.rb
204
+ - test/config.yaml.sample
205
+ - test/run-test.rb
206
+ - test/test-unit-ext.rb
207
+ - test/test-unit-ext/always-show-result.rb
208
+ - test/test-unit-ext/backtrace-filter.rb
209
+ - test/test-unit-ext/long-display-for-emacs.rb
210
+ - test/test-unit-ext/priority.rb
211
+ - test/test_adapter.rb
212
+ - test/test_associations.rb
213
+ - test/test_attributes.rb
214
+ - test/test_base.rb
215
+ - test/test_base_per_instance.rb
216
+ - test/test_bind.rb
217
+ - test/test_callback.rb
218
+ - test/test_connection.rb
219
+ - test/test_connection_per_class.rb
220
+ - test/test_connection_per_dn.rb
221
+ - test/test_dn.rb
222
+ - test/test_find.rb
223
+ - test/test_groupadd.rb
224
+ - test/test_groupdel.rb
225
+ - test/test_groupls.rb
226
+ - test/test_groupmod.rb
227
+ - test/test_lpasswd.rb
228
+ - test/test_object_class.rb
229
+ - test/test_reflection.rb
230
+ - test/test_schema.rb
231
+ - test/test_user.rb
232
+ - test/test_user_password.rb
233
+ - test/test_useradd-binary.rb
234
+ - test/test_useradd.rb
235
+ - test/test_userdel.rb
236
+ - test/test_userls.rb
237
+ - test/test_usermod-binary-add-time.rb
238
+ - test/test_usermod-binary-add.rb
239
+ - test/test_usermod-binary-del.rb
240
+ - test/test_usermod-lang-add.rb
241
+ - test/test_usermod.rb
242
+ - test/test_validation.rb
36
243
  test_files:
37
244
  - test/test_user.rb
38
245
  - test/test_usermod-binary-add-time.rb