From 239db8168d637fffd50532f0a22eff454be00fb1 Mon Sep 17 00:00:00 2001 From: John Estropia Date: Sun, 19 May 2019 01:51:46 +0900 Subject: [PATCH 1/3] remove artifacts from Carthage --- Cartfile | 0 Cartfile.resolved | 0 Sources/CustomSchemaMappingProvider.swift | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 Cartfile delete mode 100644 Cartfile.resolved diff --git a/Cartfile b/Cartfile deleted file mode 100644 index e69de29..0000000 diff --git a/Cartfile.resolved b/Cartfile.resolved deleted file mode 100644 index e69de29..0000000 diff --git a/Sources/CustomSchemaMappingProvider.swift b/Sources/CustomSchemaMappingProvider.swift index 505e530..9dc5a9b 100644 --- a/Sources/CustomSchemaMappingProvider.swift +++ b/Sources/CustomSchemaMappingProvider.swift @@ -121,7 +121,7 @@ public class CustomSchemaMappingProvider: Hashable, SchemaMappingProvider { // MARK: Equatable - public static func ==(lhs: CustomMapping, rhs: CustomMapping) -> Bool { + public static func == (lhs: CustomMapping, rhs: CustomMapping) -> Bool { switch (lhs, rhs) { @@ -324,7 +324,7 @@ public class CustomSchemaMappingProvider: Hashable, SchemaMappingProvider { // MARK: Equatable - public static func ==(lhs: CustomSchemaMappingProvider, rhs: CustomSchemaMappingProvider) -> Bool { + public static func == (lhs: CustomSchemaMappingProvider, rhs: CustomSchemaMappingProvider) -> Bool { return lhs.sourceVersion == rhs.sourceVersion && lhs.destinationVersion == rhs.destinationVersion From 058cc1915b007ce35e7231d017c291051d419d3f Mon Sep 17 00:00:00 2001 From: John Estropia Date: Tue, 27 Aug 2019 14:21:33 +0900 Subject: [PATCH 2/3] fix optimization issues in release build --- Sources/CoreStoreObject+Observing.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/CoreStoreObject+Observing.swift b/Sources/CoreStoreObject+Observing.swift index 81d4365..06db158 100644 --- a/Sources/CoreStoreObject+Observing.swift +++ b/Sources/CoreStoreObject+Observing.swift @@ -462,8 +462,8 @@ extension AttributeProtocol { let notification = CoreStoreObjectValueDiff( kind: kind, - newNativeValue: newValue as! V.QueryableNativeType?, - oldNativeValue: oldValue as! V.QueryableNativeType?, + newNativeValue: newValue as? V.QueryableNativeType, + oldNativeValue: oldValue as? V.QueryableNativeType, isPrior: isPrior ) changeHandler( @@ -485,8 +485,8 @@ extension AttributeProtocol { let notification = CoreStoreObjectTransformableDiff( kind: kind, - newValue: newValue as! V?, - oldValue: oldValue as! V?, + newValue: newValue as? V, + oldValue: oldValue as? V, isPrior: isPrior ) changeHandler( From d42b397090218834d66f656828ea1962acf0a157 Mon Sep 17 00:00:00 2001 From: John Estropia Date: Tue, 27 Aug 2019 14:38:05 +0900 Subject: [PATCH 3/3] version bump --- CoreStore.podspec | 2 +- CoreStoreDemo/CoreStoreDemo/Info.plist | 2 +- Sources/Info.plist | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CoreStore.podspec b/CoreStore.podspec index 77f0e7a..fdb9527 100644 --- a/CoreStore.podspec +++ b/CoreStore.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "CoreStore" - s.version = "6.3.1" + s.version = "6.3.2" s.swift_version = "5.0" s.license = "MIT" s.homepage = "https://github.com/JohnEstropia/CoreStore" diff --git a/CoreStoreDemo/CoreStoreDemo/Info.plist b/CoreStoreDemo/CoreStoreDemo/Info.plist index bdbcece..15874fa 100644 --- a/CoreStoreDemo/CoreStoreDemo/Info.plist +++ b/CoreStoreDemo/CoreStoreDemo/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 6.3.1 + 6.3.2 CFBundleSignature ???? CFBundleVersion diff --git a/Sources/Info.plist b/Sources/Info.plist index 032c5c4..da1d595 100644 --- a/Sources/Info.plist +++ b/Sources/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 6.3.1 + 6.3.2 CFBundleSignature ???? CFBundleVersion