writeexcel 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +4 -1
- data/examples/a_simple.rb +0 -1
- data/examples/chart_area.rb +0 -1
- data/examples/chart_legend.rb +0 -1
- data/examples/copyformat.rb +0 -1
- data/examples/data_validate.rb +1 -2
- data/examples/date_time.rb +0 -1
- data/examples/demo.rb +0 -1
- data/examples/diag_border.rb +0 -1
- data/examples/formats.rb +0 -1
- data/examples/header.rb +0 -1
- data/examples/hide_sheet.rb +0 -1
- data/examples/hyperlink.rb +0 -1
- data/examples/hyperlink2.rb +0 -1
- data/examples/images.rb +0 -1
- data/examples/merge1.rb +0 -1
- data/examples/merge2.rb +0 -1
- data/examples/merge3.rb +0 -1
- data/examples/merge4.rb +0 -1
- data/examples/merge5.rb +0 -1
- data/examples/password_protection.rb +0 -1
- data/examples/properties.rb +0 -1
- data/examples/properties_jp.rb +0 -1
- data/examples/protection.rb +0 -1
- data/examples/regions.rb +0 -1
- data/examples/repeat.rb +0 -1
- data/examples/set_first_sheet.rb +0 -1
- data/examples/stocks.rb +0 -1
- data/examples/store_formula.rb +0 -1
- data/examples/tab_colors.rb +0 -1
- data/examples/write_arrays.rb +0 -1
- data/lib/writeexcel/formula.rb +1 -5
- data/lib/writeexcel/version.rb +1 -1
- data/test/helper.rb +0 -1
- data/writeexcel.gemspec +2 -0
- metadata +20 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e036ee78c56e41a25c0c346a2cbc93b579e4f54d
|
4
|
+
data.tar.gz: 20f79a79efa1699803e993ee52aa70665baabcea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bb714fcc9f5a3ce118732cce6e4b21623237831ee25d5ab90970320140bc716cb88907ef3326f758f2a909fbdee8f45f1b9d926a72081361cd57d5fc11333a5
|
7
|
+
data.tar.gz: 8b89087c85738f136750da5673e3e0fb4bf95158053dbb9d8d00345715c30d22d8372e68d7c1efddc6674a6a9537ed89b46c9d37ca0d4ca0e15e8a188b2b900a
|
data/README.rdoc
CHANGED
@@ -84,6 +84,9 @@ Example Code:
|
|
84
84
|
* and ......
|
85
85
|
|
86
86
|
== Recent Change
|
87
|
+
v1.0.5
|
88
|
+
* use test-unit gem instead of test/unit.
|
89
|
+
|
87
90
|
v1.0.4
|
88
91
|
* put formula parsers classes in a module to avoid namespace conflicts. (thanks Kevin)
|
89
92
|
|
@@ -105,7 +108,7 @@ v1.0.0
|
|
105
108
|
Original was written in Perl by John McNamara (jmcnamara@cpan.org).
|
106
109
|
|
107
110
|
Convert to ruby by Hideo Nakamura (cxn03651@msj.biglobe.ne.jp)
|
108
|
-
Copyright (c) 2009-
|
111
|
+
Copyright (c) 2009-2014 Hideo NAKAMURA. See LICENSE.txt for details.
|
109
112
|
|
110
113
|
== License
|
111
114
|
|
data/examples/a_simple.rb
CHANGED
data/examples/chart_area.rb
CHANGED
data/examples/chart_legend.rb
CHANGED
data/examples/copyformat.rb
CHANGED
data/examples/data_validate.rb
CHANGED
@@ -12,7 +12,6 @@
|
|
12
12
|
# converted to Ruby by Hideo Nakamura, cxn03651@msj.biglobe.ne.jp
|
13
13
|
#
|
14
14
|
|
15
|
-
require 'rubygems'
|
16
15
|
require 'writeexcel'
|
17
16
|
|
18
17
|
workbook = WriteExcel.new('data_validate.xls')
|
@@ -152,7 +151,7 @@
|
|
152
151
|
worksheet.data_validation(row, 1,
|
153
152
|
{
|
154
153
|
:validate => 'list',
|
155
|
-
:source => '
|
154
|
+
:source => '=$E$4:$G$4'
|
156
155
|
})
|
157
156
|
|
158
157
|
|
data/examples/date_time.rb
CHANGED
data/examples/demo.rb
CHANGED
data/examples/diag_border.rb
CHANGED
data/examples/formats.rb
CHANGED
data/examples/header.rb
CHANGED
data/examples/hide_sheet.rb
CHANGED
data/examples/hyperlink.rb
CHANGED
data/examples/hyperlink2.rb
CHANGED
data/examples/images.rb
CHANGED
data/examples/merge1.rb
CHANGED
data/examples/merge2.rb
CHANGED
data/examples/merge3.rb
CHANGED
data/examples/merge4.rb
CHANGED
data/examples/merge5.rb
CHANGED
data/examples/properties.rb
CHANGED
data/examples/properties_jp.rb
CHANGED
data/examples/protection.rb
CHANGED
data/examples/regions.rb
CHANGED
data/examples/repeat.rb
CHANGED
data/examples/set_first_sheet.rb
CHANGED
data/examples/stocks.rb
CHANGED
data/examples/store_formula.rb
CHANGED
data/examples/tab_colors.rb
CHANGED
data/examples/write_arrays.rb
CHANGED
data/lib/writeexcel/formula.rb
CHANGED
@@ -680,13 +680,11 @@ def initialize_hashes
|
|
680
680
|
'ptgRefNV' => 0x4C,
|
681
681
|
'ptgAreaNV' => 0x4D,
|
682
682
|
'ptgMemAreaNV' => 0x4E,
|
683
|
-
'ptgMemNoMemN' => 0x4F,
|
684
683
|
'ptgFuncCEV' => 0x58,
|
685
684
|
'ptgNameXV' => 0x59,
|
686
685
|
'ptgRef3dV' => 0x5A,
|
687
686
|
'ptgArea3dV' => 0x5B,
|
688
687
|
'ptgRefErr3dV' => 0x5C,
|
689
|
-
'ptgAreaErr3d' => 0x5D,
|
690
688
|
'ptgArrayA' => 0x60,
|
691
689
|
'ptgFuncA' => 0x61,
|
692
690
|
'ptgFuncVarA' => 0x62,
|
@@ -702,13 +700,11 @@ def initialize_hashes
|
|
702
700
|
'ptgRefNA' => 0x6C,
|
703
701
|
'ptgAreaNA' => 0x6D,
|
704
702
|
'ptgMemAreaNA' => 0x6E,
|
705
|
-
'ptgMemNoMemN' => 0x6F,
|
706
703
|
'ptgFuncCEA' => 0x78,
|
707
704
|
'ptgNameXA' => 0x79,
|
708
705
|
'ptgRef3dA' => 0x7A,
|
709
706
|
'ptgArea3dA' => 0x7B,
|
710
|
-
'ptgRefErr3dA' => 0x7C
|
711
|
-
'ptgAreaErr3d' => 0x7D
|
707
|
+
'ptgRefErr3dA' => 0x7C
|
712
708
|
}
|
713
709
|
|
714
710
|
# Thanks to Michael Meeks and Gnumeric for the initial arg values.
|
data/lib/writeexcel/version.rb
CHANGED
data/test/helper.rb
CHANGED
data/writeexcel.gemspec
CHANGED
@@ -11,11 +11,13 @@ Gem::Specification.new do |gem|
|
|
11
11
|
gem.description = "Multiple worksheets can be added to a workbook and formatting can be applied to cells. Text, numbers, formulas, hyperlinks and images can be written to the cells."
|
12
12
|
gem.summary = "Write to a cross-platform Excel binary file."
|
13
13
|
gem.homepage = "http://github.com/cxn03651/writeexcel#readme"
|
14
|
+
gem.license = 'MIT'
|
14
15
|
|
15
16
|
gem.files = `git ls-files`.split($/)
|
16
17
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
19
|
gem.require_paths = ["lib"]
|
20
|
+
gem.add_development_dependency 'test-unit'
|
19
21
|
gem.extra_rdoc_files = [
|
20
22
|
"LICENSE.txt",
|
21
23
|
"README.rdoc"
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: writeexcel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hideo NAKAMURA
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: test-unit
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: simplecov
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -296,7 +310,8 @@ files:
|
|
296
310
|
- writeexcel.gemspec
|
297
311
|
- writeexcel.rdoc
|
298
312
|
homepage: http://github.com/cxn03651/writeexcel#readme
|
299
|
-
licenses:
|
313
|
+
licenses:
|
314
|
+
- MIT
|
300
315
|
metadata: {}
|
301
316
|
post_install_message:
|
302
317
|
rdoc_options: []
|
@@ -314,7 +329,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
314
329
|
version: '0'
|
315
330
|
requirements: []
|
316
331
|
rubyforge_project:
|
317
|
-
rubygems_version: 2.
|
332
|
+
rubygems_version: 2.4.5
|
318
333
|
signing_key:
|
319
334
|
specification_version: 4
|
320
335
|
summary: Write to a cross-platform Excel binary file.
|
@@ -451,3 +466,4 @@ test_files:
|
|
451
466
|
- test/test_workbook.rb
|
452
467
|
- test/test_worksheet.rb
|
453
468
|
- test/test_write_formula_does_not_change_formula_string.rb
|
469
|
+
has_rdoc:
|