rugalytics 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/lib/rugalytics.rb +1 -1
- data/lib/rugalytics/report.rb +3 -14
- data/rugalytics.gemspec +1 -1
- metadata +1 -1
data/CHANGELOG
CHANGED
data/lib/rugalytics.rb
CHANGED
data/lib/rugalytics/report.rb
CHANGED
@@ -98,20 +98,9 @@ module Rugalytics
|
|
98
98
|
begin
|
99
99
|
values = FasterCSV.parse_line(values_line)
|
100
100
|
rescue Exception => e
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
values_line.gsub!(/^""/,'"\"')
|
105
|
-
values_line.gsub!(/""$/,'\""')
|
106
|
-
values_line.gsub!(/([^\\])""/,'\1\"')
|
107
|
-
values_line.gsub!(/\\"/,'""')
|
108
|
-
begin
|
109
|
-
values = FasterCSV.parse_line(values_line)
|
110
|
-
rescue Exception => e
|
111
|
-
values_line.gsub!(/\\"/,'')
|
112
|
-
values_line.gsub!(/"/,'')
|
113
|
-
values = FasterCSV.parse_line(values_line)
|
114
|
-
end
|
101
|
+
values_line.gsub!(/""/,'$$')
|
102
|
+
values = FasterCSV.parse_line(values_line)
|
103
|
+
values.each {|v| v.gsub!('$$','"')}
|
115
104
|
end
|
116
105
|
items << Item.new(attributes, values, base_url)
|
117
106
|
index = index.next
|
data/rugalytics.gemspec
CHANGED