skos2html 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/skos2html.rb +3 -3
  2. metadata +1 -1
data/lib/skos2html.rb CHANGED
@@ -44,9 +44,9 @@ class Skos2Html
44
44
  # Load some basic vocabularies in order to retrieve labels
45
45
  # etc.
46
46
  def set_up_vocabs
47
- @vocabs = RDF::Graph.load("lib/skos.rdf")
48
- @vocabs << RDF::Graph.load("lib/dcterms.rdf")
49
- @vocabs << RDF::Graph.load("lib/rdf-schema.rdf")
47
+ @vocabs = RDF::Graph.load(File.expand_path("skos.rdf", File.dirname(__FILE__)))
48
+ @vocabs << RDF::Graph.load(File.expand_path("dcterms.rdf", File.dirname(__FILE__)))
49
+ @vocabs << RDF::Graph.load(File.expand_path("rdf-schema.rdf", File.dirname(__FILE__)))
50
50
  end
51
51
 
52
52
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skos2html
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: