Skip to content

Commit

Permalink
Merge pull request #53 from amco/51_update_afnetworking_pod
Browse files Browse the repository at this point in the history
Update AFNetworking pod
  • Loading branch information
SergeyKuryanov authored Jul 10, 2018
2 parents 5d0961f + 885b32b commit 5c6da31
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 23 deletions.
34 changes: 14 additions & 20 deletions Demo/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
PODS:
- AFNetworking (2.6.3):
- AFNetworking/NSURLConnection (= 2.6.3)
- AFNetworking/NSURLSession (= 2.6.3)
- AFNetworking/Reachability (= 2.6.3)
- AFNetworking/Security (= 2.6.3)
- AFNetworking/Serialization (= 2.6.3)
- AFNetworking/UIKit (= 2.6.3)
- AFNetworking/NSURLConnection (2.6.3):
- AFNetworking (3.2.1):
- AFNetworking/NSURLSession (= 3.2.1)
- AFNetworking/Reachability (= 3.2.1)
- AFNetworking/Security (= 3.2.1)
- AFNetworking/Serialization (= 3.2.1)
- AFNetworking/UIKit (= 3.2.1)
- AFNetworking/NSURLSession (3.2.1):
- AFNetworking/Reachability
- AFNetworking/Security
- AFNetworking/Serialization
- AFNetworking/NSURLSession (2.6.3):
- AFNetworking/Reachability
- AFNetworking/Security
- AFNetworking/Serialization
- AFNetworking/Reachability (2.6.3)
- AFNetworking/Security (2.6.3)
- AFNetworking/Serialization (2.6.3)
- AFNetworking/UIKit (2.6.3):
- AFNetworking/NSURLConnection
- AFNetworking/Reachability (3.2.1)
- AFNetworking/Security (3.2.1)
- AFNetworking/Serialization (3.2.1)
- AFNetworking/UIKit (3.2.1):
- AFNetworking/NSURLSession
- librato-iOS (1.2.2):
- AFNetworking (~> 2.0)
- AFNetworking (~> 3.2)
- Mantle (~> 2.1)
- Mantle (2.1.0):
- Mantle/extobjc (= 2.1.0)
Expand All @@ -40,8 +34,8 @@ EXTERNAL SOURCES:
:path: "../librato-iOS.podspec"

SPEC CHECKSUMS:
AFNetworking: cb8d14a848e831097108418f5d49217339d4eb60
librato-iOS: e66bc97e62ef9aa7ca8b94ed318595c8b86cc81d
AFNetworking: b6f891fdfaed196b46c7a83cf209e09697b94057
librato-iOS: 1e81d75af883abe3f588f2ba3b29efd6379c4dfe
Mantle: 2fa750afa478cd625a94230fbf1c13462f29395b

PODFILE CHECKSUM: 5817b13129eeec85d2fa75a097e506a23de0ee12
Expand Down
2 changes: 1 addition & 1 deletion librato-iOS.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ Pod::Spec.new do |s|
s.exclude_files = 'Demo'
s.requires_arc = true

s.dependency 'AFNetworking', '~> 2.0'
s.dependency 'AFNetworking', '~> 3.2'
s.dependency 'Mantle', '~> 2.1'
end
4 changes: 2 additions & 2 deletions librato-iOS/Classes/LibratoClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ - (void)getMetric:(NSString *)name options:(NSDictionary *)options
}

NSString *path = [NSString stringWithFormat:@"metrics/%@", name];
[self GET:path parameters:query
[self GET:path parameters:query progress:nil
success:^(NSURLSessionDataTask *task, id JSON) {
if (success)
{
Expand Down Expand Up @@ -230,7 +230,7 @@ - (void)sendPayload:(NSDictionary *)payload withSuccess:(ClientSuccessBlock)succ

[self.queue clear];

[self POST:@"metrics" parameters:payload
[self POST:@"metrics" parameters:payload progress:nil
success:^(NSURLSessionDataTask *task, id JSON) {
if (success)
{
Expand Down

0 comments on commit 5c6da31

Please sign in to comment.