xml-simple 1.0.10 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/xmlsimple.rb +2 -2
- metadata +2 -2
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.11'
|
15
15
|
|
16
16
|
# A simple cache for XML documents that were already transformed
|
17
17
|
# by xml_in.
|
@@ -129,7 +129,7 @@ class XmlSimple
|
|
129
129
|
unless defaults.nil? || defaults.instance_of?(Hash)
|
130
130
|
raise ArgumentError, "Options have to be a Hash."
|
131
131
|
end
|
132
|
-
@default_options = normalize_option_names(defaults, KNOWN_OPTIONS['in']
|
132
|
+
@default_options = normalize_option_names(defaults, (KNOWN_OPTIONS['in'] + KNOWN_OPTIONS['out']).uniq)
|
133
133
|
@options = Hash.new
|
134
134
|
@_var_values = nil
|
135
135
|
end
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: xml-simple
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.0.
|
7
|
-
date:
|
6
|
+
version: 1.0.11
|
7
|
+
date: 2007-03-12 00:00:00 +01:00
|
8
8
|
summary: A very simple API for XML processing.
|
9
9
|
require_paths:
|
10
10
|
- lib
|