spreadsheet 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/bin/bundler +17 -0
- data/bin/oletool +17 -0
- data/bin/rake +17 -0
- data/bin/sow +17 -0
- data/bin/xlsopcodes +13 -14
- data/lib/spreadsheet/excel.rb +0 -6
- data/lib/spreadsheet/version.rb +1 -1
- data/test/data/test_compact_format_date.xls +0 -0
- data/test/data/test_compact_many_rows.xls +0 -0
- data/test/data/test_missing_format.xls +0 -0
- data/test/data/test_sizes.xls +0 -0
- data/test/suite.rb +2 -0
- metadata +42 -48
- data/.gitignore +0 -3
- data/.travis.yml +0 -46
- data/Excel97-2007BinaryFileFormatSpecification.pdf +0 -0
- data/GUIDE.md +0 -339
- data/Gemfile +0 -11
- data/History.md +0 -849
- data/README.md +0 -114
- data/Rakefile +0 -24
- data/excelfileformat.pdf +0 -0
- data/spreadsheet.gemspec +0 -24
data/README.md
DELETED
@@ -1,114 +0,0 @@
|
|
1
|
-
# Spreadsheet
|
2
|
-
## Getting Started
|
3
|
-
[![Join the chat at https://gitter.im/zdavatz/spreadsheet](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/zdavatz/spreadsheet?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
4
|
-
[![Build Status](https://secure.travis-ci.org/zdavatz/spreadsheet.png)](http://travis-ci.org/zdavatz/spreadsheet)
|
5
|
-
|
6
|
-
The Mailing List can be found here:
|
7
|
-
|
8
|
-
http://groups.google.com/group/rubyspreadsheet
|
9
|
-
|
10
|
-
The code can be found here:
|
11
|
-
|
12
|
-
https://github.com/zdavatz/spreadsheet
|
13
|
-
|
14
|
-
For Non-GPLv3 commercial licensing, please see:
|
15
|
-
|
16
|
-
http://www.spreadsheet.ch
|
17
|
-
|
18
|
-
## XLS Binary Documentation
|
19
|
-
* https://github.com/zdavatz/spreadsheet/blob/master/Excel97-2007BinaryFileFormatSpecification.pdf
|
20
|
-
* https://github.com/zdavatz/spreadsheet/blob/master/excelfileformat.pdf
|
21
|
-
|
22
|
-
## Description
|
23
|
-
|
24
|
-
The Spreadsheet Library is designed to read and write Spreadsheet Documents.
|
25
|
-
As of version 0.6.0, only Microsoft Excel compatible spreadsheets are
|
26
|
-
supported. Spreadsheet is a combination/complete rewrite of the
|
27
|
-
Spreadsheet::Excel Library by Daniel J. Berger and the ParseExcel Library by
|
28
|
-
Hannes Wyss. Spreadsheet can read, write and modify Spreadsheet Documents.
|
29
|
-
|
30
|
-
## Notes from Users
|
31
|
-
|
32
|
-
* [Alfred](mailto:a@boxbot.org): The library doesn't recognize cell formats in Excel
|
33
|
-
created documents, which results in Floats returned for any number.
|
34
|
-
* [Tom](https://github.com/tom-lord): This library *only* supports XLS format;
|
35
|
-
it does **not** support XLSX format.
|
36
|
-
|
37
|
-
## What's new?
|
38
|
-
|
39
|
-
* Supported outline (grouping) functions
|
40
|
-
* Significantly improved memory-efficiency when reading large Excel Files
|
41
|
-
* Limited Spreadsheet modification support
|
42
|
-
* Improved handling of String Encodings
|
43
|
-
|
44
|
-
|
45
|
-
## On the Roadmap
|
46
|
-
|
47
|
-
* Improved Format support/Styles
|
48
|
-
* Document Modification: Formats/Styles
|
49
|
-
* Formula Support
|
50
|
-
* Document Modification: Formulas
|
51
|
-
* Write-Support: BIFF5
|
52
|
-
* Remove backward compatibility code
|
53
|
-
|
54
|
-
Note: Spreadsheet is tested against all minor ruby versions through: 1.8.7 - 2.6.3
|
55
|
-
|
56
|
-
You will get a deprecated warning about iconv when using spreadsheet with Ruby
|
57
|
-
1.9.3. So replacing iconv is on the Roadmap as well ;).
|
58
|
-
|
59
|
-
## Dependencies
|
60
|
-
|
61
|
-
* [ruby-ole](http://code.google.com/p/ruby-ole/)
|
62
|
-
|
63
|
-
|
64
|
-
## Examples
|
65
|
-
|
66
|
-
* Have a look at the [GUIDE](https://github.com/zdavatz/spreadsheet/blob/master/GUIDE.md)
|
67
|
-
* Also look at: https://gist.github.com/phollyer/1214475
|
68
|
-
|
69
|
-
## Installation
|
70
|
-
|
71
|
-
Using [RubyGems](http://www.rubygems.org):
|
72
|
-
|
73
|
-
* `sudo gem install spreadsheet`
|
74
|
-
|
75
|
-
If you don't like [RubyGems](http://www.rubygems.org), let me know which
|
76
|
-
installation solution you prefer and I'll include it in the future.
|
77
|
-
|
78
|
-
If you can use 'rake' and 'hoe' library is also installed, you can
|
79
|
-
build a gem package as follows:
|
80
|
-
|
81
|
-
* `rake gem`
|
82
|
-
|
83
|
-
The gem package is built in pkg directory.
|
84
|
-
|
85
|
-
## Testing
|
86
|
-
|
87
|
-
Bundler support added.
|
88
|
-
Running tests:
|
89
|
-
* `bundle install`
|
90
|
-
* ./test/suite.rb
|
91
|
-
|
92
|
-
## TravisCI
|
93
|
-
|
94
|
-
* https://travis-ci.org/zdavatz/spreadsheet
|
95
|
-
|
96
|
-
## Authors
|
97
|
-
|
98
|
-
Original Code:
|
99
|
-
|
100
|
-
Spreadsheet::Excel:
|
101
|
-
Copyright (c) 2005 by Daniel J. Berger (djberg96@gmail.com)
|
102
|
-
|
103
|
-
ParseExcel:
|
104
|
-
Copyright (c) 2003 by Hannes Wyss (hannes.wyss@gmail.com)
|
105
|
-
|
106
|
-
New Code:
|
107
|
-
Copyright (c) 2010 ywesee GmbH (mhatakeyama@ywesee.com, zdavatz@ywesee.com)
|
108
|
-
|
109
|
-
|
110
|
-
## License
|
111
|
-
|
112
|
-
This library is distributed under the GPLv3.
|
113
|
-
Please see the [LICENSE](https://github.com/zdavatz/spreadsheet/blob/master/LICENSE.txt) file.
|
114
|
-
|
data/Rakefile
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
# -*- ruby -*-
|
2
|
-
|
3
|
-
$: << File.expand_path("./lib", File.dirname(__FILE__))
|
4
|
-
|
5
|
-
require 'rubygems'
|
6
|
-
require 'bundler'
|
7
|
-
|
8
|
-
require 'hoe'
|
9
|
-
require './lib/spreadsheet.rb'
|
10
|
-
|
11
|
-
ENV['RDOCOPT'] = '-c utf8'
|
12
|
-
|
13
|
-
Hoe.plugin :git
|
14
|
-
|
15
|
-
Hoe.spec('spreadsheet') do |p|
|
16
|
-
p.developer('Hannes F. Wyss, Masaomi Hatakeyama, Zeno R.R. Davatz','hannes.wyss@gmail.com, mhatakeyama@ywesee.com, zdavatz@ywesee.com')
|
17
|
-
p.remote_rdoc_dir = 'spreadsheet'
|
18
|
-
p.extra_deps << ['ruby-ole', '>=1.0']
|
19
|
-
p.email = "zdavatz@ywesee.com"
|
20
|
-
p.urls = ['https://github.com/zdavatz/spreadsheet']
|
21
|
-
p.licenses = ['GPL-3.0']
|
22
|
-
end
|
23
|
-
|
24
|
-
# vim: syntax=Ruby
|
data/excelfileformat.pdf
DELETED
Binary file
|
data/spreadsheet.gemspec
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
# require File.join(File.dirname(__FILE__), 'lib', 'spreadsheet')
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'spreadsheet/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "spreadsheet"
|
8
|
-
spec.version = Spreadsheet::VERSION
|
9
|
-
spec.homepage = "https://github.com/zdavatz/spreadsheet"
|
10
|
-
spec.summary = "The Spreadsheet Library is designed to read and write Spreadsheet Documents"
|
11
|
-
spec.description = "As of version 0.6.0, only Microsoft Excel compatible spreadsheets are supported"
|
12
|
-
spec.author = "Hannes F. Wyss, Masaomi Hatakeyama, Zeno R.R. Davatz"
|
13
|
-
spec.email = "hannes.wyss@gmail.com, mhatakeyama@ywesee.com, zdavatz@ywesee.com"
|
14
|
-
spec.platform = Gem::Platform::RUBY
|
15
|
-
spec.license = "GPL-3.0"
|
16
|
-
spec.files = Dir.glob("{bin,lib,test}/**/*") + Dir.glob("*.txt")
|
17
|
-
spec.test_file = "test/suite.rb"
|
18
|
-
spec.executables << "xlsopcodes"
|
19
|
-
|
20
|
-
spec.add_dependency "ruby-ole"
|
21
|
-
spec.add_development_dependency "hoe"
|
22
|
-
|
23
|
-
spec.homepage = 'https://github.com/zdavatz/spreadsheet/'
|
24
|
-
end
|