nexpose 0.8.6 → 0.8.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nexpose/engine.rb +1 -1
- data/lib/nexpose/pool.rb +18 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a34cdeb971857fcd6f7de262b1cd30823039f96
|
4
|
+
data.tar.gz: 3cca7ce023e3826cef57e3ddd41280b20af48a8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d281a778836d4a11e1726dc8bd9c570025279cef9cf70f6ef056451ea45c995179f59d87abb648b3c4b22be4bd166c0bcd0052ed7b661c78e1bf7462c5cef729
|
7
|
+
data.tar.gz: 47d847fbba3c67b893a033bc56ffd25cc9b6c57edcdbb07d015959109da46fa199d5e0fa16eb8d2c9e438c8a42da9d423b830d86cf7da24d0690079ba06160be
|
data/lib/nexpose/engine.rb
CHANGED
data/lib/nexpose/pool.rb
CHANGED
@@ -40,6 +40,24 @@ module Nexpose
|
|
40
40
|
@name = name
|
41
41
|
@scope = scope
|
42
42
|
end
|
43
|
+
|
44
|
+
# Deletes an engine pool
|
45
|
+
#
|
46
|
+
# @param [Connection] conn Connection to console where site exists.
|
47
|
+
#
|
48
|
+
def delete(conn)
|
49
|
+
xml = conn.make_xml('EnginePoolDeleteRequest')
|
50
|
+
xml.add_element(as_xml)
|
51
|
+
result = conn.execute(xml, '1.2')
|
52
|
+
result.success
|
53
|
+
end
|
54
|
+
|
55
|
+
def as_xml
|
56
|
+
xml = REXML::Element.new('EnginePool')
|
57
|
+
xml.add_attribute('name', @name)
|
58
|
+
xml.add_attribute('scope', @scope)
|
59
|
+
xml
|
60
|
+
end
|
43
61
|
end
|
44
62
|
|
45
63
|
# Engine pool configuration object.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nexpose
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HD Moore
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2014-10-
|
14
|
+
date: 2014-10-14 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rex
|