zabbixapi_mgx 7.2.1 → 7.2.2
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/zabbixapi/client.rb +1 -1
- data/lib/zabbixapi/version.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: 652d887885d437abbbb5db3cc74a9f2be0870f122c6e6037116aba0ead755fd8
|
|
4
|
+
data.tar.gz: a1657d3fb93cbfa378036c61d2fba6a72ae9f204797ed89656e4bf37b9d2294a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3af832704040065f64e1823ed42172316713be77064c94d8d541c2b36fddfd9e0e212ada90adaf8b914df8f7bfba2f0cc5f7521a81ade963900ffb4119488a32
|
|
7
|
+
data.tar.gz: cc9c8f243ba347f644d7d3f38f100813b252f01454d1d763ad145040bc1eb4c499d93bfa59f80782d73dbb7e3371348275975656f8b55a3b6ad7eb5ec780bde5
|
data/lib/zabbixapi/client.rb
CHANGED
|
@@ -140,7 +140,7 @@ class ZabbixApi
|
|
|
140
140
|
def _request(body)
|
|
141
141
|
puts "[DEBUG] Send request: #{body}" if @options[:debug]
|
|
142
142
|
result = JSON.parse(http_request(body))
|
|
143
|
-
raise ApiError.new("Server answer API error\n #{JSON.pretty_unparse(result['error'])}\n on request:\n #{
|
|
143
|
+
raise ApiError.new("Server answer API error\n #{JSON.pretty_unparse(result['error'])}\n on request:\n #{JSON.pretty_unparse(body)}", result) if result['error']
|
|
144
144
|
|
|
145
145
|
result['result']
|
|
146
146
|
end
|
data/lib/zabbixapi/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zabbixapi_mgx
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.2.
|
|
4
|
+
version: 7.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vasiliev D.V.
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2025-02
|
|
12
|
+
date: 2025-11-02 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: http
|