tallty_import_export 1.0.23 → 1.0.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tallty_import_export/export.rb +3 -3
- data/lib/tallty_import_export/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: f5b4baee923834e5a843ab33b902d60cb200c4706c278793f45626fb1a93182e
|
4
|
+
data.tar.gz: 83feee2c88ef9d40ab6273002bb0764447ed450d9262e97bad4ba0a5781f5f7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12c078e974198c3471a9c211a80edaeb7dfe7b1bd8e551320663bb08d9f933d74aa734cdb40c8b1a58175eebff3d98b1676f52c9da4f2c8eb160010cb462139e
|
7
|
+
data.tar.gz: 2fa62a1f0d57499115c734ca854274b354e55e3ad752e0b55c339b8a71668fcff9051062839a4bedce680df721d9629fde9fb59be62904b89b8cd4e037dade56
|
@@ -80,10 +80,10 @@ module TalltyImportExport
|
|
80
80
|
if respond_to?(:first_header)
|
81
81
|
row_index = Axlsx.col_ref(headers.size - 1)
|
82
82
|
sheet.merge_cells("A1:#{row_index}1")
|
83
|
-
sheet.add_row [first_header], style: title1, height:
|
83
|
+
sheet.add_row [first_header], style: title1, height: 30
|
84
84
|
end
|
85
85
|
|
86
|
-
sheet.add_row headers.map{|header| header[:name]}, style: title2, height:
|
86
|
+
sheet.add_row headers.map{|header| header[:name]}, style: title2, height: 25
|
87
87
|
|
88
88
|
last_row = nil
|
89
89
|
merge_column_hash = {}
|
@@ -126,7 +126,7 @@ module TalltyImportExport
|
|
126
126
|
def process_options options = {}
|
127
127
|
options = options.with_indifferent_access
|
128
128
|
|
129
|
-
@row_height ||= options.delete(:row_height) ||
|
129
|
+
@row_height ||= options.delete(:row_height) || 25
|
130
130
|
@width ||= (options.delete(:width) || 20).to_f
|
131
131
|
@filename ||= options.delete(:filename)
|
132
132
|
@group_by ||= options.delete(:group_by)
|