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 +4 -4
- data/lib/domoscio_rails/version.rb +1 -1
- data/lib/domoscio_rails.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0d3bfd71312f44dcab78f4e400f5557146dffb5bad8eea1fadae21f96a56918
|
4
|
+
data.tar.gz: 8163a8e13f5676a351d0ada33b512e88deaf1629385f19baf82a29b01097d43e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 468bb3007ed33ddc1b992e4bdc939aa5def12d342011a1f74d9a5d55fd4b13773b1f42116c2050b3fc01d1679a6bac0d09bb8eadaf46f24312dfc8a582dc83bc
|
7
|
+
data.tar.gz: d736b6dd2efe3130b1ccc133c2e18546fa2497a001b68fa70bbd198333139d07ca8e209f5c19893579fe03f30456e5325bfc07c69121e588c10050a3bd3a97c3
|
data/lib/domoscio_rails.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|