napa_pagination 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/napa_pagination/version.rb +1 -1
- data/napa_pagination.gemspec +1 -0
- metadata +17 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2040765e2211cb26d06203d4b11e2059265e9b69
|
|
4
|
+
data.tar.gz: f529ae41244fa40bcfe7887747a7b9b320f5e9dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a1be748695c4ec52d741a09acaf12c2a64c963f8fa7e9b1e45d649df459462d19f3db89fd10ad6db5be1c7f9d479b0c2ff08faa3b5c570431a9419abb0a58ed9
|
|
7
|
+
data.tar.gz: b85247ea1831d700d56edd6b317a56277219c488748455bc7ea1e129f0d58e84f3ecc9a6c26122a45c9522583076839fedbdfef9ab6e5b64d01a53d400421d45
|
data/README.md
CHANGED
|
@@ -17,7 +17,7 @@ Or install it yourself as:
|
|
|
17
17
|
$ gem install napa_pagination
|
|
18
18
|
|
|
19
19
|
## Usage
|
|
20
|
-
Once you have the gem installed, simply replace `represent` with the `paginate` when returning the response from your API. Below is an example based on the Napa Quickstart Guide.
|
|
20
|
+
Once you have the gem installed, simply replace `represent` with the `paginate` when returning the response from your API. Below is an example based on the [Napa Quickstart Guide](https://github.com/bellycard/napa/blob/master/docs/quickstart.md).
|
|
21
21
|
|
|
22
22
|
```ruby
|
|
23
23
|
class PeopleApi < Grape::API
|
data/napa_pagination.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: napa_pagination
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Darby Frey
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-06-
|
|
11
|
+
date: 2014-06-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: grape
|
|
@@ -38,6 +38,20 @@ dependencies:
|
|
|
38
38
|
- - '>='
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: kaminari
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - '>='
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '0'
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - '>='
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '0'
|
|
41
55
|
- !ruby/object:Gem::Dependency
|
|
42
56
|
name: bundler
|
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -191,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
191
205
|
version: '0'
|
|
192
206
|
requirements: []
|
|
193
207
|
rubyforge_project:
|
|
194
|
-
rubygems_version: 2.
|
|
208
|
+
rubygems_version: 2.1.11
|
|
195
209
|
signing_key:
|
|
196
210
|
specification_version: 4
|
|
197
211
|
summary: A simple pagination representer for Napa
|