Skip to content

Commit

Permalink
Fixed namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
Trey Terrell committed Aug 26, 2014
1 parent 6c9ee1e commit b6fe3b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oregon_digital/bag_ingestible.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def ingest_bag(ingester, assets)

def bag_exists?(bag)
ntriples = bag.tag_files.find{|x| x.include? "descMetadata.nt"}
graph = RDF::Graph.load(ntriples)
graph = ::RDF::Graph.load(ntriples)
title = graph.query([nil, RDF::DC.title, nil]).first.try(:object).to_s
identifier = graph.query([nil, RDF::DC.identifier, nil]).first.try(:object).to_s
title_exists?(title, identifier)
Expand Down

0 comments on commit b6fe3b8

Please sign in to comment.