Skip to content
Commits on Jun 28, 2010
  1. Bumped the version to 0.2.1.

    committed Jun 28, 2010
  2. Implemented an RDF::Value#to_ntriples method contingent on the RDF::N…

    …Triples serializer.
    This method is only available when the 'rdf/ntriples' library has been explicitly required.
    committed Jun 28, 2010
  3. Ensured that RDF::Literal#canonicalize transforms the language tag in…

    …to lowercase (fixes #29).
    committed Jun 28, 2010
  4. Reverted changes to RDF::Literal::{Decimal,Double}#to_s.

    The RDF::Literal#to_s method does not need to (and in general perhaps should not) perform canonicalization. According to the principle of least surprise, we don't want e.g. to return "0.0E0", we want it to return "0.0". We should also ensure that #to_s remains a relatively cheap operation.
    committed Jun 28, 2010
  5. Fixed the duck-typing logic in RDF::Literal subclass constructors; al…

    …so added some more code comments and unified the coding conventions.
    committed Jun 28, 2010
Commits on Jun 27, 2010
  1. @gkellogg
  2. @gkellogg
  3. @gkellogg
  4. @gkellogg
Commits on Jun 25, 2010
  1. Extended the RDF::Literal constructor to perform type dispatch on the…

    … given :datatype option as well.
    committed Jun 25, 2010
  2. Changed all references to Object#object_id to prefer using Object#__i…

    …d__ instead (less chance of it being undefined or redefined).
    committed Jun 25, 2010
  3. Implemented an RDF::Literal#validate method and an*…

    …args, :validate => true) constructor option.
    committed Jun 25, 2010
  4. Implemented the*args, :canonicalize => true) constr…

    …uctor option (kudos to Gregg Kellogg for the suggestion).
    committed Jun 25, 2010
  5. Ensured that RDF::Literal::Boolean won't raise errors when constructed.

    Rather, users should rely on the :validate => true constructor option, or the #valid? and #invalid? methods, to perform validation.
    committed Jun 25, 2010
  6. Ensured that specific RDF::Literal subclasses can be directly constru…

    …cted without type dispatch.
    committed Jun 25, 2010
Commits on Jun 24, 2010
  1. Factored out the datatype-specific functionality of RDF::Literal into…

    … a number of distinct subclasses (closes #17).
    Also added a new RDF::Literal#canonicalize method for XSD literal canonicalization purposes (see #25 and #26).
    committed Jun 24, 2010
  2. Ensured that the BigDecimal, Date and DateTime classes from Ruby's st…

    …andard library are always available.
    committed Jun 24, 2010
Commits on Jun 23, 2010
Commits on Jun 21, 2010
  1. Enhanced the error message given when RDF::Reader#read_triple remains…

    … unimplemented in a subclass.
    committed Jun 21, 2010
  2. Ensured that does not autogenerate invalid (with refere…

    …nce to the N-Triples grammar) blank node identifiers (fixes #28).
    committed Jun 21, 2010
Commits on Jun 19, 2010
  1. Bumped the version to

    committed Jun 19, 2010
Commits on Jun 18, 2010
  1. Fixed a "parenthesize argument(s) for future version" warning on Ruby…

    … 1.8.6 and earlier versions.
    committed Jun 18, 2010
  2. Fixed a syntax error in RDF::Util::Aliasing::LateBound#alias_method o…

    …n Ruby 1.8.6 and earlier versions.
    committed Jun 18, 2010
Something went wrong with that request. Please try again.