xml-registry 0.5.2 → 0.5.3
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/lib/xml-registry.rb +6 -2
- data.tar.gz.sig +0 -0
- 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: 0753fdd623948a2ba3aff9b481c228ca0df4214c
|
|
4
|
+
data.tar.gz: 55306cb50439364ed2d6c1248fb6e61a4e71b23f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '091c681b07467b59251d9ee4bf4f4fa2088931bf117476495d885b0c6b1e671de8e3ff911514d4592022044e56859d88cfdb43c50efc8c9734bcaa420797ffe6'
|
|
7
|
+
data.tar.gz: 3abb17788161ddec6aa4739009358b6e18e03b2e5f345f1fdd398524a14ee2643c21c4a60524e362b4135b4499f8b992d99a5211e8304d5b5930f8356c826ce5
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/xml-registry.rb
CHANGED
|
@@ -68,7 +68,7 @@ class XMLRegistry
|
|
|
68
68
|
# returns the value as a Rexle::Element
|
|
69
69
|
#
|
|
70
70
|
def get_key(path)
|
|
71
|
-
|
|
71
|
+
|
|
72
72
|
key = @doc.root.element path
|
|
73
73
|
raise ("xml-registry: key %s not found" % path) unless key
|
|
74
74
|
|
|
@@ -95,6 +95,10 @@ class XMLRegistry
|
|
|
95
95
|
def to_kvx()
|
|
96
96
|
Kvx.new(to_h(self), attributes: {key: @path})
|
|
97
97
|
end
|
|
98
|
+
|
|
99
|
+
def to_os()
|
|
100
|
+
OpenStruct.new(to_h(self).first.last)
|
|
101
|
+
end
|
|
98
102
|
}
|
|
99
103
|
|
|
100
104
|
key
|
|
@@ -255,4 +259,4 @@ class XMLRegistry
|
|
|
255
259
|
out
|
|
256
260
|
end
|
|
257
261
|
|
|
258
|
-
end
|
|
262
|
+
end
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: xml-registry
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
8NnTRE6giDgOSmiS3cUBa4NDAOa0G4FP3jSUGMylDswvYepLYk5XYONr9/0NQ66a
|
|
32
32
|
dQHXSvg1fTpm2Q==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2017-
|
|
34
|
+
date: 2017-03-08 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: simple-config
|
metadata.gz.sig
CHANGED
|
Binary file
|