spotlight_search 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/jobs/spotlight_search/export_job.rb +1 -1
- data/lib/spotlight_search/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b92c3e7bbf1f08608d56519a25d3bfbb89f9f15c3be6a966b8d3f511ef89852f
|
4
|
+
data.tar.gz: db81f9f85d884545a7af576b5c25f1dde374aeb3d977bcaaaec89095b518d122
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f2f9550bd462c7766f5386597af63ce6de850ec77810c7066be0b3cb240c632942430a62e74deeac297a72aff33c7cb4b9dd45caed94255c730d40685c19c98
|
7
|
+
data.tar.gz: 36da0ccdfed1bae3bc5b680ebe31ebdf1269f2a0d37abcef410f044f0aa3057ca6333669b8fd18136a693245cf865ffd4bed78ee9b63e1e5d249091b3d04ed2d
|
@@ -68,7 +68,7 @@ module SpotlightSearch
|
|
68
68
|
|
69
69
|
def create_excel_v2(records, class_name)
|
70
70
|
flattened_records = records.map { |record| SpotlightSearch::Utils.flatten_hash(record) }
|
71
|
-
columns = flattened_records
|
71
|
+
columns = flattened_records.map{|x| x.keys}.flatten.uniq.sort
|
72
72
|
size_arr = []
|
73
73
|
columns.size.times { size_arr << 22 }
|
74
74
|
xl = Axlsx::Package.new
|