domoscio_rails 0.4.33 → 0.4.34
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/domoscio_rails/version.rb +1 -1
- data/lib/domoscio_rails.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6df8a313b0e1c5e5d72d0dd5dee9d1927ffc2ae770ad782e295363f67dffc550
|
4
|
+
data.tar.gz: 2a59199ba0857f4d432a3fa4b70cddd30199b84816ae0ab1c98e0ca8b7939923
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c64eb803f4ff2f866b2dfc236a52807b8ae5bde15e13f38ffa123e5be20df697fa5373b1bade8bfc33f589b5aa7fda8deae1f47c99959a113dc15de7e8fdd936
|
7
|
+
data.tar.gz: 5e4e05f4f1a7a9232828ac83999bf7035d51073de32d88da5fb984e755dc596dec31f244f761909bc051800382d46dd54766fd74b75ecbfb7046dbf6bab1e2cb
|
data/lib/domoscio_rails.rb
CHANGED
@@ -123,7 +123,7 @@ module DomoscioRails
|
|
123
123
|
data = e
|
124
124
|
end
|
125
125
|
|
126
|
-
if response['Total'] || response['Total-Pages'] != '1'
|
126
|
+
if response['Total'] || (response['Total-Pages'] && response['Total-Pages'] != '1')
|
127
127
|
|
128
128
|
pagetotal = if response['Total']
|
129
129
|
(response['Total'].to_i / response['Per-Page'].to_f).ceil
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: domoscio_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.34
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benoit Praly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
- !ruby/object:Gem::Version
|
121
121
|
version: '0'
|
122
122
|
requirements: []
|
123
|
-
rubygems_version: 3.
|
123
|
+
rubygems_version: 3.2.22
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: Summary of DomoscioRailspec.
|