|
1 | | -# api-pagination [](https://travis-ci.org/davidcelis/api-pagination) |
| 1 | +# api-pagination |
2 | 2 |
|
3 | 3 | Paginate in your headers, not in your response body. |
4 | 4 |
|
| 5 | +[![Build Status][travis-badge]][travis] [![Coverage][coveralls-badge]][coveralls] [![Climate][code-climate-badge]][code-climate] [![Dependencies][gemnasium-badge]][gemnasium] [![gittip][gittip-badge]][gittip] |
| 6 | + |
5 | 7 | ## Installation |
6 | 8 |
|
7 | 9 | In your `Gemfile`: |
@@ -85,21 +87,16 @@ Total: 4321 |
85 | 87 | # ... |
86 | 88 | ``` |
87 | 89 |
|
88 | | -## Testing |
89 | | - |
90 | | -```bash |
91 | | -PAGINATOR=kaminari bundle exec rspec |
92 | | -PAGINATOR=will_paginate bundle exec rspec |
93 | | -``` |
94 | | - |
95 | | -## Contributing |
96 | | - |
97 | | -1. Fork it |
98 | | -2. Create your feature branch (`git checkout -b my-new-feature`) |
99 | | -3. Commit your changes and tests (`git commit -am 'Add some feature'`) |
100 | | -4. Run the tests (`KAMINARI=true bundle exec rspec; WILL_PAGINATE=true bundle exec rspec`) |
101 | | -5. Push to the branch (`git push origin my-new-feature`) |
102 | | -6. Create a new Pull Request |
103 | | - |
104 | 90 | [kaminari]: https://github.com/amatsuda/kaminari |
105 | 91 | [will_paginate]: https://github.com/mislav/will_paginate |
| 92 | + |
| 93 | +[travis]: https://travis-ci.org/davidcelis/api-pagination |
| 94 | +[travis-badge]: http://img.shields.io/travis/davidcelis/api-pagination/master.svg |
| 95 | +[coveralls]: https://coveralls.io/r/davidcelis/api-pagination |
| 96 | +[coveralls-badge]: http://img.shields.io/coveralls/davidcelis/api-pagination/master.svg |
| 97 | +[code-climate]: https://codeclimate.com/github/davidcelis/api-pagination |
| 98 | +[code-climate-badge]: http://img.shields.io/codeclimate/github/davidcelis/api-pagination.svg |
| 99 | +[gemnasium]: http://gemnasium.com/davidcelis/api-pagination |
| 100 | +[gemnasium-badge]: http://img.shields.io/gemnasium/davidcelis/api-pagination.svg |
| 101 | +[gittip]: https://gittip.com/davidcelis |
| 102 | +[gittip-badge]: http://img.shields.io/gittip/davidcelis.svg |
0 commit comments