portable-writers-spreadsheet 1.0.0.pre.alpha.1 → 1.0.0.pre.alpha.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5da665259695da14b440a6c037fc942f06620d6ec07856cde36c7f7fc4fb3d2e
|
4
|
+
data.tar.gz: 128300b9b431fdc00b27d36d2aaf84514fdae5f7d9c532ff3ed3f5a941dadec9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f38d70d03d38a559d6d1518be85dd9ce2c03a5aa06fed2316367d5be9ca8489e1477464d28a44191f1d59cf4fe290e43658b5ad5c3be0c28a7e4df65a08d4fe7
|
7
|
+
data.tar.gz: 6f98550ac8be9dd8e4851022b59152afff80912abd02a560ef5f2680e576da94d97415d3f759979e1dfcbf6737c89eefa70206a1725f920440c5c3e471ff489f
|
@@ -22,7 +22,7 @@ module Portable
|
|
22
22
|
workbook = FastExcel.open(filename, constant_memory: true)
|
23
23
|
|
24
24
|
document.sheets.map do |sheet|
|
25
|
-
data_source = data_provider.data_source(sheet.
|
25
|
+
data_source = data_provider.data_source(sheet.data_source_name)
|
26
26
|
worksheet = add_worksheet(workbook, sheet)
|
27
27
|
|
28
28
|
write_head(worksheet, sheet, data_source)
|
@@ -51,7 +51,7 @@ module Portable
|
|
51
51
|
worksheet.append_row(row_renderer.headers) if sheet.include_headers?
|
52
52
|
|
53
53
|
data_source.data_rows.each do |row|
|
54
|
-
worksheet.append_row(row_renderer.render(row, time)
|
54
|
+
worksheet.append_row(row_renderer.render(row, time))
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
@@ -29,7 +29,7 @@ Gem::Specification.new do |s|
|
|
29
29
|
s.required_ruby_version = '>= 2.5'
|
30
30
|
|
31
31
|
s.add_dependency('fast_excel', '~>0.3')
|
32
|
-
s.add_dependency('portable', '=1.0.0-alpha.
|
32
|
+
s.add_dependency('portable', '=1.0.0-alpha.7')
|
33
33
|
|
34
34
|
s.add_development_dependency('guard-rspec', '~>4.7')
|
35
35
|
s.add_development_dependency('pry', '~>0')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: portable-writers-spreadsheet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.pre.alpha.
|
4
|
+
version: 1.0.0.pre.alpha.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Ruggio
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fast_excel
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.0.0.pre.alpha.
|
33
|
+
version: 1.0.0.pre.alpha.7
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.0.0.pre.alpha.
|
40
|
+
version: 1.0.0.pre.alpha.7
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: guard-rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|