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
  1. data/lib/line-tree.rb +1 -1
  2. metadata +1 -1
data/lib/line-tree.rb CHANGED
@@ -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
@@ -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