line-tree 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/line-tree.rb +1 -1
- metadata +3 -5
data/lib/line-tree.rb
CHANGED
@@ -42,7 +42,7 @@ class LineTree
|
|
42
42
|
|
43
43
|
def get_attributes(s)
|
44
44
|
a = s[/{(.*)}/,1].split(',').map do |attr|
|
45
|
-
attr.match(/\s*([^:=]+)[:=]\s*['"]*([a-zA-Z0-9\(\)
|
45
|
+
attr.match(/\s*([^:=]+)[:=]\s*['"]*([a-zA-Z0-9\(\);\-\/:\.]*)/).captures
|
46
46
|
end
|
47
47
|
|
48
48
|
Hash[*a.flatten]
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: line-tree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.3.
|
5
|
+
version: 0.3.7
|
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-06-11 00:00:00 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: rexle
|
@@ -35,7 +34,6 @@ extra_rdoc_files: []
|
|
35
34
|
|
36
35
|
files:
|
37
36
|
- lib/line-tree.rb
|
38
|
-
has_rdoc: true
|
39
37
|
homepage: http://github.com/jrobertson/line-tree
|
40
38
|
licenses: []
|
41
39
|
|
@@ -59,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
59
57
|
requirements: []
|
60
58
|
|
61
59
|
rubyforge_project:
|
62
|
-
rubygems_version: 1.
|
60
|
+
rubygems_version: 1.8.23
|
63
61
|
signing_key:
|
64
62
|
specification_version: 3
|
65
63
|
summary: line-tree
|