xml-registry 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/xml-registry.rb +3 -3
- metadata +4 -4
- 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: 6668ee4223ab3eb56ff77361829c1d2ecb57465b
|
4
|
+
data.tar.gz: 0b2199c68a5b72f805a44c26553a6b8abbd48dae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 237bb8a4b1a17d0852ae380e0479d8ac7e2c4891edb099cafa7bac4e1a225037a01baff8fdecab645feb9f8879fa621526a054b5740867986ee44f21aa496361
|
7
|
+
data.tar.gz: 2ef578860139ff673cd15f5e006bf1d4b6aec7116dc64aa082b1110f6f492a5ea3dbb3ada7ebcfe651eb0f49e37a5825e9fc24f44e0c100dd9a6440d3515bbc0
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/xml-registry.rb
CHANGED
@@ -58,7 +58,7 @@ class XMLRegistry
|
|
58
58
|
end
|
59
59
|
|
60
60
|
def []=(path, val)
|
61
|
-
s = path.split('/').map {|x| x.is_number? ? x.prepend('x') : x}.join '/'
|
61
|
+
s = path.split('/').map {|x| x[0].is_number? ? x.prepend('x') : x}.join '/'
|
62
62
|
self.set_key(s, val)
|
63
63
|
end
|
64
64
|
|
@@ -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
|
+
puts 'inside get_key'
|
72
72
|
key = @doc.root.element path
|
73
73
|
raise ("xml-registry: key %s not found" % path) unless key
|
74
74
|
|
@@ -255,4 +255,4 @@ class XMLRegistry
|
|
255
255
|
out
|
256
256
|
end
|
257
257
|
|
258
|
-
end
|
258
|
+
end
|
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.2
|
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:
|
34
|
+
date: 2017-01-03 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: simple-config
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 0.6.1
|
56
56
|
description:
|
57
|
-
email: james@
|
57
|
+
email: james@jamesrobertson.eu
|
58
58
|
executables: []
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
82
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.
|
83
|
+
rubygems_version: 2.6.8
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: xml-registry
|
metadata.gz.sig
CHANGED
Binary file
|