forked from dduan/Just
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Just.podspec
45 lines (35 loc) · 1.49 KB
/
Just.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
43
44
45
Pod::Spec.new do |s|
s.name = "Just"
s.version = "0.6.0"
s.summary = "Swift HTTP for Humans"
s.description = <<-DESC
Just is a HTTP library with an elegant interface inspired by (python-request)[http://python-request.org]
Features includes:
- URL queries
- custom headers
- form (x-www-form-encoded) / JSON HTTP body
- redirect control
- multpart file upload along with form values.
- basic/digest authentication
- cookies
- timeouts
- synchrounous / asyncrounous requests
- upload / download progress tracking for asynchronous requests
- link headers
- friendly accessible results
DESC
s.homepage = "http://justhttp.net"
s.license = { :type => "MIT", :file => "LICENSE.md" }
s.author = { "Daniel Duan" => "daniel@duan.org" }
s.social_media_url = "https://twitter.com/JustHTTP"
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.10"
s.tvos.deployment_target = "10.0"
s.watchos.deployment_target = "3.0"
s.source = {
:git => "https://github.com/JustHTTP/Just.git",
:tag => "#{s.version}"
}
s.source_files = "Just", "Sources/**/*.{swift}"
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '3.0' }
end