lib/spreadsheet_architect/utils.rb in spreadsheet_architect-3.2.1 vs lib/spreadsheet_architect/utils.rb in spreadsheet_architect-3.3.0

- old
+ new

@@ -209,18 +209,19 @@ def self.verify_option_types(options) check_option_type(options, :spreadsheet_columns, [Proc, Symbol, String]) check_option_type(options, :data, Array) check_option_type(options, :instances, Array) - check_option_type(options, :headers, [TrueClass, Array]) + check_option_type(options, :headers, [TrueClass, FalseClass, Array]) check_option_type(options, :header_style, Hash) check_option_type(options, :row_style, Hash) check_option_type(options, :column_styles, Array) check_option_type(options, :range_styles, Array) check_option_type(options, :conditional_row_styles, Array) check_option_type(options, :merges, Array) check_option_type(options, :borders, Array) check_option_type(options, :column_widths, Array) + check_option_type(options, :column_types, Array) end def self.stringify_keys(hash={}) new_hash = {} hash.each do |k,v|