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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '099ecfc87e93555a16a5e494f3b88f69cbe8688c967444b5fac831dc62b5b650'
4
- data.tar.gz: 5d3853b623df2045aadb98b70f69dfd9faf9b8d0878a4cb080bdeccaf6f5f396
3
+ metadata.gz: b92c3e7bbf1f08608d56519a25d3bfbb89f9f15c3be6a966b8d3f511ef89852f
4
+ data.tar.gz: db81f9f85d884545a7af576b5c25f1dde374aeb3d977bcaaaec89095b518d122
5
5
  SHA512:
6
- metadata.gz: 651ec6f74e9c8d4bae5678be1636a157e13fa2420446ce50e4f0f7d68a438c0247d3f682f1759aedeed5d99095e5bd4a39957e99cad62ea38d747ad17dd8a068
7
- data.tar.gz: 909f5d9e9a2472bd63d4d7db9ecd77e9c0007f4b10072eb1106ff7f411b45bf103c47de44dd9e03c1c64d8099bf85aa5cd21780287881036a5c4880ce03a7ab4
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[0].keys
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
@@ -1,3 +1,3 @@
1
1
  module SpotlightSearch
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spotlight_search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anbazhagan Palani