lib/duckdb/result.rb in duckdb-0.10.0.0 vs lib/duckdb/result.rb in duckdb-0.10.1.0

- old
+ new

@@ -22,10 +22,10 @@ # result.each do |row| # p row # end class Result include Enumerable - TO_METHODS = if Gem::Version.new(DuckDB::LIBRARY_VERSION) >= Gem::Version.new('0.10.0') + TO_METHODS = if Gem::Version.new(DuckDB::LIBRARY_VERSION) == Gem::Version.new('0.10.0') Hash.new(:_to_string).merge( 1 => :_to_boolean, 3 => :_to_smallint, 4 => :_to_integer, 5 => :_to_bigint,