ruby-activeldap 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
- #value = attribute_input_handler(attr, value)
1130
+
1131
1131
  # Assign the value
1132
1132
  @data[attr] = value
1133
1133
 
1134
- # Return a copy of what got saved
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
@@ -898,7 +898,7 @@ require 'activeldap/configuration'
898
898
  require 'activeldap/schema2'
899
899
 
900
900
  module ActiveLDAP
901
- VERSION = "0.5.1"
901
+ VERSION = "0.5.2"
902
902
  end
903
903
 
904
904
  ActiveLDAP::Base.class_eval do
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.8.1
3
3
  specification_version: 1
4
4
  name: ruby-activeldap
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.5.1
6
+ version: 0.5.2
7
7
  date: 2004-10-22
8
8
  summary: Ruby/ActiveLDAP is a object-oriented API to LDAP
9
9
  require_paths: