lib/jiralicious/parsers/field_parser.rb in jiralicious-0.1.0 vs lib/jiralicious/parsers/field_parser.rb in jiralicious-0.2.0
- old
+ new
@@ -32,11 +32,11 @@
private
def normalize(name)
name.gsub(/(\w+)([A-Z].*)/, '\1_\2').
- gsub(/\W/, "_").
- downcase
+ gsub(/\W/, "_").
+ downcase
end
def mashify(data)
if data.is_a?(Array)
data.map { |d| mashify(d) }