openstax_utilities 5.0.0 → 5.1.1
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: b6b4a1617ff2a15831620ed25b06188c82509acd7754385a199dc5a720e8c3c8
|
4
|
+
data.tar.gz: ec843fec376ba727268a5c87935f3b28aa6fcfaa810a445f3703786aa32114fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c05ba5ecb8f2f70444a44f55371586bc8eec3c9dd7057ec6f0d91754530f4107014636e9251c3fa6b5bced827bda5d7efee545884cd4490719ec9b8c5d26806
|
7
|
+
data.tar.gz: 189bd0b1eb0d2a0822bef91051bd2d5687c8df01d27e44a23bea28448368d3c9731de7baa23d766a0888c5b18d7e70221da9bf0995a6f57688f4998d423399e8
|
@@ -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
|
@@ -11,7 +11,7 @@ module OpenStax
|
|
11
11
|
isolate_namespace OpenStax::Utilities
|
12
12
|
|
13
13
|
config.after_initialize do
|
14
|
-
if Rails::VERSION::MAJOR
|
14
|
+
if Rails::VERSION::MAJOR >= 6
|
15
15
|
OSU::SITE_NAME = ::Rails.application.class.module_parent_name.underscore
|
16
16
|
else
|
17
17
|
OSU::SITE_NAME = ::Rails.application.class.parent_name.underscore
|
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.1
|
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: 2024-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '5.0'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '8.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '5.0'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '8.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: lev
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -259,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
259
259
|
- !ruby/object:Gem::Version
|
260
260
|
version: '0'
|
261
261
|
requirements: []
|
262
|
-
rubygems_version: 3.1.
|
262
|
+
rubygems_version: 3.1.6
|
263
263
|
signing_key:
|
264
264
|
specification_version: 4
|
265
265
|
summary: Utilities for OpenStax web sites
|