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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5f9954d331f7c400bd6e2e27e35c9425982803b790f23d976ef7e5a36123de0
4
- data.tar.gz: cd123a2b4f5a92493ddfe65d79c95d87246a4417137a2fb9fef14dec1ecbdf21
3
+ metadata.gz: 6df8a313b0e1c5e5d72d0dd5dee9d1927ffc2ae770ad782e295363f67dffc550
4
+ data.tar.gz: 2a59199ba0857f4d432a3fa4b70cddd30199b84816ae0ab1c98e0ca8b7939923
5
5
  SHA512:
6
- metadata.gz: 299d720bf5d18a227597325c72c2797c94e7c1d8d63f6f6b0c67659047691d66b3535c88b51c4b07420f73ad9e45a6192f3e0280f683c3cc09f0a2991c463df9
7
- data.tar.gz: fc3f8ee18571c783d7979c8259d2bbcd9167493c216f7f22e330127401779053ed24a3f085e238092ae7e9a20510e44c15603fc0582533f2c12c41afe9a4b1e3
6
+ metadata.gz: c64eb803f4ff2f866b2dfc236a52807b8ae5bde15e13f38ffa123e5be20df697fa5373b1bade8bfc33f589b5aa7fda8deae1f47c99959a113dc15de7e8fdd936
7
+ data.tar.gz: 5e4e05f4f1a7a9232828ac83999bf7035d51073de32d88da5fb984e755dc596dec31f244f761909bc051800382d46dd54766fd74b75ecbfb7046dbf6bab1e2cb
@@ -1,3 +1,3 @@
1
1
  module DomoscioRails
2
- VERSION = '0.4.33'.freeze
2
+ VERSION = '0.4.34'.freeze
3
3
  end
@@ -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.33
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-07-24 00:00:00.000000000 Z
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.5.7
123
+ rubygems_version: 3.2.22
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Summary of DomoscioRailspec.