Skip to content

Release 0.1.7

Compare
Choose a tag to compare
@kingsleyh kingsleyh released this 06 Aug 19:55
· 25 commits to master since this release

The inclusion of Enumerable(QueryResult) in RethinkDB::QueryResult failed to satisfy the abstract type checking of Crystal v0.30

Whilst we could expose enumeration, using the #as_h and #as_a methods are more explicit.

Changed

  • #as_a returns Array(QueryResult)
  • #as_a? returns Array(QueryResult)?
  • #as_h returns Hash(String, QueryResult)
  • #as_h? returns Hash(String, QueryResult)?
  • RethinkDB::QueryResult::Type is now analogous to JSON::Any::Type
  • reql spec helpers moved from spec/reql_spec.cr to spec/spec_helper.cr
  • added skip methods

Removed

  • Enumerable(QueryResult) on RethinkDB::QueryResult