README.md in graphql-pagination-0.2.1 vs README.md in graphql-pagination-0.2.2

- old
+ new

@@ -1,10 +1,8 @@ +[![Gem Version](https://badge.fury.io/rb/graphql-pagination.svg)](https://rubygems.org/gems/graphql-pagination) +[![Build Status](https://travis-ci.org/RenoFi/graphql-pagination.svg?branch=master)](https://travis-ci.org/RenoFi/graphql-pagination) -[![Gem Version](https://badge.fury.io/rb/graphql-pagination.png)][gem_version] - -[gem_version]: https://rubygems.org/gems/a9n - # graphql-pagination Implements page-based pagination returning collection and pagination metadata. It works with `kaminari` or other pagination tools implementing similar methods. ## Installation @@ -51,26 +49,26 @@ } ``` ```json { - "data": { - "checklists": { - "collection": [ + 'data': { + 'checklists': { + 'collection': [ { - "id": "93938bb3-7a6c-4d35-9961-cbb2d4c9e9ac", - "name": "Apple" + 'id': '93938bb3-7a6c-4d35-9961-cbb2d4c9e9ac', + 'name': 'Apple' }, { - "id": "b1ee93b2-579a-4107-8454-119bba5afb63", - "name": "Mango" + 'id': 'b1ee93b2-579a-4107-8454-119bba5afb63', + 'name': 'Mango' } ], - "metadata": { - "totalPages": 25, - "totalCount": 50, - "currentPage": 2, - "limitValue": 2 + 'metadata': { + 'totalPages': 25, + 'totalCount': 50, + 'currentPage': 2, + 'limitValue': 2 } } } } ```