Sha256: a23d988dc17490dcef7bdbeede7193c84740cdc8a15519562e2e886066776dcd
Contents?: true
Size: 506 Bytes
Versions: 7
Compression:
Stored size: 506 Bytes
Contents
#!/usr/bin/env ruby require File.expand_path('../utils_helpers', File.realpath(__FILE__)) include UtilsHelpers def test_ods_folder(folder_path) with_tempfile do | temp_file | relative_compress_to_zip(folder_path, zip_filename: temp_file.path) open_office_document(temp_file.path) end end # Not sure if 'folder' is an accepted name in the linux world. # if __FILE__ == $PROGRAM_NAME folder_path = ARGV[0] || raise("Usage: test_ods_folder.rb <folder>") test_ods_folder(folder_path) end
Version data entries
7 entries across 7 versions & 1 rubygems