napa_pagination 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e016ee576bf219579c7fe3657e17dbc6d21daa8
4
- data.tar.gz: 9cf55ebabf41fc5548ce881af3fb0ddd07ada7df
3
+ metadata.gz: 2040765e2211cb26d06203d4b11e2059265e9b69
4
+ data.tar.gz: f529ae41244fa40bcfe7887747a7b9b320f5e9dd
5
5
  SHA512:
6
- metadata.gz: 70d76059dd628eecc843cfb5b4171710a6e811107d19b0115a4e8fb30f432b9340cb0baeaab1d7a8635549a4c42c5bd5cbca5f86434a7f14deb20fb7e00235fe
7
- data.tar.gz: b31a2204b58fae09917da894a9973b97aa70f27fa8d8dc5403e9330638a0fc29d10fb9eadc67d21392c3535fdb26a3cef84d7d9e90342eaa3101acc2cf21eb54
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
@@ -1,3 +1,3 @@
1
1
  module NapaPagination
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -20,6 +20,7 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_dependency 'grape'
22
22
  spec.add_dependency 'napa'
23
+ spec.add_dependency 'kaminari'
23
24
 
24
25
  spec.add_development_dependency "bundler", "~> 1.5"
25
26
  spec.add_development_dependency "rake"
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.1
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-03 00:00:00.000000000 Z
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.2.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