zabbixapi 3.2.1 → 4.0.0

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
  SHA1:
3
- metadata.gz: b599a8aaa780e38de4d2e21751373fd6395844cb
4
- data.tar.gz: 54ac862491660755bec3da1543b1900e55ab5728
3
+ metadata.gz: c92de7e8f577d018cb8da54114638729fb7117d5
4
+ data.tar.gz: 5dc0590f4332ba0590cb07eed6c2cb1f07c73d38
5
5
  SHA512:
6
- metadata.gz: d702d07347f1c43801cb3382a86736481665df41cc8d32d07688077fc01e3ab778ae7956bbcbe9d01f5934638221d501d17e7ae5fe375f8715e9023be8785c9b
7
- data.tar.gz: 435776e8bf0f5a62af5908a377036f144f6816872dbc457daf5e7bafb133cf712d8227d46bfd3c7f256be5c8fea79f7f2f8b5f17d428a7663539fa05d1aeca89
6
+ metadata.gz: ef2229602eac1fac5257b9d32c2d45f079d163a989a3f25efa2ae80390ea3ffd840f6f8a637dcd73df593054480c21c3b7674b5c3f20b4300bd01a7ebf3f2f6f
7
+ data.tar.gz: 159e41fb0f8467456c808c0e4895e87aaf8f3ee0d0d462879815c568f8773ce3838be74234581eca655f466a234155c425a89d43b3018efa61e5f65c54476542
@@ -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.0 and 3.2), so you should consider zabbixapi 0.6.x, 2.0.x, 2.2.x, and 2.4.x deprecated.
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 | [master](https://github.com/express42/zabbixapi/)
33
- * Zabbix 3.2.x (api version 3.2.x) | zabbixapi 3.0.x | [master](https://github.com/express42/zabbixapi/)
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-2017 Express 42
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
@@ -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\.[02])\.\d+/
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
@@ -1,3 +1,3 @@
1
1
  class ZabbixApi
2
- VERSION = '3.2.1'.freeze
2
+ VERSION = '4.0.0'.freeze
3
3
  end
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: 3.2.1
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: 2017-08-29 00:00:00.000000000 Z
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.6.11
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