roo 1.13.2 → 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (216) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +17 -0
  3. data/.github/ISSUE_TEMPLATE +10 -0
  4. data/.gitignore +11 -0
  5. data/.simplecov +4 -0
  6. data/.travis.yml +17 -0
  7. data/CHANGELOG.md +626 -0
  8. data/Gemfile +17 -12
  9. data/Gemfile_ruby2 +30 -0
  10. data/Guardfile +23 -0
  11. data/LICENSE +3 -1
  12. data/README.md +285 -0
  13. data/Rakefile +23 -23
  14. data/examples/roo_soap_client.rb +28 -31
  15. data/examples/roo_soap_server.rb +4 -6
  16. data/examples/write_me.rb +9 -10
  17. data/lib/roo/base.rb +298 -495
  18. data/lib/roo/constants.rb +5 -0
  19. data/lib/roo/csv.rb +127 -113
  20. data/lib/roo/errors.rb +11 -0
  21. data/lib/roo/excelx/cell/base.rb +94 -0
  22. data/lib/roo/excelx/cell/boolean.rb +27 -0
  23. data/lib/roo/excelx/cell/date.rb +28 -0
  24. data/lib/roo/excelx/cell/datetime.rb +111 -0
  25. data/lib/roo/excelx/cell/empty.rb +19 -0
  26. data/lib/roo/excelx/cell/number.rb +87 -0
  27. data/lib/roo/excelx/cell/string.rb +19 -0
  28. data/lib/roo/excelx/cell/time.rb +43 -0
  29. data/lib/roo/excelx/cell.rb +106 -0
  30. data/lib/roo/excelx/comments.rb +55 -0
  31. data/lib/roo/excelx/coordinate.rb +12 -0
  32. data/lib/roo/excelx/extractor.rb +21 -0
  33. data/lib/roo/excelx/format.rb +64 -0
  34. data/lib/roo/excelx/relationships.rb +25 -0
  35. data/lib/roo/excelx/shared.rb +32 -0
  36. data/lib/roo/excelx/shared_strings.rb +157 -0
  37. data/lib/roo/excelx/sheet.rb +112 -0
  38. data/lib/roo/excelx/sheet_doc.rb +211 -0
  39. data/lib/roo/excelx/styles.rb +64 -0
  40. data/lib/roo/excelx/workbook.rb +59 -0
  41. data/lib/roo/excelx.rb +376 -602
  42. data/lib/roo/font.rb +17 -0
  43. data/lib/roo/formatters/base.rb +15 -0
  44. data/lib/roo/formatters/csv.rb +84 -0
  45. data/lib/roo/formatters/matrix.rb +23 -0
  46. data/lib/roo/formatters/xml.rb +31 -0
  47. data/lib/roo/formatters/yaml.rb +40 -0
  48. data/lib/roo/libre_office.rb +4 -0
  49. data/lib/roo/link.rb +34 -0
  50. data/lib/roo/open_office.rb +626 -0
  51. data/lib/roo/spreadsheet.rb +22 -23
  52. data/lib/roo/tempdir.rb +21 -0
  53. data/lib/roo/utils.rb +78 -0
  54. data/lib/roo/version.rb +3 -0
  55. data/lib/roo.rb +23 -24
  56. data/roo.gemspec +21 -204
  57. data/spec/helpers.rb +5 -0
  58. data/spec/lib/roo/base_spec.rb +229 -3
  59. data/spec/lib/roo/csv_spec.rb +38 -11
  60. data/spec/lib/roo/excelx/format_spec.rb +7 -6
  61. data/spec/lib/roo/excelx_spec.rb +510 -11
  62. data/spec/lib/roo/libreoffice_spec.rb +16 -6
  63. data/spec/lib/roo/openoffice_spec.rb +30 -8
  64. data/spec/lib/roo/spreadsheet_spec.rb +60 -12
  65. data/spec/lib/roo/utils_spec.rb +106 -0
  66. data/spec/spec_helper.rb +7 -6
  67. data/test/all_ss.rb +12 -11
  68. data/test/excelx/cell/test_base.rb +63 -0
  69. data/test/excelx/cell/test_boolean.rb +36 -0
  70. data/test/excelx/cell/test_date.rb +38 -0
  71. data/test/excelx/cell/test_datetime.rb +45 -0
  72. data/test/excelx/cell/test_empty.rb +7 -0
  73. data/test/excelx/cell/test_number.rb +74 -0
  74. data/test/excelx/cell/test_string.rb +28 -0
  75. data/test/excelx/cell/test_time.rb +30 -0
  76. data/test/formatters/test_csv.rb +119 -0
  77. data/test/formatters/test_matrix.rb +76 -0
  78. data/test/formatters/test_xml.rb +74 -0
  79. data/test/formatters/test_yaml.rb +20 -0
  80. data/test/roo/test_csv.rb +52 -0
  81. data/test/roo/test_excelx.rb +186 -0
  82. data/test/roo/test_libre_office.rb +9 -0
  83. data/test/roo/test_open_office.rb +126 -0
  84. data/test/test_helper.rb +73 -53
  85. data/test/test_roo.rb +1211 -2292
  86. metadata +119 -298
  87. data/CHANGELOG +0 -417
  88. data/Gemfile.lock +0 -78
  89. data/README.markdown +0 -126
  90. data/VERSION +0 -1
  91. data/lib/roo/excel.rb +0 -355
  92. data/lib/roo/excel2003xml.rb +0 -300
  93. data/lib/roo/google.rb +0 -292
  94. data/lib/roo/openoffice.rb +0 -496
  95. data/lib/roo/roo_rails_helper.rb +0 -83
  96. data/lib/roo/worksheet.rb +0 -18
  97. data/scripts/txt2html +0 -67
  98. data/spec/lib/roo/excel2003xml_spec.rb +0 -15
  99. data/spec/lib/roo/excel_spec.rb +0 -17
  100. data/spec/lib/roo/google_spec.rb +0 -64
  101. data/test/files/1900_base.xls +0 -0
  102. data/test/files/1900_base.xlsx +0 -0
  103. data/test/files/1904_base.xls +0 -0
  104. data/test/files/1904_base.xlsx +0 -0
  105. data/test/files/Bibelbund.csv +0 -3741
  106. data/test/files/Bibelbund.ods +0 -0
  107. data/test/files/Bibelbund.xls +0 -0
  108. data/test/files/Bibelbund.xlsx +0 -0
  109. data/test/files/Bibelbund.xml +0 -62518
  110. data/test/files/Bibelbund1.ods +0 -0
  111. data/test/files/Pfand_from_windows_phone.xlsx +0 -0
  112. data/test/files/bad_excel_date.xls +0 -0
  113. data/test/files/bbu.ods +0 -0
  114. data/test/files/bbu.xls +0 -0
  115. data/test/files/bbu.xlsx +0 -0
  116. data/test/files/bbu.xml +0 -152
  117. data/test/files/bode-v1.ods.zip +0 -0
  118. data/test/files/bode-v1.xls.zip +0 -0
  119. data/test/files/boolean.csv +0 -2
  120. data/test/files/boolean.ods +0 -0
  121. data/test/files/boolean.xls +0 -0
  122. data/test/files/boolean.xlsx +0 -0
  123. data/test/files/boolean.xml +0 -112
  124. data/test/files/borders.ods +0 -0
  125. data/test/files/borders.xls +0 -0
  126. data/test/files/borders.xlsx +0 -0
  127. data/test/files/borders.xml +0 -144
  128. data/test/files/bug-numbered-sheet-names.xlsx +0 -0
  129. data/test/files/bug-row-column-fixnum-float.xls +0 -0
  130. data/test/files/bug-row-column-fixnum-float.xml +0 -127
  131. data/test/files/comments.ods +0 -0
  132. data/test/files/comments.xls +0 -0
  133. data/test/files/comments.xlsx +0 -0
  134. data/test/files/csvtypes.csv +0 -1
  135. data/test/files/datetime.ods +0 -0
  136. data/test/files/datetime.xls +0 -0
  137. data/test/files/datetime.xlsx +0 -0
  138. data/test/files/datetime.xml +0 -142
  139. data/test/files/datetime_floatconv.xls +0 -0
  140. data/test/files/datetime_floatconv.xml +0 -148
  141. data/test/files/dreimalvier.ods +0 -0
  142. data/test/files/emptysheets.ods +0 -0
  143. data/test/files/emptysheets.xls +0 -0
  144. data/test/files/emptysheets.xlsx +0 -0
  145. data/test/files/emptysheets.xml +0 -105
  146. data/test/files/excel2003.xml +0 -21140
  147. data/test/files/false_encoding.xls +0 -0
  148. data/test/files/false_encoding.xml +0 -132
  149. data/test/files/file_item_error.xlsx +0 -0
  150. data/test/files/formula.ods +0 -0
  151. data/test/files/formula.xls +0 -0
  152. data/test/files/formula.xlsx +0 -0
  153. data/test/files/formula.xml +0 -134
  154. data/test/files/formula_parse_error.xls +0 -0
  155. data/test/files/formula_parse_error.xml +0 -1833
  156. data/test/files/formula_string_error.xlsx +0 -0
  157. data/test/files/html-escape.ods +0 -0
  158. data/test/files/link.xls +0 -0
  159. data/test/files/link.xlsx +0 -0
  160. data/test/files/matrix.ods +0 -0
  161. data/test/files/matrix.xls +0 -0
  162. data/test/files/named_cells.ods +0 -0
  163. data/test/files/named_cells.xls +0 -0
  164. data/test/files/named_cells.xlsx +0 -0
  165. data/test/files/no_spreadsheet_file.txt +0 -1
  166. data/test/files/numbers1.csv +0 -18
  167. data/test/files/numbers1.ods +0 -0
  168. data/test/files/numbers1.xls +0 -0
  169. data/test/files/numbers1.xlsx +0 -0
  170. data/test/files/numbers1.xml +0 -312
  171. data/test/files/numeric-link.xlsx +0 -0
  172. data/test/files/only_one_sheet.ods +0 -0
  173. data/test/files/only_one_sheet.xls +0 -0
  174. data/test/files/only_one_sheet.xlsx +0 -0
  175. data/test/files/only_one_sheet.xml +0 -67
  176. data/test/files/paragraph.ods +0 -0
  177. data/test/files/paragraph.xls +0 -0
  178. data/test/files/paragraph.xlsx +0 -0
  179. data/test/files/paragraph.xml +0 -127
  180. data/test/files/prova.xls +0 -0
  181. data/test/files/ric.ods +0 -0
  182. data/test/files/simple_spreadsheet.ods +0 -0
  183. data/test/files/simple_spreadsheet.xls +0 -0
  184. data/test/files/simple_spreadsheet.xlsx +0 -0
  185. data/test/files/simple_spreadsheet.xml +0 -225
  186. data/test/files/simple_spreadsheet_from_italo.ods +0 -0
  187. data/test/files/simple_spreadsheet_from_italo.xls +0 -0
  188. data/test/files/simple_spreadsheet_from_italo.xml +0 -242
  189. data/test/files/so_datetime.csv +0 -7
  190. data/test/files/style.ods +0 -0
  191. data/test/files/style.xls +0 -0
  192. data/test/files/style.xlsx +0 -0
  193. data/test/files/style.xml +0 -154
  194. data/test/files/time-test.csv +0 -2
  195. data/test/files/time-test.ods +0 -0
  196. data/test/files/time-test.xls +0 -0
  197. data/test/files/time-test.xlsx +0 -0
  198. data/test/files/time-test.xml +0 -131
  199. data/test/files/type_excel.ods +0 -0
  200. data/test/files/type_excel.xlsx +0 -0
  201. data/test/files/type_excelx.ods +0 -0
  202. data/test/files/type_excelx.xls +0 -0
  203. data/test/files/type_openoffice.xls +0 -0
  204. data/test/files/type_openoffice.xlsx +0 -0
  205. data/test/files/whitespace.ods +0 -0
  206. data/test/files/whitespace.xls +0 -0
  207. data/test/files/whitespace.xlsx +0 -0
  208. data/test/files/whitespace.xml +0 -184
  209. data/test/rm_sub_test.rb +0 -12
  210. data/test/rm_test.rb +0 -7
  211. data/test/test_generic_spreadsheet.rb +0 -259
  212. data/website/index.html +0 -385
  213. data/website/index.txt +0 -423
  214. data/website/javascripts/rounded_corners_lite.inc.js +0 -285
  215. data/website/stylesheets/screen.css +0 -130
  216. data/website/template.rhtml +0 -48
data/CHANGELOG.md ADDED
@@ -0,0 +1,626 @@
1
+ ## Unreleased
2
+
3
+ ## [2.7.0] 2016-12-31
4
+ ### Fixed
5
+ - Added rack server for testing Roo's download capabilities [365](https://github.com/roo-rb/roo/pull/365)
6
+ - Refactored tests into different formats [365](https://github.com/roo-rb/roo/pull/365)
7
+ - Fixed OpenOffice for JRuby [362](https://github.com/roo-rb/roo/pull/362)
8
+ - Added '0.000000' => '%.6f' number format [354](https://github.com/roo-rb/roo/pull/354)
9
+ - Add additional formula cell types for to_csv [367][https://github.com/roo-rb/roo/pull/367]
10
+
11
+ ### Added
12
+ - Extracted formatters from Roo::Base#to_* methods [364](https://github.com/roo-rb/roo/pull/364)
13
+
14
+ ## [2.6.0] 2016-12-28
15
+ ### Fixed
16
+ - Fixed error if sheet name starts with a slash [348](https://github.com/roo-rb/roo/pull/348)
17
+ - Fixed loading to support files on ftp [355](https://github.com/roo-rb/roo/pull/355)
18
+ - Fixed Ruby 2.4.0 deprecation warnings [356](https://github.com/roo-rb/roo/pull/356)
19
+ - properly return date as string [359](https://github.com/roo-rb/roo/pull/359)
20
+
21
+ ### Added
22
+ - Cell values can be set in a CSV [350](https://github.com/roo-rb/roo/pull/350/)
23
+ - Raise an error Roo::Excelx::Extractor document is missing [358](https://github.com/roo-rb/roo/pull/358/)
24
+
25
+ ## [2.5.1] 2016-08-26
26
+ ### Fixed
27
+ - Fixed NameError. [337](https://github.com/roo-rb/roo/pull/337)
28
+
29
+ ## [2.5.0] 2016-08-21
30
+ ### Fixed
31
+ - Remove temporary directories via finalizers on garbage collection. This cleans them up in all known cases, rather than just when the #close method is called. The #close method can be used to cleanup early. [329](https://github.com/roo-rb/roo/pull/329)
32
+ - Fixed README.md typo [318](https://github.com/roo-rb/roo/pull/318)
33
+ - Parse sheets in ODS files once to improve performance [320](https://github.com/roo-rb/roo/pull/320)
34
+ - Fix some Cell conversion issues [324](https://github.com/roo-rb/roo/pull/324) and [331](https://github.com/roo-rb/roo/pull/331)
35
+ - Improved memory performance [332](https://github.com/roo-rb/roo/pull/332)
36
+ - Added `no_hyperlinks` option to improve streamig performance [319](https://github.com/roo-rb/roo/pull/319) and [333](https://github.com/roo-rb/roo/pull/333)
37
+
38
+ ### Deprecations
39
+ - Roo::Base::TEMP_PREFIX should be accessed via Roo::TEMP_PREFIX
40
+ - The private Roo::Base#make_tempdir is now available at the class level in
41
+ classes that use temporary directories, added via Roo::Tempdir
42
+ =======
43
+ ### Added
44
+ - Discard hyperlinks lookups to allow streaming parsing without loading whole files
45
+
46
+ ## [2.4.0] 2016-05-14
47
+ ### Fixed
48
+ - Fixed opening spreadsheets with charts [315](https://github.com/roo-rb/roo/pull/315)
49
+ - Fixed memory issues for Roo::Utils.number_to_letter [308](https://github.com/roo-rb/roo/pull/308)
50
+ - Fixed Roo::Excelx::Cell::Number to recognize floating point numbers [306](https://github.com/roo-rb/roo/pull/306)
51
+ - Fixed version number in Readme.md [304](https://github.com/roo-rb/roo/pull/304)
52
+
53
+ ### Added
54
+ - Added initial support for HTML formatting [278](https://github.com/roo-rb/roo/pull/278)
55
+
56
+ ## [2.3.2] 2016-02-18
57
+ ### Fixed
58
+ - Handle url with long query params (ex. S3 secure url) [302](https://github.com/roo-rb/roo/pull/302)
59
+ - Allow streaming for Roo::CSV [297](https://github.com/roo-rb/roo/pull/297)
60
+ - Export Fixnums to Added csv [295](https://github.com/roo-rb/roo/pull/295)
61
+ - Removed various Ruby warnings [289](https://github.com/roo-rb/roo/pull/289)
62
+ - Fix incorrect example result in Readme.md [293](https://github.com/roo-rb/roo/pull/293)
63
+
64
+ ## [2.3.1] - 2016-01-08
65
+ ### Fixed
66
+ - Properly parse scientific-notation number like 1E-3 [#288](https://github.com/roo-rb/roo/pull/288)
67
+ - Include all tests in default rake run [#283](https://github.com/roo-rb/roo/pull/283)
68
+ - Fix zero-padded numbers for Excelx [#282](https://github.com/roo-rb/roo/pull/282)
69
+
70
+ ### Changed
71
+ - Moved `ERROR_VALUES` from Excelx::Cell::Number ~> Excelx. [#280](https://github.com/roo-rb/roo/pull/280)
72
+
73
+ ## [2.3.0] - 2015-12-10
74
+ ### Changed
75
+ - Excelx::Cell::Number will return a String instead of an Integer or Float if the cell has an error like #DIV/0, etc. [#273](https://github.com/roo-rb/roo/pull/273)
76
+
77
+ ### Fixed
78
+ - Excelx::Cell::Number now handles cell errors. [#273](https://github.com/roo-rb/roo/pull/273)
79
+
80
+ ## [2.2.0] - 2015-10-31
81
+ ### Added
82
+ - Added support for returning Integers values to Roo::OpenOffice [#258](https://github.com/roo-rb/roo/pull/258)
83
+ - A missing Header Raises `Roo::HeaderRowNotFoundError` [#247](https://github.com/roo-rb/roo/pull/247)
84
+ - Roo::Excelx::Shared class to pass shared data to Roo::Excelx sheets [#220](https://github.com/roo-rb/roo/pull/220)
85
+ - Proper Type support to Roo::Excelx [#240](https://github.com/roo-rb/roo/pull/240)
86
+ - Added Roo::HeaderRowNotFoundError [#247](https://github.com/roo-rb/roo/pull/247)
87
+
88
+ ### Changed
89
+ - Made spelling/grammar corrections in the README[260](https://github.com/roo-rb/roo/pull/260)
90
+ - Moved Roo::Excelx::Format module [#259](https://github.com/roo-rb/roo/pull/259)
91
+ - Updated README with details about `Roo::Excelx#each_with_streaming` method [#250](https://github.com/roo-rb/roo/pull/250)
92
+
93
+ ### Fixed
94
+ - Fixed Base64 not found issue in Open Office [#267](https://github.com/roo-rb/roo/pull/267)
95
+ - Fixed Regexp to allow method access to cells with multiple digits [#255](https://github.com/roo-rb/roo/pull/255), [#268](https://github.com/roo-rb/roo/pull/268)
96
+
97
+ ## [2.1.1] - 2015-08-02
98
+ ### Fixed invalid new lines with _x000D_ character[#231](https://github.com/roo-rb/roo/pull/231)
99
+ ### Fixed missing URI issue. [#245](https://github.com/roo-rb/roo/pull/245)
100
+
101
+ ## [2.1.0] - 2015-07-18
102
+ ### Added
103
+ - Added support for Excel 2007 `xlsm` files. [#232](https://github.com/roo-rb/roo/pull/232)
104
+ - Roo::Excelx returns an enumerator when calling each_row_streaming without a block. [#224](https://github.com/roo-rb/roo/pull/224)
105
+ - Returns an enumerator when calling `each` without a block. [#219](https://github.com/roo-rb/roo/pull/219)
106
+
107
+ ### Fixed
108
+ - Removed tabs and windows CRLF. [#235](https://github.com/roo-rb/roo/pull/235), [#234](https://github.com/roo-rb/roo/pull/234)
109
+ - Fixed Regexp to only check for valid URI's when opening a spreadsheet. [#229](https://github.com/roo-rb/roo/pull/228)
110
+ - Open streams in Roo:Excelx correctly. [#222](https://github.com/roo-rb/roo/pull/222)
111
+
112
+ ## [2.0.1] - 2015-06-01
113
+ ### Added
114
+ - Return an enumerator when calling '#each' without a block [#219](https://github.com/roo-rb/roo/pull/219)
115
+ - Added Roo::Base#close to delete any temp directories[#211](https://github.com/roo-rb/roo/pull/211)
116
+ - Offset option for excelx #each_row. [#214](https://github.com/roo-rb/roo/pull/214)
117
+ - Allow Roo::Excelx to open streams [#209](https://github.com/roo-rb/roo/pull/209)
118
+
119
+ ### Fixed
120
+ - Use gsub instead of tr for double quote escaping [#212](https://github.com/roo-rb/roo/pull/212), [#212-patch](https://github.com/roo-rb/roo/commit/fcc9a015868ebf9d42cbba5b6cfdaa58b81ecc01)
121
+ - Fixed Changelog links and release data. [#204](https://github.com/roo-rb/roo/pull/204), [#206](https://github.com/roo-rb/roo/pull/206)
122
+ - Allow Pathnames to be used when opening files. [#207](https://github.com/roo-rb/roo/pull/207)
123
+
124
+ ### Removed
125
+ - Removed the scripts folder. [#213](https://github.com/roo-rb/roo/pull/213)
126
+
127
+ ## [2.0.0] - 2015-04-24
128
+ ### Added
129
+ - Added optional support for hidden sheets in Excelx and LibreOffice files [#177](https://github.com/roo-rb/roo/pull/177)
130
+ - Roo::OpenOffice can be used to open encrypted workbooks. [#157](https://github.com/roo-rb/roo/pull/157)
131
+ - Added streaming for parsing of large Excelx Sheets. [#69](https://github.com/roo-rb/roo/pull/69)
132
+ - Added Roo::Base#first_last_row_col_for_sheet [a0dd800](https://github.com/roo-rb/roo/commit/a0dd800d5cf0de052583afa91bf82f8802ede9a0)
133
+ - Added Roo::Base#collect_last_row_col_for_sheet [a0dd800](https://github.com/roo-rb/roo/commit/a0dd800d5cf0de052583afa91bf82f8802ede9a0)
134
+ - Added Roo::Base::MAX_ROW_COL, Roo::Base::MIN_ROW_COL [a0dd800](https://github.com/roo-rb/roo/commit/a0dd800d5cf0de052583afa91bf82f8802ede9a0)
135
+ - Extract Roo::Font to replace equivalent uses in Excelx and OpenOffice. [23e19de](https://github.com/roo-rb/roo/commit/23e19de1ccc64b2b02a80090ff6666008a29c43b)
136
+ - Roo::Utils [3169a0e](https://github.com/roo-rb/roo/commit/3169a0e803ce742d2cbf9be834d27a5098a68638)
137
+ - Roo::ExcelxComments [0a43341](https://github.com/roo-rb/roo/commit/0a433413210b5559dc92d743a72a1f38ee775f5f)
138
+ [0a43341](https://github.com/roo-rb/roo/commit/0a433413210b5559dc92d743a72a1f38ee775f5f)
139
+ - Roo::Excelx::Relationships [0a43341](https://github.com/roo-rb/roo/commit/0a433413210b5559dc92d743a72a1f38ee775f5f)
140
+ - Roo::Excelx::SheetDoc [0a43341](https://github.com/roo-rb/roo/commit/0a433413210b5559dc92d743a72a1f38ee775f5f)
141
+ [c2bb7b8](https://github.com/roo-rb/roo/commit/c2bb7b8614f4ff1dff6b7bdbda0ded125ae549c7)
142
+ +- Roo::Excelx::Styles [c2bb7b8](https://github.com/roo-rb/roo/commit/c2bb7b8614f4ff1dff6b7bdbda0ded125ae549c7)
143
+ +- Roo::Excelx::Workbook [c2bb7b8](https://github.com/roo-rb/roo/commit/c2bb7b8614f4ff1dff6b7bdbda0ded125ae549c7)
144
+ - Switch from Spreadsheet::Link to Roo::Link [ee67321](https://github.com/roo-rb/roo/commit/ee6732144f3616631d19ade0c5490e1678231ce2)
145
+ - Roo::Base#to_csv: Added separator parameter (defaults to ",") [#102](https://github.com/roo-rb/roo/pull/102)
146
+ - Added development development gems [#104](https://github.com/roo-rb/roo/pull/104)
147
+
148
+ ### Changed
149
+ - Reduced size of published gem. [#194](https://github.com/roo-rb/roo/pull/194)
150
+ - Stream the reading of the dimensions [#192](https://github.com/roo-rb/roo/pull/192)
151
+ - 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)
152
+ - Roo::OpenOffice#formula? now returns a `Boolean` instead of a `String` or `nil` [#191](https://github.com/roo-rb/roo/pull/191)
153
+ - 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)
154
+ - Memoize Roo::Utils.split_coordinate [#180](https://github.com/roo-rb/roo/pull/180)
155
+ - Roo::Base: use regular expressions for extracting headers [#173](https://github.com/roo-rb/roo/pull/173)
156
+ - 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)
157
+ - 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)
158
+ - 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)
159
+ - 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)
160
+ - Roo::Base#default_sheet is no longer an attr_reader [704e3dc](https://github.com/roo-rb/roo/commit/704e3dca1692d84ac4877f04a7e46238772d423b)
161
+ - 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)
162
+ - Change the tmpdir prefix from oo_ to roo_ [102d5fc](https://github.com/roo-rb/roo/commit/102d5fce30b46e928807bc60f607f81956ed898b)
163
+ - Accept the tmpdir_root option in Roo::Excelx [0e325b6](https://github.com/roo-rb/roo/commit/0e325b68f199ff278b26bd621371ed42fa999f24)
164
+ - Refactored Excelx#comment? [0fb90ec](https://github.com/roo-rb/roo/commit/0fb90ecf6a8f422ef16a7105a1d2c42d611556c3)
165
+ - Refactored Roo::Base#find, #find_by_row, #find_by_conditions. [1ccedab](https://github.com/roo-rb/roo/commit/1ccedab3fb656f4614f0a85e9b0a286ad83f5c1e)
166
+ - 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).
167
+
168
+ ### Fixed
169
+ - 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)
170
+ - Fixed comments for xlsx files exported from Google [#197](https://github.com/roo-rb/roo/pull/197)
171
+ - Fixed Roo::Excelx#celltype to return :link when appropriate.
172
+ - Fixed type coercion of ids. [#192](https://github.com/roo-rb/roo/pull/192)
173
+ - 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)
174
+ - Fixed parse method with `clean` option [#184](https://github.com/roo-rb/roo/pull/184)
175
+ - Fixed some memory issues.
176
+ - Fixed Roo::Utils.number_to_letter [#180](https://github.com/roo-rb/roo/pull/180)
177
+ - 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)
178
+ - Handle headers with brackets [#162](https://github.com/roo-rb/roo/pull/162)
179
+ - 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)
180
+ - 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)
181
+ - Disambiguate #open call in Excelx#extract_file. [#125](https://github.com/roo-rb/roo/pull/125)
182
+ - 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)
183
+ - Fixed Excelx issue when reading hyperlinks [#123](https://github.com/roo-rb/roo/pull/123)
184
+ - Fixed invalid test case [#124](https://github.com/roo-rb/roo/pull/124)
185
+ - Fixed error in test helper file_diff [56e2e61](https://github.com/roo-rb/roo/commit/56e2e61d1ad9185d8ab0d4af4b32928f07fdaad0)
186
+ - Stopped `inspect` from being called recursively. [#115](https://github.com/roo-rb/roo/pull/115)
187
+ - Fixes for Excelx Datetime cells. [#104](https://github.com/roo-rb/roo/pull/104), [#120](https://github.com/roo-rb/roo/pull/120)
188
+ - Prevent ArgumentError when using `find` [#100](https://github.com/roo-rb/roo/pull/100)
189
+ - 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)
190
+
191
+ ### Removed
192
+ - Roo::Excel - Extracted to roo-xls gem. [a7edbec](https://github.com/roo-rb/roo/commit/a7edbec2eb44344611f82cff89a82dac31ec0d79)
193
+ - Roo::Excel2003XML - Extracted to roo-xls gem. [a7edbec](https://github.com/roo-rb/roo/commit/a7edbec2eb44344611f82cff89a82dac31ec0d79)
194
+ - Roo::Google - Extracted to roo-google gem. [a7edbec](https://github.com/roo-rb/roo/commit/a7edbec2eb44344611f82cff89a82dac31ec0d79)
195
+ - Roo::OpenOffice::Font - Refactored into Roo::Font
196
+ - Removed Roo::OpenOffice.extract_content [a74157a](https://github.com/roo-rb/roo/commit/a74157adb204bc93d289c5708e8e79e143d09037)
197
+ - Removed OpenOffice.process_zipfile [835368e](https://github.com/roo-rb/roo/commit/835368e1d29c1530f00bf9caa07704b17370e38f)
198
+ - Roo::OpenOffice#comment?
199
+ - Roo::ZipFile - Removed the Roo::ZipFile abstraction. Roo now depends on rubyzip 1.0.0+ [d466950](https://github.com/roo-rb/roo/commit/d4669503b5b80c1d30f035177a2b0e4b56fc49ce)
200
+ - SpreadSheet::Worksheet - Extracted to roo-xls gem. [a7edbec](https://github.com/roo-rb/roo/commit/a7edbec2eb44344611f82cff89a82dac31ec0d79)
201
+ - Spreadsheet - Extracted to roo-xls gem. [a7edbec](https://github.com/roo-rb/roo/commit/a7edbec2eb44344611f82cff89a82dac31ec0d79)
202
+
203
+ ## [1.13.2] - 2013-12-23
204
+ ### Fixed
205
+ - 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
206
+
207
+ ## [1.13.1] - 2013-12-23
208
+ ### Fixed
209
+ - Fix that Excelx creation could blow up due to nil rels files. #90
210
+
211
+ ## [1.13.0] - 2013-12-05
212
+ ### Changed / Added
213
+ - Support extracting link data from Excel and Excelx spreadsheets,
214
+ via Excel#read_cell() and Excelx#hyperlink(?). #47
215
+ - Support setting the Excel Spreadsheet mode via the :mode option. #88
216
+ - Support Spreadsheet.open with a declared :extension that includes a leading '.'. #73
217
+ - Enable file type detection for URI's with parameters / anchors. #51
218
+
219
+ ### Fixed
220
+ - Fix that CSV#each_row could overwrite the filename when run against a uri. #77
221
+ - Fix that #to_matrix wasn't respecting the sheet argument. #87
222
+
223
+ ## [1.12.2] - 2013-09-11
224
+ ### Changed / Added
225
+ - Support rubyzip >= 1.0.0. #65
226
+ - Fix typo in deprecation notices. #63
227
+
228
+ ## [1.12.1] - 2013-08-18
229
+ ### Changed / Added
230
+ - Support :boolean fields for CSV export via #cell_to_csv. #59
231
+
232
+ ### Fixed
233
+ - Fix that Excelx would error on files with gaps in the numbering of their
234
+ internal sheet#.xml files. #58
235
+ - Fix that Base#info to preserve the original value of #default_sheet. #44
236
+
237
+ ## [1.12.0] - 2013-08-18
238
+ ### Deprecated
239
+ - Rename Openoffice -> OpenOffice, Libreoffice -> LibreOffice, Csv -> CSV, and redirect the old names to the new constants
240
+ - Enable Roo::Excel, Excel2003XML, Excelx, OpenOffice to accept an options hash, and deprecate the old method argument based approach to supplying them options
241
+ - 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.
242
+
243
+ ### Changed / Added
244
+ - Add Roo::Excelx#load_xml so that people can customize to their data, e.g. #23
245
+ - Enable passing csv_options to Roo::CSV, which are passed through to the underlying CSV call.
246
+ - Enable passing options through from Roo::Spreadsheet to any Roo type.
247
+ - Enable passing an :extension option to Roo::Spreadsheet.new, which will override the extension detected on in the path #15
248
+ - Switch from google-spreadsheet-ruby to google_drive for Roo::Google access #40
249
+ - Make all the classes consistent in that #read_cells is only effective if the sheet has not been read.
250
+ - Roo::Google supports login via oauth :access_token. #61
251
+ - Roo::Excel now exposes its Spreadsheet workbook via #workbook
252
+ - Pull #load_xml down into Roo::Base, and use it in Excel2003XML and OpenOffice.
253
+
254
+ ### Changed
255
+ - #formula? now returns truthy or falsey, rather than true/false.
256
+ - Base#longest_sheet was moved to Excel, as it only worked under Excel
257
+
258
+ ### Fixed
259
+ - Fix that Roo::CSV#parse(headers: true) would blow up. #37
260
+
261
+ ## [1.11.2] - 2013-04-10
262
+
263
+ ### Fixed
264
+ - Fix that Roo::Spreadsheet.open wasn't tolerant to case differences.
265
+ - Fix that Roo::Excel2003XML loading was broken #27
266
+ - Enable loading Roo::Csv files from uris, just as other file types #31
267
+ - Fix that Excelx "m/d/yy h:mm" was improperly being interpreted as date rather
268
+ than datetime #29
269
+
270
+ ## [1.11.1] - 2013-03-18
271
+ ### Fixed
272
+ - Exclude test/log/roo.log test log file from the gemspec in order to avoid a
273
+ rubygems warning: #26
274
+
275
+ ## [1.11.0] - 2013-03-14
276
+ ### Changed / Added
277
+ - Support ruby 2.0.0 by replacing Iconv with String#encode #19
278
+ - Excelx: Loosen the format detection rules such that more are
279
+ successfully detected #20
280
+ - Delete the roo binary, which was useless and not declared in the gemspec
281
+
282
+ ### Changed
283
+ - Drop support for ruby 1.8.x or lower. Required in order to easily support 2.0.0.
284
+
285
+ ## [1.10.3] - 2013-03-03
286
+ ### Fixed
287
+ - Support both nokogiri 1.5.5 and 1.5.6 (Karsten Richter) #18
288
+
289
+ ### Changed / Added
290
+ - Relax our nokogiri dependency back to 1.4.0, as we have no particular reason
291
+ to require a newer version.
292
+
293
+ ## [1.10.2] - 2013-02-03
294
+ ### Fixed
295
+ - Support opening URIs with query strings https://github.com/Empact/roo/commit/abf94bdb59cabc16d4f7764025e88e3661983525
296
+ - Support both http: & https: urls https://github.com/Empact/roo/commit/fc5c5899d96dd5f9fbb68125d0efc8ce9be2c7e1
297
+
298
+ ## [1.10.1] - 2011-11-14
299
+ ### Fixed
300
+ - forgot dependency 'rubyzip'
301
+ - 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.
302
+
303
+ ## [1.10.0] - 2011-10-10
304
+ ### Changed / Added
305
+ - New class Csv.
306
+ - Openoffice, Libreoffice: new method 'labels'
307
+ - Excelx: implemented all methods concerning labels
308
+ - Openoffice, Excelx: new methods concerning comments (comment, comment? and comments)
309
+
310
+ ### Fixed
311
+ - XLSX: some cells were not recognized correctly from a spreadsheet file from a windows mobile phone.
312
+ - labels: Moved to a separate methode. There were problems if there was an access to a label before read_cells were called.
313
+
314
+ ## [1.9.7] - 2011-08-27
315
+ ### Fixed
316
+ - Openoffice: Better way for extracting formula strings, some characters were deleted at the formula string.
317
+
318
+ ## [1.9.6] - 2011-08-03
319
+ ### Changed / Added
320
+ - new class Libreoffice (Libreoffice should do exactly the same as the Openoffice
321
+ class. It's just another name. Technically, Libreoffice is inherited from
322
+ the Openoffice class with no new methods.
323
+
324
+ ### Fixed
325
+ - Openoffice: file type check, deletion of temporary files not in ensure clause
326
+ - Cell type :datetime was not handled in the to_csv method
327
+ - Better deletion of temporary directories if something went wrong
328
+
329
+ ## [1.9.5] - 2011-06-25
330
+ ### Changed / Added
331
+ - Method #formulas moved to generic-spreadsheet class (the Excel version is
332
+ overwritten because the spreadsheet gem currently does not support
333
+ formulas.
334
+
335
+ ### Fixed
336
+ - Openoffice/Excelx/Google: #formulas of an empty sheet should not result
337
+ in an error message. Instead it should return an empty array.
338
+ - Openoffice/Excelx/Google: #to_yaml of an empty sheet should not result
339
+ in an error message. Instead it should return an empty string.
340
+ - Openoffice/Excelx/Google: #to_matrix of an empty sheet should not result
341
+ in an error message. Instead it should return an empty matrix.
342
+
343
+ ## [1.9.4] - 2011-06-23
344
+ ### Changed / Added
345
+ - removed gem 'builder'. Functionality goes to gem 'nokogiri'.
346
+
347
+ ### Fixed
348
+ - Excel: remove temporary files if spreadsheed-file is not an excel file
349
+ and an exception was raised
350
+ - Excelx: a referenced cell with a string had the content 0.0 not the
351
+ correct string
352
+ - Fixed a problem with a date cell which was not recognized as a Date
353
+ object (see 2011-05-21 in excelx.rb)
354
+
355
+ ## [1.9.3] - 2010-02-12
356
+ ### Changed / Added
357
+ - new method 'to_matrix'
358
+
359
+ ### Fixed
360
+ - missing dependencies defined
361
+
362
+ ## [1.9.2] - 2009-12-08
363
+ ### Fixed
364
+ - double quoting of '"' fixed
365
+
366
+ ## [1.9.1] - 2009-11-10
367
+ ### Fixed
368
+ - syntax in nokogiri methods
369
+ - missing dependency ...rubyzip
370
+
371
+ ## [1.9.0] - 2009-10-29
372
+ ### Changed / Added
373
+ - Ruby 1.9 compatible
374
+ - oo.aa42 as a shortcut of oo.cell('aa',42)
375
+ - oo.aa42('sheet1') as a shortcut of oo.cell('aa',42,'sheet1')
376
+ - oo.anton as a reference to a cell labelled 'anton' (or any other label name)
377
+ (currently only for Openoffice spreadsheets)
378
+
379
+ ## [1.2.3] - 2009-01-04
380
+ ### Fixed
381
+ - fixed encoding in #cell at exported Google-spreadsheets (.xls)
382
+
383
+ ## [1.2.2] - 2008-12-14
384
+ ### Changed / Added
385
+ - added celltype :datetime in Excelx
386
+ - added celltype :datetime in Google
387
+
388
+ ## [1.2.1] - 2008-11-13
389
+ ### Changed / Added
390
+ - added celltype :datetime in Openoffice and Excel
391
+
392
+ ## [1.2.0] - 2008-08-24
393
+ ### Changed / Added
394
+ - Excelx: improved the detection of cell type and conversion into roo types
395
+ - All: to_csv: changed boundaries from first_row,1..last_row,last_column to 1,1..last_row,last_column
396
+ - All: Environment variable "ROO_TMP" indicate where temporary directories will be created (if not set the default is the current working directory)
397
+
398
+ ### Fixed
399
+ - Excel: improved the detection of last_row/last_column (parseexcel-gem bug?)
400
+ - Excel/Excelx/Openoffice: temporary directories were not removed at opening a file of the wrong type
401
+
402
+ ## [1.1.0] - 2008-07-26
403
+ ### Changed / Added
404
+ - Excel: speed improvements
405
+ - Changed the behavior of reading files with the wrong type
406
+
407
+ ### Fixed
408
+ - Google: added normalize in set_value method
409
+ - Excel: last_row in Excel class did not work properly under some circumstances
410
+ - all: fixed a bug in #to_xml if there is an empty sheet
411
+
412
+ ## [1.0.2] - 2008-07-04
413
+ ### Fixed
414
+ - Excelx: fixed a bug when there are .xml.rels files in the XLSX archive
415
+ - Excelx: fixed a bug with celltype recognition (see comment with "2008-07-03")
416
+
417
+ ## [1.0.1] - 2008-06-30
418
+ ### Fixed
419
+ - Excel: row/column method Fixnum/Float confusion
420
+
421
+ ## [1.0.0] - 2008-05-28
422
+ ### Changed / Added
423
+ - support of Excel's new .xlsx file format
424
+ - method #to_xml for exporting a spreadsheet to an xml representation
425
+
426
+ ### Fixed
427
+ - fixed a bug with excel-spreadsheet character conversion under Macintosh Darwin
428
+
429
+ ## [0.9.4] - 2008-04-22
430
+ ### Fixed
431
+ - fixed a bug with excel-spreadsheet character conversion under Solaris
432
+
433
+ ## [0.9.3] - 2008-03-25
434
+ ### Fixed
435
+ - no more tmp directories if an invalid spreadsheet file was openend
436
+
437
+ ## [0.9.2] - 2008-03-24
438
+ ### Changed / Added
439
+ - new celltype :time
440
+
441
+ ### Fixed
442
+ - time values like '23:15' are handled as seconds from midnight
443
+
444
+ ## [0.9.1] - 2008-03-23
445
+ ### Changed / Added
446
+ - additional 'sheet' parameter in Google#set_value
447
+
448
+ ### Fixed
449
+ - fixed a bug within Google#set_value. thanks to davecahill <dpcahill@gmail.com> for the patch.
450
+
451
+ ## [0.9.0] - 2008-01-24
452
+ ### Changed / Added
453
+ - better support of roo spreadsheets in rails views
454
+
455
+ ## [0.8.5] - 2008-01-16
456
+ ### Fixed
457
+ - fixed a bug within #to_cvs and explicit call of a sheet
458
+
459
+ ## [0.8.4] - 2008-01-01
460
+ ### Fixed
461
+ - fixed 'find_by_condition' for excel sheets (header_line= --> GenericSpredsheet)
462
+
463
+ ## [0.8.3] - 2007-12-31
464
+ ### Fixed
465
+ - another fix for the encoding issue in excel sheet-names
466
+ - reactived the Excel#find method which has been disappeared in the last restructoring, moved to GenericSpreadsheet
467
+
468
+ ## [0.8.2] - 2007-12-28
469
+ ### Changed / Added
470
+ - basename() only in method #info
471
+
472
+ ### Fixed
473
+ - changed logging-method to mysql-database in test code with AR, table column 'class' => 'class_name'
474
+ - reactived the Excel#to_csv method which has been disappeared in the last restructoring
475
+
476
+ ## [0.8.1] - 2007-12-22
477
+ ### Fixed
478
+ - fixed a bug with first/last-row/column in empty sheet
479
+ - #info prints now '- empty -' if a sheet within a document is empty
480
+ - tried to fix the iconv conversion problem
481
+
482
+ ## [0.8.0] - 2007-12-15
483
+ ### Changed / Added
484
+ - Google online spreadsheets were implemented
485
+ - some methods common to more than one class were factored out to the GenericSpreadsheet (virtual) class
486
+
487
+ ## [0.7.0] - 2007-11-23
488
+ ### Changed / Added
489
+ - Openoffice/Excel: the most methods can be called with an option 'sheet'
490
+ parameter which will be used instead of the default sheet
491
+ - Excel: improved the speed of CVS output
492
+ - Openoffice/Excel: new method #column
493
+ - Openoffice/Excel: new method #find
494
+ - Openoffice/Excel: new method #info
495
+ - better exception if a spreadsheet file does not exist
496
+
497
+ ## [0.6.1] - 2007-10-06
498
+ ### Changed / Added
499
+ - Openoffice: percentage-values are now treated as numbers (not strings)
500
+ - Openoffice: refactoring
501
+
502
+ ### Fixed
503
+ - Openoffice: repeating date-values in a line are now handled correctly
504
+
505
+ ## [0.6.0] - 2007-10-06
506
+ ### Changed / Added
507
+ - csv-output to stdout or file
508
+
509
+ ## [0.5.4] - 2007-08-27
510
+ ### Fixed
511
+ - Openoffice: fixed a bug with internal representation of a spreadsheet (thanks to Ric Kamicar for the patch)
512
+
513
+ ## [0.5.3] - 2007-08-26
514
+ ### Changed / Added
515
+ - Openoffice: can now read zip-ed files
516
+ - Openoffice: can now read files from http://-URL over the net
517
+
518
+ ## [0.5.2] - 2007-08-26
519
+ ### Fixed
520
+ - excel: removed debugging output
521
+
522
+ ## [0.5.1] - 2007-08-26
523
+ ### Changed / Added
524
+ - Openoffice: Exception if an illegal sheet-name is selected
525
+ - Openoffice/Excel: no need to set a default_sheet if there is only one in
526
+ the document
527
+ - Excel: can now read zip-ed files
528
+ - Excel: can now read files from http://-URL over the net
529
+
530
+ ## [0.5.0] - 2007-07-20
531
+ ### Changed / Added
532
+ - Excel-objects: the methods default_sheet= and sheets can now handle names instead of numbers
533
+ ### 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)
534
+ - tests can now run on the client machine (not only my machine), if there are not public released files involved these tests are skipped
535
+
536
+ ## [0.4.1] - 2007-06-27
537
+ ### Fixed
538
+ - there was ONE false require-statement which led to misleading error messageswhen this gem was used
539
+
540
+ ## [0.4.0] - 2007-06-27
541
+ ### Changed / Added
542
+ - robustness: Exception if no default_sheet was set
543
+ - new method reload() implemented
544
+ - about 15 % more method documentation
545
+ - optimization: huge increase of speed (no need to use fixed borders anymore)
546
+ - added the method 'formulas' which gives you all formulas in a spreadsheet
547
+ - added the method 'set' which can set cells to a certain value
548
+ - added the method 'to_yaml' which can produce output for importing in a (rails) database
549
+
550
+ ### Fixed
551
+ - ..row_as_letter methods were nonsense - removed
552
+ - @cells_read should be reset if the default_sheet is changed
553
+ - 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)
554
+ - fixed bug when default_sheet is changed
555
+
556
+ ## [0.3.0] - 2007-06-20
557
+ ### Changed / Added
558
+ - Openoffice: formula support
559
+
560
+ ## [0.2.7] - 2007-06-20
561
+ ### Fixed
562
+ - Excel: float-numbers were truncated to integer
563
+
564
+ ## [0.2.6] - 2007-06-19
565
+ ### Fixed
566
+ - Openoffice: two or more consecutive cells with string content failed
567
+
568
+ ## [0.2.5] - 2007-06-17
569
+ ### Changed / Added
570
+ - Excel: row method implemented
571
+ - more tests
572
+
573
+ ### Fixed
574
+ - Openoffice: row method fixed
575
+
576
+ ## [0.2.4] - 2007-06-16
577
+ ### Fixed
578
+ - ID 11605 Two cols with same value: crash roo (openoffice version only)
579
+
580
+ ## [0.2.3] - 2007-06-02
581
+ ### Changed / Added
582
+ - more robust call att Excel#default_sheet= when called with a name
583
+ - new method empty?
584
+ - refactoring
585
+
586
+ ### Fixed
587
+ - bugfix in Excel#celltype
588
+ - bugfix (running under windows only) in closing the temp file before removing it
589
+
590
+ ## [0.2.2] - 2007-06-01
591
+ ### Fixed
592
+ - correct pathname for running with windows
593
+
594
+ ## [0.2.2] - 2007-06-01
595
+ ### Fixed
596
+ - incorrect dependencies fixed
597
+
598
+ ## [0.2.0] - 2007-06-01
599
+ ### Changed / Added
600
+ - support for MS-Excel Spreadsheets
601
+
602
+ ## [0.1.2] - 2007-05-31
603
+ ### Changed / Added
604
+ - cells with more than one character, like 'AA' can now be handled
605
+
606
+ ## [0.1.1] - 2007-05-31
607
+ ### Fixed
608
+ - bugfixes in first/last methods
609
+
610
+ ## [0.1.0] - 2007-05-31
611
+ ### Changed / Added
612
+ - new methods first/last row/column
613
+ - new method officeversion
614
+
615
+ ## [0.0.3] - 2007-05-30
616
+ ### Changed / Added
617
+ - new method row()
618
+
619
+ ## [0.0.2] - 2007-05-30
620
+ ### Changed / Added
621
+ - fixed some bugs
622
+ - more ways to access a cell
623
+
624
+ ## [0.0.1] - 2007-05-25
625
+ ### Changed / Added
626
+ - Initial release
data/Gemfile CHANGED
@@ -1,18 +1,23 @@
1
- source 'http://rubygems.org'
1
+ source 'https://rubygems.org'
2
2
 
3
- gem 'spreadsheet', '> 0.6.4'
4
- gem 'nokogiri'
5
- gem 'rubyzip'
6
-
7
- group :development do
8
- gem 'google_drive'
9
- gem 'jeweler'
10
- end
3
+ gemspec
11
4
 
12
5
  group :test do
13
6
  # additional testing libs
14
- gem 'webmock'
15
7
  gem 'shoulda'
16
- gem 'rspec'
17
- gem 'vcr'
8
+ gem 'activesupport', '< 5.1'
9
+ gem 'rspec', '>= 3.0.0'
10
+ gem 'simplecov', '>= 0.9.0', require: false
11
+ gem 'coveralls', require: false
12
+ gem "minitest-reporters"
13
+ end
14
+
15
+ group :local_development do
16
+ gem 'terminal-notifier-guard', require: false if RUBY_PLATFORM.downcase.include?('darwin')
17
+ gem 'guard-rspec', '>= 4.3.1', require: false
18
+ gem 'guard-minitest', require: false
19
+ gem 'guard-bundler', require: false
20
+ gem 'guard-rubocop', require: false
21
+ gem "rb-readline"
22
+ gem 'pry'
18
23
  end