api-pagination 1.1.0 → 1.1.1
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/lib/api-pagination.rb +1 -1
- data/lib/api-pagination/version.rb +1 -1
- data/spec/controllers/numbers_controller_spec.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 09a9dd73ccebd7280dbb49978e11f0f667f178b4
|
4
|
+
data.tar.gz: dd0ee8715806ce59a197e76ab9e3fdec7a189634
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df67ca42a6de5f48e9c38b72981ecb6ea78a4cadeeff295811c229ded4e9180633c77133d0d28aebf8bbeb5834afdbe28d42f2c273e624a854ba63f7ecf48bfd
|
7
|
+
data.tar.gz: f836023f6066bb9b3269924e0af441d77881ee1c7448ae5063c293ada7a6d47b843ab5339a61c4b8a70279fc9f59db42195e3b727cc54d7038e6672c7cbdecef
|
data/lib/api-pagination.rb
CHANGED
@@ -34,7 +34,7 @@ describe NumbersController, :type => :controller do
|
|
34
34
|
context 'without enough items to give more than one page' do
|
35
35
|
it 'should not paginate' do
|
36
36
|
get :index, count: 20
|
37
|
-
response.headers
|
37
|
+
response.headers.keys.should_not include("Link")
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: api-pagination
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Celis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -78,3 +78,4 @@ test_files:
|
|
78
78
|
- spec/controllers/numbers_controller_spec.rb
|
79
79
|
- spec/dummy/log/development.log
|
80
80
|
- spec/spec_helper.rb
|
81
|
+
has_rdoc:
|