polyrex-schema 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/polyrex-schema.rb +3 -2
  2. metadata +2 -2
@@ -10,8 +10,9 @@ class PolyrexSchema
10
10
  def initialize(s)
11
11
 
12
12
  @doc = Document.new
13
- node = Element.new 'root'
14
- @doc.add node
13
+ #node = Element.new 'root'
14
+ #@doc.add node
15
+ node = @doc
15
16
 
16
17
  s.scan(/\w+\[[^\]]*\]|\w+/).each do |x|
17
18
  b1, b2 = x.split('[')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polyrex-schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors: []
7
7
 
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-05-05 00:00:00 +01:00
12
+ date: 2010-05-18 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15