RubyGems
npm
Organizations
Log in
Sign up
RubyGems
line-tree
Versions diffs
0.3.4 → 0.3.5
line-tree 0.3.4 → 0.3.5
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/line-tree.rb
+1
-1
metadata
+1
-1
data/lib/line-tree.rb
CHANGED
Viewed
@@ -36,7 +36,7 @@ class LineTree
36
36
37
37
def get_attributes(s)
38
38
a = s[/{(.*)}/,1].split(',').map do |attr|
39
-
attr.match(/\s*([^:=]+)[:=]\s*['"]*([a-zA-Z0-9\(\)
;
]*)/).captures
39
+
attr.match(/\s*([^:=]+)[:=]\s*['"]*([a-zA-Z0-9\(\)
;\-
]*)/).captures
40
40
end
41
41
42
42
Hash[*a.flatten]
metadata
CHANGED
Viewed
@@ -2,7 +2,7 @@
2
2
name: line-tree
3
3
version: !ruby/object:Gem::Version
4
4
prerelease:
5
-
version: 0.3.
4
5
+
version: 0.3.
5
6
6
platform: ruby
7
7
authors:
8
8
- James Robertson