plainprograms-virtuozzo 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,5 +1,12 @@
1
1
  = CHANGELOG
2
2
 
3
+ == 0.5.0 "Jill" 2008-11-13
4
+
5
+ * Expanded documentation for Virtuozzo::SOAP::Connection class.
6
+ * Expanded documentation for Virtuozzo::SOAP::HeaderHandler class.
7
+ * Implemented YARD for documentation via tasks/yard.rake
8
+ * Refactored Virtuozzo::SOAP::HeaderHandler into separate file.
9
+
3
10
  == 0.4.0 "Jack" 2008-11-13
4
11
 
5
12
  * Refactored drivers to use concise naming (i.e. Session instead of
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'echoe'
3
3
  require 'spec/rake/spectask'
4
4
 
5
- Echoe.new('virtuozzo', '0.4.0') do |p|
5
+ Echoe.new('virtuozzo', '0.5.0') do |p|
6
6
  p.description = "Ruby library for Parallels Virtuozzo Agent's API"
7
7
  p.url = "http://github.com/plainprograms/virtuozzo"
8
8
  p.author = "James Thompson"
@@ -0,0 +1,91 @@
1
+ require 'soap/header/simplehandler'
2
+
3
+ module Virtuozzo
4
+ module SOAP
5
+ ##
6
+ # The +HeaderHandler+ class takes care of properly formatting the
7
+ # +packet_header+ element inside a SOAP envelope header are. This
8
+ # implementation will properly marshal all attributes and elements
9
+ # for the +packet_header+ element according to the Virtuozzo SOAP
10
+ # API specification.
11
+ #
12
+ class HeaderHandler < ::SOAP::Header::SimpleHandler
13
+ NAMESPACE = 'http://www.swsoft.com/webservices/vzl/4.0.0/soap_protocol'
14
+
15
+ ##
16
+ # Accepts a number of options that will inform the values assigned to the
17
+ # attributes and elements of the +packet_header+ element.
18
+ #
19
+ # == +opts+ options
20
+ #
21
+ # === Attributes
22
+ #
23
+ # * +:id+ represents a unique identifier for a given message. The
24
+ # response will include this token for identification.
25
+ # * +:priority+ tells the agent to process the message with the given
26
+ # priority.
27
+ # * +:time+ represents the time and date the message was sent.
28
+ # * +:progress+ tells the agent to enable progress monitoring.
29
+ # * +:log+ tells the agent log the activities related to this message.
30
+ # * +:timeout+ tells the agent to stop processing the message after the
31
+ # supplied interval of time.
32
+ #
33
+ # === Elements
34
+ #
35
+ # * +:session+ tells the agent which authenticated session this message
36
+ # should be processed in the context of.
37
+ # * +:target+ tells the agent which operator should handle this message.
38
+ # * +:cookie+ represents a unique token that will be retruned with the
39
+ # response message as a means of identification.
40
+ # * +:dst+ tells the agent to forward this message to another destination
41
+ # for final processing.
42
+ #
43
+ # @param [Hash] opts values for +packet_header attributes and elements.
44
+ #
45
+ def initialize(opts = {})
46
+ @elem_options = {
47
+ :session => opts[:session] || nil,
48
+ :target => opts[:target] || nil,
49
+ :cookie => opts[:cookie] || nil,
50
+ :dst => opts[:dst] || nil,
51
+ }
52
+
53
+ @attr_options = {
54
+ :id => opts[:id] || nil,
55
+ :priority => opts[:priority] || nil,
56
+ :time => opts[:time] || nil,
57
+ :progress => opts[:progress] || nil,
58
+ :log => opts[:log] || nil,
59
+ :timeout => opts[:timeout] || nil
60
+ }
61
+
62
+ super(XSD::QName.new(NAMESPACE, 'packet_header'))
63
+
64
+ @session_elem = XSD::QName.new(NAMESPACE, 'session')
65
+ @target_elem = XSD::QName.new(NAMESPACE, 'target')
66
+ @cookie_elem = XSD::QName.new(NAMESPACE, 'cookie')
67
+ @dst_elem = XSD::QName.new(NAMESPACE, 'dst')
68
+ @dst_host_elem = XSD::QName.new(NAMESPACE, 'host')
69
+ end
70
+
71
+ def on_simple_outbound
72
+ hdr = {}
73
+
74
+ hdr.merge!({'xmlattr_version' => Virtuozzo::PROTOCOL_VERSION})
75
+ hdr.merge!({'xmlattr_id' => @attr_options[:id].to_s}) unless @attr_options[:id].nil?
76
+ hdr.merge!({'xmlattr_priority' => @attr_options[:priority].to_s}) unless @attr_options[:priority].nil?
77
+ hdr.merge!({'xmlattr_time' => @attr_options[:time].to_s}) unless @attr_options[:time].nil?
78
+ hdr.merge!({'xmlattr_progress' => "on"}) unless @attr_options[:progress].nil?
79
+ hdr.merge!({'xmlattr_log' => "on"}) unless @attr_options[:log].nil?
80
+ hdr.merge!({'xmlattr_timeout' => @attr_options[:timeout].to_s}) unless @attr_options[:timeout].nil?
81
+
82
+ hdr.merge!({@session_elem => @elem_options[:session]}) unless @elem_options[:session].nil?
83
+ hdr.merge!({@target_elem => @elem_options[:target]}) unless @elem_options[:target].nil? || @elem_options[:target] == 'system'
84
+ hdr.merge!({@cookie_elem => @elem_options[:cookie]}) unless @elem_options[:cookie].nil?
85
+ hdr.merge!({@dst_elem => {@dst_host_elem => @elem_options[:dst]}}) unless @elem_options[:dst].nil?
86
+
87
+ return hdr
88
+ end
89
+ end
90
+ end
91
+ end
@@ -9,135 +9,146 @@ require 'virtuozzo/soap/drivers/process'
9
9
  require 'virtuozzo/soap/drivers/up2date'
10
10
  require 'virtuozzo/soap/drivers/support'
11
11
 
12
- require 'soap/header/simplehandler'
12
+ require 'virtuozzo/soap/header_handler'
13
13
 
14
- module Virtuozzo # :nodoc:
15
- module SOAP # :nodoc:
16
- # = HeaderHandler
17
- #
18
- # Class designed to handle parsing the header region of a SOAP envelope for
19
- # the Virtuozzo API.
20
- #
21
- class HeaderHandler < ::SOAP::Header::SimpleHandler
22
- NAMESPACE = 'http://www.swsoft.com/webservices/vzl/4.0.0/soap_protocol'
23
-
24
- def initialize(opts = {})
25
- @elem_options = {
26
- :session => opts[:session] || nil,
27
- :target => opts[:target] || nil,
28
- :cookie => opts[:cookie] || nil,
29
- :dst => opts[:dst] || nil,
30
- }
31
-
32
- @attr_options = {
33
- :id => opts[:id] || nil,
34
- :priority => opts[:priority] || nil,
35
- :time => opts[:time] || nil,
36
- :progress => opts[:progress] || nil,
37
- :log => opts[:log] || nil,
38
- :timeout => opts[:timeout] || nil
39
- }
40
-
41
- super(XSD::QName.new(NAMESPACE, 'packet_header'))
42
-
43
- @session_elem = XSD::QName.new(NAMESPACE, 'session')
44
- @target_elem = XSD::QName.new(NAMESPACE, 'target')
45
- @cookie_elem = XSD::QName.new(NAMESPACE, 'cookie')
46
- @dst_elem = XSD::QName.new(NAMESPACE, 'dst')
47
- @dst_host_elem = XSD::QName.new(NAMESPACE, 'host')
48
- end
49
-
50
- def on_simple_outbound
51
- hdr = {}
52
-
53
- hdr.merge!({'xmlattr_version' => Virtuozzo::PROTOCOL_VERSION})
54
- hdr.merge!({'xmlattr_id' => @attr_options[:id].to_s}) unless @attr_options[:id].nil?
55
- hdr.merge!({'xmlattr_priority' => @attr_options[:priority].to_s}) unless @attr_options[:priority].nil?
56
- hdr.merge!({'xmlattr_time' => @attr_options[:time].to_s}) unless @attr_options[:time].nil?
57
- hdr.merge!({'xmlattr_progress' => "on"}) unless @attr_options[:progress].nil?
58
- hdr.merge!({'xmlattr_log' => "on"}) unless @attr_options[:log].nil?
59
- hdr.merge!({'xmlattr_timeout' => @attr_options[:timeout].to_s}) unless @attr_options[:timeout].nil?
60
-
61
- hdr.merge!({@session_elem => @elem_options[:session]}) unless @elem_options[:session].nil?
62
- hdr.merge!({@target_elem => @elem_options[:target]}) unless @elem_options[:target].nil? || @elem_options[:target] == 'system'
63
- hdr.merge!({@cookie_elem => @elem_options[:cookie]}) unless @elem_options[:cookie].nil?
64
- hdr.merge!({@dst_elem => {@dst_host_elem => @elem_options[:dst]}}) unless @elem_options[:dst].nil?
65
-
66
- return hdr
67
- end
68
- end
69
-
70
- # = Connection
71
- #
72
- # Class defining a connection to a Virtuozzo Agent instance using the SOAP
73
- # API.
14
+ module Virtuozzo # :nodoc:
15
+ module SOAP # :nodoc:
16
+ ##
17
+ # The Connection class provides for establishing of a SOAP session with a
18
+ # Virtuozzo Agent using either an SSL-secured or unsecure HTTP connection.
19
+ # Session data is stored for each Connection instance allowing all messages
20
+ # sent to be properly authenticated according to the Virtuozzo SOAP API
21
+ # specifications.
74
22
  #
75
23
  class Connection
76
- def initialize(host, username, password, realm = Virtuozzo::DEFAULT_REALM, debug = false)
24
+ ##
25
+ # Establish a new session with the specified host using the supplied
26
+ # credentials and options.
27
+ #
28
+ # The +opts+ hash may define +:debug+ to be either +true+, +false+ or the
29
+ # 'device' to be used for wiredumps, defaults to +false+. If set to
30
+ # +true+ +STDERR+ will be used for wiredumps.
31
+ #
32
+ # The +opts+ hash may define +:verify_ssl+ to be either +true+ or +false+
33
+ # in regards to whether SSL certificates should be verified for the
34
+ # various SOAP::RPC::Driver connections. The default is +false+, causing
35
+ # no SSL certificate verification.
36
+ #
37
+ # The +opts+ hash may define a +:realm+ for authentication. The default
38
+ # is the Virtuozzo system realm represented by the
39
+ # Virtuozzo::DEFAULT_REALM constant.
40
+ #
41
+ # @param [String] host the host to connect to
42
+ # @param [String] username the user to authenticate as
43
+ # @param [String] password the password to use for authentication
44
+ # @param [Hash] opts additional options for the connection
45
+ #
46
+ def initialize(host, username, password, opts = {})
47
+ options = {
48
+ :debug => false,
49
+ :verify_ssl => false,
50
+ :realm => Virtuozzo::DEFAULT_REALM
51
+ }.merge(opts)
52
+
77
53
  @endpoint = host
78
54
  @username = username
79
55
  @password = password
80
- @realm = realm
56
+ @realm = options[:realm]
57
+
58
+ @session_id = nil
81
59
 
82
- setup_ssl_protection
83
- setup_debug_mode if debug
60
+ disable_ssl_verification unless options[:verify_ssl]
61
+ setup_debug_mode(options[:debug]) if options[:debug]
84
62
  establish_session
85
63
  setup_header_handler
86
64
  end
87
65
 
88
- # Handle for the sessionm interface of the Virtuozzo API
66
+ ##
67
+ # Handle for the +sessionm+ interface of the Virtuozzo API.
68
+ #
69
+ # @return [SOAP::RPC::Driver] +sessionm+ SOAP::RPC::Driver instance.
89
70
  def session
90
71
  @session ||= Virtuozzo::SOAP::Drivers::Session.new(@endpoint)
91
72
  end
92
-
93
- # Handle for the vzaenvm interface of the Virtuozzo API
73
+
74
+ ##
75
+ # Handle for the +vzaenvm+ interface of the Virtuozzo API.
76
+ #
77
+ # @return [SOAP::RPC::Driver] +vzaenvmm+ SOAP::RPC::Driver instance.
94
78
  def environment
95
79
  @environment ||= Virtuozzo::SOAP::Drivers::Environment.new(@endpoint)
96
80
  end
97
-
98
- # Handle for the vzapackagem interface of the Virtuozzo API
81
+
82
+ ##
83
+ # Handle for the +vzapackagem+ interface of the Virtuozzo API.
84
+ #
85
+ # @return [SOAP::RPC::Driver] +vzapackagem+ SOAP::RPC::Driver instance.
99
86
  def template
100
87
  @template ||= Virtuozzo::SOAP::Drivers::Template.new(@endpoint)
101
88
  end
102
-
103
- # Handle for the vzarelocator interface of the Virtuozzo API
89
+
90
+ ##
91
+ # Handle for the +vzarelocator+ interface of the Virtuozzo API.
92
+ #
93
+ # @return [SOAP::RPC::Driver] +vzarelocator+ SOAP::RPC::Driver instance.
104
94
  def relocator
105
95
  @relocator ||= Virtuozzo::SOAP::Drivers::Relocator.new(@endpoint)
106
96
  end
107
-
108
- # Handle for the vzadevm interface of the Virtuozzo API
97
+
98
+ ##
99
+ # Handle for the +vzadevm+ interface of the Virtuozzo API.
100
+ #
101
+ # @return [SOAP::RPC::Driver] +vzadevm+ SOAP::RPC::Driver instance.
109
102
  def device
110
103
  @device ||= Virtuozzo::SOAP::Drivers::Device.new(@endpoint)
111
104
  end
112
-
113
- # Handle for the vzanetworkm interface of the Virtuozzo API
105
+
106
+ ##
107
+ # Handle for the +vzanetworkm+ interface of the Virtuozzo API.
108
+ #
109
+ # @return [SOAP::RPC::Driver] +vzanetworkm+ SOAP::RPC::Driver instance.
114
110
  def network
115
111
  @network ||= Virtuozzo::SOAP::Drivers::Network.new(@endpoint)
116
112
  end
117
-
118
- # Handle for the vzaproc_info interface of the Virtuozzo API
113
+
114
+ ##
115
+ # Handle for the +vzaproc_info+ interface of the Virtuozzo API.
116
+ #
117
+ # @return [SOAP::RPC::Driver] +vzaproc_info+ SOAP::RPC::Driver instance.
119
118
  def process_info
120
119
  @process_info ||= Virtuozzo::SOAP::Drivers::ProcessInfo.new(@endpoint)
121
120
  end
122
-
123
- # Handle for the vzaprocessm interface of the Virtuozzo API
121
+
122
+ ##
123
+ # Handle for the +vzaprocessmm+ interface of the Virtuozzo API.
124
+ #
125
+ # @return [SOAP::RPC::Driver] +vzaprocessm+ SOAP::RPC::Driver instance.
124
126
  def process
125
127
  @process ||= Virtuozzo::SOAP::Drivers::Process.new(@endpoint)
126
128
  end
127
-
128
- # Handle for the vzaup2date interface of the Virtuozzo API
129
+
130
+ ##
131
+ # Handle for the +vzaup2date+ interface of the Virtuozzo API.
132
+ #
133
+ # @return [SOAP::RPC::Driver] +vzaup2date+ SOAP::RPC::Driver instance.
129
134
  def up2date
130
135
  @up2date ||= Virtuozzo::SOAP::Drivers::Up2date.new(@endpoint)
131
136
  end
132
-
133
- # Handle for the vzasupport interface of the Virtuozzo API
137
+
138
+ ##
139
+ # Handle for the +vzasupport+ interface of the Virtuozzo API.
140
+ #
141
+ # @return [SOAP::RPC::Driver] +vzasupport+ SOAP::RPC::Driver instance.
134
142
  def support
135
143
  @support ||= Virtuozzo::SOAP::Drivers::Support.new(@endpoint)
136
144
  end
137
145
 
138
146
  private
139
147
 
140
- def setup_ssl_protection
148
+ ##
149
+ # Disables verification of SSL certificates for all drivers.
150
+ #
151
+ def disable_ssl_verification
141
152
  if @endpoint =~ /^https/
142
153
  session.options['protocol.http.ssl_config.verify_mode'] = nil
143
154
  environment.options['protocol.http.ssl_config.verify_mode'] = nil
@@ -151,20 +162,30 @@ module Virtuozzo # :nodoc:
151
162
  support.options['protocol.http.ssl_config.verify_mode'] = nil
152
163
  end
153
164
  end
154
-
155
- def setup_debug_mode
156
- session.wiredump_dev = STDOUT
157
- environment.wiredump_dev = STDOUT
158
- template.wiredump_dev = STDOUT
159
- relocator.wiredump_dev = STDOUT
160
- device.wiredump_dev = STDOUT
161
- network.wiredump_dev = STDOUT
162
- process_info.wiredump_dev = STDOUT
163
- process.wiredump_dev = STDOUT
164
- up2date.wiredump_dev = STDOUT
165
- support.wiredump_dev = STDOUT
165
+
166
+ ##
167
+ # Sets the wiredump device for all drivers.
168
+ def setup_debug_mode(dev)
169
+ if dev == true
170
+ dev = STDERR
171
+ end
172
+
173
+ session.wiredump_dev = dev
174
+ environment.wiredump_dev = dev
175
+ template.wiredump_dev = dev
176
+ relocator.wiredump_dev = dev
177
+ device.wiredump_dev = dev
178
+ network.wiredump_dev = dev
179
+ process_info.wiredump_dev = dev
180
+ process.wiredump_dev = dev
181
+ up2date.wiredump_dev = dev
182
+ support.wiredump_dev = dev
166
183
  end
167
184
 
185
+ ##
186
+ # Performs the actual session authentication and storage of the
187
+ # +session_id+ value.
188
+ #
168
189
  def establish_session
169
190
  login_opts = {
170
191
  :name => Base64.encode64(@username),
@@ -174,9 +195,14 @@ module Virtuozzo # :nodoc:
174
195
 
175
196
  resp = session.login(login_opts)
176
197
 
177
- @session_id = resp.session_id
198
+ @session_id = resp.session_id || nil
178
199
  end
179
200
 
201
+ ##
202
+ # Sets up handling of the SOAP envelope header for all outbound messages
203
+ # given the established +session_id+ and sets the appropriate target for
204
+ # each driver in turn.
205
+ #
180
206
  def setup_header_handler
181
207
  session.headerhandler << HeaderHandler.new(:session => @session_id, :target => 'sessionm')
182
208
  environment.headerhandler << HeaderHandler.new(:session => @session_id, :target => 'vzaenvm')
data/tasks/yard.rake ADDED
@@ -0,0 +1,12 @@
1
+ require 'rubygems'
2
+ require 'yard'
3
+
4
+ namespace :yard do
5
+ YARD::Rake::YardocTask.new(:doc) do |t|
6
+ t.options = [
7
+ '--readme', 'README.rdoc',
8
+ '--use-cache', '.yardoc',
9
+ '--db', '.yardoc'
10
+ ]
11
+ end
12
+ end
data/virtuozzo.gemspec CHANGED
@@ -2,15 +2,15 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{virtuozzo}
5
- s.version = "0.4.0"
5
+ s.version = "0.5.0"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["James Thompson"]
9
9
  s.date = %q{2008-11-13}
10
10
  s.description = %q{Ruby library for Parallels Virtuozzo Agent's API}
11
11
  s.email = %q{james@plainprograms.com}
12
- s.extra_rdoc_files = ["CHANGELOG.rdoc", "lib/virtuozzo/constants.rb", "lib/virtuozzo/soap/drivers/device.rb", "lib/virtuozzo/soap/drivers/environment.rb", "lib/virtuozzo/soap/drivers/network.rb", "lib/virtuozzo/soap/drivers/process.rb", "lib/virtuozzo/soap/drivers/process_info.rb", "lib/virtuozzo/soap/drivers/relocator.rb", "lib/virtuozzo/soap/drivers/session.rb", "lib/virtuozzo/soap/drivers/support.rb", "lib/virtuozzo/soap/drivers/template.rb", "lib/virtuozzo/soap/drivers/up2date.rb", "lib/virtuozzo/soap/mapping_registries/device.rb", "lib/virtuozzo/soap/mapping_registries/environment.rb", "lib/virtuozzo/soap/mapping_registries/network.rb", "lib/virtuozzo/soap/mapping_registries/process.rb", "lib/virtuozzo/soap/mapping_registries/process_info.rb", "lib/virtuozzo/soap/mapping_registries/relocator.rb", "lib/virtuozzo/soap/mapping_registries/session.rb", "lib/virtuozzo/soap/mapping_registries/support.rb", "lib/virtuozzo/soap/mapping_registries/template.rb", "lib/virtuozzo/soap/mapping_registries/up2date.rb", "lib/virtuozzo/soap/types/device.rb", "lib/virtuozzo/soap/types/environment.rb", "lib/virtuozzo/soap/types/network.rb", "lib/virtuozzo/soap/types/process.rb", "lib/virtuozzo/soap/types/process_info.rb", "lib/virtuozzo/soap/types/relocator.rb", "lib/virtuozzo/soap/types/session.rb", "lib/virtuozzo/soap/types/support.rb", "lib/virtuozzo/soap/types/template.rb", "lib/virtuozzo/soap/types/up2date.rb", "lib/virtuozzo/soap.rb", "lib/virtuozzo.rb", "README.rdoc"]
13
- s.files = ["CHANGELOG.rdoc", "lib/virtuozzo/constants.rb", "lib/virtuozzo/soap/drivers/device.rb", "lib/virtuozzo/soap/drivers/environment.rb", "lib/virtuozzo/soap/drivers/network.rb", "lib/virtuozzo/soap/drivers/process.rb", "lib/virtuozzo/soap/drivers/process_info.rb", "lib/virtuozzo/soap/drivers/relocator.rb", "lib/virtuozzo/soap/drivers/session.rb", "lib/virtuozzo/soap/drivers/support.rb", "lib/virtuozzo/soap/drivers/template.rb", "lib/virtuozzo/soap/drivers/up2date.rb", "lib/virtuozzo/soap/mapping_registries/device.rb", "lib/virtuozzo/soap/mapping_registries/environment.rb", "lib/virtuozzo/soap/mapping_registries/network.rb", "lib/virtuozzo/soap/mapping_registries/process.rb", "lib/virtuozzo/soap/mapping_registries/process_info.rb", "lib/virtuozzo/soap/mapping_registries/relocator.rb", "lib/virtuozzo/soap/mapping_registries/session.rb", "lib/virtuozzo/soap/mapping_registries/support.rb", "lib/virtuozzo/soap/mapping_registries/template.rb", "lib/virtuozzo/soap/mapping_registries/up2date.rb", "lib/virtuozzo/soap/types/device.rb", "lib/virtuozzo/soap/types/environment.rb", "lib/virtuozzo/soap/types/network.rb", "lib/virtuozzo/soap/types/process.rb", "lib/virtuozzo/soap/types/process_info.rb", "lib/virtuozzo/soap/types/relocator.rb", "lib/virtuozzo/soap/types/session.rb", "lib/virtuozzo/soap/types/support.rb", "lib/virtuozzo/soap/types/template.rb", "lib/virtuozzo/soap/types/up2date.rb", "lib/virtuozzo/soap.rb", "lib/virtuozzo.rb", "Manifest", "Rakefile", "README.rdoc", "script/console", "script/github-gem-test", "virtuozzo.gemspec"]
12
+ s.extra_rdoc_files = ["CHANGELOG.rdoc", "lib/virtuozzo/constants.rb", "lib/virtuozzo/soap/drivers/device.rb", "lib/virtuozzo/soap/drivers/environment.rb", "lib/virtuozzo/soap/drivers/network.rb", "lib/virtuozzo/soap/drivers/process.rb", "lib/virtuozzo/soap/drivers/process_info.rb", "lib/virtuozzo/soap/drivers/relocator.rb", "lib/virtuozzo/soap/drivers/session.rb", "lib/virtuozzo/soap/drivers/support.rb", "lib/virtuozzo/soap/drivers/template.rb", "lib/virtuozzo/soap/drivers/up2date.rb", "lib/virtuozzo/soap/header_handler.rb", "lib/virtuozzo/soap/mapping_registries/device.rb", "lib/virtuozzo/soap/mapping_registries/environment.rb", "lib/virtuozzo/soap/mapping_registries/network.rb", "lib/virtuozzo/soap/mapping_registries/process.rb", "lib/virtuozzo/soap/mapping_registries/process_info.rb", "lib/virtuozzo/soap/mapping_registries/relocator.rb", "lib/virtuozzo/soap/mapping_registries/session.rb", "lib/virtuozzo/soap/mapping_registries/support.rb", "lib/virtuozzo/soap/mapping_registries/template.rb", "lib/virtuozzo/soap/mapping_registries/up2date.rb", "lib/virtuozzo/soap/types/device.rb", "lib/virtuozzo/soap/types/environment.rb", "lib/virtuozzo/soap/types/network.rb", "lib/virtuozzo/soap/types/process.rb", "lib/virtuozzo/soap/types/process_info.rb", "lib/virtuozzo/soap/types/relocator.rb", "lib/virtuozzo/soap/types/session.rb", "lib/virtuozzo/soap/types/support.rb", "lib/virtuozzo/soap/types/template.rb", "lib/virtuozzo/soap/types/up2date.rb", "lib/virtuozzo/soap.rb", "lib/virtuozzo.rb", "README.rdoc", "tasks/yard.rake"]
13
+ s.files = ["CHANGELOG.rdoc", "lib/virtuozzo/constants.rb", "lib/virtuozzo/soap/drivers/device.rb", "lib/virtuozzo/soap/drivers/environment.rb", "lib/virtuozzo/soap/drivers/network.rb", "lib/virtuozzo/soap/drivers/process.rb", "lib/virtuozzo/soap/drivers/process_info.rb", "lib/virtuozzo/soap/drivers/relocator.rb", "lib/virtuozzo/soap/drivers/session.rb", "lib/virtuozzo/soap/drivers/support.rb", "lib/virtuozzo/soap/drivers/template.rb", "lib/virtuozzo/soap/drivers/up2date.rb", "lib/virtuozzo/soap/header_handler.rb", "lib/virtuozzo/soap/mapping_registries/device.rb", "lib/virtuozzo/soap/mapping_registries/environment.rb", "lib/virtuozzo/soap/mapping_registries/network.rb", "lib/virtuozzo/soap/mapping_registries/process.rb", "lib/virtuozzo/soap/mapping_registries/process_info.rb", "lib/virtuozzo/soap/mapping_registries/relocator.rb", "lib/virtuozzo/soap/mapping_registries/session.rb", "lib/virtuozzo/soap/mapping_registries/support.rb", "lib/virtuozzo/soap/mapping_registries/template.rb", "lib/virtuozzo/soap/mapping_registries/up2date.rb", "lib/virtuozzo/soap/types/device.rb", "lib/virtuozzo/soap/types/environment.rb", "lib/virtuozzo/soap/types/network.rb", "lib/virtuozzo/soap/types/process.rb", "lib/virtuozzo/soap/types/process_info.rb", "lib/virtuozzo/soap/types/relocator.rb", "lib/virtuozzo/soap/types/session.rb", "lib/virtuozzo/soap/types/support.rb", "lib/virtuozzo/soap/types/template.rb", "lib/virtuozzo/soap/types/up2date.rb", "lib/virtuozzo/soap.rb", "lib/virtuozzo.rb", "Manifest", "Rakefile", "README.rdoc", "script/console", "script/github-gem-test", "tasks/yard.rake", "virtuozzo.gemspec"]
14
14
  s.has_rdoc = true
15
15
  s.homepage = %q{http://github.com/plainprograms/virtuozzo}
16
16
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Virtuozzo", "--main", "README.rdoc"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plainprograms-virtuozzo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Thompson
@@ -40,6 +40,7 @@ extra_rdoc_files:
40
40
  - lib/virtuozzo/soap/drivers/support.rb
41
41
  - lib/virtuozzo/soap/drivers/template.rb
42
42
  - lib/virtuozzo/soap/drivers/up2date.rb
43
+ - lib/virtuozzo/soap/header_handler.rb
43
44
  - lib/virtuozzo/soap/mapping_registries/device.rb
44
45
  - lib/virtuozzo/soap/mapping_registries/environment.rb
45
46
  - lib/virtuozzo/soap/mapping_registries/network.rb
@@ -63,6 +64,7 @@ extra_rdoc_files:
63
64
  - lib/virtuozzo/soap.rb
64
65
  - lib/virtuozzo.rb
65
66
  - README.rdoc
67
+ - tasks/yard.rake
66
68
  files:
67
69
  - CHANGELOG.rdoc
68
70
  - lib/virtuozzo/constants.rb
@@ -76,6 +78,7 @@ files:
76
78
  - lib/virtuozzo/soap/drivers/support.rb
77
79
  - lib/virtuozzo/soap/drivers/template.rb
78
80
  - lib/virtuozzo/soap/drivers/up2date.rb
81
+ - lib/virtuozzo/soap/header_handler.rb
79
82
  - lib/virtuozzo/soap/mapping_registries/device.rb
80
83
  - lib/virtuozzo/soap/mapping_registries/environment.rb
81
84
  - lib/virtuozzo/soap/mapping_registries/network.rb
@@ -103,6 +106,7 @@ files:
103
106
  - README.rdoc
104
107
  - script/console
105
108
  - script/github-gem-test
109
+ - tasks/yard.rake
106
110
  - virtuozzo.gemspec
107
111
  has_rdoc: true
108
112
  homepage: http://github.com/plainprograms/virtuozzo