line-tree 0.3.4 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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