xml-simple 1.0.12 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/xmlsimple.rb +2 -2
- metadata +18 -7
data/lib/xmlsimple.rb
CHANGED
@@ -11,7 +11,7 @@ require 'stringio'
|
|
11
11
|
class XmlSimple
|
12
12
|
include REXML
|
13
13
|
|
14
|
-
@@VERSION = '1.0.
|
14
|
+
@@VERSION = '1.0.13'
|
15
15
|
|
16
16
|
# A simple cache for XML documents that were already transformed
|
17
17
|
# by xml_in.
|
@@ -792,7 +792,7 @@ class XmlSimple
|
|
792
792
|
|
793
793
|
if !ref.empty?
|
794
794
|
ref.each { |key, value|
|
795
|
-
next if !key.nil? && key[0, 1] == '-'
|
795
|
+
next if !key.nil? && key.to_s[0, 1] == '-'
|
796
796
|
if value.nil?
|
797
797
|
unless @options.has_key?('suppressempty') && @options['suppressempty'].nil?
|
798
798
|
raise ArgumentError, "Use of uninitialized value!"
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xml-simple
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 1
|
7
|
+
- 0
|
8
|
+
- 13
|
9
|
+
version: 1.0.13
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Maik Schmidt
|
@@ -9,7 +14,7 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date:
|
17
|
+
date: 2011-01-19 00:00:00 +01:00
|
13
18
|
default_executable:
|
14
19
|
dependencies: []
|
15
20
|
|
@@ -23,31 +28,37 @@ extra_rdoc_files: []
|
|
23
28
|
|
24
29
|
files:
|
25
30
|
- lib/xmlsimple.rb
|
26
|
-
has_rdoc:
|
31
|
+
has_rdoc: true
|
27
32
|
homepage: http://xml-simple.rubyforge.org
|
33
|
+
licenses: []
|
34
|
+
|
28
35
|
post_install_message:
|
29
36
|
rdoc_options: []
|
30
37
|
|
31
38
|
require_paths:
|
32
39
|
- lib
|
33
40
|
required_ruby_version: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
34
42
|
requirements:
|
35
43
|
- - ">="
|
36
44
|
- !ruby/object:Gem::Version
|
45
|
+
segments:
|
46
|
+
- 0
|
37
47
|
version: "0"
|
38
|
-
version:
|
39
48
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
40
50
|
requirements:
|
41
51
|
- - ">="
|
42
52
|
- !ruby/object:Gem::Version
|
53
|
+
segments:
|
54
|
+
- 0
|
43
55
|
version: "0"
|
44
|
-
version:
|
45
56
|
requirements: []
|
46
57
|
|
47
58
|
rubyforge_project: xml-simple
|
48
|
-
rubygems_version: 1.3.
|
59
|
+
rubygems_version: 1.3.7
|
49
60
|
signing_key:
|
50
|
-
specification_version:
|
61
|
+
specification_version: 3
|
51
62
|
summary: A simple API for XML processing.
|
52
63
|
test_files: []
|
53
64
|
|