socialcast_ldap_integration 1.1.15 → 1.1.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -176,7 +176,9 @@ module Socialcast
176
176
  else
177
177
  ldap_connections = self.config["connections"]
178
178
  ldap_connections.each do |connection|
179
- return true if connection["map"].keys.include?(string_field)
179
+ map = connection["map"]
180
+ field_populated = map.keys.include?(string_field) && !map[string_field].blank?
181
+ return true if field_populated
180
182
  end
181
183
  end
182
184
  false
@@ -1,5 +1,5 @@
1
1
  module Socialcast
2
2
  module LdapIntegration
3
- VERSION = "1.1.15"
3
+ VERSION = "1.1.16"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: socialcast_ldap_integration
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.15
4
+ version: 1.1.16
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-09-27 00:00:00.000000000 Z
14
+ date: 2012-09-28 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: socialcast-net-ldap