rexleparser 0.2.3 → 0.2.4

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/rexleparser.rb +1 -1
  2. metadata +2 -2
data/lib/rexleparser.rb CHANGED
@@ -103,7 +103,7 @@ class RexleParser
103
103
  def get_attributes(raw_attributes)
104
104
  raw_attributes.scan(/(\w+\='[^']+')|(\w+\="[^"]+")/).map(&:compact).flatten.inject({}) do |r, x|
105
105
  attr_name, val = x.split(/=/)
106
- r.merge(attr_name => val[1..-2])
106
+ r.merge(attr_name.to_sym => val[1..-2])
107
107
  end
108
108
  end
109
109
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rexleparser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors: []
7
7
 
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2011-01-11 00:00:00 +00:00
12
+ date: 2011-02-08 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies: []
15
15