mmonit 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/lib/mmonit/connection.rb +1 -1
- data/lib/mmonit/version.rb +1 -1
- metadata +3 -3
- data/mmonit-0.0.0.gem +0 -0
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
*.deb
|
data/lib/mmonit/connection.rb
CHANGED
@@ -77,7 +77,7 @@ module MMonit
|
|
77
77
|
end
|
78
78
|
|
79
79
|
def delete_host(host)
|
80
|
-
host = get_host(host['host']) if host.key?('host') && ! host.key?('id')
|
80
|
+
host = self.get_host(host['host']) if host.key?('host') && ! host.key?('id')
|
81
81
|
return false unless host['id']
|
82
82
|
self.request('/admin/hosts/', "id=#{host['id']}&Delete=1")
|
83
83
|
end
|
data/lib/mmonit/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mmonit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-06-03 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Ruby interface to M/Monit
|
15
15
|
email:
|
@@ -18,11 +18,11 @@ executables: []
|
|
18
18
|
extensions: []
|
19
19
|
extra_rdoc_files: []
|
20
20
|
files:
|
21
|
+
- .gitignore
|
21
22
|
- README.md
|
22
23
|
- lib/mmonit.rb
|
23
24
|
- lib/mmonit/connection.rb
|
24
25
|
- lib/mmonit/version.rb
|
25
|
-
- mmonit-0.0.0.gem
|
26
26
|
- mmonit.gemspec
|
27
27
|
homepage: http://github.com/jblancett/mmonit-ruby
|
28
28
|
licenses: []
|
data/mmonit-0.0.0.gem
DELETED
Binary file
|