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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d340a550aa48a3f5fa2303c0265eb0d9d950966f
4
- data.tar.gz: 8426520b1cdd99fe9d55129e7f2524fa8ec1c853
3
+ metadata.gz: 6668ee4223ab3eb56ff77361829c1d2ecb57465b
4
+ data.tar.gz: 0b2199c68a5b72f805a44c26553a6b8abbd48dae
5
5
  SHA512:
6
- metadata.gz: b7db78c63204b32540ea16516e45b545f0280b098b42de9a7bb32fb976830139ab3e192b2ac8065e34c8d70d1d8146884d80028c373df38d0e39435fd97b3db5
7
- data.tar.gz: 37d2b6de36e8b614c687be60866e7a1ab55818898aad0bbe932b1e4427e06feff2b2fa0c7a0c9b72afc81bf00016ba3bef1780dff02ceccce3d88b7b4fa9aa70
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.1
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: 2016-06-13 00:00:00.000000000 Z
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@r0bertson.co.uk
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.5.1
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