Skip to content

Commit

Permalink
update podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Fidetro committed Oct 31, 2018
1 parent 97fa555 commit b0faa33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PSea.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ Pod::Spec.new do |s|
s.author = { "fidetro" => "zykzzzz@hotmail.com" }
s.platform = :ios, "8.0"
s.source = { :git => "https://github.com/Fidetro/PSea.git", :tag => "1.1.5" }
s.source_files = "../Source/PSea/*.{h,m,swift}"
s.source_files = "Source/PSea/*.{h,m,swift}"

s.dependency "Alamofire","~> 4.7.3"

s.subspec "RxSwift" do |ss|
ss.source_files = "../Source/PSea/*.{h,m,swift}","../Source/Rx/*.{h,m,swift}"
ss.source_files = "Source/PSea/*.{h,m,swift}","Source/PSea/*.{h,m,swift}"
ss.dependency "Alamofire","~> 4.7.3"
ss.dependency "RxSwift", "~> 4.0"
ss.dependency "RxSwift", "~> 4.3.1"
end
end
1 change: 1 addition & 0 deletions Source/Rx/PSea+Rx.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public extension Reactive where Base: PSea {
}

public func upload<T:Decodable>(multipartFormData: @escaping (MultipartFormData) -> Void, map type:T.Type?=nil) -> Observable<Result<T>> {

guard let type = type else {

return Observable.create({ [weak base] (observer) -> Disposable in
Expand Down

0 comments on commit b0faa33

Please sign in to comment.