socialcast_ldap_integration 1.1.6 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -63,6 +63,15 @@ module Socialcast
|
|
63
63
|
end
|
64
64
|
nil
|
65
65
|
end
|
66
|
+
|
67
|
+
def self.with_connections(options={})
|
68
|
+
connections = []
|
69
|
+
connect(options) do |ldap, connection_options|
|
70
|
+
connections << [ldap, connection_options]
|
71
|
+
end
|
72
|
+
yield connections
|
73
|
+
nil
|
74
|
+
end
|
66
75
|
|
67
76
|
def self.connect_to(connection_options)
|
68
77
|
searcher_username = connection_options['searcher_username']
|
@@ -140,7 +149,7 @@ module Socialcast
|
|
140
149
|
end
|
141
150
|
nil
|
142
151
|
end
|
143
|
-
|
152
|
+
|
144
153
|
protected
|
145
154
|
def self.construct_filter_for_search(connection, filter_options=nil, auxiliary_filter=nil)
|
146
155
|
unless filter_options
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: socialcast_ldap_integration
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 7
|
10
|
+
version: 1.1.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mitch Williams
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2011-
|
20
|
+
date: 2011-07-05 00:00:00 -07:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|