skates 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/skates/base/stanza.rb +3 -1
  2. metadata +2 -2
@@ -14,9 +14,11 @@ module Skates
14
14
  #
15
15
  class Stanza
16
16
  include SAXMachine
17
+ attr_reader :xml
17
18
 
18
19
  def initialize(xml = nil)
19
- parse(xml.to_s)
20
+ @xml = xml
21
+ parse(xml.to_xml)
20
22
  end
21
23
  end
22
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skates
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - julien Genestoux
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-11 00:00:00 -08:00
12
+ date: 2009-11-16 00:00:00 -08:00
13
13
  default_executable: skates
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency