agilibox 1.9.6 → 1.9.7

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: 910653d569b2435173e10da0415be0a35356421d5e6fcd112b8653c0b39f2854
4
- data.tar.gz: 2d67a98fe71852d8746be01fe140826183eaf12d42a6099ce5175bfac15e296d
3
+ metadata.gz: c3048bec6f664386b45e3e7270bf1ca3bf97f6913d2655fb36e3dcb52d85ec5a
4
+ data.tar.gz: 3d2e836934570fe0139001623c10dffab4c50295353201413d81ff0b5f98633e
5
5
  SHA512:
6
- metadata.gz: 2b5db5518d98aa662b3bef973bce64adb438beff835276b02d679aa9cba8714f71178fa3510792589b602439fd162f26f161679b2c5063ebd375b3b72a2618ce
7
- data.tar.gz: 37e954d5f9c4e1a767c91e999327ac32b64f9a984153c1cccf4273423d6b1818e89b3dcab08a056889decd6e72abd84672bfd94bb05c1b2207cc7a640efa44de
6
+ metadata.gz: 0d6442cd5c94f530598488a1f246c0ca148a6ac4a2dd78a28fdc9318098153020c1ad300919a4204e7f10f6878c3fd4f748bd62e0e7f7d0506ce51e2c7892ba1
7
+ data.tar.gz: 9b02adb2ed7fe9877fa1225803a8c9dc36dbbec11e06bc2a4715adb8c7e142b3c53d3fdedb984ba3fed323e30e0be18b8288a1e44890271d6413aa3b828ba3b7
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## Next version
4
4
 
5
+ ## v1.9.7
6
+ - Change XLSX export
7
+
5
8
  ## v1.9.6
6
9
  - Fix info helper with false
7
10
  - Update Rubocop + fix offences
@@ -1,6 +1,7 @@
1
1
  class Agilibox::Serializers::XLSX < Agilibox::Serializers::Base
2
2
  def render_inline
3
- SpreadsheetArchitect.to_xlsx(data: formatted_data)
3
+ headers, *data = formatted_data
4
+ SpreadsheetArchitect.to_xlsx(headers: headers, data: data, freeze_headers: true)
4
5
  end
5
6
 
6
7
  def render_file(file_path)
@@ -1,3 +1,3 @@
1
1
  module Agilibox
2
- VERSION = "1.9.6"
2
+ VERSION = "1.9.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agilibox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.6
4
+ version: 1.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - agilidée
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-29 00:00:00.000000000 Z
11
+ date: 2020-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails-i18n