zabbixapi 3.2.1 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +5 -5
- data/lib/zabbixapi/client.rb +1 -1
- data/lib/zabbixapi/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c92de7e8f577d018cb8da54114638729fb7117d5
|
4
|
+
data.tar.gz: 5dc0590f4332ba0590cb07eed6c2cb1f07c73d38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef2229602eac1fac5257b9d32c2d45f079d163a989a3f25efa2ae80390ea3ffd840f6f8a637dcd73df593054480c21c3b7674b5c3f20b4300bd01a7ebf3f2f6f
|
7
|
+
data.tar.gz: 159e41fb0f8467456c808c0e4895e87aaf8f3ee0d0d462879815c568f8773ce3838be74234581eca655f466a234155c425a89d43b3018efa61e5f65c54476542
|
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,17 @@
|
|
1
|
+
## 4.0.0
|
2
|
+
|
3
|
+
[PR #90](https://github.com/express42/zabbixapi/pull/90) Add 4.0 support (Thanks @svdasein)
|
4
|
+
|
5
|
+
[PR #85](https://github.com/express42/zabbixapi/pull/85) Add 3.4 support (Thanks @ottok)
|
6
|
+
|
1
7
|
## 3.2.0
|
8
|
+
|
2
9
|
[PR #77](https://github.com/express42/zabbixapi/pull/77) Add support for Valuemap (Thanks @julienlevasseur)
|
3
10
|
|
4
11
|
[PR #80](https://github.com/express42/zabbixapi/pull/80) Hide password then raising error (Thanks @bbaugher)
|
5
12
|
|
6
13
|
## 3.1.0
|
14
|
+
|
7
15
|
[PR #68](https://github.com/express42/zabbixapi/pull/68) Add support for scripts (Thanx @jrbeilke)
|
8
16
|
|
9
17
|
## 2.4.9
|
data/README.md
CHANGED
@@ -22,15 +22,15 @@ Simple and lightweight ruby module for working with [Zabbix][Zabbix] via the [Za
|
|
22
22
|
[examples]: https://github.com/express42/zabbixapi/tree/master/examples
|
23
23
|
|
24
24
|
## Version Policy
|
25
|
-
We support only two last versions of zabbix (3.
|
25
|
+
We support only two last versions of zabbix (3.4 and 4.0), so you should consider all previous versions deprecated.
|
26
26
|
|
27
27
|
* Zabbix 1.8.2 (api version 1.2) | zabbixapi 0.6.x | [branch zabbix1.8](https://github.com/express42/zabbixapi/tree/zabbix1.8)
|
28
28
|
* Zabbix 1.8.9 (api version 1.3) | zabbixapi 0.6.x | [branch zabbix1.8](https://github.com/express42/zabbixapi/tree/zabbix1.8)
|
29
29
|
* Zabbix 2.0.x (api version 1.4 -> 2.0.10) | zabbixapi 2.0.x | [branch zabbix2.0](https://github.com/express42/zabbixapi/tree/zabbix2.0)
|
30
30
|
* Zabbix 2.2.x (api version 2.2.x) | zabbixapi 2.2.x | [branch zabbix2.2](https://github.com/express42/zabbixapi/tree/zabbix2.2)
|
31
31
|
* Zabbix 2.4.x (api version 2.2.x) | zabbixapi 2.4.x | [branch zabbix2.4](https://github.com/express42/zabbixapi/tree/zabbix2.4)
|
32
|
-
* Zabbix 3.0.x (api version 3.0.x) | zabbixapi 3.0.x | [
|
33
|
-
* Zabbix 3.2.x (api version 3.2.x) | zabbixapi 3.0.x | [
|
32
|
+
* Zabbix 3.0.x (api version 3.0.x) | zabbixapi 3.0.x | [branch zabbix3.0](https://github.com/express42/zabbixapi/tree/zabbix3.0)
|
33
|
+
* Zabbix 3.2.x (api version 3.2.x) | zabbixapi 3.0.x | [branch zabbix3.2](https://github.com/express42/zabbixapi/tree/zabbix3.2)
|
34
34
|
|
35
35
|
## Supported Ruby Versions
|
36
36
|
This library aims to support and is [tested against][travis] the following Ruby
|
@@ -78,8 +78,8 @@ dropped.
|
|
78
78
|
[Zabbix API]: https://www.zabbix.com/documentation/3.2/manual/api
|
79
79
|
|
80
80
|
## Copyright
|
81
|
-
Copyright (c) 2015-
|
81
|
+
Copyright (c) 2015-2018 Express 42
|
82
82
|
|
83
83
|
See [LICENSE][] for details.
|
84
84
|
|
85
|
-
[license]: LICENSE.md
|
85
|
+
[license]: LICENSE.md
|
data/lib/zabbixapi/client.rb
CHANGED
@@ -51,7 +51,7 @@ class ZabbixApi
|
|
51
51
|
@proxy_port = @proxy_uri.port
|
52
52
|
@proxy_user, @proxy_pass = @proxy_uri.userinfo.split(/:/) if @proxy_uri.userinfo
|
53
53
|
end
|
54
|
-
unless api_version =~ /(2\.4|3\.[
|
54
|
+
unless api_version =~ /(2\.4|3\.[024]|4\.0)\.\d+/
|
55
55
|
raise ApiError.new("Zabbix API version: #{api_version} is not support by this version of zabbixapi")
|
56
56
|
end
|
57
57
|
@auth_hash = auth
|
data/lib/zabbixapi/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zabbixapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
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:
|
12
|
+
date: 2018-12-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: http
|
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
115
|
version: '0'
|
116
116
|
requirements: []
|
117
117
|
rubyforge_project: zabbixapi
|
118
|
-
rubygems_version: 2.
|
118
|
+
rubygems_version: 2.4.8
|
119
119
|
signing_key:
|
120
120
|
specification_version: 4
|
121
121
|
summary: Simple and lightweight ruby module for working with the Zabbix API
|