From 4eca983cf6c266b695cd36f02aada4d022288bf9 Mon Sep 17 00:00:00 2001 From: Giuseppe Nucifora Date: Mon, 2 May 2016 10:47:29 +0200 Subject: [PATCH] - Update Pod - Fix setUser in PNinstallation --- Example/Podfile.lock | 4 ++-- Example/Pods/Local Podspecs/PNObject.podspec.json | 4 ++-- Example/Pods/Manifest.lock | 4 ++-- .../Pods.xcodeproj/xcshareddata/xcschemes/PNObject.xcscheme | 2 +- Example/Pods/Target Support Files/PNObject/Info.plist | 2 +- PNObject.podspec | 2 +- Pod/Classes/PNClasses/PNInstallation.m | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 615bd35..7e06100 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -48,7 +48,7 @@ PODS: - CocoaSecurity (~> 1.2.2) - nv-ios-http-status (0.0.1) - PEAR-FileManager-iOS (1.3.1) - - PNObject (0.7.5): + - PNObject (0.8.0): - AFNetworking - CodFis-Helper - DJLocalization @@ -112,7 +112,7 @@ SPEC CHECKSUMS: NSUserDefaults-AESEncryptor: da02cfef056f1e18ebe2748767915f08b274c9c5 nv-ios-http-status: b6c2b5fc8656cc19e0d3000dadce2080b99d0e2f PEAR-FileManager-iOS: 3bc403f68a53483f5629aa822f4649e40275c4d3 - PNObject: 1080cd424dd98dd41d41aa06cc9ca12f1a73fd73 + PNObject: f907e7f4623a24495a2f8aa743dbe58a48f90069 PureLayout: f35f5384c9c4e4479df041dbe33ad7577b71ddfb RZDataBinding: 00d468ebe667f02c2bd5416f87b4b5d826188c4d Specta: ac94d110b865115fe60ff2c6d7281053c6f8e8a2 diff --git a/Example/Pods/Local Podspecs/PNObject.podspec.json b/Example/Pods/Local Podspecs/PNObject.podspec.json index 8df756a..c72f350 100644 --- a/Example/Pods/Local Podspecs/PNObject.podspec.json +++ b/Example/Pods/Local Podspecs/PNObject.podspec.json @@ -1,6 +1,6 @@ { "name": "PNObject", - "version": "0.7.5", + "version": "0.8.0", "summary": "PNObject is a simple replica of the more complex ParseObject", "homepage": "https://github.com/giuseppenucifora/PNObject", "license": "MIT", @@ -9,7 +9,7 @@ }, "source": { "git": "https://github.com/giuseppenucifora/PNObject.git", - "tag": "0.7.5" + "tag": "0.8.0" }, "platforms": { "ios": "8.0" diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock index 615bd35..7e06100 100644 --- a/Example/Pods/Manifest.lock +++ b/Example/Pods/Manifest.lock @@ -48,7 +48,7 @@ PODS: - CocoaSecurity (~> 1.2.2) - nv-ios-http-status (0.0.1) - PEAR-FileManager-iOS (1.3.1) - - PNObject (0.7.5): + - PNObject (0.8.0): - AFNetworking - CodFis-Helper - DJLocalization @@ -112,7 +112,7 @@ SPEC CHECKSUMS: NSUserDefaults-AESEncryptor: da02cfef056f1e18ebe2748767915f08b274c9c5 nv-ios-http-status: b6c2b5fc8656cc19e0d3000dadce2080b99d0e2f PEAR-FileManager-iOS: 3bc403f68a53483f5629aa822f4649e40275c4d3 - PNObject: 1080cd424dd98dd41d41aa06cc9ca12f1a73fd73 + PNObject: f907e7f4623a24495a2f8aa743dbe58a48f90069 PureLayout: f35f5384c9c4e4479df041dbe33ad7577b71ddfb RZDataBinding: 00d468ebe667f02c2bd5416f87b4b5d826188c4d Specta: ac94d110b865115fe60ff2c6d7281053c6f8e8a2 diff --git a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/PNObject.xcscheme b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/PNObject.xcscheme index e402fb2..b34c939 100644 --- a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/PNObject.xcscheme +++ b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/PNObject.xcscheme @@ -14,7 +14,7 @@ buildForArchiving = "YES"> diff --git a/Example/Pods/Target Support Files/PNObject/Info.plist b/Example/Pods/Target Support Files/PNObject/Info.plist index 538e14d..d630b1c 100644 --- a/Example/Pods/Target Support Files/PNObject/Info.plist +++ b/Example/Pods/Target Support Files/PNObject/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.7.5 + 0.8.0 CFBundleSignature ???? CFBundleVersion diff --git a/PNObject.podspec b/PNObject.podspec index ef7352c..4b0e70f 100644 --- a/PNObject.podspec +++ b/PNObject.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = "PNObject" -s.version = "0.7.9" +s.version = "0.8.0" s.summary = "PNObject is a simple replica of the more complex ParseObject" # This description is used to generate tags and improve search results. diff --git a/Pod/Classes/PNClasses/PNInstallation.m b/Pod/Classes/PNClasses/PNInstallation.m index 2864510..08bae50 100644 --- a/Pod/Classes/PNClasses/PNInstallation.m +++ b/Pod/Classes/PNClasses/PNInstallation.m @@ -139,7 +139,7 @@ static bool isFirstAccess = YES; _user = user; [[NSNotificationCenter defaultCenter] postNotificationName:PNObjectLocalNotificationPNInstallationUserChange object:nil]; } - else if (user == nil){ + else if (user == nil && _user){ _user = nil; [[NSNotificationCenter defaultCenter] postNotificationName:PNObjectLocalNotificationPNInstallationUserDelete object:nil]; }