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: cda21c9f5d9538afeb4ba3db8dd5878d649f41c190f9d2afab5a5271b927ef55
4
- data.tar.gz: 7ccd72b8f89764c0c64af5d05a8380872376913cee7767471a5a8ee68298ea4f
3
+ metadata.gz: 5da665259695da14b440a6c037fc942f06620d6ec07856cde36c7f7fc4fb3d2e
4
+ data.tar.gz: 128300b9b431fdc00b27d36d2aaf84514fdae5f7d9c532ff3ed3f5a941dadec9
5
5
  SHA512:
6
- metadata.gz: fbdada9e73d31011faa37c89e31a65fdec841f8bc62009ca310f48469bd68266fb228dcc316e5bebf6ea0d98114b305db9fcaec29fc11fa66bd843db47649492
7
- data.tar.gz: e98a7444369a9b1eb1d00e3153374a4bc1d3e5c35a8b45b9c00a88d6742ecfac5d27964d37ea531ffe942bc663d0c3e66994970883612be4ffc4f35a98414140
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.name)
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).values)
54
+ worksheet.append_row(row_renderer.render(row, time))
55
55
  end
56
56
  end
57
57
 
@@ -12,7 +12,7 @@ require 'portable'
12
12
  module Portable
13
13
  module Writers
14
14
  class Spreadsheet < Base
15
- VERSION = '1.0.0-alpha.1'
15
+ VERSION = '1.0.0-alpha.2'
16
16
  end
17
17
  end
18
18
  end
@@ -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.5')
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.1
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-09 00:00:00.000000000 Z
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.5
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.5
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