ruby-rdf / rdf-rdfxml

Ruby RDF/XML reader/writer for RDF.rb.
http://rubygems.org/gems/rdf-rdfxml
The Unlicense
17 stars 7 forks source link

Haml self close2 #39

Closed jcoyne closed 5 years ago

jcoyne commented 5 years ago

@gkellogg any idea about this failure?

Failures:
  1) RDF::RDFXML::Format.for discovers with :rdf
     Failure/Error: expect(RDF::Format.for(arg)).to eq described_class

       expected: RDF::RDFXML::Format
            got: nil

       (compared using ==)
     # ./spec/format_spec.rb:20:in `block (4 levels) in <top (required)>'
gkellogg commented 5 years ago

RDF.rb 1.99 branch does not support Format.symbols, it relies on to_sym, so we can't support more than one symbol. This doesn't seem to have been caught when it was last updated in 2015 in 392698f05486410a7c68ccf3ee724568a364eb25, it previously defined an RDFFormat class to handle this. Reverting that commit should make it work.

jcoyne commented 5 years ago

@gkellogg thanks for taking this over for me. 👍