Skip to content
Commits on Jan 19, 2016
  1. newsletter.

    committed
Commits on Dec 26, 2015
  1. update bundler.

    committed
Commits on Dec 18, 2015
  1. @franzliedke
  2. @franzliedke
Commits on Dec 3, 2015
  1. Merge branch 'jsonapi-parse-bad-document' of https://github.com/robja…

    committed
    …coby/roar
    
    Conflicts:
    	test/jsonapi/post_test.rb
  2. @robjacoby
  3. @robjacoby
Commits on Nov 30, 2015
  1. CHANGES.

    committed
    Conflicts:
    	CHANGES.markdown
Commits on Nov 26, 2015
  1. require representable 2.4.0.

    committed
  2. remove Roar::root.

    committed
Commits on Nov 25, 2015
  1. allow 1-level fieldset filtering.

    committed
    API:
    
    to_hash(
                include:  [:id, :title, :author],
                fields: {author: [:email]}
              )
Commits on Nov 24, 2015
  1. @thhermansen
  2. @thhermansen
  3. use a class instance var for type and inherit via heritage.

    committed
    create included decorator first since it includes all the properties. then, inherit the relationships representer from it. when rendering, do only include :type, :id and :links in :relationships.
  4. simplify relationships.

    committed
Commits on Nov 23, 2015
  1. implement sparse fieldsets for compounds. this simply uses representa…

    committed
    …ble's new nested :include options, but we can make that a bit nicer in JSONAPI#to_hash.
  2. format tests.

    committed
  3. @thhermansen

    Have to delete attributes if hash is a hash, too.

    thhermansen committed
    This part seems to have no tests(?)
  4. @thhermansen
  5. @thhermansen

    Only include the same entity in JSON API included once.

    thhermansen committed
    http://jsonapi.org/format/#document-compound-documents
    
    "A compound document MUST NOT include more than one
    resource object for each type and id pair."
  6. @thhermansen
  7. @thhermansen
Commits on Nov 20, 2015
  1. make :include in JSONAPI work.

    committed
    don't render links when empty.
    unify Fragment::Links and :Included.
Commits on Nov 19, 2015
Commits on Nov 15, 2015
Commits on Nov 12, 2015
  1. @robjacoby
  2. new representable.

    committed
  3. @robjacoby
Something went wrong with that request. Please try again.