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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 38e9562a6501a1b60ea2a8b35b25acf01feed510
4
- data.tar.gz: b84b2b417a0f7b64aaf5098b81889b1940cd3519
3
+ metadata.gz: a12e4aefcd5295f4cc75677251c79e16d1f8b765
4
+ data.tar.gz: ad62ec1348b126335f78f618e7cda5d2cc28cd79
5
5
  SHA512:
6
- metadata.gz: 0fe80b23658026ece106a52275eedc61a6257888d38b39ed78ab2247cece5b59cd121c0a18ede97f1d279905eef541602080802aea6d96dea2aefadfd08dc56a
7
- data.tar.gz: 8135c87d36142106ebd2aa22995975daa421176e119d1f7201bfcbd9f410dfbd3161779704dffcb7ec68960fc08ac34b050999e52432ef33d453f88054d3c007
6
+ metadata.gz: a873c3b343903e1b9bc4820098d43881e9f8bd473ee2ebd919c0d0e2cd8ab9e4a9bc5454daf6ffa10df8e5e578d82517659bc25ecbe446ba4ce12a756c794f88
7
+ data.tar.gz: 997b41425821fb3472a618679f455a5be093955275001284f4f5aa8ede14a07251454e851a87e214b649107e66309c095e7c0cd51b8d388b61bdabc773b4ffda
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Atdis
2
- VERSION = "0.3.10"
2
+ VERSION = "0.3.11"
3
3
  end
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.10
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-01-14 00:00:00.000000000 Z
11
+ date: 2015-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler