Tags: sjakobi/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.
Release 1.1.15: * Ensure that opening a missing local file still results in IOError. * Join redirection Location to base_uri when redirecting, as Location may be a relative path. Fixes ruby-rdf#203. * Enable Ruby-idiomatic aliases for camelCased props * Sync with release 2.1 of schema.org vocabulary. * Implement `List#[]=` based on description from Array.
Release 1.1.14 * Update schema vocabulary with sdo-gozer (2.0) * Don't create Vocabulary accessor for `hash` in addition to `property`. This addresses a problem found in ruby-rdf/rdf-vocab#18 (comment). * Fix C14N issues for Literal::Double with NaN, INF and -INF. * Implement #freeze stopping writability. (@terrellt)
Release 1.1.13 * Update specs to use new style shared_examples (@no-reply) * Loosen hash check on `Node#==` (@no-reply) * Fix validate! in Value to return self, as is documented. * Add Pattern#valid? to improve on Statement#valid? for legitimate patterns. * Improve Query#validate! to validate patterns, not require the first pattern to not be optional, and modernize check for appropriate partition of required and optional patterns.
Release 1.1.12 General support for SPARQL Update: * Add Query#apply_context to finalize the context of patterns having a nil context. * Add Query#variable? and Query#has_blank_nodes? which projects onto query patterns. * Make RDF::Query Enumerable, and implement #each_statement to enmerate patterns. * Query::Pattern#bind binds variables from a Solution, to either make the pattern not variable, or still variable and unbound, depending on if all variables are bound to bound variables.
PreviousNext