lib/Processors/GoogleSheetProcessor.rb in ZReviewTender-1.3.6 vs lib/Processors/GoogleSheetProcessor.rb in ZReviewTender-1.3.7

- old
+ new

@@ -103,20 +103,10 @@ end sortedFilterReviews.each do |review| cols = [] formatValues.each do |formatValue| - formatValue = formatValue.gsub("%TITLE%", review.title || "") - formatValue = formatValue.gsub("%BODY%", review.body || "") - formatValue = formatValue.gsub("%RATING%", review.rating.nil? ? "" :review.rating.to_s) - formatValue = formatValue.gsub("%PLATFORM%", review.platform || "") - formatValue = formatValue.gsub("%ID%", review.id || "") - formatValue = formatValue.gsub("%USERNAME%", review.userName || "") - formatValue = formatValue.gsub("%URL%", review.url || "") - formatValue = formatValue.gsub("%TERRITORY%", review.territory || "") - formatValue = formatValue.gsub("%APPVERSION%", review.appVersion || "") - formatValue = formatValue.gsub("%CREATEDDATE%", review.createdDateTimestamp.nil? ? "" : Time.at(review.createdDateTimestamp).getlocal(timeZoneOffset).to_s) - + formatValue = renderReview(formatValue, review, timeZoneOffset) cols.append(formatValue) end values.append(cols) end \ No newline at end of file