examples/column_families.rb in cassanity-0.2.2 vs examples/column_families.rb in cassanity-0.3.0

- old
+ new

@@ -1,8 +1,10 @@ require_relative '_shared' require 'cassanity' -client = CassandraCQL::Database.new('127.0.0.1:9160') +client = CassandraCQL::Database.new('127.0.0.1:9160', { + cql_version: '3.0.0', +}) executor = Cassanity::Executors::CassandraCql.new(client: client) connection = Cassanity::Connection.new(executor: executor) keyspace = connection['cassanity_examples'] keyspace.recreate