roo-andyw8 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +7 -0
- data/.simplecov +4 -0
- data/.travis.yml +13 -0
- data/CHANGELOG +438 -0
- data/Gemfile +24 -0
- data/Guardfile +24 -0
- data/LICENSE +22 -0
- data/README.md +121 -0
- data/Rakefile +23 -0
- data/examples/roo_soap_client.rb +50 -0
- data/examples/roo_soap_server.rb +26 -0
- data/examples/write_me.rb +31 -0
- data/lib/roo.rb +28 -0
- data/lib/roo/base.rb +717 -0
- data/lib/roo/csv.rb +110 -0
- data/lib/roo/excelx.rb +540 -0
- data/lib/roo/excelx/comments.rb +23 -0
- data/lib/roo/excelx/extractor.rb +20 -0
- data/lib/roo/excelx/relationships.rb +26 -0
- data/lib/roo/excelx/shared_strings.rb +40 -0
- data/lib/roo/excelx/sheet_doc.rb +175 -0
- data/lib/roo/excelx/styles.rb +62 -0
- data/lib/roo/excelx/workbook.rb +59 -0
- data/lib/roo/font.rb +17 -0
- data/lib/roo/libre_office.rb +5 -0
- data/lib/roo/link.rb +15 -0
- data/lib/roo/open_office.rb +652 -0
- data/lib/roo/spreadsheet.rb +31 -0
- data/lib/roo/utils.rb +81 -0
- data/lib/roo/version.rb +3 -0
- data/roo.gemspec +27 -0
- data/scripts/txt2html +67 -0
- data/spec/fixtures/vcr_cassettes/google_drive.yml +165 -0
- data/spec/fixtures/vcr_cassettes/google_drive_access_token.yml +73 -0
- data/spec/fixtures/vcr_cassettes/google_drive_set.yml +857 -0
- data/spec/lib/roo/base_spec.rb +4 -0
- data/spec/lib/roo/csv_spec.rb +48 -0
- data/spec/lib/roo/excelx/format_spec.rb +51 -0
- data/spec/lib/roo/excelx_spec.rb +363 -0
- data/spec/lib/roo/libreoffice_spec.rb +13 -0
- data/spec/lib/roo/openoffice_spec.rb +15 -0
- data/spec/lib/roo/spreadsheet_spec.rb +88 -0
- data/spec/lib/roo/utils_spec.rb +105 -0
- data/spec/spec_helper.rb +9 -0
- data/test/all_ss.rb +11 -0
- data/test/files/1900_base.xlsx +0 -0
- data/test/files/1904_base.xlsx +0 -0
- data/test/files/Bibelbund.csv +3741 -0
- data/test/files/Bibelbund.ods +0 -0
- data/test/files/Bibelbund.xlsx +0 -0
- data/test/files/Bibelbund1.ods +0 -0
- data/test/files/Pfand_from_windows_phone.xlsx +0 -0
- data/test/files/advanced_header.ods +0 -0
- data/test/files/bbu.ods +0 -0
- data/test/files/bbu.xlsx +0 -0
- data/test/files/bode-v1.ods.zip +0 -0
- data/test/files/bode-v1.xls.zip +0 -0
- data/test/files/boolean.csv +2 -0
- data/test/files/boolean.ods +0 -0
- data/test/files/boolean.xlsx +0 -0
- data/test/files/borders.ods +0 -0
- data/test/files/borders.xlsx +0 -0
- data/test/files/bug-numbered-sheet-names.xlsx +0 -0
- data/test/files/comments.ods +0 -0
- data/test/files/comments.xlsx +0 -0
- data/test/files/csvtypes.csv +1 -0
- data/test/files/datetime.ods +0 -0
- data/test/files/datetime.xlsx +0 -0
- data/test/files/dreimalvier.ods +0 -0
- data/test/files/emptysheets.ods +0 -0
- data/test/files/emptysheets.xlsx +0 -0
- data/test/files/encrypted-letmein.ods +0 -0
- data/test/files/file_item_error.xlsx +0 -0
- data/test/files/formula.ods +0 -0
- data/test/files/formula.xlsx +0 -0
- data/test/files/formula_string_error.xlsx +0 -0
- data/test/files/html-escape.ods +0 -0
- data/test/files/link.csv +1 -0
- data/test/files/link.xlsx +0 -0
- data/test/files/matrix.ods +0 -0
- data/test/files/named_cells.ods +0 -0
- data/test/files/named_cells.xlsx +0 -0
- data/test/files/no_spreadsheet_file.txt +1 -0
- data/test/files/numbers-export.xlsx +0 -0
- data/test/files/numbers1.csv +18 -0
- data/test/files/numbers1.ods +0 -0
- data/test/files/numbers1.xlsx +0 -0
- data/test/files/numbers1withnull.xlsx +0 -0
- data/test/files/numeric-link.xlsx +0 -0
- data/test/files/only_one_sheet.ods +0 -0
- data/test/files/only_one_sheet.xlsx +0 -0
- data/test/files/paragraph.ods +0 -0
- data/test/files/paragraph.xlsx +0 -0
- data/test/files/ric.ods +0 -0
- data/test/files/sheet1.xml +109 -0
- data/test/files/simple_spreadsheet.ods +0 -0
- data/test/files/simple_spreadsheet.xlsx +0 -0
- data/test/files/simple_spreadsheet_from_italo.ods +0 -0
- data/test/files/so_datetime.csv +8 -0
- data/test/files/style.ods +0 -0
- data/test/files/style.xlsx +0 -0
- data/test/files/time-test.csv +2 -0
- data/test/files/time-test.ods +0 -0
- data/test/files/time-test.xlsx +0 -0
- data/test/files/type_excel.ods +0 -0
- data/test/files/type_excel.xlsx +0 -0
- data/test/files/type_excelx.ods +0 -0
- data/test/files/type_openoffice.xlsx +0 -0
- data/test/files/whitespace.ods +0 -0
- data/test/files/whitespace.xlsx +0 -0
- data/test/test_generic_spreadsheet.rb +211 -0
- data/test/test_helper.rb +58 -0
- data/test/test_roo.rb +1977 -0
- metadata +318 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c1454ac6b69ef4e8516a3ffeb07337629fee636a
|
4
|
+
data.tar.gz: 2374ae7d83723a12034dd79cc8ad2e0d395153c7
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ad5e785939e4e5188e26d9e6ef0ffe40eadf84c3e7de7d70ea23a3d1d1a7a9aa18b9bb2b2507f1d91a826aa5895ddc3e0c6fb051c30901dba8ad53f79202048d
|
7
|
+
data.tar.gz: d00e8d607d59b5de2dc84a635de0410f7d0352715956437d8ca7a72d3539ee93bc6c6bfbc3ee244c976d31fd3f60adf3521b823683653bef687e5c52e44a4b15
|
data/.gitignore
ADDED
data/.simplecov
ADDED
data/.travis.yml
ADDED
data/CHANGELOG
ADDED
@@ -0,0 +1,438 @@
|
|
1
|
+
== unreleased
|
2
|
+
|
3
|
+
* enhancements
|
4
|
+
* Extend Roo::Spreadsheet.open to accept Tempfiles and other arguments responding to #path. Note they require an :extension option to be declared, as the tempfile mangles the extension. #84.
|
5
|
+
* Remove deprecated code.
|
6
|
+
* Remove the Roo::ZipFile abstraction. Roo now depends on rubyzip 1.0.0+
|
7
|
+
* Extract Roo::Excel and Roo::Excel2003XML to roo-xls
|
8
|
+
* Extract Roo::Google to roo-google
|
9
|
+
* Accept the tmpdir_root option in Roo::Excelx
|
10
|
+
* Change the tmpdir prefix from oo_ to roo_
|
11
|
+
* In Excelx, load styles, shared strings and the workbook lazily. Leave the tmpdir open so that reading may take place after initialize. The OS will be responsible for cleaning it up.
|
12
|
+
* In OpenOffice / LibreOffice, load the content xml lazily. Leave the tmpdir open so that reading may take place after initialize. The OS will be responsible for cleaning it up.
|
13
|
+
* Lazily initialize @default_sheet, to avoid reading the sheets earlier than necessary. Use the #default_sheet accessor instead.
|
14
|
+
|
15
|
+
* bugfixes
|
16
|
+
* Fix that paths with spaces in them would fail with
|
17
|
+
URI::InvalidURIError. #121.
|
18
|
+
# Fix that #parse-ing with a hash of columns not in the document
|
19
|
+
would fail mysteriously. #129
|
20
|
+
* Fix that Roo::Excelx#celltype would not return :link when appropriate.
|
21
|
+
|
22
|
+
== 1.13.2 2013-12-23
|
23
|
+
|
24
|
+
* bugfixes
|
25
|
+
* Fix that Excelx link-cells would blow up if the value wasn't a string. Due to the way Spreadsheet::Link is implemented the link text must be treated as a string. #92
|
26
|
+
|
27
|
+
== 1.13.1 2013-12-23
|
28
|
+
|
29
|
+
* bugfixes
|
30
|
+
* Fix that Excelx creation could blow up due to nil rels files. #90
|
31
|
+
|
32
|
+
== 1.13.0 2013-12-05
|
33
|
+
|
34
|
+
* enhancements
|
35
|
+
* Support extracting link data from Excel and Excelx spreadsheets,
|
36
|
+
via Excel#read_cell(_content) and Excelx#hyperlink(?). #47
|
37
|
+
* Support setting the Excel Spreadsheet mode via the :mode option. #88
|
38
|
+
* Support Spreadsheet.open with a declared :extension that includes a leading '.'. #73
|
39
|
+
* Enable file type detection for URI's with parameters / anchors. #51
|
40
|
+
|
41
|
+
* bugfixes
|
42
|
+
* Fix that CSV#each_row could overwrite the filename when run against a uri. #77
|
43
|
+
* Fix that #to_matrix wasn't respecting the sheet argument. #87
|
44
|
+
|
45
|
+
== 1.12.2 2013-09-11
|
46
|
+
|
47
|
+
* 1 enhancement
|
48
|
+
* Support rubyzip >= 1.0.0. #65
|
49
|
+
* Fix typo in deprecation notices. #63
|
50
|
+
|
51
|
+
== 1.12.1 2013-08-18
|
52
|
+
|
53
|
+
* 1 enhancement
|
54
|
+
* Support :boolean fields for CSV export via #cell_to_csv. #59
|
55
|
+
|
56
|
+
* 2 bugfixes
|
57
|
+
* Fix that Excelx would error on files with gaps in the numbering of their
|
58
|
+
internal sheet#.xml files. #58
|
59
|
+
* Fix that Base#info to preserve the original value of #default_sheet. #44
|
60
|
+
|
61
|
+
== 1.12.0 2013-08-18
|
62
|
+
|
63
|
+
* 3 deprecations
|
64
|
+
* Rename Openoffice -> OpenOffice, Libreoffice -> LibreOffice, Csv -> CSV, and redirect the old names to the new constants
|
65
|
+
* Enable Roo::Excel, Excel2003XML, Excelx, OpenOffice to accept an options hash, and deprecate the old method argument based approach to supplying them options
|
66
|
+
* Roo's roo_rails_helper, aka the `spreadsheet` html-generating view method is currently deprecated with no replacement. If you find it helpful, tell http://github.com/Empact or extract it yourself.
|
67
|
+
|
68
|
+
* 9 enhancements
|
69
|
+
* Add Roo::Excelx#load_xml so that people can customize to their data, e.g. #23
|
70
|
+
* Enable passing csv_options to Roo::CSV, which are passed through to the underlying CSV call.
|
71
|
+
* Enable passing options through from Roo::Spreadsheet to any Roo type.
|
72
|
+
* Enable passing an :extension option to Roo::Spreadsheet.new, which will override the extension detected on in the path #15
|
73
|
+
* Switch from google-spreadsheet-ruby to google_drive for Roo::Google access #40
|
74
|
+
* Make all the classes consistent in that #read_cells is only effective if the sheet has not been read.
|
75
|
+
* Roo::Google supports login via oauth :access_token. #61
|
76
|
+
* Roo::Excel now exposes its Spreadsheet workbook via #workbook
|
77
|
+
* Pull #load_xml down into Roo::Base, and use it in Excel2003XML and OpenOffice.
|
78
|
+
|
79
|
+
* 2 changes
|
80
|
+
* #formula? now returns truthy or falsey, rather than true/false.
|
81
|
+
* Base#longest_sheet was moved to Excel, as it only worked under Excel
|
82
|
+
|
83
|
+
* 1 bugfix
|
84
|
+
* Fix that Roo::CSV#parse(headers: true) would blow up. #37
|
85
|
+
|
86
|
+
== 1.11.2 2013-04-10
|
87
|
+
|
88
|
+
* 4 bugfixes
|
89
|
+
* Fix that Roo::Spreadsheet.open wasn't tolerant to case differences.
|
90
|
+
* Fix that Roo::Excel2003XML loading was broken #27
|
91
|
+
* Enable loading Roo::Csv files from uris, just as other file types #31
|
92
|
+
* Fix that Excelx "m/d/yy h:mm" was improperly being interpreted as date rather
|
93
|
+
than datetime #29
|
94
|
+
|
95
|
+
== 1.11.1 2013-03-18
|
96
|
+
|
97
|
+
* 1 bugfix
|
98
|
+
* Exclude test/log/roo.log test log file from the gemspec in order to avoid a
|
99
|
+
rubygems warning: #26
|
100
|
+
|
101
|
+
== 1.11.0 2013-03-14
|
102
|
+
|
103
|
+
* 3 enhancements
|
104
|
+
* Support ruby 2.0.0 by replacing Iconv with String#encode #19
|
105
|
+
* Excelx: Loosen the format detection rules such that more are
|
106
|
+
successfully detected #20
|
107
|
+
* Delete the roo binary, which was useless and not declared in the gemspec
|
108
|
+
|
109
|
+
* 1 change
|
110
|
+
* Drop support for ruby 1.8.x or lower. Required in order to easily support 2.0.0.
|
111
|
+
|
112
|
+
== 1.10.3 2013-03-03
|
113
|
+
|
114
|
+
* 1 bugfix
|
115
|
+
* Support both nokogiri 1.5.5 and 1.5.6 (Karsten Richter) #18
|
116
|
+
|
117
|
+
* 1 enhancement
|
118
|
+
* Relax our nokogiri dependency back to 1.4.0, as we have no particular reason
|
119
|
+
to require a newer version.
|
120
|
+
|
121
|
+
== 1.10.2 2013-02-03
|
122
|
+
|
123
|
+
* 2 bugfixes
|
124
|
+
* Support opening URIs with query strings https://github.com/Empact/roo/commit/abf94bdb59cabc16d4f7764025e88e3661983525
|
125
|
+
* Support both http: & https: urls https://github.com/Empact/roo/commit/fc5c5899d96dd5f9fbb68125d0efc8ce9be2c7e1
|
126
|
+
|
127
|
+
== 1.10.1 2011-11-14
|
128
|
+
|
129
|
+
* 2 bugfixes
|
130
|
+
* forgot dependency 'rubyzip'
|
131
|
+
* at least one external application does create xlsx-files with different internal file names which differ from the original file names of Excel. Solution: ignore lower-/upper case in file names.
|
132
|
+
|
133
|
+
== 1.10.0 2011-10-10
|
134
|
+
|
135
|
+
* 4 enhancements
|
136
|
+
* New class Csv.
|
137
|
+
* Openoffice, Libreoffice: new method 'labels'
|
138
|
+
* Excelx: implemented all methods concerning labels
|
139
|
+
* Openoffice, Excelx: new methods concerning comments (comment, comment? and comments)
|
140
|
+
|
141
|
+
* 2 bugfixes
|
142
|
+
* XLSX: some cells were not recognized correctly from a spreadsheet file from a windows mobile phone.
|
143
|
+
* labels: Moved to a separate methode. There were problems if there was an access to a label before read_cells were called.
|
144
|
+
|
145
|
+
== 1.9.7 2011-08-27
|
146
|
+
|
147
|
+
* 1 bugfix
|
148
|
+
* Openoffice: Better way for extracting formula strings, some characters were deleted at the formula string.
|
149
|
+
|
150
|
+
== 1.9.6 2011-08-03
|
151
|
+
|
152
|
+
* 1 enhancement
|
153
|
+
* new class Libreoffice (Libreoffice should do exactly the same as the Openoffice
|
154
|
+
class. It's just another name. Technically, Libreoffice is inherited from
|
155
|
+
the Openoffice class with no new methods.
|
156
|
+
* 3 bugfixes
|
157
|
+
* Openoffice: file type check, deletion of temporary files not in ensure clause
|
158
|
+
* Cell type :datetime was not handled in the to_csv method
|
159
|
+
* Better deletion of temporary directories if something went wrong
|
160
|
+
|
161
|
+
== 1.9.5 2011-06-25
|
162
|
+
|
163
|
+
* 1 enhancement
|
164
|
+
* Method #formulas moved to generic-spreadsheet class (the Excel version is
|
165
|
+
overwritten because the spreadsheet gem currently does not support
|
166
|
+
formulas.
|
167
|
+
* 3 bugfixes
|
168
|
+
* Openoffice/Excelx/Google: #formulas of an empty sheet should not result
|
169
|
+
in an error message. Instead it should return an empty array.
|
170
|
+
* Openoffice/Excelx/Google: #to_yaml of an empty sheet should not result
|
171
|
+
in an error message. Instead it should return an empty string.
|
172
|
+
* Openoffice/Excelx/Google: #to_matrix of an empty sheet should not result
|
173
|
+
in an error message. Instead it should return an empty matrix.
|
174
|
+
|
175
|
+
== 1.9.4 2011-06-23
|
176
|
+
|
177
|
+
* 1 enhancement
|
178
|
+
* removed gem 'builder'. Functionality goes to gem 'nokogiri'.
|
179
|
+
* 3 bugfixes
|
180
|
+
* Excel: remove temporary files if spreadsheed-file is not an excel file
|
181
|
+
and an exception was raised
|
182
|
+
* Excelx: a referenced cell with a string had the content 0.0 not the
|
183
|
+
correct string
|
184
|
+
* Fixed a problem with a date cell which was not recognized as a Date
|
185
|
+
object (see 2011-05-21 in excelx.rb)
|
186
|
+
|
187
|
+
== 1.9.3 2010-02-12
|
188
|
+
|
189
|
+
* 1 enhancements
|
190
|
+
* new method 'to_matrix'
|
191
|
+
* 1 bugfix
|
192
|
+
* missing dependencies defined
|
193
|
+
|
194
|
+
== 1.9.2 2009-12-08
|
195
|
+
|
196
|
+
* 1 bugfix
|
197
|
+
* double quoting of '"' fixed
|
198
|
+
|
199
|
+
== 1.9.1 2009-11-10
|
200
|
+
|
201
|
+
* 2 bugfixes
|
202
|
+
* syntax in nokogiri methods
|
203
|
+
* missing dependency ...rubyzip
|
204
|
+
|
205
|
+
== 1.9.0 2009-10-29
|
206
|
+
|
207
|
+
* 4 enhancements
|
208
|
+
* Ruby 1.9 compatible
|
209
|
+
* oo.aa42 as a shortcut of oo.cell('aa',42)
|
210
|
+
* oo.aa42('sheet1') as a shortcut of oo.cell('aa',42,'sheet1')
|
211
|
+
* oo.anton as a reference to a cell labelled 'anton' (or any other label name)
|
212
|
+
(currently only for Openoffice spreadsheets)
|
213
|
+
|
214
|
+
== 1.2.3 2009-01-04
|
215
|
+
|
216
|
+
* bugfix
|
217
|
+
* fixed encoding in #cell at exported Google-spreadsheets (.xls)
|
218
|
+
|
219
|
+
== 1.2.2 2008-12-14
|
220
|
+
|
221
|
+
* 2 enhancements
|
222
|
+
* added celltype :datetime in Excelx
|
223
|
+
* added celltype :datetime in Google
|
224
|
+
|
225
|
+
== 1.2.1 2008-11-13
|
226
|
+
|
227
|
+
* 1 enhancement
|
228
|
+
* added celltype :datetime in Openoffice and Excel
|
229
|
+
|
230
|
+
== 1.2.0 2008-08-24
|
231
|
+
* 3 major enhancements
|
232
|
+
* Excelx: improved the detection of cell type and conversion into roo types
|
233
|
+
* All: to_csv: changed boundaries from first_row,1..last_row,last_column to 1,1..last_row,last_column
|
234
|
+
* All: Environment variable "ROO_TMP" indicate where temporary directories will be created (if not set the default is the current working directory)
|
235
|
+
* 2 bugfixes
|
236
|
+
* Excel: improved the detection of last_row/last_column (parseexcel-gem bug?)
|
237
|
+
* Excel/Excelx/Openoffice: temporary directories were not removed at opening a file of the wrong type
|
238
|
+
== 1.1.0 2008-07-26
|
239
|
+
* 2 major enhancements
|
240
|
+
* Excel: speed improvements
|
241
|
+
* Changed the behavior of reading files with the wrong type
|
242
|
+
* 3 bugfixes
|
243
|
+
* Google: added normalize in set_value method
|
244
|
+
* Excel: last_row in Excel class did not work properly under some circumstances
|
245
|
+
* all: fixed a bug in #to_xml if there is an empty sheet
|
246
|
+
== 1.0.2 2008-07-04
|
247
|
+
* 2 bugfixes
|
248
|
+
* Excelx: fixed a bug when there are .xml.rels files in the XLSX archive
|
249
|
+
* Excelx: fixed a bug with celltype recognition (see comment with "2008-07-03")
|
250
|
+
== 1.0.1 2008-06-30
|
251
|
+
* 1 bugfix
|
252
|
+
* Excel: row/column method Fixnum/Float confusion
|
253
|
+
== 1.0.0 2008-05-28
|
254
|
+
* 2 major enhancements
|
255
|
+
* support of Excel's new .xlsx file format
|
256
|
+
* method #to_xml for exporting a spreadsheet to an xml representation
|
257
|
+
* 1 bugfix
|
258
|
+
* fixed a bug with excel-spreadsheet character conversion under Macintosh Darwin
|
259
|
+
== 0.9.4 2008-04-22
|
260
|
+
* 1 bugfix
|
261
|
+
* fixed a bug with excel-spreadsheet character conversion under Solaris
|
262
|
+
== 0.9.3 2008-03-25
|
263
|
+
* 1 bugfix
|
264
|
+
* no more tmp directories if an invalid spreadsheet file was openend
|
265
|
+
== 0.9.2 2008-03-24
|
266
|
+
* 1 enhancement
|
267
|
+
* new celltype :time
|
268
|
+
* 1 bugfix
|
269
|
+
* time values like '23:15' are handled as seconds from midnight
|
270
|
+
== 0.9.1 2008-03-23
|
271
|
+
* 1 enhancement
|
272
|
+
* additional 'sheet' parameter in Google#set_value
|
273
|
+
* 1 bugfix
|
274
|
+
* fixed a bug within Google#set_value. thanks to davecahill <dpcahill@gmail.com> for the patch.
|
275
|
+
== 0.9.0 2008-01-24
|
276
|
+
* 1 enhancement:
|
277
|
+
* better support of roo spreadsheets in rails views
|
278
|
+
== 0.8.5 2008-01-16
|
279
|
+
* 1 bugfix
|
280
|
+
* fixed a bug within #to_cvs and explicit call of a sheet
|
281
|
+
== 0.8.4 2008-01-01
|
282
|
+
* 1 bugfix
|
283
|
+
* fixed 'find_by_condition' for excel sheets (header_line= --> GenericSpredsheet)
|
284
|
+
== 0.8.3 2007-12-31
|
285
|
+
* 2 bugfixes
|
286
|
+
* another fix for the encoding issue in excel sheet-names
|
287
|
+
* reactived the Excel#find method which has been disappeared in the last restructoring, moved to GenericSpreadsheet
|
288
|
+
== 0.8.2 2007-12-28
|
289
|
+
* 1 enhancement:
|
290
|
+
* basename() only in method #info
|
291
|
+
* 2 bugfixes
|
292
|
+
* changed logging-method to mysql-database in test code with AR, table column 'class' => 'class_name'
|
293
|
+
* reactived the Excel#to_csv method which has been disappeared in the last restructoring
|
294
|
+
== 0.8.1 2007-12-22
|
295
|
+
* 3 bugfixes
|
296
|
+
* fixed a bug with first/last-row/column in empty sheet
|
297
|
+
* #info prints now '- empty -' if a sheet within a document is empty
|
298
|
+
* tried to fix the iconv conversion problem
|
299
|
+
== 0.8.0 2007-12-15
|
300
|
+
* 2 enhancements:
|
301
|
+
* Google online spreadsheets were implemented
|
302
|
+
* some methods common to more than one class were factored out to the GenericSpreadsheet (virtual) class
|
303
|
+
== 0.7.0 2007-11-23
|
304
|
+
* 6 enhancements:
|
305
|
+
* Openoffice/Excel: the most methods can be called with an option 'sheet'
|
306
|
+
parameter which will be used instead of the default sheet
|
307
|
+
* Excel: improved the speed of CVS output
|
308
|
+
* Openoffice/Excel: new method #column
|
309
|
+
* Openoffice/Excel: new method #find
|
310
|
+
* Openoffice/Excel: new method #info
|
311
|
+
* better exception if a spreadsheet file does not exist
|
312
|
+
== 0.6.1 2007-10-06
|
313
|
+
* 2 enhancements:
|
314
|
+
* Openoffice: percentage-values are now treated as numbers (not strings)
|
315
|
+
* Openoffice: refactoring
|
316
|
+
* 1 bugfix
|
317
|
+
* Openoffice: repeating date-values in a line are now handled correctly
|
318
|
+
== 0.6.0 2007-10-06
|
319
|
+
* 1 enhancement:
|
320
|
+
* csv-output to stdout or file
|
321
|
+
== 0.5.4 2007-08-27
|
322
|
+
* 1 bugfix
|
323
|
+
* Openoffice: fixed a bug with internal representation of a spreadsheet (thanks to Ric Kamicar for the patch)
|
324
|
+
== 0.5.3 2007-08-26
|
325
|
+
* 2 enhancements:
|
326
|
+
* Openoffice: can now read zip-ed files
|
327
|
+
* Openoffice: can now read files from http://-URL over the net
|
328
|
+
== 0.5.2 2007-08-26
|
329
|
+
* 1 bugfix
|
330
|
+
* excel: removed debugging output
|
331
|
+
== 0.5.1 2007-08-26
|
332
|
+
* 4 enhancements:
|
333
|
+
* Openoffice: Exception if an illegal sheet-name is selected
|
334
|
+
* Openoffice/Excel: no need to set a default_sheet if there is only one in
|
335
|
+
the document
|
336
|
+
* Excel: can now read zip-ed files
|
337
|
+
* Excel: can now read files from http://-URL over the net
|
338
|
+
|
339
|
+
== 0.5.0 2007-07-20
|
340
|
+
* 3 enhancements:
|
341
|
+
* Excel-objects: the methods default_sheet= and sheets can now handle names instead of numbers
|
342
|
+
* changed the celltype methods to return symbols, not strings anymore (possible values are :formula, :float, :string, :date, :percentage (if you need strings you can convert it with .to_s)
|
343
|
+
* tests can now run on the client machine (not only my machine), if there are not public released files involved these tests are skipped
|
344
|
+
|
345
|
+
== 0.4.1 2007-06-27
|
346
|
+
* 1 bugfix
|
347
|
+
* there was ONE false require-statement which led to misleading error messageswhen this gem was used
|
348
|
+
|
349
|
+
== 0.4.0 2007-06-27
|
350
|
+
* 7 enhancements:
|
351
|
+
* robustness: Exception if no default_sheet was set
|
352
|
+
* new method reload() implemented
|
353
|
+
* about 15 % more method documentation
|
354
|
+
* optimization: huge increase of speed (no need to use fixed borders anymore)
|
355
|
+
* added the method 'formulas' which gives you all formulas in a spreadsheet
|
356
|
+
* added the method 'set' which can set cells to a certain value
|
357
|
+
* added the method 'to_yaml' which can produce output for importing in a (rails) database
|
358
|
+
* 4 bugfixes
|
359
|
+
* ..row_as_letter methods were nonsense - removed
|
360
|
+
* @cells_read should be reset if the default_sheet is changed
|
361
|
+
* error in excel-part: strings are now converted to utf-8 (the parsexcel-gem gave me an error with my test data, which could not converted to .to_s using latin1 encoding)
|
362
|
+
* fixed bug when default_sheet is changed
|
363
|
+
|
364
|
+
== 0.3.0 2007-06-20
|
365
|
+
* 1 enhancement:
|
366
|
+
* Openoffice: formula support
|
367
|
+
|
368
|
+
== 0.2.7 2007-06-20
|
369
|
+
* 1 bugfix:
|
370
|
+
* Excel: float-numbers were truncated to integer
|
371
|
+
|
372
|
+
== 0.2.6 2007-06-19
|
373
|
+
* 1 bugfix:
|
374
|
+
* Openoffice: two or more consecutive cells with string content failed
|
375
|
+
|
376
|
+
== 0.2.5 2007-06-17
|
377
|
+
|
378
|
+
* 2 enhancements:
|
379
|
+
* Excel: row method implemented
|
380
|
+
* more tests
|
381
|
+
* 1 bugfix:
|
382
|
+
* Openoffice: row method fixed
|
383
|
+
|
384
|
+
== 0.2.4 2007-06-16
|
385
|
+
* 1 bugfix:
|
386
|
+
* ID 11605 Two cols with same value: crash roo (openoffice version only)
|
387
|
+
|
388
|
+
== 0.2.3 2007-06-02
|
389
|
+
* 3 enhancements:
|
390
|
+
* more robust call att Excel#default_sheet= when called with a name
|
391
|
+
* new method empty?
|
392
|
+
* refactoring
|
393
|
+
* 1 bugfix:
|
394
|
+
* bugfix in Excel#celltype
|
395
|
+
* bugfix (running under windows only) in closing the temp file before removing it
|
396
|
+
|
397
|
+
== 0.2.2 2007-06-01
|
398
|
+
* 1 bugfix:
|
399
|
+
* correct pathname for running with windows
|
400
|
+
|
401
|
+
|
402
|
+
== 0.2.2 2007-06-01
|
403
|
+
* 1 bugfix:
|
404
|
+
* incorrect dependencies fixed
|
405
|
+
|
406
|
+
== 0.2.0 2007-06-01
|
407
|
+
* 1 major enhancement:
|
408
|
+
* support for MS-Excel Spreadsheets
|
409
|
+
|
410
|
+
== 0.1.2 2007-05-31
|
411
|
+
* 1 major enhancement:
|
412
|
+
* cells with more than one character, like 'AA' can now be handled
|
413
|
+
|
414
|
+
== 0.1.1 2007-05-31
|
415
|
+
* 1 Bugfix
|
416
|
+
* Bugfix in first/last methods
|
417
|
+
|
418
|
+
== 0.1.0 2007-05-31
|
419
|
+
|
420
|
+
* 1 major enhancement:
|
421
|
+
* new methods first/last row/column
|
422
|
+
* new method officeversion
|
423
|
+
|
424
|
+
== 0.0.3 2007-05-30
|
425
|
+
|
426
|
+
* 1 minor enhancement:
|
427
|
+
* new method row()
|
428
|
+
|
429
|
+
== 0.0.2 2007-05-30
|
430
|
+
|
431
|
+
* 2 major enhancement:
|
432
|
+
* fixed some bugs
|
433
|
+
* more ways to access a cell
|
434
|
+
|
435
|
+
== 0.0.1 2007-05-25
|
436
|
+
|
437
|
+
* 1 major enhancement:
|
438
|
+
* Initial release
|