xml-registry 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/xml-registry.rb +1 -1
- metadata +3 -5
data/lib/xml-registry.rb
CHANGED
@@ -63,7 +63,7 @@ class XMLRegistry
|
|
63
63
|
reg_buffer = read(s)
|
64
64
|
|
65
65
|
reg_items = reg_buffer.gsub(/\n/,'').split(/(?=\[.[^\]]+\])/).map do |x|
|
66
|
-
[x[/^\[(.[^\]]+)\]/,1], Hash[*($').scan(/"([^"]+)"="(.[^"]
|
66
|
+
[x[/^\[(.[^\]]+)\]/,1], Hash[*($').scan(/"([^"]+)"="(.[^"]*)"/).flatten]]
|
67
67
|
end
|
68
68
|
|
69
69
|
reg_items.each do |path, items|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: xml-registry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.10
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- James Robertson
|
@@ -10,8 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-
|
14
|
-
default_executable:
|
13
|
+
date: 2012-07-30 00:00:00 Z
|
15
14
|
dependencies: []
|
16
15
|
|
17
16
|
description:
|
@@ -24,7 +23,6 @@ extra_rdoc_files: []
|
|
24
23
|
|
25
24
|
files:
|
26
25
|
- lib/xml-registry.rb
|
27
|
-
has_rdoc: true
|
28
26
|
homepage:
|
29
27
|
licenses: []
|
30
28
|
|
@@ -48,7 +46,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
48
46
|
requirements: []
|
49
47
|
|
50
48
|
rubyforge_project:
|
51
|
-
rubygems_version: 1.
|
49
|
+
rubygems_version: 1.8.23
|
52
50
|
signing_key:
|
53
51
|
specification_version: 3
|
54
52
|
summary: xml-registry
|