examples/shared_setup.rb in adapter-cassanity-0.3.0 vs examples/shared_setup.rb in adapter-cassanity-0.4.0

- old
+ new

@@ -6,13 +6,11 @@ lib_path = root_path.join('lib') $:.unshift(lib_path) require 'adapter/cassanity' -client = CassandraCQL::Database.new('127.0.0.1:9160') -executor = Cassanity::Executors::CassandraCql.new(client: client) -connection = Cassanity::Connection.new(executor: executor) -keyspace = connection.keyspace('adapter_cassanity') +client = Cassanity::Client.new('127.0.0.1:9160') +keyspace = client.keyspace(:adapter_cassanity) keyspace.recreate AppsCF = keyspace.column_family(:apps, { schema: Cassanity::Schema.new({ primary_key: :id,