From d1fc235264cc0f84924115e844ea4dd1ba391c7b Mon Sep 17 00:00:00 2001 From: "Robert M. Ryan" Date: Fri, 9 Jun 2017 22:58:53 -0700 Subject: Version 2.7.2 --- CHANGES_AND_TODO_LIST.txt | 6 +++++- FMDB.podspec | 2 +- Tests/FMDatabaseTests.m | 2 +- src/fmdb/FMDatabase.m | 2 +- src/fmdb/Info.plist | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGES_AND_TODO_LIST.txt b/CHANGES_AND_TODO_LIST.txt index 7d51768..19a2965 100644 --- a/CHANGES_AND_TODO_LIST.txt +++ b/CHANGES_AND_TODO_LIST.txt @@ -4,8 +4,12 @@ Zip, nada, zilch. Got any ideas? If you would like to contribute some code ... awesome! I just ask that you make it conform to the coding conventions already set in here, and to add the necessary of tests for your new code to tests target. And of course, the code should be of general use to more than just a couple of folks. Send your patches to gus@flyingmeat.com. -2017.06.01 Version 2.7.1 +2017.06.01 Version 2.7.2 + Make blocks `nonescaping` (thanks to @benasher44) + + Update method documentation. +2017.06.01 Version 2.7.1 Adjust `valueLong` return type and `resultLong` parameter to suppress warning. Fix pointer comparison to avoid static analysis warning in `columnIndexForName`. diff --git a/FMDB.podspec b/FMDB.podspec index 8a56edf..70a8822 100644 --- a/FMDB.podspec +++ b/FMDB.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'FMDB' - s.version = '2.7.1' + s.version = '2.7.2' s.summary = 'A Cocoa / Objective-C wrapper around SQLite.' s.homepage = 'https://github.com/ccgus/fmdb' s.license = 'MIT' diff --git a/Tests/FMDatabaseTests.m b/Tests/FMDatabaseTests.m index 83415db..e99f888 100644 --- a/Tests/FMDatabaseTests.m +++ b/Tests/FMDatabaseTests.m @@ -1125,7 +1125,7 @@ } - (void)testVersionNumber { - XCTAssertTrue([FMDatabase FMDBVersion] == 0x0271); // this is going to break everytime we bump it. + XCTAssertTrue([FMDatabase FMDBVersion] == 0x0272); // this is going to break everytime we bump it. } - (void)testExecuteStatements { diff --git a/src/fmdb/FMDatabase.m b/src/fmdb/FMDatabase.m index 342c16e..493e772 100644 --- a/src/fmdb/FMDatabase.m +++ b/src/fmdb/FMDatabase.m @@ -98,7 +98,7 @@ NS_ASSUME_NONNULL_END } + (NSString*)FMDBUserVersion { - return @"2.7.1"; + return @"2.7.2"; } // returns 0x0240 for version 2.4. This makes it super easy to do things like: diff --git a/src/fmdb/Info.plist b/src/fmdb/Info.plist index febd1af..d800a6d 100644 --- a/src/fmdb/Info.plist +++ b/src/fmdb/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.7.0 + 2.7.2 CFBundleSignature ???? CFBundleVersion -- cgit v1.2.3