roo 1.13.2 → 2.10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (236) hide show
  1. checksums.yaml +5 -5
  2. data/.codeclimate.yml +17 -0
  3. data/.github/issue_template.md +16 -0
  4. data/.github/pull_request_template.md +14 -0
  5. data/.github/workflows/pull-request.yml +15 -0
  6. data/.github/workflows/ruby.yml +34 -0
  7. data/.gitignore +11 -0
  8. data/.rubocop.yml +186 -0
  9. data/.simplecov +4 -0
  10. data/CHANGELOG.md +702 -0
  11. data/Gemfile +18 -12
  12. data/Guardfile +23 -0
  13. data/LICENSE +5 -1
  14. data/README.md +328 -0
  15. data/Rakefile +23 -23
  16. data/examples/roo_soap_client.rb +28 -31
  17. data/examples/roo_soap_server.rb +4 -6
  18. data/examples/write_me.rb +9 -10
  19. data/lib/roo/base.rb +317 -504
  20. data/lib/roo/constants.rb +7 -0
  21. data/lib/roo/csv.rb +141 -113
  22. data/lib/roo/errors.rb +11 -0
  23. data/lib/roo/excelx/cell/base.rb +108 -0
  24. data/lib/roo/excelx/cell/boolean.rb +30 -0
  25. data/lib/roo/excelx/cell/date.rb +28 -0
  26. data/lib/roo/excelx/cell/datetime.rb +107 -0
  27. data/lib/roo/excelx/cell/empty.rb +20 -0
  28. data/lib/roo/excelx/cell/number.rb +99 -0
  29. data/lib/roo/excelx/cell/string.rb +19 -0
  30. data/lib/roo/excelx/cell/time.rb +44 -0
  31. data/lib/roo/excelx/cell.rb +110 -0
  32. data/lib/roo/excelx/comments.rb +55 -0
  33. data/lib/roo/excelx/coordinate.rb +19 -0
  34. data/lib/roo/excelx/extractor.rb +39 -0
  35. data/lib/roo/excelx/format.rb +71 -0
  36. data/lib/roo/excelx/images.rb +26 -0
  37. data/lib/roo/excelx/relationships.rb +33 -0
  38. data/lib/roo/excelx/shared.rb +39 -0
  39. data/lib/roo/excelx/shared_strings.rb +151 -0
  40. data/lib/roo/excelx/sheet.rb +151 -0
  41. data/lib/roo/excelx/sheet_doc.rb +257 -0
  42. data/lib/roo/excelx/styles.rb +64 -0
  43. data/lib/roo/excelx/workbook.rb +64 -0
  44. data/lib/roo/excelx.rb +407 -601
  45. data/lib/roo/font.rb +17 -0
  46. data/lib/roo/formatters/base.rb +15 -0
  47. data/lib/roo/formatters/csv.rb +84 -0
  48. data/lib/roo/formatters/matrix.rb +23 -0
  49. data/lib/roo/formatters/xml.rb +31 -0
  50. data/lib/roo/formatters/yaml.rb +40 -0
  51. data/lib/roo/helpers/default_attr_reader.rb +20 -0
  52. data/lib/roo/helpers/weak_instance_cache.rb +41 -0
  53. data/lib/roo/libre_office.rb +4 -0
  54. data/lib/roo/link.rb +34 -0
  55. data/lib/roo/open_office.rb +631 -0
  56. data/lib/roo/spreadsheet.rb +28 -23
  57. data/lib/roo/tempdir.rb +24 -0
  58. data/lib/roo/utils.rb +128 -0
  59. data/lib/roo/version.rb +3 -0
  60. data/lib/roo.rb +26 -24
  61. data/roo.gemspec +29 -203
  62. data/spec/helpers.rb +5 -0
  63. data/spec/lib/roo/base_spec.rb +291 -3
  64. data/spec/lib/roo/csv_spec.rb +38 -11
  65. data/spec/lib/roo/excelx/cell/time_spec.rb +15 -0
  66. data/spec/lib/roo/excelx/format_spec.rb +7 -6
  67. data/spec/lib/roo/excelx/relationships_spec.rb +43 -0
  68. data/spec/lib/roo/excelx/sheet_doc_spec.rb +11 -0
  69. data/spec/lib/roo/excelx_spec.rb +672 -11
  70. data/spec/lib/roo/libreoffice_spec.rb +16 -6
  71. data/spec/lib/roo/openoffice_spec.rb +30 -8
  72. data/spec/lib/roo/spreadsheet_spec.rb +60 -12
  73. data/spec/lib/roo/strict_spec.rb +43 -0
  74. data/spec/lib/roo/utils_spec.rb +119 -0
  75. data/spec/lib/roo/weak_instance_cache_spec.rb +92 -0
  76. data/spec/lib/roo_spec.rb +0 -0
  77. data/spec/spec_helper.rb +7 -6
  78. data/test/all_ss.rb +12 -11
  79. data/test/excelx/cell/test_attr_reader_default.rb +72 -0
  80. data/test/excelx/cell/test_base.rb +68 -0
  81. data/test/excelx/cell/test_boolean.rb +36 -0
  82. data/test/excelx/cell/test_date.rb +38 -0
  83. data/test/excelx/cell/test_datetime.rb +45 -0
  84. data/test/excelx/cell/test_empty.rb +18 -0
  85. data/test/excelx/cell/test_number.rb +90 -0
  86. data/test/excelx/cell/test_string.rb +48 -0
  87. data/test/excelx/cell/test_time.rb +30 -0
  88. data/test/excelx/test_coordinate.rb +51 -0
  89. data/test/formatters/test_csv.rb +136 -0
  90. data/test/formatters/test_matrix.rb +76 -0
  91. data/test/formatters/test_xml.rb +78 -0
  92. data/test/formatters/test_yaml.rb +20 -0
  93. data/test/helpers/test_accessing_files.rb +81 -0
  94. data/test/helpers/test_comments.rb +43 -0
  95. data/test/helpers/test_formulas.rb +9 -0
  96. data/test/helpers/test_labels.rb +103 -0
  97. data/test/helpers/test_sheets.rb +55 -0
  98. data/test/helpers/test_styles.rb +62 -0
  99. data/test/roo/test_base.rb +182 -0
  100. data/test/roo/test_csv.rb +88 -0
  101. data/test/roo/test_excelx.rb +360 -0
  102. data/test/roo/test_libre_office.rb +9 -0
  103. data/test/roo/test_open_office.rb +289 -0
  104. data/test/test_helper.rb +123 -59
  105. data/test/test_roo.rb +392 -2292
  106. metadata +153 -298
  107. data/CHANGELOG +0 -417
  108. data/Gemfile.lock +0 -78
  109. data/README.markdown +0 -126
  110. data/VERSION +0 -1
  111. data/lib/roo/excel.rb +0 -355
  112. data/lib/roo/excel2003xml.rb +0 -300
  113. data/lib/roo/google.rb +0 -292
  114. data/lib/roo/openoffice.rb +0 -496
  115. data/lib/roo/roo_rails_helper.rb +0 -83
  116. data/lib/roo/worksheet.rb +0 -18
  117. data/scripts/txt2html +0 -67
  118. data/spec/lib/roo/excel2003xml_spec.rb +0 -15
  119. data/spec/lib/roo/excel_spec.rb +0 -17
  120. data/spec/lib/roo/google_spec.rb +0 -64
  121. data/test/files/1900_base.xls +0 -0
  122. data/test/files/1900_base.xlsx +0 -0
  123. data/test/files/1904_base.xls +0 -0
  124. data/test/files/1904_base.xlsx +0 -0
  125. data/test/files/Bibelbund.csv +0 -3741
  126. data/test/files/Bibelbund.ods +0 -0
  127. data/test/files/Bibelbund.xls +0 -0
  128. data/test/files/Bibelbund.xlsx +0 -0
  129. data/test/files/Bibelbund.xml +0 -62518
  130. data/test/files/Bibelbund1.ods +0 -0
  131. data/test/files/Pfand_from_windows_phone.xlsx +0 -0
  132. data/test/files/bad_excel_date.xls +0 -0
  133. data/test/files/bbu.ods +0 -0
  134. data/test/files/bbu.xls +0 -0
  135. data/test/files/bbu.xlsx +0 -0
  136. data/test/files/bbu.xml +0 -152
  137. data/test/files/bode-v1.ods.zip +0 -0
  138. data/test/files/bode-v1.xls.zip +0 -0
  139. data/test/files/boolean.csv +0 -2
  140. data/test/files/boolean.ods +0 -0
  141. data/test/files/boolean.xls +0 -0
  142. data/test/files/boolean.xlsx +0 -0
  143. data/test/files/boolean.xml +0 -112
  144. data/test/files/borders.ods +0 -0
  145. data/test/files/borders.xls +0 -0
  146. data/test/files/borders.xlsx +0 -0
  147. data/test/files/borders.xml +0 -144
  148. data/test/files/bug-numbered-sheet-names.xlsx +0 -0
  149. data/test/files/bug-row-column-fixnum-float.xls +0 -0
  150. data/test/files/bug-row-column-fixnum-float.xml +0 -127
  151. data/test/files/comments.ods +0 -0
  152. data/test/files/comments.xls +0 -0
  153. data/test/files/comments.xlsx +0 -0
  154. data/test/files/csvtypes.csv +0 -1
  155. data/test/files/datetime.ods +0 -0
  156. data/test/files/datetime.xls +0 -0
  157. data/test/files/datetime.xlsx +0 -0
  158. data/test/files/datetime.xml +0 -142
  159. data/test/files/datetime_floatconv.xls +0 -0
  160. data/test/files/datetime_floatconv.xml +0 -148
  161. data/test/files/dreimalvier.ods +0 -0
  162. data/test/files/emptysheets.ods +0 -0
  163. data/test/files/emptysheets.xls +0 -0
  164. data/test/files/emptysheets.xlsx +0 -0
  165. data/test/files/emptysheets.xml +0 -105
  166. data/test/files/excel2003.xml +0 -21140
  167. data/test/files/false_encoding.xls +0 -0
  168. data/test/files/false_encoding.xml +0 -132
  169. data/test/files/file_item_error.xlsx +0 -0
  170. data/test/files/formula.ods +0 -0
  171. data/test/files/formula.xls +0 -0
  172. data/test/files/formula.xlsx +0 -0
  173. data/test/files/formula.xml +0 -134
  174. data/test/files/formula_parse_error.xls +0 -0
  175. data/test/files/formula_parse_error.xml +0 -1833
  176. data/test/files/formula_string_error.xlsx +0 -0
  177. data/test/files/html-escape.ods +0 -0
  178. data/test/files/link.xls +0 -0
  179. data/test/files/link.xlsx +0 -0
  180. data/test/files/matrix.ods +0 -0
  181. data/test/files/matrix.xls +0 -0
  182. data/test/files/named_cells.ods +0 -0
  183. data/test/files/named_cells.xls +0 -0
  184. data/test/files/named_cells.xlsx +0 -0
  185. data/test/files/no_spreadsheet_file.txt +0 -1
  186. data/test/files/numbers1.csv +0 -18
  187. data/test/files/numbers1.ods +0 -0
  188. data/test/files/numbers1.xls +0 -0
  189. data/test/files/numbers1.xlsx +0 -0
  190. data/test/files/numbers1.xml +0 -312
  191. data/test/files/numeric-link.xlsx +0 -0
  192. data/test/files/only_one_sheet.ods +0 -0
  193. data/test/files/only_one_sheet.xls +0 -0
  194. data/test/files/only_one_sheet.xlsx +0 -0
  195. data/test/files/only_one_sheet.xml +0 -67
  196. data/test/files/paragraph.ods +0 -0
  197. data/test/files/paragraph.xls +0 -0
  198. data/test/files/paragraph.xlsx +0 -0
  199. data/test/files/paragraph.xml +0 -127
  200. data/test/files/prova.xls +0 -0
  201. data/test/files/ric.ods +0 -0
  202. data/test/files/simple_spreadsheet.ods +0 -0
  203. data/test/files/simple_spreadsheet.xls +0 -0
  204. data/test/files/simple_spreadsheet.xlsx +0 -0
  205. data/test/files/simple_spreadsheet.xml +0 -225
  206. data/test/files/simple_spreadsheet_from_italo.ods +0 -0
  207. data/test/files/simple_spreadsheet_from_italo.xls +0 -0
  208. data/test/files/simple_spreadsheet_from_italo.xml +0 -242
  209. data/test/files/so_datetime.csv +0 -7
  210. data/test/files/style.ods +0 -0
  211. data/test/files/style.xls +0 -0
  212. data/test/files/style.xlsx +0 -0
  213. data/test/files/style.xml +0 -154
  214. data/test/files/time-test.csv +0 -2
  215. data/test/files/time-test.ods +0 -0
  216. data/test/files/time-test.xls +0 -0
  217. data/test/files/time-test.xlsx +0 -0
  218. data/test/files/time-test.xml +0 -131
  219. data/test/files/type_excel.ods +0 -0
  220. data/test/files/type_excel.xlsx +0 -0
  221. data/test/files/type_excelx.ods +0 -0
  222. data/test/files/type_excelx.xls +0 -0
  223. data/test/files/type_openoffice.xls +0 -0
  224. data/test/files/type_openoffice.xlsx +0 -0
  225. data/test/files/whitespace.ods +0 -0
  226. data/test/files/whitespace.xls +0 -0
  227. data/test/files/whitespace.xlsx +0 -0
  228. data/test/files/whitespace.xml +0 -184
  229. data/test/rm_sub_test.rb +0 -12
  230. data/test/rm_test.rb +0 -7
  231. data/test/test_generic_spreadsheet.rb +0 -259
  232. data/website/index.html +0 -385
  233. data/website/index.txt +0 -423
  234. data/website/javascripts/rounded_corners_lite.inc.js +0 -285
  235. data/website/stylesheets/screen.css +0 -130
  236. data/website/template.rhtml +0 -48
metadata CHANGED
@@ -1,408 +1,263 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.2
4
+ version: 2.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Preymesser
8
8
  - Hugh McGowan
9
9
  - Ben Woosley
10
- autorequire:
10
+ - Oleksandr Simonov
11
+ - Steven Daniels
12
+ - Anmol Chopra
13
+ autorequire:
11
14
  bindir: bin
12
15
  cert_chain: []
13
- date: 2013-12-23 00:00:00.000000000 Z
16
+ date: 2024-01-18 00:00:00.000000000 Z
14
17
  dependencies:
15
18
  - !ruby/object:Gem::Dependency
16
- name: spreadsheet
19
+ name: nokogiri
17
20
  requirement: !ruby/object:Gem::Requirement
18
21
  requirements:
19
- - - '>'
22
+ - - "~>"
20
23
  - !ruby/object:Gem::Version
21
- version: 0.6.4
24
+ version: '1'
22
25
  type: :runtime
23
26
  prerelease: false
24
27
  version_requirements: !ruby/object:Gem::Requirement
25
28
  requirements:
26
- - - '>'
29
+ - - "~>"
27
30
  - !ruby/object:Gem::Version
28
- version: 0.6.4
31
+ version: '1'
29
32
  - !ruby/object:Gem::Dependency
30
- name: nokogiri
33
+ name: rubyzip
31
34
  requirement: !ruby/object:Gem::Requirement
32
35
  requirements:
33
- - - '>='
36
+ - - ">="
34
37
  - !ruby/object:Gem::Version
35
- version: '0'
38
+ version: 1.3.0
39
+ - - "<"
40
+ - !ruby/object:Gem::Version
41
+ version: 3.0.0
36
42
  type: :runtime
37
43
  prerelease: false
38
44
  version_requirements: !ruby/object:Gem::Requirement
39
45
  requirements:
40
- - - '>='
46
+ - - ">="
41
47
  - !ruby/object:Gem::Version
42
- version: '0'
48
+ version: 1.3.0
49
+ - - "<"
50
+ - !ruby/object:Gem::Version
51
+ version: 3.0.0
43
52
  - !ruby/object:Gem::Dependency
44
- name: rubyzip
53
+ name: rake
45
54
  requirement: !ruby/object:Gem::Requirement
46
55
  requirements:
47
- - - '>='
56
+ - - ">="
48
57
  - !ruby/object:Gem::Version
49
58
  version: '0'
50
- type: :runtime
59
+ type: :development
51
60
  prerelease: false
52
61
  version_requirements: !ruby/object:Gem::Requirement
53
62
  requirements:
54
- - - '>='
63
+ - - ">="
55
64
  - !ruby/object:Gem::Version
56
65
  version: '0'
57
66
  - !ruby/object:Gem::Dependency
58
- name: google_drive
67
+ name: minitest
59
68
  requirement: !ruby/object:Gem::Requirement
60
69
  requirements:
61
- - - '>='
70
+ - - "~>"
62
71
  - !ruby/object:Gem::Version
63
- version: '0'
72
+ version: '5.4'
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 5.4.3
64
76
  type: :development
65
77
  prerelease: false
66
78
  version_requirements: !ruby/object:Gem::Requirement
67
79
  requirements:
68
- - - '>='
80
+ - - "~>"
69
81
  - !ruby/object:Gem::Version
70
- version: '0'
82
+ version: '5.4'
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: 5.4.3
86
+ - !ruby/object:Gem::Dependency
87
+ name: rack
88
+ requirement: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - "~>"
91
+ - !ruby/object:Gem::Version
92
+ version: '1.6'
93
+ - - "<"
94
+ - !ruby/object:Gem::Version
95
+ version: 2.0.0
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '1.6'
103
+ - - "<"
104
+ - !ruby/object:Gem::Version
105
+ version: 2.0.0
71
106
  - !ruby/object:Gem::Dependency
72
- name: jeweler
107
+ name: matrix
73
108
  requirement: !ruby/object:Gem::Requirement
74
109
  requirements:
75
- - - '>='
110
+ - - ">="
76
111
  - !ruby/object:Gem::Version
77
112
  version: '0'
78
113
  type: :development
79
114
  prerelease: false
80
115
  version_requirements: !ruby/object:Gem::Requirement
81
116
  requirements:
82
- - - '>='
117
+ - - ">="
83
118
  - !ruby/object:Gem::Version
84
119
  version: '0'
85
120
  description: |-
86
121
  Roo can access the contents of various spreadsheet files. It can handle
87
122
  * OpenOffice
88
- * Excel
89
- * Google spreadsheets
90
123
  * Excelx
91
124
  * LibreOffice
92
125
  * CSV
93
- email: ruby.ruby.ruby.roo@gmail.com
126
+ email:
127
+ - ruby.ruby.ruby.roo@gmail.com
128
+ - oleksandr@simonov.me
94
129
  executables: []
95
130
  extensions: []
96
- extra_rdoc_files:
97
- - LICENSE
98
- - README.markdown
131
+ extra_rdoc_files: []
99
132
  files:
100
- - CHANGELOG
133
+ - ".codeclimate.yml"
134
+ - ".github/issue_template.md"
135
+ - ".github/pull_request_template.md"
136
+ - ".github/workflows/pull-request.yml"
137
+ - ".github/workflows/ruby.yml"
138
+ - ".gitignore"
139
+ - ".rubocop.yml"
140
+ - ".simplecov"
141
+ - CHANGELOG.md
101
142
  - Gemfile
102
- - Gemfile.lock
143
+ - Guardfile
103
144
  - LICENSE
104
- - README.markdown
145
+ - README.md
105
146
  - Rakefile
106
- - VERSION
107
147
  - examples/roo_soap_client.rb
108
148
  - examples/roo_soap_server.rb
109
149
  - examples/write_me.rb
110
150
  - lib/roo.rb
111
151
  - lib/roo/base.rb
152
+ - lib/roo/constants.rb
112
153
  - lib/roo/csv.rb
113
- - lib/roo/excel.rb
114
- - lib/roo/excel2003xml.rb
154
+ - lib/roo/errors.rb
115
155
  - lib/roo/excelx.rb
116
- - lib/roo/google.rb
117
- - lib/roo/openoffice.rb
118
- - lib/roo/roo_rails_helper.rb
156
+ - lib/roo/excelx/cell.rb
157
+ - lib/roo/excelx/cell/base.rb
158
+ - lib/roo/excelx/cell/boolean.rb
159
+ - lib/roo/excelx/cell/date.rb
160
+ - lib/roo/excelx/cell/datetime.rb
161
+ - lib/roo/excelx/cell/empty.rb
162
+ - lib/roo/excelx/cell/number.rb
163
+ - lib/roo/excelx/cell/string.rb
164
+ - lib/roo/excelx/cell/time.rb
165
+ - lib/roo/excelx/comments.rb
166
+ - lib/roo/excelx/coordinate.rb
167
+ - lib/roo/excelx/extractor.rb
168
+ - lib/roo/excelx/format.rb
169
+ - lib/roo/excelx/images.rb
170
+ - lib/roo/excelx/relationships.rb
171
+ - lib/roo/excelx/shared.rb
172
+ - lib/roo/excelx/shared_strings.rb
173
+ - lib/roo/excelx/sheet.rb
174
+ - lib/roo/excelx/sheet_doc.rb
175
+ - lib/roo/excelx/styles.rb
176
+ - lib/roo/excelx/workbook.rb
177
+ - lib/roo/font.rb
178
+ - lib/roo/formatters/base.rb
179
+ - lib/roo/formatters/csv.rb
180
+ - lib/roo/formatters/matrix.rb
181
+ - lib/roo/formatters/xml.rb
182
+ - lib/roo/formatters/yaml.rb
183
+ - lib/roo/helpers/default_attr_reader.rb
184
+ - lib/roo/helpers/weak_instance_cache.rb
185
+ - lib/roo/libre_office.rb
186
+ - lib/roo/link.rb
187
+ - lib/roo/open_office.rb
119
188
  - lib/roo/spreadsheet.rb
120
- - lib/roo/worksheet.rb
189
+ - lib/roo/tempdir.rb
190
+ - lib/roo/utils.rb
191
+ - lib/roo/version.rb
121
192
  - roo.gemspec
122
- - scripts/txt2html
123
193
  - spec/fixtures/vcr_cassettes/google_drive.yml
124
194
  - spec/fixtures/vcr_cassettes/google_drive_access_token.yml
125
195
  - spec/fixtures/vcr_cassettes/google_drive_set.yml
196
+ - spec/helpers.rb
126
197
  - spec/lib/roo/base_spec.rb
127
198
  - spec/lib/roo/csv_spec.rb
128
- - spec/lib/roo/excel2003xml_spec.rb
129
- - spec/lib/roo/excel_spec.rb
199
+ - spec/lib/roo/excelx/cell/time_spec.rb
130
200
  - spec/lib/roo/excelx/format_spec.rb
201
+ - spec/lib/roo/excelx/relationships_spec.rb
202
+ - spec/lib/roo/excelx/sheet_doc_spec.rb
131
203
  - spec/lib/roo/excelx_spec.rb
132
- - spec/lib/roo/google_spec.rb
133
204
  - spec/lib/roo/libreoffice_spec.rb
134
205
  - spec/lib/roo/openoffice_spec.rb
135
206
  - spec/lib/roo/spreadsheet_spec.rb
207
+ - spec/lib/roo/strict_spec.rb
208
+ - spec/lib/roo/utils_spec.rb
209
+ - spec/lib/roo/weak_instance_cache_spec.rb
210
+ - spec/lib/roo_spec.rb
136
211
  - spec/spec_helper.rb
137
212
  - test/all_ss.rb
138
- - test/files/1900_base.xls
139
- - test/files/1900_base.xlsx
140
- - test/files/1904_base.xls
141
- - test/files/1904_base.xlsx
142
- - test/files/Bibelbund.csv
143
- - test/files/Bibelbund.ods
144
- - test/files/Bibelbund.xls
145
- - test/files/Bibelbund.xlsx
146
- - test/files/Bibelbund.xml
147
- - test/files/Bibelbund1.ods
148
- - test/files/Pfand_from_windows_phone.xlsx
149
- - test/files/bad_excel_date.xls
150
- - test/files/bbu.ods
151
- - test/files/bbu.xls
152
- - test/files/bbu.xlsx
153
- - test/files/bbu.xml
154
- - test/files/bode-v1.ods.zip
155
- - test/files/bode-v1.xls.zip
156
- - test/files/boolean.csv
157
- - test/files/boolean.ods
158
- - test/files/boolean.xls
159
- - test/files/boolean.xlsx
160
- - test/files/boolean.xml
161
- - test/files/borders.ods
162
- - test/files/borders.xls
163
- - test/files/borders.xlsx
164
- - test/files/borders.xml
165
- - test/files/bug-numbered-sheet-names.xlsx
166
- - test/files/bug-row-column-fixnum-float.xls
167
- - test/files/bug-row-column-fixnum-float.xml
168
- - test/files/comments.ods
169
- - test/files/comments.xls
170
- - test/files/comments.xlsx
171
- - test/files/csvtypes.csv
172
- - test/files/datetime.ods
173
- - test/files/datetime.xls
174
- - test/files/datetime.xlsx
175
- - test/files/datetime.xml
176
- - test/files/datetime_floatconv.xls
177
- - test/files/datetime_floatconv.xml
178
- - test/files/dreimalvier.ods
179
- - test/files/emptysheets.ods
180
- - test/files/emptysheets.xls
181
- - test/files/emptysheets.xlsx
182
- - test/files/emptysheets.xml
183
- - test/files/excel2003.xml
184
- - test/files/false_encoding.xls
185
- - test/files/false_encoding.xml
186
- - test/files/file_item_error.xlsx
187
- - test/files/formula.ods
188
- - test/files/formula.xls
189
- - test/files/formula.xlsx
190
- - test/files/formula.xml
191
- - test/files/formula_parse_error.xls
192
- - test/files/formula_parse_error.xml
193
- - test/files/formula_string_error.xlsx
194
- - test/files/html-escape.ods
195
- - test/files/link.xls
196
- - test/files/link.xlsx
197
- - test/files/matrix.ods
198
- - test/files/matrix.xls
199
- - test/files/named_cells.ods
200
- - test/files/named_cells.xls
201
- - test/files/named_cells.xlsx
202
- - test/files/no_spreadsheet_file.txt
203
- - test/files/numbers1.csv
204
- - test/files/numbers1.ods
205
- - test/files/numbers1.xls
206
- - test/files/numbers1.xlsx
207
- - test/files/numbers1.xml
208
- - test/files/numeric-link.xlsx
209
- - test/files/only_one_sheet.ods
210
- - test/files/only_one_sheet.xls
211
- - test/files/only_one_sheet.xlsx
212
- - test/files/only_one_sheet.xml
213
- - test/files/paragraph.ods
214
- - test/files/paragraph.xls
215
- - test/files/paragraph.xlsx
216
- - test/files/paragraph.xml
217
- - test/files/prova.xls
218
- - test/files/ric.ods
219
- - test/files/simple_spreadsheet.ods
220
- - test/files/simple_spreadsheet.xls
221
- - test/files/simple_spreadsheet.xlsx
222
- - test/files/simple_spreadsheet.xml
223
- - test/files/simple_spreadsheet_from_italo.ods
224
- - test/files/simple_spreadsheet_from_italo.xls
225
- - test/files/simple_spreadsheet_from_italo.xml
226
- - test/files/so_datetime.csv
227
- - test/files/style.ods
228
- - test/files/style.xls
229
- - test/files/style.xlsx
230
- - test/files/style.xml
231
- - test/files/time-test.csv
232
- - test/files/time-test.ods
233
- - test/files/time-test.xls
234
- - test/files/time-test.xlsx
235
- - test/files/time-test.xml
236
- - test/files/type_excel.ods
237
- - test/files/type_excel.xlsx
238
- - test/files/type_excelx.ods
239
- - test/files/type_excelx.xls
240
- - test/files/type_openoffice.xls
241
- - test/files/type_openoffice.xlsx
242
- - test/files/whitespace.ods
243
- - test/files/whitespace.xls
244
- - test/files/whitespace.xlsx
245
- - test/files/whitespace.xml
246
- - test/rm_sub_test.rb
247
- - test/rm_test.rb
248
- - test/test_generic_spreadsheet.rb
213
+ - test/excelx/cell/test_attr_reader_default.rb
214
+ - test/excelx/cell/test_base.rb
215
+ - test/excelx/cell/test_boolean.rb
216
+ - test/excelx/cell/test_date.rb
217
+ - test/excelx/cell/test_datetime.rb
218
+ - test/excelx/cell/test_empty.rb
219
+ - test/excelx/cell/test_number.rb
220
+ - test/excelx/cell/test_string.rb
221
+ - test/excelx/cell/test_time.rb
222
+ - test/excelx/test_coordinate.rb
223
+ - test/formatters/test_csv.rb
224
+ - test/formatters/test_matrix.rb
225
+ - test/formatters/test_xml.rb
226
+ - test/formatters/test_yaml.rb
227
+ - test/helpers/test_accessing_files.rb
228
+ - test/helpers/test_comments.rb
229
+ - test/helpers/test_formulas.rb
230
+ - test/helpers/test_labels.rb
231
+ - test/helpers/test_sheets.rb
232
+ - test/helpers/test_styles.rb
233
+ - test/roo/test_base.rb
234
+ - test/roo/test_csv.rb
235
+ - test/roo/test_excelx.rb
236
+ - test/roo/test_libre_office.rb
237
+ - test/roo/test_open_office.rb
249
238
  - test/test_helper.rb
250
239
  - test/test_roo.rb
251
- - website/index.html
252
- - website/index.txt
253
- - website/javascripts/rounded_corners_lite.inc.js
254
- - website/stylesheets/screen.css
255
- - website/template.rhtml
256
- homepage: http://github.com/Empact/roo
240
+ homepage: https://github.com/roo-rb/roo
257
241
  licenses:
258
242
  - MIT
259
243
  metadata: {}
260
- post_install_message:
244
+ post_install_message:
261
245
  rdoc_options: []
262
246
  require_paths:
263
247
  - lib
264
248
  required_ruby_version: !ruby/object:Gem::Requirement
265
249
  requirements:
266
- - - '>='
250
+ - - ">="
267
251
  - !ruby/object:Gem::Version
268
- version: 1.9.0
252
+ version: 2.7.0
269
253
  required_rubygems_version: !ruby/object:Gem::Requirement
270
254
  requirements:
271
- - - '>='
255
+ - - ">="
272
256
  - !ruby/object:Gem::Version
273
257
  version: '0'
274
258
  requirements: []
275
- rubyforge_project:
276
- rubygems_version: 2.0.14
277
- signing_key:
259
+ rubygems_version: 3.3.26
260
+ signing_key:
278
261
  specification_version: 4
279
262
  summary: Roo can access the contents of various spreadsheet files.
280
- test_files:
281
- - spec/fixtures/vcr_cassettes/google_drive.yml
282
- - spec/fixtures/vcr_cassettes/google_drive_access_token.yml
283
- - spec/fixtures/vcr_cassettes/google_drive_set.yml
284
- - spec/lib/roo/base_spec.rb
285
- - spec/lib/roo/csv_spec.rb
286
- - spec/lib/roo/excel2003xml_spec.rb
287
- - spec/lib/roo/excel_spec.rb
288
- - spec/lib/roo/excelx/format_spec.rb
289
- - spec/lib/roo/excelx_spec.rb
290
- - spec/lib/roo/google_spec.rb
291
- - spec/lib/roo/libreoffice_spec.rb
292
- - spec/lib/roo/openoffice_spec.rb
293
- - spec/lib/roo/spreadsheet_spec.rb
294
- - spec/spec_helper.rb
295
- - test/all_ss.rb
296
- - test/files/1900_base.xls
297
- - test/files/1900_base.xlsx
298
- - test/files/1904_base.xls
299
- - test/files/1904_base.xlsx
300
- - test/files/Bibelbund.csv
301
- - test/files/Bibelbund.ods
302
- - test/files/Bibelbund.xls
303
- - test/files/Bibelbund.xlsx
304
- - test/files/Bibelbund.xml
305
- - test/files/Bibelbund1.ods
306
- - test/files/Pfand_from_windows_phone.xlsx
307
- - test/files/bad_excel_date.xls
308
- - test/files/bbu.ods
309
- - test/files/bbu.xls
310
- - test/files/bbu.xlsx
311
- - test/files/bbu.xml
312
- - test/files/bode-v1.ods.zip
313
- - test/files/bode-v1.xls.zip
314
- - test/files/boolean.csv
315
- - test/files/boolean.ods
316
- - test/files/boolean.xls
317
- - test/files/boolean.xlsx
318
- - test/files/boolean.xml
319
- - test/files/borders.ods
320
- - test/files/borders.xls
321
- - test/files/borders.xlsx
322
- - test/files/borders.xml
323
- - test/files/bug-numbered-sheet-names.xlsx
324
- - test/files/bug-row-column-fixnum-float.xls
325
- - test/files/bug-row-column-fixnum-float.xml
326
- - test/files/comments.ods
327
- - test/files/comments.xls
328
- - test/files/comments.xlsx
329
- - test/files/csvtypes.csv
330
- - test/files/datetime.ods
331
- - test/files/datetime.xls
332
- - test/files/datetime.xlsx
333
- - test/files/datetime.xml
334
- - test/files/datetime_floatconv.xls
335
- - test/files/datetime_floatconv.xml
336
- - test/files/dreimalvier.ods
337
- - test/files/emptysheets.ods
338
- - test/files/emptysheets.xls
339
- - test/files/emptysheets.xlsx
340
- - test/files/emptysheets.xml
341
- - test/files/excel2003.xml
342
- - test/files/false_encoding.xls
343
- - test/files/false_encoding.xml
344
- - test/files/file_item_error.xlsx
345
- - test/files/formula.ods
346
- - test/files/formula.xls
347
- - test/files/formula.xlsx
348
- - test/files/formula.xml
349
- - test/files/formula_parse_error.xls
350
- - test/files/formula_parse_error.xml
351
- - test/files/formula_string_error.xlsx
352
- - test/files/html-escape.ods
353
- - test/files/link.xls
354
- - test/files/link.xlsx
355
- - test/files/matrix.ods
356
- - test/files/matrix.xls
357
- - test/files/named_cells.ods
358
- - test/files/named_cells.xls
359
- - test/files/named_cells.xlsx
360
- - test/files/no_spreadsheet_file.txt
361
- - test/files/numbers1.csv
362
- - test/files/numbers1.ods
363
- - test/files/numbers1.xls
364
- - test/files/numbers1.xlsx
365
- - test/files/numbers1.xml
366
- - test/files/numeric-link.xlsx
367
- - test/files/only_one_sheet.ods
368
- - test/files/only_one_sheet.xls
369
- - test/files/only_one_sheet.xlsx
370
- - test/files/only_one_sheet.xml
371
- - test/files/paragraph.ods
372
- - test/files/paragraph.xls
373
- - test/files/paragraph.xlsx
374
- - test/files/paragraph.xml
375
- - test/files/prova.xls
376
- - test/files/ric.ods
377
- - test/files/simple_spreadsheet.ods
378
- - test/files/simple_spreadsheet.xls
379
- - test/files/simple_spreadsheet.xlsx
380
- - test/files/simple_spreadsheet.xml
381
- - test/files/simple_spreadsheet_from_italo.ods
382
- - test/files/simple_spreadsheet_from_italo.xls
383
- - test/files/simple_spreadsheet_from_italo.xml
384
- - test/files/so_datetime.csv
385
- - test/files/style.ods
386
- - test/files/style.xls
387
- - test/files/style.xlsx
388
- - test/files/style.xml
389
- - test/files/time-test.csv
390
- - test/files/time-test.ods
391
- - test/files/time-test.xls
392
- - test/files/time-test.xlsx
393
- - test/files/time-test.xml
394
- - test/files/type_excel.ods
395
- - test/files/type_excel.xlsx
396
- - test/files/type_excelx.ods
397
- - test/files/type_excelx.xls
398
- - test/files/type_openoffice.xls
399
- - test/files/type_openoffice.xlsx
400
- - test/files/whitespace.ods
401
- - test/files/whitespace.xls
402
- - test/files/whitespace.xlsx
403
- - test/files/whitespace.xml
404
- - test/rm_sub_test.rb
405
- - test/rm_test.rb
406
- - test/test_generic_spreadsheet.rb
407
- - test/test_helper.rb
408
- - test/test_roo.rb
263
+ test_files: []