Ver Fonte

Version 2.7.1

Robert M. Ryan há 8 anos atrás
pai
commit
61b9fb76d6
4 ficheiros alterados com 10 adições e 3 exclusões
  1. 7 0
      CHANGES_AND_TODO_LIST.txt
  2. 1 1
      FMDB.podspec
  3. 1 1
      Tests/FMDatabaseTests.m
  4. 1 1
      src/fmdb/FMDatabase.m

+ 7 - 0
CHANGES_AND_TODO_LIST.txt

@@ -3,6 +3,13 @@ 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
+
+    Adjust `valueLong` return type and `resultLong` parameter to suppress warning.
+
+    Fix pointer comparison to avoid static analysis warning in `columnIndexForName`.
+
 2017.05.26 Version 2.7
     Audited library for nullability, offering informational warnings for Objective-C users during static analysis, but significantly changes interface for Swift users, more accurately representing parameters and return values as optional or non-optional, as appropriate.
 

+ 1 - 1
FMDB.podspec

@@ -1,6 +1,6 @@
 Pod::Spec.new do |s|
   s.name = 'FMDB'
-  s.version = '2.7'
+  s.version = '2.7.1'
   s.summary = 'A Cocoa / Objective-C wrapper around SQLite.'
   s.homepage = 'https://github.com/ccgus/fmdb'
   s.license = 'MIT'

+ 1 - 1
Tests/FMDatabaseTests.m

@@ -1125,7 +1125,7 @@ - (void)createCustomFunctions {
 }
 
 - (void)testVersionNumber {
-    XCTAssertTrue([FMDatabase FMDBVersion] == 0x0270); // this is going to break everytime we bump it.
+    XCTAssertTrue([FMDatabase FMDBVersion] == 0x0271); // this is going to break everytime we bump it.
 }
 
 - (void)testExecuteStatements {

+ 1 - 1
src/fmdb/FMDatabase.m

@@ -98,7 +98,7 @@ - (NSURL *)databaseURL {
 }
 
 + (NSString*)FMDBUserVersion {
-    return @"2.7.0";
+    return @"2.7.1";
 }
 
 // returns 0x0240 for version 2.4.  This makes it super easy to do things like: