diff --git a/Example/RxRestClient.xcodeproj/project.pbxproj b/Example/RxRestClient.xcodeproj/project.pbxproj index d73edfa..2162d53 100644 --- a/Example/RxRestClient.xcodeproj/project.pbxproj +++ b/Example/RxRestClient.xcodeproj/project.pbxproj @@ -74,7 +74,7 @@ 9A39C51F206A6F180036BA02 /* UIImage+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIImage+Extensions.swift"; sourceTree = ""; }; A42DAEEC8A3AEE1412D49087 /* Pods-RxRestClient_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RxRestClient_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RxRestClient_Example/Pods-RxRestClient_Example.debug.xcconfig"; sourceTree = ""; }; A69909A321AE479CD71890C3 /* Pods_RxRestClient_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RxRestClient_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - C5407349FC1D9AC921C11477 /* RxRestClient.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = RxRestClient.podspec; path = ../RxRestClient.podspec; sourceTree = ""; }; + C5407349FC1D9AC921C11477 /* RxRestClient.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = RxRestClient.podspec; path = ../RxRestClient.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; C8286D04B278F325D5FEBCD8 /* Pods_RxRestClient_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RxRestClient_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; F2D69DA486E24050EF561D90 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; /* End PBXFileReference section */ diff --git a/RxRestClient.podspec b/RxRestClient.podspec index f83f25c..c88545d 100644 --- a/RxRestClient.podspec +++ b/RxRestClient.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'RxRestClient' - s.version = '0.1.3' + s.version = '0.1.4' s.summary = 'Simple REST Client based on RxSwift and Alamofire.' s.description = <<-DESC diff --git a/RxRestClient/Classes/RxRestClient.swift b/RxRestClient/Classes/RxRestClient.swift index a124e3c..46674d9 100644 --- a/RxRestClient/Classes/RxRestClient.swift +++ b/RxRestClient/Classes/RxRestClient.swift @@ -220,7 +220,7 @@ open class RxRestClient { /// - endpoint: Relative path of endpoint which will be appended to baseUrl /// - array: array representing body of request, default value is empty /// - Returns: An observable of a the response state - public func delete(_ endpoint: String, array: [Any] = []) -> Observable { + public func delete(_ endpoint: String, array: [Any]) -> Observable { guard let url = buildURL(endpoint) else { return Observable.error(RxRestClientError.urlBuildFailed) } @@ -233,7 +233,7 @@ open class RxRestClient { /// - url: absalute url /// - array: array representing body of request, default value is empty /// - Returns: An observable of a the response state - public func delete(url: URL, array: [Any] = []) -> Observable { + public func delete(url: URL, array: [Any]) -> Observable { return run(request(.delete, url, array: array)) }