lib/roo.rb in roo-1.9.7 vs lib/roo.rb in roo-1.10.0
- old
+ new
@@ -1,11 +1,11 @@
# require 'todo_gem'
module Roo
# :stopdoc:
- VERSION = '1.9.7'
+ VERSION = '1.10.0'
LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
# :startdoc:
# Returns the version string for the library.
@@ -52,10 +52,12 @@
Excel.new(file)
when '.xlsx'
Excelx.new(file)
when '.ods'
Openoffice.new(file)
+ when '.csv'
+ Csv.new(file)
# when ''
else
Google.new(file)
# else
# raise ArgumentError, "Don't know how to open file #{file}"
@@ -68,9 +70,10 @@
require 'roo/generic_spreadsheet'
require 'roo/openoffice'
require 'roo/excel'
require 'roo/excelx'
require 'roo/google'
+require 'roo/csv'
#Roo.require_all_libs_relative_to(__FILE__)
# EOF