kvx 0.5.7 → 0.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/kvx.rb +6 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 570cf62e786d5f0fdc8aa27b66c1b97767949a36
|
|
4
|
+
data.tar.gz: 50e2d42a024a65059974ae5b46e39e8e9f910af4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 650587e33fbd2ff031fd3232c1247fa95722dcc25076ab02e3b079ad9a423f598b587d9ca0a4a0e93f6038fcc9e132a1b147baf1e54e3eb8a9724c3d4e32bb5b
|
|
7
|
+
data.tar.gz: 84abb12ee41019e19d87ad622d6cdf9d7e77e9d58f9f5026abf886a7bf4884d5d17d41e8054d21af1164540a952f1e1aa77e192c3028630e475e2f7a35d09128
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/kvx.rb
CHANGED
|
@@ -28,7 +28,8 @@ class Kvx
|
|
|
28
28
|
h = {
|
|
29
29
|
hash: :passthru,
|
|
30
30
|
:'rexle::element' => :xml_to_h,
|
|
31
|
-
string: :parse_string
|
|
31
|
+
string: :parse_string,
|
|
32
|
+
rexle: :doc_to_h
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
@body = method(h[x.class.to_s.downcase.to_sym]).call x
|
|
@@ -119,6 +120,10 @@ class Kvx
|
|
|
119
120
|
end
|
|
120
121
|
|
|
121
122
|
end
|
|
123
|
+
|
|
124
|
+
def doc_to_h(doc)
|
|
125
|
+
xml_to_h(doc.root)
|
|
126
|
+
end
|
|
122
127
|
|
|
123
128
|
def get_attributes(raw_attributes)
|
|
124
129
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kvx
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
Vo86eJaJUXJbywrm97pYB2utyzWPyxJihIh0eFuNbCk+XOWfv6vUEyuXMiCsiyrF
|
|
32
32
|
azRHJ6uLeQu4hw==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2015-06-
|
|
34
|
+
date: 2015-06-19 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: line-tree
|
metadata.gz.sig
CHANGED
|
Binary file
|