domoscio_rails 0.4.34 → 0.4.35

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: 6df8a313b0e1c5e5d72d0dd5dee9d1927ffc2ae770ad782e295363f67dffc550
4
- data.tar.gz: 2a59199ba0857f4d432a3fa4b70cddd30199b84816ae0ab1c98e0ca8b7939923
3
+ metadata.gz: e0d3bfd71312f44dcab78f4e400f5557146dffb5bad8eea1fadae21f96a56918
4
+ data.tar.gz: 8163a8e13f5676a351d0ada33b512e88deaf1629385f19baf82a29b01097d43e
5
5
  SHA512:
6
- metadata.gz: c64eb803f4ff2f866b2dfc236a52807b8ae5bde15e13f38ffa123e5be20df697fa5373b1bade8bfc33f589b5aa7fda8deae1f47c99959a113dc15de7e8fdd936
7
- data.tar.gz: 5e4e05f4f1a7a9232828ac83999bf7035d51073de32d88da5fb984e755dc596dec31f244f761909bc051800382d46dd54766fd74b75ecbfb7046dbf6bab1e2cb
6
+ metadata.gz: 468bb3007ed33ddc1b992e4bdc939aa5def12d342011a1f74d9a5d55fd4b13773b1f42116c2050b3fc01d1679a6bac0d09bb8eadaf46f24312dfc8a582dc83bc
7
+ data.tar.gz: d736b6dd2efe3130b1ccc133c2e18546fa2497a001b68fa70bbd198333139d07ca8e209f5c19893579fe03f30456e5325bfc07c69121e588c10050a3bd3a97c3
@@ -1,3 +1,3 @@
1
1
  module DomoscioRails
2
- VERSION = '0.4.34'.freeze
2
+ VERSION = '0.4.35'.freeze
3
3
  end
@@ -95,7 +95,7 @@ module DomoscioRails
95
95
  def self.request(method, url, params = {})
96
96
  params ||= {}
97
97
  store_tokens, headers = request_headers
98
- params.merge!({ 'per_page': 1000 }) unless params[:per_page]
98
+ params.merge!({ 'per_page': 1000 }) unless params[:per_page] || params["per_page"]
99
99
  uri = api_uri(url)
100
100
  response = DomoscioRails.send_request(uri, method, params, headers)
101
101
  return response if response.is_a? DomoscioRails::ProcessingError
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.34
4
+ version: 0.4.35
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-12-02 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json