roo 1.11.0 → 1.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ == 1.11.1 2013-03-18
2
+
3
+ * 1 bugfix
4
+ * Exclude test/log/roo.log test log file from the gemspec in order to avoid a
5
+ rubygems warning: https://github.com/Empact/roo/pull/26
6
+
1
7
  == 1.11.0 2013-03-14
2
8
 
3
9
  * 3 enhancements
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
1
+ 1.11.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "roo"
8
- s.version = "1.11.0"
8
+ s.version = "1.11.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Thomas Preymesser", "Hugh McGowan", "Ben Woosley"]
12
- s.date = "2013-03-14"
12
+ s.date = "2013-03-18"
13
13
  s.description = "Roo can access the contents of various spreadsheet files. It can handle\n* Openoffice\n* Excel\n* Google spreadsheets\n* Excelx\n* Libreoffice\n* CSV"
14
14
  s.email = "ruby.ruby.ruby.roo@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -160,12 +160,12 @@ Gem::Specification.new do |s|
160
160
  s.require_paths = ["lib"]
161
161
  s.required_ruby_version = Gem::Requirement.new(">= 1.9.0")
162
162
  s.rubyforge_project = "roo"
163
- s.rubygems_version = "2.0.0"
163
+ s.rubygems_version = "1.8.24"
164
164
  s.summary = "Roo can access the contents of various spreadsheet files."
165
- s.test_files = ["spec/lib/roo/excelx/format_spec.rb", "spec/spec_helper.rb", "test/all_ss.rb", "test/files/1900_base.xls", "test/files/1904_base.xls", "test/files/bad_excel_date.xls", "test/files/bbu.ods", "test/files/bbu.xls", "test/files/bbu.xlsx", "test/files/bbu.xml", "test/files/Bibelbund.csv", "test/files/Bibelbund.ods", "test/files/Bibelbund.xls", "test/files/Bibelbund.xlsx", "test/files/Bibelbund.xml", "test/files/Bibelbund1.ods", "test/files/bode-v1.ods.zip", "test/files/bode-v1.xls.zip", "test/files/boolean.ods", "test/files/boolean.xls", "test/files/boolean.xlsx", "test/files/boolean.xml", "test/files/borders.ods", "test/files/borders.xls", "test/files/borders.xlsx", "test/files/borders.xml", "test/files/bug-row-column-fixnum-float.xls", "test/files/bug-row-column-fixnum-float.xml", "test/files/comments.ods", "test/files/comments.xls", "test/files/comments.xlsx", "test/files/csvtypes.csv", "test/files/datetime.ods", "test/files/datetime.xls", "test/files/datetime.xlsx", "test/files/datetime.xml", "test/files/datetime_floatconv.xls", "test/files/datetime_floatconv.xml", "test/files/dreimalvier.ods", "test/files/emptysheets.ods", "test/files/emptysheets.xls", "test/files/emptysheets.xlsx", "test/files/emptysheets.xml", "test/files/excel2003.xml", "test/files/false_encoding.xls", "test/files/false_encoding.xml", "test/files/formula.ods", "test/files/formula.xls", "test/files/formula.xlsx", "test/files/formula.xml", "test/files/formula_parse_error.xls", "test/files/formula_parse_error.xml", "test/files/formula_string_error.xlsx", "test/files/html-escape.ods", "test/files/matrix.ods", "test/files/matrix.xls", "test/files/named_cells.ods", "test/files/named_cells.xls", "test/files/named_cells.xlsx", "test/files/no_spreadsheet_file.txt", "test/files/numbers1.csv", "test/files/numbers1.ods", "test/files/numbers1.xls", "test/files/numbers1.xlsx", "test/files/numbers1.xml", "test/files/only_one_sheet.ods", "test/files/only_one_sheet.xls", "test/files/only_one_sheet.xlsx", "test/files/only_one_sheet.xml", "test/files/paragraph.ods", "test/files/paragraph.xls", "test/files/paragraph.xlsx", "test/files/paragraph.xml", "test/files/Pfand_from_windows_phone.xlsx", "test/files/prova.xls", "test/files/ric.ods", "test/files/simple_spreadsheet.ods", "test/files/simple_spreadsheet.xls", "test/files/simple_spreadsheet.xlsx", "test/files/simple_spreadsheet.xml", "test/files/simple_spreadsheet_from_italo.ods", "test/files/simple_spreadsheet_from_italo.xls", "test/files/simple_spreadsheet_from_italo.xml", "test/files/so_datetime.csv", "test/files/style.ods", "test/files/style.xls", "test/files/style.xlsx", "test/files/style.xml", "test/files/time-test.csv", "test/files/time-test.ods", "test/files/time-test.xls", "test/files/time-test.xlsx", "test/files/time-test.xml", "test/files/type_excel.ods", "test/files/type_excel.xlsx", "test/files/type_excelx.ods", "test/files/type_excelx.xls", "test/files/type_openoffice.xls", "test/files/type_openoffice.xlsx", "test/files/whitespace.ods", "test/files/whitespace.xls", "test/files/whitespace.xlsx", "test/files/whitespace.xml", "test/log/roo.log", "test/rm_sub_test.rb", "test/rm_test.rb", "test/test_generic_spreadsheet.rb", "test/test_helper.rb", "test/test_roo.rb"]
165
+ s.test_files = ["spec/lib/roo/excelx/format_spec.rb", "spec/spec_helper.rb", "test/all_ss.rb", "test/files/1900_base.xls", "test/files/1904_base.xls", "test/files/Bibelbund.csv", "test/files/Bibelbund.ods", "test/files/Bibelbund.xls", "test/files/Bibelbund.xlsx", "test/files/Bibelbund.xml", "test/files/Bibelbund1.ods", "test/files/Pfand_from_windows_phone.xlsx", "test/files/bad_excel_date.xls", "test/files/bbu.ods", "test/files/bbu.xls", "test/files/bbu.xlsx", "test/files/bbu.xml", "test/files/bode-v1.ods.zip", "test/files/bode-v1.xls.zip", "test/files/boolean.ods", "test/files/boolean.xls", "test/files/boolean.xlsx", "test/files/boolean.xml", "test/files/borders.ods", "test/files/borders.xls", "test/files/borders.xlsx", "test/files/borders.xml", "test/files/bug-row-column-fixnum-float.xls", "test/files/bug-row-column-fixnum-float.xml", "test/files/comments.ods", "test/files/comments.xls", "test/files/comments.xlsx", "test/files/csvtypes.csv", "test/files/datetime.ods", "test/files/datetime.xls", "test/files/datetime.xlsx", "test/files/datetime.xml", "test/files/datetime_floatconv.xls", "test/files/datetime_floatconv.xml", "test/files/dreimalvier.ods", "test/files/emptysheets.ods", "test/files/emptysheets.xls", "test/files/emptysheets.xlsx", "test/files/emptysheets.xml", "test/files/excel2003.xml", "test/files/false_encoding.xls", "test/files/false_encoding.xml", "test/files/formula.ods", "test/files/formula.xls", "test/files/formula.xlsx", "test/files/formula.xml", "test/files/formula_parse_error.xls", "test/files/formula_parse_error.xml", "test/files/formula_string_error.xlsx", "test/files/html-escape.ods", "test/files/matrix.ods", "test/files/matrix.xls", "test/files/named_cells.ods", "test/files/named_cells.xls", "test/files/named_cells.xlsx", "test/files/no_spreadsheet_file.txt", "test/files/numbers1.csv", "test/files/numbers1.ods", "test/files/numbers1.xls", "test/files/numbers1.xlsx", "test/files/numbers1.xml", "test/files/only_one_sheet.ods", "test/files/only_one_sheet.xls", "test/files/only_one_sheet.xlsx", "test/files/only_one_sheet.xml", "test/files/paragraph.ods", "test/files/paragraph.xls", "test/files/paragraph.xlsx", "test/files/paragraph.xml", "test/files/prova.xls", "test/files/ric.ods", "test/files/simple_spreadsheet.ods", "test/files/simple_spreadsheet.xls", "test/files/simple_spreadsheet.xlsx", "test/files/simple_spreadsheet.xml", "test/files/simple_spreadsheet_from_italo.ods", "test/files/simple_spreadsheet_from_italo.xls", "test/files/simple_spreadsheet_from_italo.xml", "test/files/so_datetime.csv", "test/files/style.ods", "test/files/style.xls", "test/files/style.xlsx", "test/files/style.xml", "test/files/time-test.csv", "test/files/time-test.ods", "test/files/time-test.xls", "test/files/time-test.xlsx", "test/files/time-test.xml", "test/files/type_excel.ods", "test/files/type_excel.xlsx", "test/files/type_excelx.ods", "test/files/type_excelx.xls", "test/files/type_openoffice.xls", "test/files/type_openoffice.xlsx", "test/files/whitespace.ods", "test/files/whitespace.xls", "test/files/whitespace.xlsx", "test/files/whitespace.xml", "test/rm_sub_test.rb", "test/rm_test.rb", "test/test_generic_spreadsheet.rb", "test/test_helper.rb", "test/test_roo.rb"]
166
166
 
167
167
  if s.respond_to? :specification_version then
168
- s.specification_version = 4
168
+ s.specification_version = 3
169
169
 
170
170
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
171
171
  s.add_runtime_dependency(%q<spreadsheet>, ["> 0.6.4"])
@@ -1,5 +1,6 @@
1
1
  # require deps
2
2
  require 'tmpdir'
3
+ require 'fileutils'
3
4
  require 'test/unit'
4
5
  require 'shoulda'
5
6
  require 'fileutils'
@@ -13,14 +14,10 @@ require File.dirname(__FILE__) + '/../lib/roo'
13
14
 
14
15
  TESTDIR = File.join(File.dirname(__FILE__), 'files')
15
16
 
16
- LOG_DIR = File.join(File.dirname(__FILE__),'log')
17
- LOG_FILE = File.join(LOG_DIR,'roo.log')
18
-
19
- test_dirs = Dir.glob(File.dirname(__FILE__)+'/*')
20
- unless test_dirs.include?(LOG_DIR)
21
- Dir.mkdir(LOG_DIR)
22
- end
17
+ LOG_DIR = File.join(File.dirname(__FILE__),'../log')
18
+ FileUtils.mkdir_p(LOG_DIR)
23
19
 
20
+ LOG_FILE = File.join(LOG_DIR,'roo_test.log')
24
21
  $log = Logger.new(LOG_FILE)
25
22
 
26
23
  #$log.level = Logger::WARN
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.11.1
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Thomas Preymesser
@@ -10,72 +11,85 @@ authors:
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
- date: 2013-03-14 00:00:00.000000000 Z
14
+ date: 2013-03-18 00:00:00.000000000 Z
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: spreadsheet
17
18
  requirement: !ruby/object:Gem::Requirement
19
+ none: false
18
20
  requirements:
19
- - - '>'
21
+ - - ! '>'
20
22
  - !ruby/object:Gem::Version
21
23
  version: 0.6.4
22
24
  type: :runtime
23
25
  prerelease: false
24
26
  version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
25
28
  requirements:
26
- - - '>'
29
+ - - ! '>'
27
30
  - !ruby/object:Gem::Version
28
31
  version: 0.6.4
29
32
  - !ruby/object:Gem::Dependency
30
33
  name: nokogiri
31
34
  requirement: !ruby/object:Gem::Requirement
35
+ none: false
32
36
  requirements:
33
- - - '>='
37
+ - - ! '>='
34
38
  - !ruby/object:Gem::Version
35
39
  version: '0'
36
40
  type: :runtime
37
41
  prerelease: false
38
42
  version_requirements: !ruby/object:Gem::Requirement
43
+ none: false
39
44
  requirements:
40
- - - '>='
45
+ - - ! '>='
41
46
  - !ruby/object:Gem::Version
42
47
  version: '0'
43
48
  - !ruby/object:Gem::Dependency
44
49
  name: rubyzip
45
50
  requirement: !ruby/object:Gem::Requirement
51
+ none: false
46
52
  requirements:
47
- - - '>='
53
+ - - ! '>='
48
54
  - !ruby/object:Gem::Version
49
55
  version: '0'
50
56
  type: :runtime
51
57
  prerelease: false
52
58
  version_requirements: !ruby/object:Gem::Requirement
59
+ none: false
53
60
  requirements:
54
- - - '>='
61
+ - - ! '>='
55
62
  - !ruby/object:Gem::Version
56
63
  version: '0'
57
64
  - !ruby/object:Gem::Dependency
58
65
  name: jeweler
59
66
  requirement: !ruby/object:Gem::Requirement
67
+ none: false
60
68
  requirements:
61
- - - '>='
69
+ - - ! '>='
62
70
  - !ruby/object:Gem::Version
63
71
  version: '0'
64
72
  type: :development
65
73
  prerelease: false
66
74
  version_requirements: !ruby/object:Gem::Requirement
75
+ none: false
67
76
  requirements:
68
- - - '>='
77
+ - - ! '>='
69
78
  - !ruby/object:Gem::Version
70
79
  version: '0'
71
- description: |-
72
- Roo can access the contents of various spreadsheet files. It can handle
80
+ description: ! 'Roo can access the contents of various spreadsheet files. It can handle
81
+
73
82
  * Openoffice
83
+
74
84
  * Excel
85
+
75
86
  * Google spreadsheets
87
+
76
88
  * Excelx
89
+
77
90
  * Libreoffice
78
- * CSV
91
+
92
+ * CSV'
79
93
  email: ruby.ruby.ruby.roo@gmail.com
80
94
  executables: []
81
95
  extensions: []
@@ -220,30 +234,30 @@ files:
220
234
  - website/javascripts/rounded_corners_lite.inc.js
221
235
  - website/stylesheets/screen.css
222
236
  - website/template.rhtml
223
- - test/log/roo.log
224
237
  homepage: http://github.com/Empact/roo
225
238
  licenses:
226
239
  - MIT
227
- metadata: {}
228
240
  post_install_message:
229
241
  rdoc_options: []
230
242
  require_paths:
231
243
  - lib
232
244
  required_ruby_version: !ruby/object:Gem::Requirement
245
+ none: false
233
246
  requirements:
234
- - - '>='
247
+ - - ! '>='
235
248
  - !ruby/object:Gem::Version
236
249
  version: 1.9.0
237
250
  required_rubygems_version: !ruby/object:Gem::Requirement
251
+ none: false
238
252
  requirements:
239
- - - '>='
253
+ - - ! '>='
240
254
  - !ruby/object:Gem::Version
241
255
  version: '0'
242
256
  requirements: []
243
257
  rubyforge_project: roo
244
- rubygems_version: 2.0.0
258
+ rubygems_version: 1.8.24
245
259
  signing_key:
246
- specification_version: 4
260
+ specification_version: 3
247
261
  summary: Roo can access the contents of various spreadsheet files.
248
262
  test_files:
249
263
  - spec/lib/roo/excelx/format_spec.rb
@@ -251,17 +265,18 @@ test_files:
251
265
  - test/all_ss.rb
252
266
  - test/files/1900_base.xls
253
267
  - test/files/1904_base.xls
254
- - test/files/bad_excel_date.xls
255
- - test/files/bbu.ods
256
- - test/files/bbu.xls
257
- - test/files/bbu.xlsx
258
- - test/files/bbu.xml
259
268
  - test/files/Bibelbund.csv
260
269
  - test/files/Bibelbund.ods
261
270
  - test/files/Bibelbund.xls
262
271
  - test/files/Bibelbund.xlsx
263
272
  - test/files/Bibelbund.xml
264
273
  - test/files/Bibelbund1.ods
274
+ - test/files/Pfand_from_windows_phone.xlsx
275
+ - test/files/bad_excel_date.xls
276
+ - test/files/bbu.ods
277
+ - test/files/bbu.xls
278
+ - test/files/bbu.xlsx
279
+ - test/files/bbu.xml
265
280
  - test/files/bode-v1.ods.zip
266
281
  - test/files/bode-v1.xls.zip
267
282
  - test/files/boolean.ods
@@ -319,7 +334,6 @@ test_files:
319
334
  - test/files/paragraph.xls
320
335
  - test/files/paragraph.xlsx
321
336
  - test/files/paragraph.xml
322
- - test/files/Pfand_from_windows_phone.xlsx
323
337
  - test/files/prova.xls
324
338
  - test/files/ric.ods
325
339
  - test/files/simple_spreadsheet.ods
@@ -349,7 +363,6 @@ test_files:
349
363
  - test/files/whitespace.xls
350
364
  - test/files/whitespace.xlsx
351
365
  - test/files/whitespace.xml
352
- - test/log/roo.log
353
366
  - test/rm_sub_test.rb
354
367
  - test/rm_test.rb
355
368
  - test/test_generic_spreadsheet.rb
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 6a137da1f2f8abe53bfecb31c66214ad718ed1d5
4
- data.tar.gz: eb673d0d76d85427481784129cf3772e4f333533
5
- SHA512:
6
- metadata.gz: 74da68c83c1614e5df668bcf6572955431b789f9cb4d372807d5aa74b1d213049dfbb5548d16ae17492f7eead90be8b6bd64eb6933869e2989a3dfb7cb827994
7
- data.tar.gz: 12492ce0a404dc3ab896e9419e13eed72472c02c8dad09c0adce16c7b795b71a148b5eaba76182b572802d0a328ef2035c34b51c4ba1bba29f9d6087dd1e7dbe
@@ -1 +0,0 @@
1
- # Logfile created on 2013-01-31 03:45:08 -0500 by logger.rb/31641