rexle 0.9.22 → 0.9.23
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.
- data/lib/rexle.rb +2 -1
- metadata +2 -2
data/lib/rexle.rb
CHANGED
|
@@ -10,6 +10,7 @@ require 'cgi'
|
|
|
10
10
|
include REXML
|
|
11
11
|
|
|
12
12
|
# modifications:
|
|
13
|
+
# 15-Apr-2012: bug fix: New element names are typecast as string
|
|
13
14
|
# 16-Mar-2012: bug fix: Element names which contain a colon can now be selected
|
|
14
15
|
# in the xpath.
|
|
15
16
|
# 22-Feb-2012: bug resolution: Deactivated the PolyrexParser; using RexleParser instead
|
|
@@ -149,7 +150,7 @@ class Rexle
|
|
|
149
150
|
def initialize(name=nil, value='', attributes={}, rexle=nil)
|
|
150
151
|
@rexle = rexle
|
|
151
152
|
super()
|
|
152
|
-
@name, @value, @attributes = name, value, attributes
|
|
153
|
+
@name, @value, @attributes = name.to_s, value, attributes
|
|
153
154
|
raise "Element name must not be blank" unless name
|
|
154
155
|
@child_elements = []
|
|
155
156
|
@child_lookup = []
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: rexle
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.9.
|
|
5
|
+
version: 0.9.23
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- James Robertson
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2012-04-
|
|
13
|
+
date: 2012-04-15 00:00:00 +01:00
|
|
14
14
|
default_executable:
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|