openstax_utilities 5.0.0 → 5.1.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f13ad1defdb5604276e2eab9d0f23793a33908a214d5a61fbb2a22fad36cc1b
|
4
|
+
data.tar.gz: '089da22149096cb195614dc678b3afe1cf2ba442b26d892ae7018bf56bb98494'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2343b8930eb4046e1caf6ebcddba02fec06f2bd765f060b5486f79b9a0cec064b4b15849a59a54ae4b8ff08c2a784039e7e8332ef3b9b63aad425a323dab5111
|
7
|
+
data.tar.gz: 0d1d416ff4b4eeb4d537193377c3f16438473924c5c997f28deefe0c8c7791abfe38b296249287d24a0907a7a2e2abd90598a4d13b089a0f1051f1bdf65a8e9a
|
@@ -56,7 +56,7 @@ module OpenStax
|
|
56
56
|
|
57
57
|
fatal_error(offending_inputs: :per_page,
|
58
58
|
message: 'Invalid page size',
|
59
|
-
code: :invalid_per_page) if !per_page.nil? && per_page <
|
59
|
+
code: :invalid_per_page) if !per_page.nil? && per_page < 0
|
60
60
|
fatal_error(offending_inputs: :page,
|
61
61
|
message: 'Invalid page number',
|
62
62
|
code: :invalid_page) if page < 1
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstax_utilities
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JP Slavinsky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|