roo 2.0.0beta1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c1ec41909edd94071bbd39eb8c39ad1a610f8f59
4
- data.tar.gz: 1482e4b7d1de2ce8966f7627d3c3dd2b2f638337
3
+ metadata.gz: 67acb8a7cbbb8c526865f95e6b93f37313b6d373
4
+ data.tar.gz: 48cf05f82b1a5e64c2b2549f08afbc3544e575dc
5
5
  SHA512:
6
- metadata.gz: c46ede35b0e40c86cd0a9329ec15d1fd55147aaaf1433ad5ff6f0fa6881d3f8a4148791b960c6c2f801f301f34f134ad911a10e006361959a468cd8ef03428bd
7
- data.tar.gz: f9f3c660aa13985bc7138a236b84b79491d21b8159cd27d71e793e643d05db4ae80c44d08142c8d2fc73d68f2de82f4428991ff2e14e52cc3e3e7d1eafeb7b19
6
+ metadata.gz: 0c77744d3f264952565934a3d49966bcaa80bd4f7b1a388164ded5a89873347e1f0fec00c074839a60f03982e6c37044b448568bb493a062c37c58dbf9fc5095
7
+ data.tar.gz: 42b35d1b9a8b55a5d10f41803cec60da00c902853ec38a5ee44bbd5ab2736f60637ef0a91a470cdbe2503a5bb06009e3c87c9f3f571eccbc3d7de4e8caf9c1c2
@@ -0,0 +1,500 @@
1
+ ## [2.0.0beta1] [unreleased]
2
+ ### Added
3
+ - Added optional support for hidden sheets in Excelx and LibreOffice files [#177](https://github.com/roo-rb/roo/pull/177)
4
+ - Roo::OpenOffice can be used to open encrypted workbooks. [#157](https://github.com/roo-rb/roo/pull/157)
5
+ - Added streaming for parsing of large Excelx Sheets. [#69](https://github.com/roo-rb/roo/pull/69)
6
+ - Added Roo::Base#first_last_row_col_for_sheet [a0dd800](https://github.com/roo-rb/roo/commit/a0dd800d5cf0de052583afa91bf82f8802ede9a0)
7
+ - Added Roo::Base#collect_last_row_col_for_sheet [a0dd800](https://github.com/roo-rb/roo/commit/a0dd800d5cf0de052583afa91bf82f8802ede9a0)
8
+ - Added Roo::Base::MAX_ROW_COL, Roo::Base::MIN_ROW_COL [a0dd800](https://github.com/roo-rb/roo/commit/a0dd800d5cf0de052583afa91bf82f8802ede9a0)
9
+ - Extract Roo::Font to replace equivalent uses in Excelx and OpenOffice. [23e19de](https://github.com/roo-rb/roo/commit/23e19de1ccc64b2b02a80090ff6666008a29c43b)
10
+ - Roo::Utils [3169a0e](https://github.com/roo-rb/roo/commit/3169a0e803ce742d2cbf9be834d27a5098a68638)
11
+ - Roo::ExcelxComments [0a43341](https://github.com/roo-rb/roo/commit/0a433413210b5559dc92d743a72a1f38ee775f5f)
12
+ [0a43341](https://github.com/roo-rb/roo/commit/0a433413210b5559dc92d743a72a1f38ee775f5f)
13
+ - Roo::Excelx::Relationships [0a43341](https://github.com/roo-rb/roo/commit/0a433413210b5559dc92d743a72a1f38ee775f5f)
14
+ - Roo::Excelx::SheetDoc [0a43341](https://github.com/roo-rb/roo/commit/0a433413210b5559dc92d743a72a1f38ee775f5f)
15
+ [c2bb7b8](https://github.com/roo-rb/roo/commit/c2bb7b8614f4ff1dff6b7bdbda0ded125ae549c7)
16
+ +- Roo::Excelx::Styles [c2bb7b8](https://github.com/roo-rb/roo/commit/c2bb7b8614f4ff1dff6b7bdbda0ded125ae549c7)
17
+ +- Roo::Excelx::Workbook [c2bb7b8](https://github.com/roo-rb/roo/commit/c2bb7b8614f4ff1dff6b7bdbda0ded125ae549c7)
18
+ - Switch from Spreadsheet::Link to Roo::Link [ee67321](https://github.com/roo-rb/roo/commit/ee6732144f3616631d19ade0c5490e1678231ce2)
19
+ - Roo::Base#to_csv: Added separator parameter (defaults to ",") [#102](https://github.com/roo-rb/roo/pull/102)
20
+ - Added development development gems [#104](https://github.com/roo-rb/roo/pull/104)
21
+
22
+ ### Changed
23
+ - Reduced size of published gem. [#194](https://github.com/roo-rb/roo/pull/194)
24
+ - Stream the reading of the dimensions [#192](https://github.com/roo-rb/roo/pull/192)
25
+ - Return `nil` when a querying a cell that doesn't exist (instead of a NoMethodError) [#192](https://github.com/roo-rb/roo/pull/192), [#165](https://github.com/roo-rb/roo/pull/165)
26
+ - Roo::OpenOffice#formula? now returns a `Boolean` instead of a `String` or `nil` [#191](https://github.com/roo-rb/roo/pull/191)
27
+ - Added a less verbose Roo::Base#inspect. It no longer returns the entire object. [#188](https://github.com/roo-rb/roo/pull/188), [#186](https://github.com/roo-rb/roo/pull/186)
28
+ - Memoize Roo::Utils.split_coordinate [#180](https://github.com/roo-rb/roo/pull/180)
29
+ - Roo::Base: use regular expressions for extracting headers [#173](https://github.com/roo-rb/roo/pull/173)
30
+ - Roo::Base: memoized `first_row`/`last_row` `first_column`/`last_column` and changed the default value of the `sheet` argument from `nil` to `default_sheet` [a0dd800](https://github.com/roo-rb/roo/commit/a0dd800d5cf0de052583afa91bf82f8802ede9a0)
31
+ - Roo::Base: changed the order of arguments for `to_csv` to (filename = nil, separator = ',', sheet = default_sheet) from (filename=nil,sheet=nil) [1e82a21](https://github.com/roo-rb/roo/commit/1e82a218087ba34379ae7312214911b104333e2c)
32
+ - 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. [adb204b](https://github.com/roo-rb/roo/commit/a74157adb204bc93d289c5708e8e79e143d09037)
33
+ - Lazily initialize @default_sheet, to avoid reading the sheets earlier than necessary. Use the #default_sheet accessor instead. [704e3dc](https://github.com/roo-rb/roo/commit/704e3dca1692d84ac4877f04a7e46238772d423b)
34
+ - Roo::Base#default_sheet is no longer an attr_reader [704e3dc](https://github.com/roo-rb/roo/commit/704e3dca1692d84ac4877f04a7e46238772d423b)
35
+ - 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. [a973237](https://github.com/roo-rb/roo/commit/a9732372f531e435a3330d8ab5bd44ce2cb57b0b), [4834e20c](https://github.com/roo-rb/roo/commit/4834e20c6c4d2086414c43f8b0cc2d1413b45a61), [e49a1da](https://github.com/roo-rb/roo/commit/e49a1da22946918992873e8cd5bacc15ea2c73c4)
36
+ - Change the tmpdir prefix from oo_ to roo_ [102d5fc](https://github.com/roo-rb/roo/commit/102d5fce30b46e928807bc60f607f81956ed898b)
37
+ - Accept the tmpdir_root option in Roo::Excelx [0e325b6](https://github.com/roo-rb/roo/commit/0e325b68f199ff278b26bd621371ed42fa999f24)
38
+ - Refactored Excelx#comment? [0fb90ec](https://github.com/roo-rb/roo/commit/0fb90ecf6a8f422ef16a7105a1d2c42d611556c3)
39
+ - Refactored Roo::Base#find, #find_by_row, #find_by_conditions. [1ccedab](https://github.com/roo-rb/roo/commit/1ccedab3fb656f4614f0a85e9b0a286ad83f5c1e)
40
+ - Extended Roo::Spreadsheet.open so that it accepts Tempfiles and other arguments responding to `path`. Note they require an :extension option to be declared, as the tempfile mangles the extension. [#84](https://github.com/roo-rb/roo/pull/84).
41
+
42
+ ### Fixed
43
+ - Process sheets from Numbers 3.1 xlsx files in the right order. [#196](https://github.com/roo-rb/roo/pull/196), [#181](https://github.com/roo-rb/roo/pull/181), [#114](https://github.com/roo-rb/roo/pull/114)
44
+ - Fixed comments for xlsx files exported from Google [#197](https://github.com/roo-rb/roo/pull/197)
45
+ - Fixed Roo::Excelx#celltype to return :link when appropriate.
46
+ - Fixed type coercion of ids. [#192](https://github.com/roo-rb/roo/pull/192)
47
+ - Clean option only removes spaces and control characters instead of removing all characters outside of the ASCII range. [#176](https://github.com/roo-rb/roo/pull/176)
48
+ - Fixed parse method with `clean` option [#184](https://github.com/roo-rb/roo/pull/184)
49
+ - Fixed some memory issues.
50
+ - Fixed Roo::Utils.number_to_letter [#180](https://github.com/roo-rb/roo/pull/180)
51
+ - Fixed merged cells return value. Instead of only the top-left cell returning a value, all merged cells return that value instead of returning nil. [#171](https://github.com/roo-rb/roo/pull/171)
52
+ - Handle headers with brackets [#162](https://github.com/roo-rb/roo/pull/162)
53
+ - Roo::Base#sheet method was not returning the sheet specified when using either an index or name [#160](https://github.com/roo-rb/roo/pull/160)
54
+ - Properly process paths with spaces. [#142](https://github.com/roo-rb/roo/pull/142), [#121](https://github.com/roo-rb/roo/pull/121), [#94](https://github.com/roo-rb/roo/pull/94), [4e7d7d1](https://github.com/roo-rb/roo/commit/4e7d7d18d37654b0c73b229f31ea0d305c7e90ff)
55
+ - Disambiguate #open call in Excelx#extract_file. [#125](https://github.com/roo-rb/roo/pull/125)
56
+ - Fixed that #parse-ing with a hash of columns not in the document would fail mysteriously. [#129](https://github.com/roo-rb/roo/pull/129)
57
+ - Fixed Excelx issue when reading hyperlinks [#123](https://github.com/roo-rb/roo/pull/123)
58
+ - Fixed invalid test case [#124](https://github.com/roo-rb/roo/pull/124)
59
+ - Fixed error in test helper file_diff [56e2e61](https://github.com/roo-rb/roo/commit/56e2e61d1ad9185d8ab0d4af4b32928f07fdaad0)
60
+ - Stopped `inspect` from being called recursively. [#115](https://github.com/roo-rb/roo/pull/115)
61
+ - Fixes for Excelx Datetime cells. [#104](https://github.com/roo-rb/roo/pull/104), [#120](https://github.com/roo-rb/roo/pull/120)
62
+ - Prevent ArgumentError when using `find` [#100](https://github.com/roo-rb/roo/pull/100)
63
+ - Export to_csv converts link cells to url [#93](https://github.com/roo-rb/roo/pull/93), [#108](https://github.com/roo-rb/roo/pull/108)
64
+
65
+ ### Removed
66
+ - Roo::Excel - Extracted to roo-xls gem. [a7edbec](https://github.com/roo-rb/roo/commit/a7edbec2eb44344611f82cff89a82dac31ec0d79)
67
+ - Roo::Excel2003XML - Extracted to roo-xls gem. [a7edbec](https://github.com/roo-rb/roo/commit/a7edbec2eb44344611f82cff89a82dac31ec0d79)
68
+ - Roo::Google - Extracted to roo-google gem. [a7edbec](https://github.com/roo-rb/roo/commit/a7edbec2eb44344611f82cff89a82dac31ec0d79)
69
+ - Roo::OpenOffice::Font - Refactored into Roo::Font
70
+ - Removed Roo::OpenOffice.extract_content [a74157a](https://github.com/roo-rb/roo/commit/a74157adb204bc93d289c5708e8e79e143d09037)
71
+ - Removed OpenOffice.process_zipfile [835368e](https://github.com/roo-rb/roo/commit/835368e1d29c1530f00bf9caa07704b17370e38f)
72
+ - Roo::OpenOffice#comment?
73
+ - Roo::ZipFile - Removed the Roo::ZipFile abstraction. Roo now depends on rubyzip 1.0.0+ [d466950](https://github.com/roo-rb/roo/commit/d4669503b5b80c1d30f035177a2b0e4b56fc49ce)
74
+ - SpreadSheet::Worksheet - Extracted to roo-xls gem. [a7edbec](https://github.com/roo-rb/roo/commit/a7edbec2eb44344611f82cff89a82dac31ec0d79)
75
+ - Spreadsheet - Extracted to roo-xls gem. [a7edbec](https://github.com/roo-rb/roo/commit/a7edbec2eb44344611f82cff89a82dac31ec0d79)
76
+
77
+ ## [1.13.2] - 2013-12-23
78
+ ### Fixed
79
+ - 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
80
+
81
+ ## [1.13.1] - 2013-12-23
82
+ ### Fixed
83
+ - Fix that Excelx creation could blow up due to nil rels files. #90
84
+
85
+ ## [1.13.0] - 2013-12-05
86
+ ### Changed / Added
87
+ - Support extracting link data from Excel and Excelx spreadsheets,
88
+ via Excel#read_cell() and Excelx#hyperlink(?). #47
89
+ - Support setting the Excel Spreadsheet mode via the :mode option. #88
90
+ - Support Spreadsheet.open with a declared :extension that includes a leading '.'. #73
91
+ - Enable file type detection for URI's with parameters / anchors. #51
92
+
93
+ ### Fixed
94
+ - Fix that CSV#each_row could overwrite the filename when run against a uri. #77
95
+ - Fix that #to_matrix wasn't respecting the sheet argument. #87
96
+
97
+ ## [1.12.2] - 2013-09-11
98
+ ### Changed / Added
99
+ - Support rubyzip >= 1.0.0. #65
100
+ - Fix typo in deprecation notices. #63
101
+
102
+ ## [1.12.1] - 2013-08-18
103
+ ### Changed / Added
104
+ - Support :boolean fields for CSV export via #cell_to_csv. #59
105
+
106
+ ### Fixed
107
+ - Fix that Excelx would error on files with gaps in the numbering of their
108
+ internal sheet#.xml files. #58
109
+ - Fix that Base#info to preserve the original value of #default_sheet. #44
110
+
111
+ ## [1.12.0] - 2013-08-18
112
+ ### Deprecated
113
+ - Rename Openoffice -> OpenOffice, Libreoffice -> LibreOffice, Csv -> CSV, and redirect the old names to the new constants
114
+ - Enable Roo::Excel, Excel2003XML, Excelx, OpenOffice to accept an options hash, and deprecate the old method argument based approach to supplying them options
115
+ - 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.
116
+
117
+ ### Changed / Added
118
+ - Add Roo::Excelx#load_xml so that people can customize to their data, e.g. #23
119
+ - Enable passing csv_options to Roo::CSV, which are passed through to the underlying CSV call.
120
+ - Enable passing options through from Roo::Spreadsheet to any Roo type.
121
+ - Enable passing an :extension option to Roo::Spreadsheet.new, which will override the extension detected on in the path #15
122
+ - Switch from google-spreadsheet-ruby to google_drive for Roo::Google access #40
123
+ - Make all the classes consistent in that #read_cells is only effective if the sheet has not been read.
124
+ - Roo::Google supports login via oauth :access_token. #61
125
+ - Roo::Excel now exposes its Spreadsheet workbook via #workbook
126
+ - Pull #load_xml down into Roo::Base, and use it in Excel2003XML and OpenOffice.
127
+
128
+ ### Changed
129
+ - #formula? now returns truthy or falsey, rather than true/false.
130
+ - Base#longest_sheet was moved to Excel, as it only worked under Excel
131
+
132
+ ### Fixed
133
+ - Fix that Roo::CSV#parse(headers: true) would blow up. #37
134
+
135
+ ## [1.11.2] - 2013-04-10
136
+
137
+ ### Fixed
138
+ - Fix that Roo::Spreadsheet.open wasn't tolerant to case differences.
139
+ - Fix that Roo::Excel2003XML loading was broken #27
140
+ - Enable loading Roo::Csv files from uris, just as other file types #31
141
+ - Fix that Excelx "m/d/yy h:mm" was improperly being interpreted as date rather
142
+ than datetime #29
143
+
144
+ ## [1.11.1] - 2013-03-18
145
+ ### Fixed
146
+ - Exclude test/log/roo.log test log file from the gemspec in order to avoid a
147
+ rubygems warning: #26
148
+
149
+ ## [1.11.0] - 2013-03-14
150
+ ### Changed / Added
151
+ - Support ruby 2.0.0 by replacing Iconv with String#encode #19
152
+ - Excelx: Loosen the format detection rules such that more are
153
+ successfully detected #20
154
+ - Delete the roo binary, which was useless and not declared in the gemspec
155
+
156
+ ### Changed
157
+ - Drop support for ruby 1.8.x or lower. Required in order to easily support 2.0.0.
158
+
159
+ ## [1.10.3] - 2013-03-03
160
+ ### Fixed
161
+ - Support both nokogiri 1.5.5 and 1.5.6 (Karsten Richter) #18
162
+
163
+ ### Changed / Added
164
+ - Relax our nokogiri dependency back to 1.4.0, as we have no particular reason
165
+ to require a newer version.
166
+
167
+ ## [1.10.2] - 2013-02-03
168
+ ### Fixed
169
+ - Support opening URIs with query strings https://github.com/Empact/roo/commit/abf94bdb59cabc16d4f7764025e88e3661983525
170
+ - Support both http: & https: urls https://github.com/Empact/roo/commit/fc5c5899d96dd5f9fbb68125d0efc8ce9be2c7e1
171
+
172
+ ## [1.10.1] - 2011-11-14
173
+ ### Fixed
174
+ - forgot dependency 'rubyzip'
175
+ - 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.
176
+
177
+ ## [1.10.0] - 2011-10-10
178
+ ### Changed / Added
179
+ - New class Csv.
180
+ - Openoffice, Libreoffice: new method 'labels'
181
+ - Excelx: implemented all methods concerning labels
182
+ - Openoffice, Excelx: new methods concerning comments (comment, comment? and comments)
183
+
184
+ ### Fixed
185
+ - XLSX: some cells were not recognized correctly from a spreadsheet file from a windows mobile phone.
186
+ - labels: Moved to a separate methode. There were problems if there was an access to a label before read_cells were called.
187
+
188
+ ## [1.9.7] - 2011-08-27
189
+ ### Fixed
190
+ - Openoffice: Better way for extracting formula strings, some characters were deleted at the formula string.
191
+
192
+ ## [1.9.6] - 2011-08-03
193
+ ### Changed / Added
194
+ - new class Libreoffice (Libreoffice should do exactly the same as the Openoffice
195
+ class. It's just another name. Technically, Libreoffice is inherited from
196
+ the Openoffice class with no new methods.
197
+
198
+ ### Fixed
199
+ - Openoffice: file type check, deletion of temporary files not in ensure clause
200
+ - Cell type :datetime was not handled in the to_csv method
201
+ - Better deletion of temporary directories if something went wrong
202
+
203
+ ## [1.9.5] - 2011-06-25
204
+ ### Changed / Added
205
+ - Method #formulas moved to generic-spreadsheet class (the Excel version is
206
+ overwritten because the spreadsheet gem currently does not support
207
+ formulas.
208
+
209
+ ### Fixed
210
+ - Openoffice/Excelx/Google: #formulas of an empty sheet should not result
211
+ in an error message. Instead it should return an empty array.
212
+ - Openoffice/Excelx/Google: #to_yaml of an empty sheet should not result
213
+ in an error message. Instead it should return an empty string.
214
+ - Openoffice/Excelx/Google: #to_matrix of an empty sheet should not result
215
+ in an error message. Instead it should return an empty matrix.
216
+
217
+ ## [1.9.4] - 2011-06-23
218
+ ### Changed / Added
219
+ - removed gem 'builder'. Functionality goes to gem 'nokogiri'.
220
+
221
+ ### Fixed
222
+ - Excel: remove temporary files if spreadsheed-file is not an excel file
223
+ and an exception was raised
224
+ - Excelx: a referenced cell with a string had the content 0.0 not the
225
+ correct string
226
+ - Fixed a problem with a date cell which was not recognized as a Date
227
+ object (see 2011-05-21 in excelx.rb)
228
+
229
+ ## [1.9.3] - 2010-02-12
230
+ ### Changed / Added
231
+ - new method 'to_matrix'
232
+
233
+ ### Fixed
234
+ - missing dependencies defined
235
+
236
+ ## [1.9.2] - 2009-12-08
237
+ ### Fixed
238
+ - double quoting of '"' fixed
239
+
240
+ ## [1.9.1] - 2009-11-10
241
+ ### Fixed
242
+ - syntax in nokogiri methods
243
+ - missing dependency ...rubyzip
244
+
245
+ ## [1.9.0] - 2009-10-29
246
+ ### Changed / Added
247
+ - Ruby 1.9 compatible
248
+ - oo.aa42 as a shortcut of oo.cell('aa',42)
249
+ - oo.aa42('sheet1') as a shortcut of oo.cell('aa',42,'sheet1')
250
+ - oo.anton as a reference to a cell labelled 'anton' (or any other label name)
251
+ (currently only for Openoffice spreadsheets)
252
+
253
+ ## [1.2.3] - 2009-01-04
254
+ ### Fixed
255
+ - fixed encoding in #cell at exported Google-spreadsheets (.xls)
256
+
257
+ ## [1.2.2] - 2008-12-14
258
+ ### Changed / Added
259
+ - added celltype :datetime in Excelx
260
+ - added celltype :datetime in Google
261
+
262
+ ## [1.2.1] - 2008-11-13
263
+ ### Changed / Added
264
+ - added celltype :datetime in Openoffice and Excel
265
+
266
+ ## [1.2.0] - 2008-08-24
267
+ ### Changed / Added
268
+ - Excelx: improved the detection of cell type and conversion into roo types
269
+ - All: to_csv: changed boundaries from first_row,1..last_row,last_column to 1,1..last_row,last_column
270
+ - All: Environment variable "ROO_TMP" indicate where temporary directories will be created (if not set the default is the current working directory)
271
+
272
+ ### Fixed
273
+ - Excel: improved the detection of last_row/last_column (parseexcel-gem bug?)
274
+ - Excel/Excelx/Openoffice: temporary directories were not removed at opening a file of the wrong type
275
+
276
+ ## [1.1.0] - 2008-07-26
277
+ ### Changed / Added
278
+ - Excel: speed improvements
279
+ - Changed the behavior of reading files with the wrong type
280
+
281
+ ### Fixed
282
+ - Google: added normalize in set_value method
283
+ - Excel: last_row in Excel class did not work properly under some circumstances
284
+ - all: fixed a bug in #to_xml if there is an empty sheet
285
+
286
+ ## [1.0.2] - 2008-07-04
287
+ ### Fixed
288
+ - Excelx: fixed a bug when there are .xml.rels files in the XLSX archive
289
+ - Excelx: fixed a bug with celltype recognition (see comment with "2008-07-03")
290
+
291
+ ## [1.0.1] - 2008-06-30
292
+ ### Fixed
293
+ - Excel: row/column method Fixnum/Float confusion
294
+
295
+ ## [1.0.0] - 2008-05-28
296
+ ### Changed / Added
297
+ - support of Excel's new .xlsx file format
298
+ - method #to_xml for exporting a spreadsheet to an xml representation
299
+
300
+ ### Fixed
301
+ - fixed a bug with excel-spreadsheet character conversion under Macintosh Darwin
302
+
303
+ ## [0.9.4] - 2008-04-22
304
+ ### Fixed
305
+ - fixed a bug with excel-spreadsheet character conversion under Solaris
306
+
307
+ ## [0.9.3] - 2008-03-25
308
+ ### Fixed
309
+ - no more tmp directories if an invalid spreadsheet file was openend
310
+
311
+ ## [0.9.2] - 2008-03-24
312
+ ### Changed / Added
313
+ - new celltype :time
314
+
315
+ ### Fixed
316
+ - time values like '23:15' are handled as seconds from midnight
317
+
318
+ ## [0.9.1] - 2008-03-23
319
+ ### Changed / Added
320
+ - additional 'sheet' parameter in Google#set_value
321
+
322
+ ### Fixed
323
+ - fixed a bug within Google#set_value. thanks to davecahill <dpcahill@gmail.com> for the patch.
324
+
325
+ ## [0.9.0] - 2008-01-24
326
+ ### Changed / Added
327
+ - better support of roo spreadsheets in rails views
328
+
329
+ ## [0.8.5] - 2008-01-16
330
+ ### Fixed
331
+ - fixed a bug within #to_cvs and explicit call of a sheet
332
+
333
+ ## [0.8.4] - 2008-01-01
334
+ ### Fixed
335
+ - fixed 'find_by_condition' for excel sheets (header_line= --> GenericSpredsheet)
336
+
337
+ ## [0.8.3] - 2007-12-31
338
+ ### Fixed
339
+ - another fix for the encoding issue in excel sheet-names
340
+ - reactived the Excel#find method which has been disappeared in the last restructoring, moved to GenericSpreadsheet
341
+
342
+ ## [0.8.2] - 2007-12-28
343
+ ### Changed / Added
344
+ - basename() only in method #info
345
+
346
+ ### Fixed
347
+ - changed logging-method to mysql-database in test code with AR, table column 'class' => 'class_name'
348
+ - reactived the Excel#to_csv method which has been disappeared in the last restructoring
349
+
350
+ ## [0.8.1] - 2007-12-22
351
+ ### Fixed
352
+ - fixed a bug with first/last-row/column in empty sheet
353
+ - #info prints now '- empty -' if a sheet within a document is empty
354
+ - tried to fix the iconv conversion problem
355
+
356
+ ## [0.8.0] - 2007-12-15
357
+ ### Changed / Added
358
+ - Google online spreadsheets were implemented
359
+ - some methods common to more than one class were factored out to the GenericSpreadsheet (virtual) class
360
+
361
+ ## [0.7.0] - 2007-11-23
362
+ ### Changed / Added
363
+ - Openoffice/Excel: the most methods can be called with an option 'sheet'
364
+ parameter which will be used instead of the default sheet
365
+ - Excel: improved the speed of CVS output
366
+ - Openoffice/Excel: new method #column
367
+ - Openoffice/Excel: new method #find
368
+ - Openoffice/Excel: new method #info
369
+ - better exception if a spreadsheet file does not exist
370
+
371
+ ## [0.6.1] - 2007-10-06
372
+ ### Changed / Added
373
+ - Openoffice: percentage-values are now treated as numbers (not strings)
374
+ - Openoffice: refactoring
375
+
376
+ ### Fixed
377
+ - Openoffice: repeating date-values in a line are now handled correctly
378
+
379
+ ## [0.6.0] - 2007-10-06
380
+ ### Changed / Added
381
+ - csv-output to stdout or file
382
+
383
+ ## [0.5.4] - 2007-08-27
384
+ ### Fixed
385
+ - Openoffice: fixed a bug with internal representation of a spreadsheet (thanks to Ric Kamicar for the patch)
386
+
387
+ ## [0.5.3] - 2007-08-26
388
+ ### Changed / Added
389
+ - Openoffice: can now read zip-ed files
390
+ - Openoffice: can now read files from http://-URL over the net
391
+
392
+ ## [0.5.2] - 2007-08-26
393
+ ### Fixed
394
+ - excel: removed debugging output
395
+
396
+ ## [0.5.1] - 2007-08-26
397
+ ### Changed / Added
398
+ - Openoffice: Exception if an illegal sheet-name is selected
399
+ - Openoffice/Excel: no need to set a default_sheet if there is only one in
400
+ the document
401
+ - Excel: can now read zip-ed files
402
+ - Excel: can now read files from http://-URL over the net
403
+
404
+ ## [0.5.0] - 2007-07-20
405
+ ### Changed / Added
406
+ - Excel-objects: the methods default_sheet= and sheets can now handle names instead of numbers
407
+ ### Changedd 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)
408
+ - tests can now run on the client machine (not only my machine), if there are not public released files involved these tests are skipped
409
+
410
+ ## [0.4.1] - 2007-06-27
411
+ ### Fixed
412
+ - there was ONE false require-statement which led to misleading error messageswhen this gem was used
413
+
414
+ ## [0.4.0] - 2007-06-27
415
+ ### Changed / Added
416
+ - robustness: Exception if no default_sheet was set
417
+ - new method reload() implemented
418
+ - about 15 % more method documentation
419
+ - optimization: huge increase of speed (no need to use fixed borders anymore)
420
+ - added the method 'formulas' which gives you all formulas in a spreadsheet
421
+ - added the method 'set' which can set cells to a certain value
422
+ - added the method 'to_yaml' which can produce output for importing in a (rails) database
423
+
424
+ ### Fixed
425
+ - ..row_as_letter methods were nonsense - removed
426
+ - @cells_read should be reset if the default_sheet is changed
427
+ - 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)
428
+ - fixed bug when default_sheet is changed
429
+
430
+ ## [0.3.0] - 2007-06-20
431
+ ### Changed / Added
432
+ - Openoffice: formula support
433
+
434
+ ## [0.2.7] - 2007-06-20
435
+ ### Fixed
436
+ - Excel: float-numbers were truncated to integer
437
+
438
+ ## [0.2.6] - 2007-06-19
439
+ ### Fixed
440
+ - Openoffice: two or more consecutive cells with string content failed
441
+
442
+ ## [0.2.5] - 2007-06-17
443
+ ### Changed / Added
444
+ - Excel: row method implemented
445
+ - more tests
446
+
447
+ ### Fixed
448
+ - Openoffice: row method fixed
449
+
450
+ ## [0.2.4] - 2007-06-16
451
+ ### Fixed
452
+ - ID 11605 Two cols with same value: crash roo (openoffice version only)
453
+
454
+ ## [0.2.3] - 2007-06-02
455
+ ### Changed / Added
456
+ - more robust call att Excel#default_sheet= when called with a name
457
+ - new method empty?
458
+ - refactoring
459
+
460
+ ### Fixed
461
+ - bugfix in Excel#celltype
462
+ - bugfix (running under windows only) in closing the temp file before removing it
463
+
464
+ ## [0.2.2] - 2007-06-01
465
+ ### Fixed
466
+ - correct pathname for running with windows
467
+
468
+ ## [0.2.2] - 2007-06-01
469
+ ### Fixed
470
+ - incorrect dependencies fixed
471
+
472
+ ## [0.2.0] - 2007-06-01
473
+ ### Changed / Added
474
+ - support for MS-Excel Spreadsheets
475
+
476
+ ## [0.1.2] - 2007-05-31
477
+ ### Changed / Added
478
+ - cells with more than one character, like 'AA' can now be handled
479
+
480
+ ## [0.1.1] - 2007-05-31
481
+ ### Fixed
482
+ - bugfixes in first/last methods
483
+
484
+ ## [0.1.0] - 2007-05-31
485
+ ### Changed / Added
486
+ - new methods first/last row/column
487
+ - new method officeversion
488
+
489
+ ## [0.0.3] - 2007-05-30
490
+ ### Changed / Added
491
+ - new method row()
492
+
493
+ ## [0.0.2] - 2007-05-30
494
+ ### Changed / Added
495
+ - fixed some bugs
496
+ - more ways to access a cell
497
+
498
+ ## [0.0.1] - 2007-05-25
499
+ ### Changed / Added
500
+ - Initial release
data/README.md CHANGED
@@ -21,7 +21,7 @@ Install as a gem
21
21
  Or add it to your Gemfile
22
22
 
23
23
  ```ruby
24
- gem 'roo', '2.0.0-beta'
24
+ gem 'roo', '~> 2.0.0'
25
25
  ```
26
26
  ## Usage
27
27
 
@@ -31,7 +31,7 @@ Opening a spreadsheet
31
31
  require 'roo'
32
32
 
33
33
  xlsx = Roo::Spreadsheet.open('./new_prices.xlsx')
34
- xlsx = Roo::Excelx("./new_prices.xlsx")
34
+ xlsx = Roo::Excelx.new("./new_prices.xlsx")
35
35
 
36
36
  # Use the extension option if the extension is ambiguous.
37
37
  xlsx = Roo::Spreadsheet.open('./rails_temp_upload', extension: :xlsx)
@@ -229,7 +229,7 @@ s = Roo::CSV.new("mycsv.csv", csv_options: {encoding: Encoding::ISO_8859_1})
229
229
  ## Upgrading from Roo 1.13.x
230
230
  If you use ``.xls`` or Google spreadsheets, you will need to install ``roo-xls`` or ``roo-google`` to continue using that functionality.
231
231
 
232
- Roo's public methods have stayed relatively consistent between 1.13.x and 2.0.0, but please check the [Changelog](https://github.com/roo-rb/roo/blob/master/CHANGELOG) to better understand the changes made since 1.13.x.
232
+ Roo's public methods have stayed relatively consistent between 1.13.x and 2.0.0, but please check the [Changelog](https://github.com/roo-rb/roo/blob/master/CHANGELOG.md) to better understand the changes made since 1.13.x.
233
233
 
234
234
 
235
235
 
@@ -320,13 +320,6 @@ class Roo::Base
320
320
  end
321
321
  end
322
322
 
323
- def clean_sheet_if_need(options)
324
- return unless options[:clean]
325
- options.delete(:clean)
326
- @cleaned ||= {}
327
- clean_sheet(default_sheet) unless @cleaned[default_sheet]
328
- end
329
-
330
323
  # by passing in headers as options, this method returns
331
324
  # specific columns from your header assignment
332
325
  # for example:
@@ -438,6 +431,13 @@ class Roo::Base
438
431
 
439
432
  private
440
433
 
434
+ def clean_sheet_if_need(options)
435
+ return unless options[:clean]
436
+ options.delete(:clean)
437
+ @cleaned ||= {}
438
+ clean_sheet(default_sheet) unless @cleaned[default_sheet]
439
+ end
440
+
441
441
  def search_or_set_header(options)
442
442
  if options[:header_search]
443
443
  @headers = nil
@@ -1,3 +1,3 @@
1
1
  module Roo
2
- VERSION = "2.0.0beta1"
2
+ VERSION = "2.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0beta1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Preymesser
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-04-09 00:00:00.000000000 Z
14
+ date: 2015-04-24 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: nokogiri
@@ -97,7 +97,7 @@ files:
97
97
  - ".gitignore"
98
98
  - ".simplecov"
99
99
  - ".travis.yml"
100
- - CHANGELOG
100
+ - CHANGELOG.md
101
101
  - Gemfile
102
102
  - Guardfile
103
103
  - LICENSE
@@ -157,9 +157,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
157
157
  version: '0'
158
158
  required_rubygems_version: !ruby/object:Gem::Requirement
159
159
  requirements:
160
- - - ">"
160
+ - - ">="
161
161
  - !ruby/object:Gem::Version
162
- version: 1.3.1
162
+ version: '0'
163
163
  requirements: []
164
164
  rubyforge_project:
165
165
  rubygems_version: 2.4.6
data/CHANGELOG DELETED
@@ -1,438 +0,0 @@
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