This repository has been archived by the owner on Mar 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored and fixed issues with retrieving the correct error codes f…
…or PostgreSQLError in case of failures; Added two unit tests for testing PostgreSQLError and PostgresSQLStatusError. Updated package to use latest CPostgresSQL
- Loading branch information
Showing
6 changed files
with
335 additions
and
266 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
import PackageDescription | ||
|
||
let beta = Version(2,0,0, prereleaseIdentifiers: ["beta"]) | ||
|
||
let package = Package( | ||
name: "PostgreSQL", | ||
dependencies: [ | ||
// Module map for `libpq` | ||
.Package(url: "https://github.com/vapor/cpostgresql.git", Version(2,0,0, prereleaseIdentifiers: ["alpha"])), | ||
.Package(url: "https://github.com/vapor-community/cpostgresql.git", beta), | ||
|
||
// Data structure for converting between multiple representations | ||
.Package(url: "https://github.com/vapor/node.git", Version(2,0,0, prereleaseIdentifiers: ["beta"])), | ||
.Package(url: "https://github.com/vapor/node.git", beta), | ||
|
||
// Core extensions, type-aliases, and functions that facilitate common tasks | ||
.Package(url: "https://github.com/vapor/core.git", Version(2,0,0, prereleaseIdentifiers: ["beta"])), | ||
.Package(url: "https://github.com/vapor/core.git", beta), | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.