atdis 0.3.10 → 0.3.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/atdis/models/page.rb +1 -1
- data/lib/atdis/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a12e4aefcd5295f4cc75677251c79e16d1f8b765
|
4
|
+
data.tar.gz: ad62ec1348b126335f78f618e7cda5d2cc28cd79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a873c3b343903e1b9bc4820098d43881e9f8bd473ee2ebd919c0d0e2cd8ab9e4a9bc5454daf6ffa10df8e5e578d82517659bc25ecbe446ba4ce12a756c794f88
|
7
|
+
data.tar.gz: 997b41425821fb3472a618679f455a5be093955275001284f4f5aa8ede14a07251454e851a87e214b649107e66309c095e7c0cd51b8d388b61bdabc773b4ffda
|
data/lib/atdis/models/page.rb
CHANGED
@@ -32,7 +32,7 @@ module ATDIS
|
|
32
32
|
if response.respond_to?(:count)
|
33
33
|
errors.add(:count, ErrorMessage["is not the same as the number of applications returned", "6.4"]) if count != response.count
|
34
34
|
end
|
35
|
-
if pagination.respond_to?(:per_page)
|
35
|
+
if pagination.respond_to?(:per_page) && pagination.per_page
|
36
36
|
errors.add(:count, ErrorMessage["should not be larger than the number of results per page", "6.4"]) if count > pagination.per_page
|
37
37
|
end
|
38
38
|
end
|
data/lib/atdis/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atdis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Landauer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|