Skip to content

Commit ca7d6f3

Browse files
committed
Publish v0.8.0
1 parent 44214c7 commit ca7d6f3

2 files changed

Lines changed: 10 additions & 12 deletions

File tree

README.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SQLiteAdapter
22

3-
[![Swift](https://img.shields.io/badge/Swift-5-orange.svg?style=flat)](https://swift.org)
3+
[![Swift](https://img.shields.io/badge/Swift-6-orange.svg?style=flat)](https://swift.org)
44
[![Platform](https://img.shields.io/badge/platform-iOS%20%7C%20macOS%20%7C%20watchOS%20%7C%20tvOS%20%7C%20Linux-lightgrey.svg)](https://developer.apple.com/swift/)
55

66
A simple wrapper around SQLite3.
@@ -14,7 +14,7 @@ To install SQLiteAdapter using [Swift Package Manager](https://swift.org/package
1414

1515
```swift
1616
dependencies: [
17-
.package(url: "https://github.com/denissimon/SQLiteAdapter.git", from: "0.7.5")
17+
.package(url: "https://github.com/denissimon/SQLiteAdapter.git", from: "0.8.0")
1818
]
1919
```
2020

@@ -30,7 +30,7 @@ Enter Package URL: https://github.com/denissimon/SQLiteAdapter
3030
To install SQLiteAdapter using [CocoaPods](https://cocoapods.org), add this line to your `Podfile`:
3131

3232
```ruby
33-
pod 'SQLiteAdapter', '~> 0.7'
33+
pod 'SQLiteAdapter', '~> 0.8'
3434
```
3535

3636
#### Carthage
@@ -150,19 +150,17 @@ Supported SQLite types
150150
----------------------
151151

152152
```swift
153-
case INT // Includes INT, INTEGER, INT2, INT8, BIGINT, MEDIUMINT, SMALLINT, TINYINT
154-
case BOOL // Includes BOOL, BOOLEAN, BIT
155-
case TEXT // Includes TEXT, CHAR, CHARACTER, VARCHAR, CLOB, VARIANT, VARYING_CHARACTER, NATIONAL_VARYING_CHARACTER, NATIVE_CHARACTER, NCHAR, NVARCHAR
156-
case REAL // Includes REAL, DOUBLE, FLOAT, NUMERIC, DECIMAL, DOUBLE_PRECISION
157-
case BLOB // Includes BLOB, BINARY, VARBINARY
158-
case DATE // Includes DATE, DATETIME, TIME, TIMESTAMP
153+
INT // Includes INT, INTEGER, INT2, INT8, BIGINT, MEDIUMINT, SMALLINT, TINYINT
154+
BOOL // Includes BOOL, BOOLEAN, BIT
155+
TEXT // Includes TEXT, CHAR, CHARACTER, VARCHAR, CLOB, VARIANT, VARYING_CHARACTER, NATIONAL_VARYING_CHARACTER, NATIVE_CHARACTER, NCHAR, NVARCHAR
156+
REAL // Includes REAL, DOUBLE, FLOAT, NUMERIC, DECIMAL, DOUBLE_PRECISION
157+
BLOB // Includes BLOB, BINARY, VARBINARY
158+
DATE // Includes DATE, DATETIME, TIME, TIMESTAMP
159159
```
160160

161161
Public methods
162162
--------------
163163

164-
Can be extended and customized by inheriting the [SQLite](https://github.com/denissimon/SQLiteAdapter/blob/main/Sources/SQLiteAdapter/SQLiteAdapter.swift) class.
165-
166164
```swift
167165
func createTable(sql: String) throws
168166
func checkIfTableExists(_ table: SQLTable) throws -> Bool

SQLiteAdapter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'SQLiteAdapter'
3-
s.version = '0.7.5'
3+
s.version = '0.8.0'
44
s.homepage = 'https://github.com/denissimon/SQLiteAdapter'
55
s.authors = { 'Denis Simon' => 'denis.v.simon@gmail.com' }
66
s.summary = 'A simple wrapper around SQLite3'

0 commit comments

Comments
 (0)