protected void parse(DeploymentUnit unit, Object data) throws Exception {
Map<String, Map<String, Object>> file = (Map<String, Map<String, Object>>) data;
for ( String configurationName : file.keySet() ) {
Map<String, Object> config = file.get( configurationName );
if (ruby != null) config = ruby.evaluateErb( config );
DatabaseMetaData md = new DatabaseMetaData( configurationName, config );
unit.addToAttachmentList( DatabaseMetaData.ATTACHMENTS, md );
}
}