- Upgrade Pod
This commit is contained in:
1 parent
9ff44f2497
commit
37cfd6fd23
381 files changed
+3881
-3863
No files matched your search
+42
-41
@@ -70,17 +70,17 @@
|
||||
if (!self) {
|
||||
return nil;
|
||||
}
|
||||
|
||||
|
||||
// Ensure terminal slash for baseURL path, so that NSURL +URLWithString:relativeToURL: works as expected
|
||||
if ([[url path] length] > 0 && ![[url absoluteString] hasSuffix:@"/"]) {
|
||||
url = [url URLByAppendingPathComponent:@""];
|
||||
}
|
||||
|
||||
|
||||
self.baseURL = url;
|
||||
|
||||
|
||||
self.requestSerializer = [AFHTTPRequestSerializer serializer];
|
||||
self.responseSerializer = [AFJSONResponseSerializer serializer];
|
||||
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
@@ -88,13 +88,13 @@
|
||||
|
||||
- (void)setRequestSerializer:(AFHTTPRequestSerializer <AFURLRequestSerialization> *)requestSerializer {
|
||||
NSParameterAssert(requestSerializer);
|
||||
|
||||
|
||||
_requestSerializer = requestSerializer;
|
||||
}
|
||||
|
||||
- (void)setResponseSerializer:(AFHTTPResponseSerializer <AFURLResponseSerialization> *)responseSerializer {
|
||||
NSParameterAssert(responseSerializer);
|
||||
|
||||
|
||||
[super setResponseSerializer:responseSerializer];
|
||||
}
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
|
||||
failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
|
||||
{
|
||||
|
||||
|
||||
return [self GET:URLString parameters:parameters progress:nil success:success failure:failure];
|
||||
}
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
success:(void (^)(NSURLSessionDataTask * _Nonnull, id _Nullable))success
|
||||
failure:(void (^)(NSURLSessionDataTask * _Nullable, NSError * _Nonnull))failure
|
||||
{
|
||||
|
||||
|
||||
NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"GET"
|
||||
URLString:URLString
|
||||
parameters:parameters
|
||||
@@ -123,9 +123,9 @@
|
||||
downloadProgress:downloadProgress
|
||||
success:success
|
||||
failure:failure];
|
||||
|
||||
|
||||
[dataTask resume];
|
||||
|
||||
|
||||
return dataTask;
|
||||
}
|
||||
|
||||
@@ -139,9 +139,9 @@
|
||||
success(task);
|
||||
}
|
||||
} failure:failure];
|
||||
|
||||
|
||||
[dataTask resume];
|
||||
|
||||
|
||||
return dataTask;
|
||||
}
|
||||
|
||||
@@ -160,9 +160,9 @@
|
||||
failure:(void (^)(NSURLSessionDataTask * _Nullable, NSError * _Nonnull))failure
|
||||
{
|
||||
NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"POST" URLString:URLString parameters:parameters uploadProgress:uploadProgress downloadProgress:nil success:success failure:failure];
|
||||
|
||||
|
||||
[dataTask resume];
|
||||
|
||||
|
||||
return dataTask;
|
||||
}
|
||||
|
||||
@@ -193,9 +193,10 @@
|
||||
});
|
||||
#pragma clang diagnostic pop
|
||||
}
|
||||
|
||||
|
||||
return nil;
|
||||
}
|
||||
|
||||
__block NSURLSessionDataTask *task = [self uploadTaskWithStreamedRequest:request progress:uploadProgress completionHandler:^(NSURLResponse * __unused response, id responseObject, NSError *error) {
|
||||
if (error) {
|
||||
if (failure) {
|
||||
@@ -207,9 +208,9 @@
|
||||
}
|
||||
}
|
||||
}];
|
||||
|
||||
|
||||
[task resume];
|
||||
|
||||
|
||||
return task;
|
||||
}
|
||||
|
||||
@@ -219,9 +220,9 @@
|
||||
failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
|
||||
{
|
||||
NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"PUT" URLString:URLString parameters:parameters uploadProgress:nil downloadProgress:nil success:success failure:failure];
|
||||
|
||||
|
||||
[dataTask resume];
|
||||
|
||||
|
||||
return dataTask;
|
||||
}
|
||||
|
||||
@@ -231,9 +232,9 @@
|
||||
failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
|
||||
{
|
||||
NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"PATCH" URLString:URLString parameters:parameters uploadProgress:nil downloadProgress:nil success:success failure:failure];
|
||||
|
||||
|
||||
[dataTask resume];
|
||||
|
||||
|
||||
return dataTask;
|
||||
}
|
||||
|
||||
@@ -243,9 +244,9 @@
|
||||
failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
|
||||
{
|
||||
NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"DELETE" URLString:URLString parameters:parameters uploadProgress:nil downloadProgress:nil success:success failure:failure];
|
||||
|
||||
|
||||
[dataTask resume];
|
||||
|
||||
|
||||
return dataTask;
|
||||
}
|
||||
|
||||
@@ -268,26 +269,26 @@
|
||||
});
|
||||
#pragma clang diagnostic pop
|
||||
}
|
||||
|
||||
|
||||
return nil;
|
||||
}
|
||||
|
||||
|
||||
__block NSURLSessionDataTask *dataTask = nil;
|
||||
dataTask = [self dataTaskWithRequest:request
|
||||
uploadProgress:uploadProgress
|
||||
downloadProgress:downloadProgress
|
||||
completionHandler:^(NSURLResponse * __unused response, id responseObject, NSError *error) {
|
||||
if (error) {
|
||||
if (failure) {
|
||||
failure(dataTask, error);
|
||||
}
|
||||
} else {
|
||||
if (success) {
|
||||
success(dataTask, responseObject);
|
||||
}
|
||||
}
|
||||
}];
|
||||
|
||||
if (error) {
|
||||
if (failure) {
|
||||
failure(dataTask, error);
|
||||
}
|
||||
} else {
|
||||
if (success) {
|
||||
success(dataTask, responseObject);
|
||||
}
|
||||
}
|
||||
}];
|
||||
|
||||
return dataTask;
|
||||
}
|
||||
|
||||
@@ -316,25 +317,25 @@
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
self = [self initWithBaseURL:baseURL sessionConfiguration:configuration];
|
||||
if (!self) {
|
||||
return nil;
|
||||
}
|
||||
|
||||
|
||||
self.requestSerializer = [decoder decodeObjectOfClass:[AFHTTPRequestSerializer class] forKey:NSStringFromSelector(@selector(requestSerializer))];
|
||||
self.responseSerializer = [decoder decodeObjectOfClass:[AFHTTPResponseSerializer class] forKey:NSStringFromSelector(@selector(responseSerializer))];
|
||||
AFSecurityPolicy *decodedPolicy = [decoder decodeObjectOfClass:[AFSecurityPolicy class] forKey:NSStringFromSelector(@selector(securityPolicy))];
|
||||
if (decodedPolicy) {
|
||||
self.securityPolicy = decodedPolicy;
|
||||
}
|
||||
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)encodeWithCoder:(NSCoder *)coder {
|
||||
[super encodeWithCoder:coder];
|
||||
|
||||
|
||||
[coder encodeObject:self.baseURL forKey:NSStringFromSelector(@selector(baseURL))];
|
||||
if ([self.session.configuration conformsToProtocol:@protocol(NSCoding)]) {
|
||||
[coder encodeObject:self.session.configuration forKey:@"sessionConfiguration"];
|
||||
@@ -350,7 +351,7 @@
|
||||
|
||||
- (instancetype)copyWithZone:(NSZone *)zone {
|
||||
AFHTTPSessionManager *HTTPClient = [[[self class] allocWithZone:zone] initWithBaseURL:self.baseURL sessionConfiguration:self.session.configuration];
|
||||
|
||||
|
||||
HTTPClient.requestSerializer = [self.requestSerializer copyWithZone:zone];
|
||||
HTTPClient.responseSerializer = [self.responseSerializer copyWithZone:zone];
|
||||
HTTPClient.securityPolicy = [self.securityPolicy copyWithZone:zone];
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../AFNetworking/UIKit+AFNetworking/AFAutoPurgingImageCache.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../AFNetworking/AFNetworking/AFHTTPSessionManager.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../AFNetworking/UIKit+AFNetworking/AFImageDownloader.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../AFNetworking/AFNetworking/AFNetworkReachabilityManager.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../AFNetworking/AFNetworking/AFNetworking.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../AFNetworking/AFNetworking/AFSecurityPolicy.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../AFNetworking/AFNetworking/AFURLRequestSerialization.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../AFNetworking/AFNetworking/AFURLResponseSerialization.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../AFNetworking/AFNetworking/AFURLSessionManager.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../AFNetworking/UIKit+AFNetworking/UIImage+AFNetworking.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/iOS/BFAppLink.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/iOS/BFAppLinkNavigation.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/iOS/BFAppLinkResolving.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/iOS/BFAppLinkReturnToRefererView.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/iOS/BFAppLinkReturnToRefererView_Internal.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/iOS/BFAppLinkTarget.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/iOS/BFAppLink_Internal.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/Common/BFCancellationToken.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/Common/BFCancellationTokenRegistration.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/Common/BFCancellationTokenSource.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/Common/BFExecutor.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/iOS/BFMeasurementEvent.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/iOS/BFMeasurementEvent_Internal.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/Common/BFTask.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/Common/BFTaskCompletionSource.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/iOS/BFURL.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/iOS/BFURL_Internal.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/iOS/BFWebViewAppLinkResolver.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/Common/Bolts.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Bolts/Bolts/Common/BoltsVersion.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../CocoaSecurity/submodules/Base64/Base64/Base64.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../CocoaSecurity/CocoaSecurity/CocoaSecurity.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../CodFis-Helper/CodFis-Helper/CodFis+Helper.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../CodFis-Helper/CodFis-Helper/CodFisResponse.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../CodFis-Helper/CodFis-Helper/ResponseConstants.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../CodFis-Helper/CodFis-Helper/VatNumber+Helper.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta+Snapshots/EXPMatchers+FBSnapshotTest.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta+Snapshots/ExpectaObject+FBSnapshotTest.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/EXPBlockDefinedMatcher.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/EXPDefines.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/EXPDoubleTuple.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/EXPExpect.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/EXPFloatTuple.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/EXPMatcher.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatcherHelpers.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+beCloseTo.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+beFalsy.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+beGreaterThan.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+beGreaterThanOrEqualTo.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+beIdenticalTo.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+beInTheRangeOf.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+beInstanceOf.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+beKindOf.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+beLessThan.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+beLessThanOrEqualTo.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+beNil.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+beSubclassOf.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+beSupersetOf.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+beTruthy.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+beginWith.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+conformTo.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+contain.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+endWith.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+equal.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+haveCountOf.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+match.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+postNotification.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+raise.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+raiseWithReason.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers+respondTo.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Matchers/EXPMatchers.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/EXPUnsupportedObject.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/Expecta.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/ExpectaObject.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/ExpectaSupport.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/NSObject+Expecta.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../Expecta/Expecta/NSValue+Expecta.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../../FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAccessToken.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../../FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppEvents.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../../FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkResolver.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../../FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkUtility.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../../FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKApplicationDelegate.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../../FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKButton.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../../FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKConstants.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../../FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCopying.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../../FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit.h
|
||||
Generated
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../../../FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphErrorRecoveryProcessor.h
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../../FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequest.h
|
||||
Generated
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../../../FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestConnection.h
|
||||
Generated
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../../../FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestDataAttachment.h
|
||||
Loaded 100 of 381 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user