pump 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4d0dd2f7198902dcdd6c0e4236c9166b64258dc6
4
- data.tar.gz: 6b170630416c2d34796d2b22a9c6ca62042fd535
3
+ metadata.gz: 3e3d17b0199d472988e8a0232bd877851e5ec3c2
4
+ data.tar.gz: a9aa6f322f063f2006d5834661874a19ece8d0eb
5
5
  SHA512:
6
- metadata.gz: 80d52c00ddd02e982c4de0b96d33aea84743a68684daf5b8d25be506c32fe980de16c8c2d8e7079f3a13fb83e200d5e176f139bd0153a058275720ddbaff4860
7
- data.tar.gz: 24fd633bb52f054c5424e0f7e8fd5a4135e4e966f5e4eaec520022f0974e094a2fd6d3613955fe41c6e17f9209528eb0b42d16fa13f6f1dec45967380be77bbf
6
+ metadata.gz: 0f71e8ed6887435e7563c812c9e4a20458a912c2bfa49b913939770f8db93afac5fefab3b0b650b1d8a043e45c54120a6c59e40154135b2a13e81d0c22f3e1fc
7
+ data.tar.gz: f14c58aa52c629ed9af2e7c684aec6d8f3ff46ae1094681f0dc25455e2d20ce101bec38e86a6546d76c2020e5d6504ca4b1c7d947ba210ab73227564c3483c33
data/CHANGES.md CHANGED
@@ -1,6 +1,12 @@
1
1
  ### dev
2
2
 
3
- [full changelog](http://github.com/yolk/pump/compare/v0.8.0...master)
3
+ [full changelog](http://github.com/yolk/pump/compare/v0.9.0...master)
4
+
5
+ ### 0.9.0 / 2012-12-22
6
+
7
+ [full changelog](http://github.com/yolk/valvat/compare/v0.8.0...v0.9.0)
8
+
9
+ * Added Pump::XML#to_structs
4
10
 
5
11
  ### 0.8.0 / 2012-12-18
6
12
 
data/lib/pump/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pump
2
- VERSION = "0.8.0"
2
+ VERSION = "0.9.0"
3
3
  end
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(options[:root_name] || root_name, {}, sub_tags, tag_options)}"
13
+ end
14
+
11
15
  def encode_single(object, options)
12
16
  "#{Tag.new(root_name, {}, sub_tags, tag_options)}"
13
17
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pump
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Munz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-18 00:00:00.000000000 Z
11
+ date: 2018-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport