-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathRestKit-PromiseKit.podspec
40 lines (39 loc) · 1.6 KB
/
RestKit-PromiseKit.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
Pod::Spec.new do |s|
s.name = 'RestKit-PromiseKit'
s.version = '0.4.1'
s.summary = 'RestKit category for PromiseKit'
s.description = <<-DESC
Wrapper for the RKObjectManager class to
return a PromiseKit promise.
Promises clean up the structure of code and
provide better data flow and error handling
especially when using asynchronous methods.
DESC
s.homepage = 'https://github.com/cmckni3/RestKit-PromiseKit'
s.license = { type: 'MIT', file: 'MIT-LICENSE' }
s.author = { 'Chris McKnight' => '[email protected]' }
s.social_media_url = 'https://twitter.com/cmckni3'
s.ios.deployment_target = '6.0'
s.osx.deployment_target = '10.7'
s.prefix_header_contents = <<-EOS
#import <Availability.h>
#define _AFNETWORKING_PIN_SSL_CERTIFICATES_
#if __IPHONE_OS_VERSION_MIN_REQUIRED
#import <SystemConfiguration/SystemConfiguration.h>
#import <MobileCoreServices/MobileCoreServices.h>
#import <Security/Security.h>
#else
#import <SystemConfiguration/SystemConfiguration.h>
#import <CoreServices/CoreServices.h>
#import <Security/Security.h>
#endif
EOS
s.source = {
git: 'https://github.com/cmckni3/RestKit-PromiseKit.git',
tag: '0.4.1'
}
s.source_files = 'RestKit-PromiseKit'
s.requires_arc = true
s.dependency 'PromiseKit/Promise', '~> 1.5'
s.dependency 'RestKit', '~> 0.20'
end