fog-xenserver 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b828fe8475fa78d419a21ef900cf757ba7227e75
4
- data.tar.gz: 9d27af6427233e3c81f69554781892dc81389c4e
3
+ metadata.gz: fbc9ae02995ac80bbc14282b6ae5c215c9956c74
4
+ data.tar.gz: 597cdd50acc49e3a25e6fac4fcdc12e4ab0f4560
5
5
  SHA512:
6
- metadata.gz: caba9aca2b1e7319e2218966d99400bc7ba78014319036c3d446f6c08acaa954efb6d51a95cdd2830b38ac02fcd197aa82ae14d40b69ef92d6c24f52420cbe4d
7
- data.tar.gz: e70788e7aeb6e05a45674a2718be94f403f4100c460148cbf207e42d7516b66d48e72ca35619d2385646bba17b12a00b2849dc4a61b2c17d44dac2acb5f1ca0c
6
+ metadata.gz: 5bab152bd3b7e88262af32db9ed2dd23080c52454e54daece6424fedae719bfc7ecb70c795b6de7892bc1feb526e392be49ed83806d588c85d91ba0907177915
7
+ data.tar.gz: 87ea9509b743fc107f581a2e2efa82417d9ad33f66ed719511af6ae7146431235109460e20987f9375a9acfa0cb887aad759bceb84c44a033a043202d2baa0c5
@@ -1,19 +1,24 @@
1
+ require "xmlrpc/client"
1
2
  require "nokogiri/xml/sax/document"
2
3
  require "nokogiri/xml/sax/parser"
3
4
 
4
- class NokogiriStreamParser < XMLRPC::XMLParser::AbstractStreamParser
5
- def initialize
6
- @parser_class = Class.new(Nokogiri::XML::SAX::Document) do
5
+ module Fog
6
+ module XenServer
7
+ class NokogiriStreamParser < XMLRPC::XMLParser::AbstractStreamParser
8
+ def initialize
9
+ @parser_class = Class.new(Nokogiri::XML::SAX::Document) do
7
10
 
8
- include XMLRPC::XMLParser::StreamParserMixin
11
+ include XMLRPC::XMLParser::StreamParserMixin
9
12
 
10
- alias_method :start_element, :startElement
11
- alias_method :end_element, :endElement
12
- alias_method :characters, :character
13
- alias_method :cdata_block, :character
13
+ alias_method :start_element, :startElement
14
+ alias_method :end_element, :endElement
15
+ alias_method :characters, :character
16
+ alias_method :cdata_block, :character
14
17
 
15
- def parse(str)
16
- Nokogiri::XML::SAX::Parser.new(self).parse(str)
18
+ def parse(str)
19
+ Nokogiri::XML::SAX::Parser.new(self).parse(str)
20
+ end
21
+ end
17
22
  end
18
23
  end
19
24
  end
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module XenServer
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-xenserver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paulo Henrique Lopes Ribeiro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-13 00:00:00.000000000 Z
11
+ date: 2016-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-xml
@@ -610,7 +610,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
610
610
  version: '0'
611
611
  requirements: []
612
612
  rubyforge_project:
613
- rubygems_version: 2.2.2
613
+ rubygems_version: 2.4.8
614
614
  signing_key:
615
615
  specification_version: 4
616
616
  summary: This library can be used as a module for `fog` or as standalone provider