Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Recreate Kassandra source folder 😅 #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let package = Package(
.package(url: "https://github.com/IBM-Swift/BlueSSLService.git", from: "1.0.46")
],
targets: [
.target(name: "Kassandra", dependencies: ["SSLService"], path: "Sources", exclude: ["Kassandra.xcodeproj", "README.md"]),
.target(name: "Kassandra", dependencies: ["SSLService"], exclude: ["Kassandra.xcodeproj", "README.md"]),
.testTarget(name: "KassandraTests", dependencies: ["Kassandra"]),
],
swiftLanguageVersions: [.v5]
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion Sources/Config.swift → Sources/Kassandra/Config.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public final class Config {

let _version: Byte = 0x03

var connection: Kassandra? = nil
var connection: KassandraClient? = nil

var SSLConfig: SSLService.Configuration? = nil

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import SSLService
import Dispatch

public class Kassandra {
public class KassandraClient {

public var delegate: KassandraDelegate? = nil

Expand Down Expand Up @@ -234,7 +234,7 @@
}
}

extension Kassandra {
extension KassandraClient {

/**
Initialize a configuration using a `CA Certificate` directory.
Expand Down Expand Up @@ -300,7 +300,7 @@
}
}

extension Kassandra {
extension KassandraClient {

internal func read() {

Expand Down Expand Up @@ -377,7 +377,7 @@
}

// Custom operators for database
extension Kassandra {
extension KassandraClient {
subscript(_ database: String) -> Bool {
do {
let request = Raw(query: "USE \(database);")
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.