culturecode-roo 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. data/.gitignore +7 -0
  2. data/.simplecov +4 -0
  3. data/.travis.yml +13 -0
  4. data/CHANGELOG +438 -0
  5. data/Gemfile +24 -0
  6. data/Guardfile +24 -0
  7. data/LICENSE +22 -0
  8. data/README.md +121 -0
  9. data/Rakefile +23 -0
  10. data/examples/roo_soap_client.rb +50 -0
  11. data/examples/roo_soap_server.rb +26 -0
  12. data/examples/write_me.rb +31 -0
  13. data/lib/roo.rb +28 -0
  14. data/lib/roo/base.rb +717 -0
  15. data/lib/roo/csv.rb +110 -0
  16. data/lib/roo/excelx.rb +542 -0
  17. data/lib/roo/excelx/comments.rb +23 -0
  18. data/lib/roo/excelx/extractor.rb +20 -0
  19. data/lib/roo/excelx/relationships.rb +26 -0
  20. data/lib/roo/excelx/shared_strings.rb +40 -0
  21. data/lib/roo/excelx/sheet_doc.rb +175 -0
  22. data/lib/roo/excelx/styles.rb +62 -0
  23. data/lib/roo/excelx/workbook.rb +59 -0
  24. data/lib/roo/font.rb +17 -0
  25. data/lib/roo/libre_office.rb +5 -0
  26. data/lib/roo/link.rb +15 -0
  27. data/lib/roo/open_office.rb +652 -0
  28. data/lib/roo/spreadsheet.rb +31 -0
  29. data/lib/roo/utils.rb +81 -0
  30. data/lib/roo/version.rb +3 -0
  31. data/roo.gemspec +27 -0
  32. data/scripts/txt2html +67 -0
  33. data/spec/fixtures/vcr_cassettes/google_drive.yml +165 -0
  34. data/spec/fixtures/vcr_cassettes/google_drive_access_token.yml +73 -0
  35. data/spec/fixtures/vcr_cassettes/google_drive_set.yml +857 -0
  36. data/spec/lib/roo/base_spec.rb +4 -0
  37. data/spec/lib/roo/csv_spec.rb +48 -0
  38. data/spec/lib/roo/excelx/format_spec.rb +51 -0
  39. data/spec/lib/roo/excelx_spec.rb +363 -0
  40. data/spec/lib/roo/libreoffice_spec.rb +13 -0
  41. data/spec/lib/roo/openoffice_spec.rb +15 -0
  42. data/spec/lib/roo/spreadsheet_spec.rb +88 -0
  43. data/spec/lib/roo/utils_spec.rb +105 -0
  44. data/spec/spec_helper.rb +9 -0
  45. data/test/all_ss.rb +11 -0
  46. data/test/files/1900_base.xlsx +0 -0
  47. data/test/files/1904_base.xlsx +0 -0
  48. data/test/files/Bibelbund.csv +3741 -0
  49. data/test/files/Bibelbund.ods +0 -0
  50. data/test/files/Bibelbund.xlsx +0 -0
  51. data/test/files/Bibelbund1.ods +0 -0
  52. data/test/files/Pfand_from_windows_phone.xlsx +0 -0
  53. data/test/files/advanced_header.ods +0 -0
  54. data/test/files/bbu.ods +0 -0
  55. data/test/files/bbu.xlsx +0 -0
  56. data/test/files/bode-v1.ods.zip +0 -0
  57. data/test/files/bode-v1.xls.zip +0 -0
  58. data/test/files/boolean.csv +2 -0
  59. data/test/files/boolean.ods +0 -0
  60. data/test/files/boolean.xlsx +0 -0
  61. data/test/files/borders.ods +0 -0
  62. data/test/files/borders.xlsx +0 -0
  63. data/test/files/bug-numbered-sheet-names.xlsx +0 -0
  64. data/test/files/comments.ods +0 -0
  65. data/test/files/comments.xlsx +0 -0
  66. data/test/files/csvtypes.csv +1 -0
  67. data/test/files/datetime.ods +0 -0
  68. data/test/files/datetime.xlsx +0 -0
  69. data/test/files/dreimalvier.ods +0 -0
  70. data/test/files/emptysheets.ods +0 -0
  71. data/test/files/emptysheets.xlsx +0 -0
  72. data/test/files/encrypted-letmein.ods +0 -0
  73. data/test/files/file_item_error.xlsx +0 -0
  74. data/test/files/formula.ods +0 -0
  75. data/test/files/formula.xlsx +0 -0
  76. data/test/files/formula_string_error.xlsx +0 -0
  77. data/test/files/html-escape.ods +0 -0
  78. data/test/files/link.csv +1 -0
  79. data/test/files/link.xlsx +0 -0
  80. data/test/files/matrix.ods +0 -0
  81. data/test/files/named_cells.ods +0 -0
  82. data/test/files/named_cells.xlsx +0 -0
  83. data/test/files/no_spreadsheet_file.txt +1 -0
  84. data/test/files/numbers-export.xlsx +0 -0
  85. data/test/files/numbers1.csv +18 -0
  86. data/test/files/numbers1.ods +0 -0
  87. data/test/files/numbers1.xlsx +0 -0
  88. data/test/files/numbers1withnull.xlsx +0 -0
  89. data/test/files/numeric-link.xlsx +0 -0
  90. data/test/files/only_one_sheet.ods +0 -0
  91. data/test/files/only_one_sheet.xlsx +0 -0
  92. data/test/files/paragraph.ods +0 -0
  93. data/test/files/paragraph.xlsx +0 -0
  94. data/test/files/ric.ods +0 -0
  95. data/test/files/sheet1.xml +109 -0
  96. data/test/files/simple_spreadsheet.ods +0 -0
  97. data/test/files/simple_spreadsheet.xlsx +0 -0
  98. data/test/files/simple_spreadsheet_from_italo.ods +0 -0
  99. data/test/files/so_datetime.csv +8 -0
  100. data/test/files/style.ods +0 -0
  101. data/test/files/style.xlsx +0 -0
  102. data/test/files/time-test.csv +2 -0
  103. data/test/files/time-test.ods +0 -0
  104. data/test/files/time-test.xlsx +0 -0
  105. data/test/files/type_excel.ods +0 -0
  106. data/test/files/type_excel.xlsx +0 -0
  107. data/test/files/type_excelx.ods +0 -0
  108. data/test/files/type_openoffice.xlsx +0 -0
  109. data/test/files/whitespace.ods +0 -0
  110. data/test/files/whitespace.xlsx +0 -0
  111. data/test/test_generic_spreadsheet.rb +211 -0
  112. data/test/test_helper.rb +58 -0
  113. data/test/test_roo.rb +1977 -0
  114. metadata +329 -0
data/.gitignore ADDED
@@ -0,0 +1,7 @@
1
+ /pkg/
2
+ /log/
3
+ /coverage/
4
+ .ruby-version
5
+ .project
6
+ *.lock
7
+ .idea
data/.simplecov ADDED
@@ -0,0 +1,4 @@
1
+ SimpleCov.start do
2
+ add_filter 'spec'
3
+ add_filter 'test'
4
+ end
data/.travis.yml ADDED
@@ -0,0 +1,13 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
4
+ - 2.1
5
+ - 2.2.0
6
+ - ruby-head
7
+ - jruby-19mode # JRuby in 1.9 mode
8
+ - rbx-2
9
+ matrix:
10
+ allow_failures:
11
+ - rvm: ruby-head
12
+ - rvm: jruby-19mode
13
+ bundler_args: --without local_development
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