Skip to content

Commit c57fc39

Browse files
committed
Rework badges, contributing
Signed-off-by: David Celis <[email protected]>
1 parent b961ec3 commit c57fc39

File tree

2 files changed

+22
-17
lines changed

2 files changed

+22
-17
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## Contributing
2+
3+
1. Fork it
4+
2. Create your feature branch (`git checkout -b my-new-feature`)
5+
3. Commit your changes and tests (`git commit -am 'Add some feature'`)
6+
4. Run the tests (`KAMINARI=true bundle exec rspec; WILL_PAGINATE=true bundle exec rspec`)
7+
5. Push to the branch (`git push origin my-new-feature`)
8+
6. Create a new Pull Request

README.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
# api-pagination [![Build Status](https://travis-ci.org/davidcelis/api-pagination.png)](https://travis-ci.org/davidcelis/api-pagination)
1+
# api-pagination
22

33
Paginate in your headers, not in your response body.
44

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+
57
## Installation
68

79
In your `Gemfile`:
@@ -85,21 +87,16 @@ Total: 4321
8587
# ...
8688
```
8789

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-
10490
[kaminari]: https://github.com/amatsuda/kaminari
10591
[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

Comments
 (0)