From 97e9291409947cbf8330dd75f483a73b738bdcf1 Mon Sep 17 00:00:00 2001 From: Casey Barth Date: Wed, 18 Oct 2017 16:24:11 -0400 Subject: [PATCH] Update access level of serverError --- BuckoNetworking.xcodeproj/project.pbxproj | 2 ++ BuckoNetworking/Bucko.swift | 2 +- BuckoNetworking/Info.plist | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/BuckoNetworking.xcodeproj/project.pbxproj b/BuckoNetworking.xcodeproj/project.pbxproj index 6d064ab..ef54c9e 100644 --- a/BuckoNetworking.xcodeproj/project.pbxproj +++ b/BuckoNetworking.xcodeproj/project.pbxproj @@ -734,6 +734,7 @@ 6ABB44F41EF8644F00E344AF /* Release */, ); defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; 6ABB44F81EF8644F00E344AF /* Build configuration list for PBXNativeTarget "BuckoNetworking macOSTests" */ = { isa = XCConfigurationList; @@ -742,6 +743,7 @@ 6ABB44F61EF8644F00E344AF /* Release */, ); defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; diff --git a/BuckoNetworking/Bucko.swift b/BuckoNetworking/Bucko.swift index fd2b923..27ebad9 100644 --- a/BuckoNetworking/Bucko.swift +++ b/BuckoNetworking/Bucko.swift @@ -140,7 +140,7 @@ public struct Bucko { } extension DataResponse { - var serverError: JSON? { + public var serverError: JSON? { guard let data = self.data else { return nil } return JSON(data: data) } diff --git a/BuckoNetworking/Info.plist b/BuckoNetworking/Info.plist index c5ddeda..58241b6 100644 --- a/BuckoNetworking/Info.plist +++ b/BuckoNetworking/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.1.2 + 1.1.3 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass