fakeldap 0.0.1 → 0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +7 -1
  3. data/lib/fakeldap.rb +133 -10
  4. data/lib/fakeldap/version.rb +1 -1
  5. metadata +50 -191
  6. data/vendor/ruby-ldapserver/COPYING +0 -27
  7. data/vendor/ruby-ldapserver/ChangeLog +0 -83
  8. data/vendor/ruby-ldapserver/Manifest.txt +0 -32
  9. data/vendor/ruby-ldapserver/README +0 -222
  10. data/vendor/ruby-ldapserver/Rakefile +0 -22
  11. data/vendor/ruby-ldapserver/doc/LDAP.html +0 -104
  12. data/vendor/ruby-ldapserver/doc/LDAP/Abandon.html +0 -112
  13. data/vendor/ruby-ldapserver/doc/LDAP/Error.html +0 -115
  14. data/vendor/ruby-ldapserver/doc/LDAP/ResultError.html +0 -241
  15. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AdminLimitExceeded.html +0 -158
  16. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AffectsMultipleDSAs.html +0 -158
  17. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AliasDereferencingProblem.html +0 -158
  18. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AliasProblem.html +0 -158
  19. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AttributeOrValueExists.html +0 -158
  20. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/AuthMethodNotSupported.html +0 -158
  21. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/Busy.html +0 -158
  22. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/CompareFalse.html +0 -158
  23. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/CompareTrue.html +0 -158
  24. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/ConfidentialityRequired.html +0 -158
  25. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/ConstraintViolation.html +0 -158
  26. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/EntryAlreadyExists.html +0 -158
  27. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InappropriateAuthentication.html +0 -158
  28. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InappropriateMatching.html +0 -158
  29. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InsufficientAccessRights.html +0 -158
  30. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InvalidAttributeSyntax.html +0 -158
  31. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InvalidCredentials.html +0 -158
  32. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/InvalidDNSyntax.html +0 -158
  33. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/IsLeaf.html +0 -158
  34. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/LoopDetect.html +0 -158
  35. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/NamingViolation.html +0 -158
  36. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/NoSuchAttribute.html +0 -158
  37. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/NoSuchObject.html +0 -158
  38. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/NotAllowedOnNonLeaf.html +0 -158
  39. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/NotAllowedOnRDN.html +0 -158
  40. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/ObjectClassModsProhibited.html +0 -158
  41. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/ObjectClassViolation.html +0 -158
  42. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/OperationsError.html +0 -158
  43. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/Other.html +0 -158
  44. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/ProtocolError.html +0 -158
  45. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/Referral.html +0 -158
  46. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/SaslBindInProgress.html +0 -158
  47. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/SizeLimitExceeded.html +0 -158
  48. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/StrongAuthRequired.html +0 -158
  49. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/Success.html +0 -158
  50. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/TimeLimitExceeded.html +0 -158
  51. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/Unavailable.html +0 -158
  52. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/UnavailableCriticalExtension.html +0 -158
  53. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/UndefinedAttributeType.html +0 -158
  54. data/vendor/ruby-ldapserver/doc/LDAP/ResultError/UnwillingToPerform.html +0 -158
  55. data/vendor/ruby-ldapserver/doc/LDAP/Server.html +0 -1056
  56. data/vendor/ruby-ldapserver/doc/LDAP/Server/Connection.html +0 -1353
  57. data/vendor/ruby-ldapserver/doc/LDAP/Server/Filter.html +0 -634
  58. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule.html +0 -1132
  59. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/DefaultMatchingClass.html +0 -219
  60. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/Equality.html +0 -170
  61. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/IA5Downcase.html +0 -143
  62. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/IA5Trim.html +0 -155
  63. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/Integer.html +0 -143
  64. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/Ordering.html +0 -212
  65. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/StringDowncase.html +0 -143
  66. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/StringTrim.html +0 -154
  67. data/vendor/ruby-ldapserver/doc/LDAP/Server/MatchingRule/Substrings.html +0 -177
  68. data/vendor/ruby-ldapserver/doc/LDAP/Server/Operation.html +0 -2994
  69. data/vendor/ruby-ldapserver/doc/LDAP/Server/Schema.html +0 -2024
  70. data/vendor/ruby-ldapserver/doc/LDAP/Server/Schema/AttributeType.html +0 -1462
  71. data/vendor/ruby-ldapserver/doc/LDAP/Server/Schema/ObjectClass.html +0 -1097
  72. data/vendor/ruby-ldapserver/doc/LDAP/Server/Syntax.html +0 -1254
  73. data/vendor/ruby-ldapserver/doc/LDAP/Server/VERSION.html +0 -134
  74. data/vendor/ruby-ldapserver/doc/_index.html +0 -662
  75. data/vendor/ruby-ldapserver/doc/class_list.html +0 -36
  76. data/vendor/ruby-ldapserver/doc/css/common.css +0 -1
  77. data/vendor/ruby-ldapserver/doc/css/full_list.css +0 -50
  78. data/vendor/ruby-ldapserver/doc/css/style.css +0 -303
  79. data/vendor/ruby-ldapserver/doc/file.README.html +0 -399
  80. data/vendor/ruby-ldapserver/doc/file_list.html +0 -38
  81. data/vendor/ruby-ldapserver/doc/frames.html +0 -13
  82. data/vendor/ruby-ldapserver/doc/index.html +0 -399
  83. data/vendor/ruby-ldapserver/doc/js/app.js +0 -204
  84. data/vendor/ruby-ldapserver/doc/js/full_list.js +0 -112
  85. data/vendor/ruby-ldapserver/doc/js/jquery.js +0 -154
  86. data/vendor/ruby-ldapserver/doc/method_list.html +0 -1571
  87. data/vendor/ruby-ldapserver/doc/top-level-namespace.html +0 -88
  88. data/vendor/ruby-ldapserver/examples/README +0 -89
  89. data/vendor/ruby-ldapserver/examples/mkcert.rb +0 -31
  90. data/vendor/ruby-ldapserver/examples/rbslapd1.rb +0 -111
  91. data/vendor/ruby-ldapserver/examples/rbslapd2.rb +0 -161
  92. data/vendor/ruby-ldapserver/examples/rbslapd3.rb +0 -172
  93. data/vendor/ruby-ldapserver/examples/speedtest.rb +0 -37
  94. data/vendor/ruby-ldapserver/lib/ldap/server.rb +0 -4
  95. data/vendor/ruby-ldapserver/lib/ldap/server/connection.rb +0 -276
  96. data/vendor/ruby-ldapserver/lib/ldap/server/filter.rb +0 -223
  97. data/vendor/ruby-ldapserver/lib/ldap/server/match.rb +0 -283
  98. data/vendor/ruby-ldapserver/lib/ldap/server/operation.rb +0 -487
  99. data/vendor/ruby-ldapserver/lib/ldap/server/preforkserver.rb +0 -93
  100. data/vendor/ruby-ldapserver/lib/ldap/server/result.rb +0 -71
  101. data/vendor/ruby-ldapserver/lib/ldap/server/schema.rb +0 -592
  102. data/vendor/ruby-ldapserver/lib/ldap/server/server.rb +0 -89
  103. data/vendor/ruby-ldapserver/lib/ldap/server/syntax.rb +0 -235
  104. data/vendor/ruby-ldapserver/lib/ldap/server/tcpserver.rb +0 -91
  105. data/vendor/ruby-ldapserver/lib/ldap/server/util.rb +0 -88
  106. data/vendor/ruby-ldapserver/lib/ldap/server/version.rb +0 -11
  107. data/vendor/ruby-ldapserver/test/core.schema +0 -582
  108. data/vendor/ruby-ldapserver/test/encoding_test.rb +0 -279
  109. data/vendor/ruby-ldapserver/test/filter_test.rb +0 -107
  110. data/vendor/ruby-ldapserver/test/match_test.rb +0 -59
  111. data/vendor/ruby-ldapserver/test/schema_test.rb +0 -113
  112. data/vendor/ruby-ldapserver/test/syntax_test.rb +0 -40
  113. data/vendor/ruby-ldapserver/test/test_helper.rb +0 -2
  114. data/vendor/ruby-ldapserver/test/util_test.rb +0 -51
@@ -1,155 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta name="Content-Type" content="text/html; charset=utf-8" />
6
- <title>Module: LDAP::Server::MatchingRule::IA5Trim</title>
7
- <link rel="stylesheet" href="../../../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
- <link rel="stylesheet" href="../../../css/common.css" type="text/css" media="screen" charset="utf-8" />
9
-
10
- <script type="text/javascript" charset="utf-8">
11
- relpath = '../../..';
12
- if (relpath != '') relpath += '/';
13
- </script>
14
- <script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
15
- <script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
16
-
17
- </head>
18
- <body>
19
- <script type="text/javascript" charset="utf-8">
20
- if (window.top.frames.main) document.body.className = 'frames';
21
- </script>
22
-
23
- <div id="header">
24
- <div id="menu">
25
-
26
- <a href="../../../_index.html">Index (I)</a> &raquo;
27
- <span class='title'><span class='object_link'><a href="../../../LDAP.html" title="LDAP (module)">LDAP</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Server.html" title="LDAP::Server (class)">Server</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../MatchingRule.html" title="LDAP::Server::MatchingRule (class)">MatchingRule</a></span></span>
28
- &raquo;
29
- <span class="title">IA5Trim</span>
30
-
31
-
32
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
33
- </div>
34
-
35
- <div id="search">
36
- <a id="class_list_link" href="#">Class List</a>
37
- <a id="method_list_link" href="#">Method List</a>
38
- <a id ="file_list_link" href="#">File List</a>
39
- </div>
40
-
41
- <div class="clear"></div>
42
- </div>
43
-
44
- <iframe id="search_frame"></iframe>
45
-
46
- <div id="content"><h1>Module: LDAP::Server::MatchingRule::IA5Trim
47
-
48
-
49
-
50
- </h1>
51
-
52
- <dl class="box">
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
- <dt class="r1 last">Defined in:</dt>
62
- <dd class="r1 last">lib/ldap/server/match.rb</dd>
63
-
64
- </dl>
65
- <div class="clear"></div>
66
-
67
- <h2>Overview</h2><div class="docstring">
68
- <div class="discussion">
69
- <p>
70
- IA5 stuff. FIXME: What&#8217;s the correct way to &#8216;downcase&#8217;
71
- UTF8 strings?
72
- </p>
73
-
74
-
75
- </div>
76
- </div>
77
- <div class="tags">
78
-
79
- </div>
80
-
81
-
82
-
83
- <h2>
84
- Instance Method Summary
85
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
86
- </h2>
87
-
88
- <ul class="summary">
89
-
90
- <li class="public ">
91
- <span class="summary_signature">
92
-
93
- <a href="#normalize-instance_method" title="#normalize (instance method)">- (Object) <strong>normalize</strong>(x) </a>
94
-
95
-
96
-
97
- </span>
98
-
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
- <span class="summary_desc"><div class='inline'></div></span>
107
-
108
- </li>
109
-
110
-
111
- </ul>
112
-
113
-
114
-
115
-
116
- <div id="instance_method_details" class="method_details_list">
117
- <h2>Instance Method Details</h2>
118
-
119
-
120
- <div class="method_details first">
121
- <p class="signature first" id="normalize-instance_method">
122
-
123
- - (<tt>Object</tt>) <strong>normalize</strong>(x)
124
-
125
-
126
-
127
- </p><table class="source_code">
128
- <tr>
129
- <td>
130
- <pre class="lines">
131
-
132
-
133
- 220</pre>
134
- </td>
135
- <td>
136
- <pre class="code"><span class="info file"># File 'lib/ldap/server/match.rb', line 220</span>
137
-
138
- <span class='kw'>def</span> <span class='id normalize'>normalize</span><span class='lparen'>(</span><span class='id x'>x</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='id x'>x</span><span class='period'>.</span><span class='id gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^\s*|\s*$</span><span class='regexp_end'>/u</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\s+</span><span class='regexp_end'>/u</span></span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> </span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
139
- </td>
140
- </tr>
141
- </table>
142
- </div>
143
-
144
- </div>
145
-
146
- </div>
147
-
148
- <div id="footer">
149
- Generated on Mon Sep 13 13:27:16 2010 by
150
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
151
- 0.6.0 (ruby-1.9.2).
152
- </div>
153
-
154
- </body>
155
- </html>
@@ -1,143 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta name="Content-Type" content="text/html; charset=utf-8" />
6
- <title>Module: LDAP::Server::MatchingRule::Integer</title>
7
- <link rel="stylesheet" href="../../../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
- <link rel="stylesheet" href="../../../css/common.css" type="text/css" media="screen" charset="utf-8" />
9
-
10
- <script type="text/javascript" charset="utf-8">
11
- relpath = '../../..';
12
- if (relpath != '') relpath += '/';
13
- </script>
14
- <script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
15
- <script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
16
-
17
- </head>
18
- <body>
19
- <script type="text/javascript" charset="utf-8">
20
- if (window.top.frames.main) document.body.className = 'frames';
21
- </script>
22
-
23
- <div id="header">
24
- <div id="menu">
25
-
26
- <a href="../../../_index.html">Index (I)</a> &raquo;
27
- <span class='title'><span class='object_link'><a href="../../../LDAP.html" title="LDAP (module)">LDAP</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Server.html" title="LDAP::Server (class)">Server</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../MatchingRule.html" title="LDAP::Server::MatchingRule (class)">MatchingRule</a></span></span>
28
- &raquo;
29
- <span class="title">Integer</span>
30
-
31
-
32
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
33
- </div>
34
-
35
- <div id="search">
36
- <a id="class_list_link" href="#">Class List</a>
37
- <a id="method_list_link" href="#">Method List</a>
38
- <a id ="file_list_link" href="#">File List</a>
39
- </div>
40
-
41
- <div class="clear"></div>
42
- </div>
43
-
44
- <iframe id="search_frame"></iframe>
45
-
46
- <div id="content"><h1>Module: LDAP::Server::MatchingRule::Integer
47
-
48
-
49
-
50
- </h1>
51
-
52
- <dl class="box">
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
- <dt class="r1 last">Defined in:</dt>
62
- <dd class="r1 last">lib/ldap/server/match.rb</dd>
63
-
64
- </dl>
65
- <div class="clear"></div>
66
-
67
-
68
-
69
-
70
-
71
- <h2>
72
- Instance Method Summary
73
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
74
- </h2>
75
-
76
- <ul class="summary">
77
-
78
- <li class="public ">
79
- <span class="summary_signature">
80
-
81
- <a href="#normalize-instance_method" title="#normalize (instance method)">- (Object) <strong>normalize</strong>(x) </a>
82
-
83
-
84
-
85
- </span>
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
- <span class="summary_desc"><div class='inline'></div></span>
95
-
96
- </li>
97
-
98
-
99
- </ul>
100
-
101
-
102
-
103
-
104
- <div id="instance_method_details" class="method_details_list">
105
- <h2>Instance Method Details</h2>
106
-
107
-
108
- <div class="method_details first">
109
- <p class="signature first" id="normalize-instance_method">
110
-
111
- - (<tt>Object</tt>) <strong>normalize</strong>(x)
112
-
113
-
114
-
115
- </p><table class="source_code">
116
- <tr>
117
- <td>
118
- <pre class="lines">
119
-
120
-
121
- 192</pre>
122
- </td>
123
- <td>
124
- <pre class="code"><span class="info file"># File 'lib/ldap/server/match.rb', line 192</span>
125
-
126
- <span class='kw'>def</span> <span class='id normalize'>normalize</span><span class='lparen'>(</span><span class='id x'>x</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='id x'>x</span><span class='period'>.</span><span class='id to_i'>to_i</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
127
- </td>
128
- </tr>
129
- </table>
130
- </div>
131
-
132
- </div>
133
-
134
- </div>
135
-
136
- <div id="footer">
137
- Generated on Mon Sep 13 13:27:16 2010 by
138
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
139
- 0.6.0 (ruby-1.9.2).
140
- </div>
141
-
142
- </body>
143
- </html>
@@ -1,212 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta name="Content-Type" content="text/html; charset=utf-8" />
6
- <title>Module: LDAP::Server::MatchingRule::Ordering</title>
7
- <link rel="stylesheet" href="../../../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
- <link rel="stylesheet" href="../../../css/common.css" type="text/css" media="screen" charset="utf-8" />
9
-
10
- <script type="text/javascript" charset="utf-8">
11
- relpath = '../../..';
12
- if (relpath != '') relpath += '/';
13
- </script>
14
- <script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
15
- <script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
16
-
17
- </head>
18
- <body>
19
- <script type="text/javascript" charset="utf-8">
20
- if (window.top.frames.main) document.body.className = 'frames';
21
- </script>
22
-
23
- <div id="header">
24
- <div id="menu">
25
-
26
- <a href="../../../_index.html">Index (O)</a> &raquo;
27
- <span class='title'><span class='object_link'><a href="../../../LDAP.html" title="LDAP (module)">LDAP</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Server.html" title="LDAP::Server (class)">Server</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../MatchingRule.html" title="LDAP::Server::MatchingRule (class)">MatchingRule</a></span></span>
28
- &raquo;
29
- <span class="title">Ordering</span>
30
-
31
-
32
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
33
- </div>
34
-
35
- <div id="search">
36
- <a id="class_list_link" href="#">Class List</a>
37
- <a id="method_list_link" href="#">Method List</a>
38
- <a id ="file_list_link" href="#">File List</a>
39
- </div>
40
-
41
- <div class="clear"></div>
42
- </div>
43
-
44
- <iframe id="search_frame"></iframe>
45
-
46
- <div id="content"><h1>Module: LDAP::Server::MatchingRule::Ordering
47
-
48
-
49
-
50
- </h1>
51
-
52
- <dl class="box">
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
- <dt class="r1">Included in:</dt>
61
- <dd class="r1"><span class='object_link'><a href="DefaultMatchingClass.html" title="LDAP::Server::MatchingRule::DefaultMatchingClass (class)">DefaultMatchingClass</a></span></dd>
62
-
63
-
64
-
65
- <dt class="r2 last">Defined in:</dt>
66
- <dd class="r2 last">lib/ldap/server/match.rb</dd>
67
-
68
- </dl>
69
- <div class="clear"></div>
70
-
71
-
72
-
73
-
74
-
75
- <h2>
76
- Instance Method Summary
77
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
78
- </h2>
79
-
80
- <ul class="summary">
81
-
82
- <li class="public ">
83
- <span class="summary_signature">
84
-
85
- <a href="#ge-instance_method" title="#ge (instance method)">- (Object) <strong>ge</strong>(vals, m) </a>
86
-
87
-
88
-
89
- </span>
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
- <span class="summary_desc"><div class='inline'></div></span>
99
-
100
- </li>
101
-
102
-
103
- <li class="public ">
104
- <span class="summary_signature">
105
-
106
- <a href="#le-instance_method" title="#le (instance method)">- (Object) <strong>le</strong>(vals, m) </a>
107
-
108
-
109
-
110
- </span>
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
- <span class="summary_desc"><div class='inline'></div></span>
120
-
121
- </li>
122
-
123
-
124
- </ul>
125
-
126
-
127
-
128
-
129
- <div id="instance_method_details" class="method_details_list">
130
- <h2>Instance Method Details</h2>
131
-
132
-
133
- <div class="method_details first">
134
- <p class="signature first" id="ge-instance_method">
135
-
136
- - (<tt>Object</tt>) <strong>ge</strong>(vals, m)
137
-
138
-
139
-
140
- </p><table class="source_code">
141
- <tr>
142
- <td>
143
- <pre class="lines">
144
-
145
-
146
- 109
147
- 110
148
- 111
149
- 112
150
- 113
151
- 114</pre>
152
- </td>
153
- <td>
154
- <pre class="code"><span class="info file"># File 'lib/ldap/server/match.rb', line 109</span>
155
-
156
- <span class='kw'>def</span> <span class='id ge'>ge</span><span class='lparen'>(</span><span class='id vals'>vals</span><span class='comma'>,</span> <span class='id m'>m</span><span class='rparen'>)</span>
157
- <span class='kw'>return</span> <span class='kw'>false</span> <span class='kw'>if</span> <span class='id vals'>vals</span><span class='period'>.</span><span class='id nil?'>nil?</span>
158
- <span class='id m'>m</span> <span class='op'>=</span> <span class='id normalize'>normalize</span><span class='lparen'>(</span><span class='id m'>m</span><span class='rparen'>)</span>
159
- <span class='id vals'>vals</span><span class='period'>.</span><span class='id each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id v'>v</span><span class='op'>|</span> <span class='kw'>return</span> <span class='kw'>true</span> <span class='kw'>if</span> <span class='id normalize'>normalize</span><span class='lparen'>(</span><span class='id v'>v</span><span class='rparen'>)</span> <span class='op'>&gt;=</span> <span class='id m'>m</span> <span class='rbrace'>}</span>
160
- <span class='kw'>return</span> <span class='kw'>false</span>
161
- <span class='kw'>end</span></pre>
162
- </td>
163
- </tr>
164
- </table>
165
- </div>
166
-
167
- <div class="method_details ">
168
- <p class="signature " id="le-instance_method">
169
-
170
- - (<tt>Object</tt>) <strong>le</strong>(vals, m)
171
-
172
-
173
-
174
- </p><table class="source_code">
175
- <tr>
176
- <td>
177
- <pre class="lines">
178
-
179
-
180
- 116
181
- 117
182
- 118
183
- 119
184
- 120
185
- 121</pre>
186
- </td>
187
- <td>
188
- <pre class="code"><span class="info file"># File 'lib/ldap/server/match.rb', line 116</span>
189
-
190
- <span class='kw'>def</span> <span class='id le'>le</span><span class='lparen'>(</span><span class='id vals'>vals</span><span class='comma'>,</span> <span class='id m'>m</span><span class='rparen'>)</span>
191
- <span class='kw'>return</span> <span class='kw'>false</span> <span class='kw'>if</span> <span class='id vals'>vals</span><span class='period'>.</span><span class='id nil?'>nil?</span>
192
- <span class='id m'>m</span> <span class='op'>=</span> <span class='id normalize'>normalize</span><span class='lparen'>(</span><span class='id m'>m</span><span class='rparen'>)</span>
193
- <span class='id vals'>vals</span><span class='period'>.</span><span class='id each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id v'>v</span><span class='op'>|</span> <span class='kw'>return</span> <span class='kw'>true</span> <span class='kw'>if</span> <span class='id normalize'>normalize</span><span class='lparen'>(</span><span class='id v'>v</span><span class='rparen'>)</span> <span class='op'>&lt;=</span> <span class='id m'>m</span> <span class='rbrace'>}</span>
194
- <span class='kw'>return</span> <span class='kw'>false</span>
195
- <span class='kw'>end</span></pre>
196
- </td>
197
- </tr>
198
- </table>
199
- </div>
200
-
201
- </div>
202
-
203
- </div>
204
-
205
- <div id="footer">
206
- Generated on Mon Sep 13 13:27:16 2010 by
207
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
208
- 0.6.0 (ruby-1.9.2).
209
- </div>
210
-
211
- </body>
212
- </html>