diff --git a/XcodeServerSDK.podspec b/XcodeServerSDK.podspec index 850e44c..3eb4623 100644 --- a/XcodeServerSDK.podspec +++ b/XcodeServerSDK.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "XcodeServerSDK" - s.version = "0.5.5" + s.version = "0.5.6" s.summary = "Access Xcode Server API with native Swift objects." s.homepage = "https://github.com/czechboy0/XcodeServerSDK" diff --git a/XcodeServerSDK/XcodeServerConfig.swift b/XcodeServerSDK/XcodeServerConfig.swift index 19fb92a..e10520d 100644 --- a/XcodeServerSDK/XcodeServerConfig.swift +++ b/XcodeServerSDK/XcodeServerConfig.swift @@ -45,7 +45,6 @@ public struct XcodeServerConfig : JSONSerializable { dict[Keys.Id] = self.id dict[Keys.Host] = self.host dict.optionallyAddValueForKey(self.user, key: Keys.User) - dict.optionallyAddValueForKey(self.password, key: Keys.Password) return dict } @@ -89,10 +88,6 @@ public struct XcodeServerConfig : JSONSerializable { throw ConfigurationErrors.InvalidSchemeProvided(errMsg) } - guard user?.isEmpty == password?.isEmpty else { - throw ConfigurationErrors.InvalidCredentialsProvided - } - // validate if host is a valid URL if url.scheme.isEmpty { // exted host with https scheme