pump 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pump/version.rb +1 -1
- data/lib/pump/xml.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c235360aab336fe2a0ed066c8304e4360568716
|
4
|
+
data.tar.gz: c4cf5d80adf45a0e8923ebc454e9bca22bdaac17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fdb968bef53211f1f18c9f0f3778d1991d16f3e15d9d0f4347ec4d996650bb9bf8028c6f72dd60960c0146988066feb1d7347493889bf4238d01376ac7e2ebb
|
7
|
+
data.tar.gz: e55e0cab68238c42779bed04dc44be3aedcfcf050eb88bac34101a5e5996cab28971ec0ebb9df963d6a9abd13e1fffe3652c2adf30c22868d5ae16dfc2fb907f
|
data/lib/pump/version.rb
CHANGED
data/lib/pump/xml.rb
CHANGED
@@ -8,6 +8,10 @@ module Pump
|
|
8
8
|
|
9
9
|
def compile_string
|
10
10
|
<<-EOV
|
11
|
+
def to_structs(object, options)
|
12
|
+
"#{Tag.new(root_name, {}, sub_tags, tag_options.merge(instruct: false))}"
|
13
|
+
end
|
14
|
+
|
11
15
|
def encode_single(object, options)
|
12
16
|
"#{Tag.new(root_name, {}, sub_tags, tag_options)}"
|
13
17
|
end
|