rexle-builder 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/rexle-builder.rb +2 -2
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 173cd08ae892bc695eba952bfbe63fc021ef7a3fd0241b399e36cff7a8c1b5c8
|
4
|
+
data.tar.gz: 2e31849b636155a8251e1a2a06620f33b1b868a7fc1d90cca981619a76041f9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b16a7f83b82355b14e61f320a4f032ffa29697fe6850b386490754da64a1cf19eced22b92c49deba892ed1bcd616978065ce0f27e0c342b2e4f0f10bc468152f
|
7
|
+
data.tar.gz: 75ea0138a555d42c640f94fe7600f8e0970e2e0ba58760a36af1cdcf17479fb33108decbee4a6fae604541a674755dace8c0493c711e794bc0cff507ed1841c4
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rexle-builder.rb
CHANGED
@@ -53,11 +53,11 @@ class RexleBuilder
|
|
53
53
|
|
54
54
|
puts 'args: ' + args.inspect if @debug
|
55
55
|
|
56
|
-
value = args.
|
56
|
+
value = args.find {|x| x.is_a? String} || ''
|
57
|
+
attributes, obj = args.select {|x| x.is_a? Hash}
|
57
58
|
|
58
59
|
# The obj is an optional Hash object used to build nested XML
|
59
60
|
# after the current element
|
60
|
-
attributes, obj = args
|
61
61
|
|
62
62
|
if value =~ /^<.*>$/ then
|
63
63
|
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|