Closed jcoyne closed 8 years ago
irb(main):001:0> RDF::Vocab::IANA['first']
=> #<RDF::Vocabulary::Term:0x3fef0b95c600 URI:http://www.iana.org/assignments/link-relations/first>
$ bundle show rdf-vocab
/Users/justin/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rdf-vocab-0.8.6
Error occurs when upgrading rdf-vocab to 0.8.7
RDF::Vocab::IANA['first']
KeyError: first not found in vocabulary RDF::Vocab::IANA
I believe this issue is described here: #31
@acoburn No problem with the URI's changing, but I don't have a way to get the first
term.
Sorry, something else must have been messed up; I'll check and fix/release later today. AFK right now
@gkellogg Ok. Thanks.
Looks like all the properties went away actually.
@jcoyne yes exactly: https://github.com/ruby-rdf/rdf-vocab/blob/develop/lib/rdf/vocab/iana.rb is now empty
I don't see why the properties file vocab/iana.rb
wasn't properly generated from the .ttl file. Is there a url mismatch?
https://github.com/ruby-rdf/rdf-vocab/commit/2314c1302e93c04d2cff4e93d4ceb7d0e591d430
Looks like the vocab-fetch was looking for the wrong url, or at least that's why I assume given the ouput.
# Vocabulary for <http://www.iana.org/assignments/link-relations/>
That's probably it, updates the source file, but not the vocabulary def.
Fixed in d443106bd8fad69cf51f9af0187d883b84586663 and released in 0.8.7.1.