lib/treequel/branch.rb in treequel-1.5.0 vs lib/treequel/branch.rb in treequel-1.5.1

- old
+ new

@@ -545,10 +545,13 @@ ### Return OIDs (numeric OIDs as Strings, named OIDs as Symbols) for each of the ### receiver's operational attributes. def operational_attribute_oids - return self.operational_attribute_types.map( &:oid ) + return self.operational_attribute_types.inject([]) do |oids, attrtype| + oids.push( *attrtype.names ) + oids << attrtype.oid + end end ### Return Treequel::Schema::AttributeType instances for each of the receiver's ### objectClass's MUST attributeTypes. If any +additional_object_classes+ are given,