lib/rdf/n3.rb in rdf-n3-0.0.1 vs lib/rdf/n3.rb in rdf-n3-0.0.2
- old
+ new
@@ -1,6 +1,6 @@
-$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
+$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), '..')))
require 'rdf'
module RDF
##
# **`RDF::N3`** is an Notation-3 plugin for RDF.rb.
@@ -18,13 +18,20 @@
# @see http://rdf.rubyforge.org/
# @see http://www.w3.org/TR/REC-rdf-syntax/
#
# @author [Gregg Kellogg](http://kellogg-assoc.com/)
module N3
- require 'n3/format'
- require 'n3/vocab'
- require 'n3/patches/array_hacks'
- require 'n3/patches/rdf_escape'
+ require 'rdf/n3/format'
+ require 'rdf/n3/vocab'
+ require 'rdf/n3/patches/array_hacks'
+ require 'rdf/n3/patches/literal_hacks'
+ require 'rdf/n3/patches/literal_normalization'
+ require 'rdf/n3/patches/graph_properties'
+ require 'rdf/n3/patches/qname_hacks'
+ require 'rdf/n3/patches/rdf_escape'
+ require 'rdf/n3/patches/seq'
+ require 'rdf/n3/patches/uri_hacks'
autoload :Reader, 'rdf/n3/reader'
autoload :VERSION, 'rdf/n3/version'
+ autoload :Writer, 'rdf/n3/writer'
end
end
\ No newline at end of file