ruby-activeldap 0.5.1 → 0.5.2
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/lib/activeldap/base.rb +3 -3
- data/lib/activeldap.rb +1 -1
- metadata +1 -1
data/lib/activeldap/base.rb
CHANGED
@@ -536,7 +536,7 @@ module ActiveLDAP
|
|
536
536
|
|
537
537
|
# Populate real data now that we have the schema with aliases
|
538
538
|
@ldap_data.each do |pair|
|
539
|
-
send(:attribute_method=, pair[0], pair[1])
|
539
|
+
send(:attribute_method=, pair[0], pair[1].dup)
|
540
540
|
end
|
541
541
|
|
542
542
|
rescue LDAP::ResultError
|
@@ -1127,11 +1127,11 @@ module ActiveLDAP
|
|
1127
1127
|
# Get the attr and clean up the input
|
1128
1128
|
attr = @attr_methods[method]
|
1129
1129
|
@@logger.debug("attribute_method=(#{method.inspect}, #{value.inspect}): method maps to #{attr}")
|
1130
|
-
|
1130
|
+
|
1131
1131
|
# Assign the value
|
1132
1132
|
@data[attr] = value
|
1133
1133
|
|
1134
|
-
# Return
|
1134
|
+
# Return the passed in value
|
1135
1135
|
@@logger.debug("stub: exitting attribute_method=")
|
1136
1136
|
return @data[attr]
|
1137
1137
|
end
|
data/lib/activeldap.rb
CHANGED