query_report 1.0.6 → 1.0.7
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.
- data/lib/query_report/report_pdf.rb +6 -2
- data/lib/query_report/version.rb +1 -1
- data/test/dummy/log/development.log +1352 -0
- metadata +2 -2
@@ -50,7 +50,7 @@ module QueryReport
|
|
50
50
|
end
|
51
51
|
|
52
52
|
def humanized_table_header
|
53
|
-
report_columns.collect
|
53
|
+
report_columns.collect { |h| fix_content h.humanize }
|
54
54
|
end
|
55
55
|
|
56
56
|
def table_content_for(report)
|
@@ -59,7 +59,7 @@ module QueryReport
|
|
59
59
|
item_values = []
|
60
60
|
|
61
61
|
report_columns.collect(&:humanize).each do |column|
|
62
|
-
item_values << item[column].to_s
|
62
|
+
item_values << fix_content(item[column].to_s)
|
63
63
|
end
|
64
64
|
item_values
|
65
65
|
end
|
@@ -89,6 +89,10 @@ module QueryReport
|
|
89
89
|
end
|
90
90
|
end
|
91
91
|
|
92
|
+
def fix_content(content)
|
93
|
+
content
|
94
|
+
end
|
95
|
+
|
92
96
|
private
|
93
97
|
def report_columns
|
94
98
|
report.columns.select { |c| !c.only_on_web? }
|
data/lib/query_report/version.rb
CHANGED