Tags: synergyfusion/rdf
Tags
Release 1.99.0: * Warn when a deprecated vocabulary constant is found that it is deprecated, and that the access pattern will change. Fixes ruby-rdf#191. * RDF.rb 2.0 will deprecate the use of `context` in favor of `graph_name`. This affects many methods, but also :context used as an option. For issue ruby-rdf#189. * Change `#has_blank_nodes?` to `#node?`, but keep as method alias. * Add `Term#compatible?` from SPARQL. * Add a `#valid?` implementation to Reader base. * Fix issues converting DateTime and Time objects to strings when not canonicalizing. Fixes ruby-rdf#218. * Fix named graph support in `RDF::Transaction` * Use of `RDF::Graph` to store inserts and deletes in `RDF::Transaction` is heavy handed, and results in the destruction of graph names on statements passed in. This fix simply uses `[]` to handle the statement lists (`RDF::Enumerable` is already included by force). * This should be cheaper and insulate us from potentially unwanted behavior outside of `Enumerable`. Clients can still use `RDF::Graph` by passing it on initialization at their own risk. * Correct behaviors for open_file: * charset should be a downcased string. Fixes ruby-rdf#199. * content_encoding reflects Content-Encoding, as an array of downcased strings. * Non-UTF input is transformed to UTF-8, so that `external_encoding` is now "utf-8" with `charset` the original character set. * With Ruby 2.2+, attempt to turn Unicode input into NFC. * Make `Transaction#execute` more atomic * Executing a transaction individually called `#delete` or `#insert` for each statement in the changeset. This prevents using the features of `Repositories` with a more efficient implementation of `#insert/delete_statements`. * Use `#clear_statements` when available * `Mutable#clear` checks whether the instance responds to `#clear_statements` and falls back on `#delete_statements`. The former clears the entire mutable, using e.g., `graph_name`, while the later has enumerative semantics (deleting the members of the set of statements). Because `#clear_statements` is protected or private, it will never be used by immutable without the `true` flag on `#respond_to?`. * Add `Statement.#complete?/#incomplete?` to check for nil elements. Update `Repository#insert_statement` to not add incomplete statements (silently); raises an ArgumentError. For ruby-rdf#226.
Release 1.1.17: * Performance improvements from @jperville. * Update schema.org vocabulary for sdo-ganymede (2.1).
Released version 1.1.6. * Fixed ruby-rdf#210: remedied a RegexpError with JRuby.