-
Notifications
You must be signed in to change notification settings - Fork 1
/
Fetcher.podspec
42 lines (36 loc) · 1.85 KB
/
Fetcher.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Pod::Spec.new do |spec|
spec.name = "Fetcher"
spec.version = "0.3.1"
spec.summary = "Swift HTTP networking library."
spec.description = <<-DESC
Fetcher is a small HTTP networking library for Swift. Its main goal is to simplify common tasks like sending REST requests. Networking is a very complex subject and our goal is not to cover everything that can be done. But we provide API that allows you to implement what you need or to customize behavior of Fetcher (this is handy if your server for some reason does not obey any standard).
DESC
spec.homepage = "https://github.com/Brightify/Fetcher"
spec.license = 'MIT'
spec.author = { "Tadeas Kriz" => "tadeas@brightify.org", "Filip Dolnik" => "filip@brightify.org" }
spec.source = {
:git => "https://github.com/Brightify/Fetcher.git",
:tag => spec.version.to_s
}
spec.social_media_url = 'https://twitter.com/BrightifyOrg'
spec.requires_arc = true
spec.ios.deployment_target = '8.0'
spec.osx.deployment_target = '10.11'
spec.frameworks = 'Foundation'
spec.subspec 'Core' do |subspec|
subspec.dependency 'DataMapper', '~> 0.2'
subspec.dependency 'Result', '~> 3.2'
subspec.source_files = 'Source/Core/**/*.swift'
end
spec.subspec 'AlamofireRequestPerformer' do |subspec|
subspec.dependency 'Fetcher/Core'
subspec.dependency 'Alamofire', '~> 4.3'
subspec.source_files = 'Source/AlamofireRequestPerformer/**/*.swift'
end
spec.subspec 'RxFetcher' do |subspec|
subspec.dependency 'Fetcher/Core'
subspec.dependency 'RxSwift', '~> 4.0'
subspec.source_files = 'Source/RxFetcher/**/*.swift'
end
spec.default_subspecs = 'Core', 'AlamofireRequestPerformer'
end