From 8280a21a23d44aa90177e2bc041d0b8dc8556f4b Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Mon, 12 Jun 2017 03:37:11 -0400 Subject: Import Upstream version 2.7.1 --- test/all_ss.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/all_ss.rb (limited to 'test/all_ss.rb') diff --git a/test/all_ss.rb b/test/all_ss.rb new file mode 100644 index 0000000..d6669ba --- /dev/null +++ b/test/all_ss.rb @@ -0,0 +1,12 @@ +require 'roo' + +Dir.glob('test/files/*.ods').each do |fn| + begin + oo = Roo::OpenOffice.new fn + print "#{File.basename(fn)} " + puts oo.officeversion + rescue Zip::ZipError, Errno::ENOENT => e + # file is not a real .ods spreadsheet file + puts e.message + end +end -- cgit v1.2.3