domoscio_rails 0.4.32 → 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: 0eac93d57669f986fbf2c5c3210d8b3611f7656c1613440ce8e5505fdf89f8f6
4
- data.tar.gz: 062d7033eef3c3333833ebb72e000b1ff37332a21ba3675685986cac30380dcf
3
+ metadata.gz: 6df8a313b0e1c5e5d72d0dd5dee9d1927ffc2ae770ad782e295363f67dffc550
4
+ data.tar.gz: 2a59199ba0857f4d432a3fa4b70cddd30199b84816ae0ab1c98e0ca8b7939923
5
5
  SHA512:
6
- metadata.gz: 799151f9b3292bfd2779f98a5ed1faccaac7f5a4bc1396bd6376df6c3cd1226999318f01d91279ce260207e9a9eda4483c9000e7fb5400192f2047adcb76c131
7
- data.tar.gz: a12e68181efc2d5578456e6b969ddfe75bbe7b426b7dd3f087f907dedd32e7761d3699a92b8664748be8687ec2f218ce70a3b00a32f8827469a6468c25e17712
6
+ metadata.gz: c64eb803f4ff2f866b2dfc236a52807b8ae5bde15e13f38ffa123e5be20df697fa5373b1bade8bfc33f589b5aa7fda8deae1f47c99959a113dc15de7e8fdd936
7
+ data.tar.gz: 5e4e05f4f1a7a9232828ac83999bf7035d51073de32d88da5fb984e755dc596dec31f244f761909bc051800382d46dd54766fd74b75ecbfb7046dbf6bab1e2cb
@@ -2,5 +2,6 @@ module DomoscioRails
2
2
  class StudentGroupUser
3
3
  include DomoscioRails::Resource
4
4
  include DomoscioRails::HTTPCalls::Fetch
5
+ include DomoscioRails::HTTPCalls::Util
5
6
  end
6
7
  end
@@ -25,7 +25,6 @@ module DomoscioRails
25
25
  include DomoscioRails::HTTPCalls::Create
26
26
  include DomoscioRails::HTTPCalls::Fetch
27
27
  include DomoscioRails::HTTPCalls::Destroy
28
- include DomoscioRails::HTTPCalls::Util
29
28
  end
30
29
  end
31
30
  end
@@ -1,3 +1,3 @@
1
1
  module DomoscioRails
2
- VERSION = '0.4.32'.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.32
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