From 0b108ef887cc014cf5cc4fa25bba40bced1172d6 Mon Sep 17 00:00:00 2001 From: mguetlein Date: Wed, 26 May 2010 14:26:42 +0200 Subject: replacing dm-more and dm-core with datamapper --- lib/environment.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/environment.rb b/lib/environment.rb index 3d4cd69..81c7ea2 100644 --- a/lib/environment.rb +++ b/lib/environment.rb @@ -24,7 +24,8 @@ end # database if @@config[:database] - ['dm-core', 'dm-serializer', 'dm-timestamps', 'dm-types'].each{|lib| require lib } + #['dm-core', 'dm-serializer', 'dm-timestamps', 'dm-types'].each{|lib| require lib } + ['datamapper'].each{|lib| require lib } case @@config[:database][:adapter] when /sqlite/i db_dir = File.join(basedir, "db") @@ -128,6 +129,7 @@ RDF = Redland::Namespace.new 'http://www.w3.org/1999/02/22-rdf-syntax-ns#' OWL = Redland::Namespace.new 'http://www.w3.org/2002/07/owl#' DC = Redland::Namespace.new 'http://purl.org/dc/elements/1.1/' OT = Redland::Namespace.new 'http://www.opentox.org/api/1.1#' +#OT = Redland::Namespace.new 'http://ortona.informatik.uni-freiburg.de/opentox.owl#' XML = Redland::Namespace.new 'http://www.w3.org/2001/XMLSchema#' # Regular expressions for parsing classification data -- cgit v1.2.3