zabbix-api-simple 0.1.4 → 0.2.1
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/CHANGELOG.md +13 -0
- data/README.md +3 -7
- data/exe/zapishell.rb +15 -1
- data/images/2021-09-19_09-38.png +0 -0
- data/images/2021-09-19_09-40.png +0 -0
- data/images/zabbix-api-simple-simplicity.png +0 -0
- data/lib/zabbix/api/client.rb +57 -2
- data/lib/zabbix/api/version.rb +1 -1
- data/lib/zabbix/api.rb +0 -6
- data/public/Zabbix/Api/Client.html +154 -79
- data/public/Zabbix/Api/FaradayMiddleware/ZabbixApiRequest.html +19 -11
- data/public/Zabbix/Api/FaradayMiddleware.html +1 -1
- data/public/Zabbix/Api/OpenStruct.html +384 -0
- data/public/Zabbix/Api/ZabbixStruct.html +384 -0
- data/public/Zabbix/Api.html +5 -5
- data/public/Zabbix.html +3 -3
- data/public/_index.html +7 -7
- data/public/class_list.html +1 -1
- data/public/file.CHANGELOG.html +15 -1
- data/public/file.LICENSE.html +1 -1
- data/public/file.README.html +4 -8
- data/public/images/zabbix-api-simple-simplicity.png +0 -0
- data/public/index.html +4 -8
- data/public/method_list.html +32 -0
- data/public/top-level-namespace.html +1 -1
- data/zabbix-api.gemspec +4 -2
- metadata +39 -5
- data/public/Zabbix/Api/Error.html +0 -124
data/zabbix-api.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
|
18
18
|
spec.metadata["homepage_uri"] = spec.homepage
|
19
19
|
spec.metadata["source_code_uri"] = 'https://gitlab.com/svdasein/zabbix-api'
|
20
|
-
|
20
|
+
spec.metadata["changelog_uri"] = "https://gitlab.com/svdasein/zabbix-api/-/blob/master/CHANGELOG.md"
|
21
21
|
|
22
22
|
# Specify which files should be added to the gem when it is released.
|
23
23
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
@@ -33,7 +33,9 @@ Gem::Specification.new do |spec|
|
|
33
33
|
|
34
34
|
# For more information and examples about making a new gem, checkout our
|
35
35
|
# guide at: https://bundler.io/guides/creating_gem.html
|
36
|
-
spec.add_dependency 'faraday'
|
36
|
+
spec.add_dependency 'faraday', "~> 2.0"
|
37
|
+
spec.add_dependency 'faraday-net_http', "~> 2.0"
|
37
38
|
spec.add_dependency 'optimist'
|
38
39
|
spec.add_dependency 'amazing_print'
|
40
|
+
spec.add_dependency 'pry'
|
39
41
|
end
|
metadata
CHANGED
@@ -1,17 +1,45 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zabbix-api-simple
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Parker
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: faraday-net_http
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: optimist
|
15
43
|
requirement: !ruby/object:Gem::Requirement
|
16
44
|
requirements:
|
17
45
|
- - ">="
|
@@ -25,7 +53,7 @@ dependencies:
|
|
25
53
|
- !ruby/object:Gem::Version
|
26
54
|
version: '0'
|
27
55
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
56
|
+
name: amazing_print
|
29
57
|
requirement: !ruby/object:Gem::Requirement
|
30
58
|
requirements:
|
31
59
|
- - ">="
|
@@ -39,7 +67,7 @@ dependencies:
|
|
39
67
|
- !ruby/object:Gem::Version
|
40
68
|
version: '0'
|
41
69
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
70
|
+
name: pry
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|
44
72
|
requirements:
|
45
73
|
- - ">="
|
@@ -77,15 +105,19 @@ files:
|
|
77
105
|
- bin/setup
|
78
106
|
- bin/zapishell.rb
|
79
107
|
- exe/zapishell.rb
|
108
|
+
- images/2021-09-19_09-38.png
|
109
|
+
- images/2021-09-19_09-40.png
|
110
|
+
- images/zabbix-api-simple-simplicity.png
|
80
111
|
- lib/zabbix/api.rb
|
81
112
|
- lib/zabbix/api/client.rb
|
82
113
|
- lib/zabbix/api/version.rb
|
83
114
|
- public/Zabbix.html
|
84
115
|
- public/Zabbix/Api.html
|
85
116
|
- public/Zabbix/Api/Client.html
|
86
|
-
- public/Zabbix/Api/Error.html
|
87
117
|
- public/Zabbix/Api/FaradayMiddleware.html
|
88
118
|
- public/Zabbix/Api/FaradayMiddleware/ZabbixApiRequest.html
|
119
|
+
- public/Zabbix/Api/OpenStruct.html
|
120
|
+
- public/Zabbix/Api/ZabbixStruct.html
|
89
121
|
- public/_index.html
|
90
122
|
- public/class_list.html
|
91
123
|
- public/css/common.css
|
@@ -96,6 +128,7 @@ files:
|
|
96
128
|
- public/file.README.html
|
97
129
|
- public/file_list.html
|
98
130
|
- public/frames.html
|
131
|
+
- public/images/zabbix-api-simple-simplicity.png
|
99
132
|
- public/index.html
|
100
133
|
- public/js/app.js
|
101
134
|
- public/js/full_list.js
|
@@ -109,6 +142,7 @@ metadata:
|
|
109
142
|
allowed_push_host: https://rubygems.org
|
110
143
|
homepage_uri: https://svdasein.gitlab.io/zabbix-api
|
111
144
|
source_code_uri: https://gitlab.com/svdasein/zabbix-api
|
145
|
+
changelog_uri: https://gitlab.com/svdasein/zabbix-api/-/blob/master/CHANGELOG.md
|
112
146
|
post_install_message:
|
113
147
|
rdoc_options: []
|
114
148
|
require_paths:
|
@@ -1,124 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>
|
7
|
-
Exception: Zabbix::Api::Error
|
8
|
-
|
9
|
-
— Documentation by YARD 0.9.26
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
|
16
|
-
|
17
|
-
<script type="text/javascript">
|
18
|
-
pathId = "Zabbix::Api::Error";
|
19
|
-
relpath = '../../';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
|
23
|
-
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
24
|
-
|
25
|
-
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
30
|
-
<div class="nav_wrap">
|
31
|
-
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
32
|
-
<div id="resizer"></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="main" tabindex="-1">
|
36
|
-
<div id="header">
|
37
|
-
<div id="menu">
|
38
|
-
|
39
|
-
<a href="../../_index.html">Index (E)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../../Zabbix.html" title="Zabbix (module)">Zabbix</a></span></span> » <span class='title'><span class='object_link'><a href="../Api.html" title="Zabbix::Api (module)">Api</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">Error</span>
|
43
|
-
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<div id="search">
|
47
|
-
|
48
|
-
<a class="full_list_link" id="class_list_link"
|
49
|
-
href="../../class_list.html">
|
50
|
-
|
51
|
-
<svg width="24" height="24">
|
52
|
-
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
-
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
-
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
-
</svg>
|
56
|
-
</a>
|
57
|
-
|
58
|
-
</div>
|
59
|
-
<div class="clear"></div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<div id="content"><h1>Exception: Zabbix::Api::Error
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
</h1>
|
67
|
-
<div class="box_info">
|
68
|
-
|
69
|
-
<dl>
|
70
|
-
<dt>Inherits:</dt>
|
71
|
-
<dd>
|
72
|
-
<span class="inheritName">StandardError</span>
|
73
|
-
|
74
|
-
<ul class="fullTree">
|
75
|
-
<li>Object</li>
|
76
|
-
|
77
|
-
<li class="next">StandardError</li>
|
78
|
-
|
79
|
-
<li class="next">Zabbix::Api::Error</li>
|
80
|
-
|
81
|
-
</ul>
|
82
|
-
<a href="#" class="inheritanceTree">show all</a>
|
83
|
-
|
84
|
-
</dd>
|
85
|
-
</dl>
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
<dl>
|
98
|
-
<dt>Defined in:</dt>
|
99
|
-
<dd>lib/zabbix/api.rb</dd>
|
100
|
-
</dl>
|
101
|
-
|
102
|
-
</div>
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
</div>
|
115
|
-
|
116
|
-
<div id="footer">
|
117
|
-
Generated on Sat Sep 11 20:08:37 2021 by
|
118
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
|
-
0.9.26 (ruby-2.7.4).
|
120
|
-
</div>
|
121
|
-
|
122
|
-
</div>
|
123
|
-
</body>
|
124
|
-
</html>
|