to_spreadsheet 1.0.0.rc1 → 1.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +0 -2
- data/lib/to_spreadsheet/version.rb +1 -1
- metadata +3 -4
data/README.textile
CHANGED
@@ -58,13 +58,11 @@ You can define formats in your view file (local to the view) or in the initializ
|
|
58
58
|
bc. format_xls 'table.my-table' do
|
59
59
|
workbook use_autowidth: true
|
60
60
|
sheet orientation: landscape
|
61
|
-
|
62
61
|
format 'th', b: true # bold
|
63
62
|
format 'tbody tr', color: lambda { |row| 'ddffdd' if row.index.odd? }
|
64
63
|
format 'A3:B10', i: true # italic
|
65
64
|
format column: 0, width: 35
|
66
65
|
format 'td.custom', lambda { |cell| modify cell somehow.}
|
67
|
-
|
68
66
|
# default value (fallback value when value is blank or 0 for integer / float)
|
69
67
|
default 'td.price', 10
|
70
68
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: to_spreadsheet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc2
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -44,7 +44,7 @@ dependencies:
|
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '0'
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
|
-
name:
|
47
|
+
name: axlsx
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
49
49
|
none: false
|
50
50
|
requirements:
|
@@ -146,4 +146,3 @@ test_files:
|
|
146
146
|
- spec/format_spec.rb
|
147
147
|
- spec/types_spec.rb
|
148
148
|
- spec/worksheets_spec.rb
|
149
|
-
has_rdoc: true
|