Skip to content

Commit

Permalink
Merge pull request #277 from ably/fix-warnings
Browse files Browse the repository at this point in the history
Fix warnings
  • Loading branch information
ricardopereira committed Mar 4, 2016
2 parents 2398b95 + 6833101 commit 6fc7c71
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Ably.xcodeproj/xcshareddata/xcschemes/Ably.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "856AAC891B6E304B00B07119"
BuildableName = "AblyTests.xctest"
BuildableName = "AblySpec.xctest"
BlueprintName = "AblySpec"
ReferencedContainer = "container:Ably.xcodeproj">
</BuildableReference>
Expand Down
8 changes: 4 additions & 4 deletions Ably.xcodeproj/xcshareddata/xcschemes/AblySpec.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "856AAC891B6E304B00B07119"
BuildableName = "AblyTests.xctest"
BuildableName = "AblySpec.xctest"
BlueprintName = "AblySpec"
ReferencedContainer = "container:Ably.xcodeproj">
</BuildableReference>
Expand All @@ -33,7 +33,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "856AAC891B6E304B00B07119"
BuildableName = "AblyTests.xctest"
BuildableName = "AblySpec.xctest"
BlueprintName = "AblySpec"
ReferencedContainer = "container:Ably.xcodeproj">
</BuildableReference>
Expand All @@ -56,7 +56,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "856AAC891B6E304B00B07119"
BuildableName = "AblyTests.xctest"
BuildableName = "AblySpec.xctest"
BlueprintName = "AblySpec"
ReferencedContainer = "container:Ably.xcodeproj">
</BuildableReference>
Expand All @@ -74,7 +74,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "856AAC891B6E304B00B07119"
BuildableName = "AblyTests.xctest"
BuildableName = "AblySpec.xctest"
BlueprintName = "AblySpec"
ReferencedContainer = "container:Ably.xcodeproj">
</BuildableReference>
Expand Down
2 changes: 1 addition & 1 deletion Source/ARTHttp.m
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ - (void)executeRequest:(NSMutableURLRequest *)request completion:(void (^)(NSHTT
return [self makeRequest:[[ARTHttpRequest alloc] initWithMethod:method url:url headers:headers body:body] callback:cb];
}

- (id<ARTCancellable>)makeRequest:(ARTHttpRequest *)artRequest callback:(void (^)(ARTHttpResponse *))cb __deprecated {
- (id<ARTCancellable>)makeRequest:(ARTHttpRequest *)artRequest callback:(void (^)(ARTHttpResponse *))cb {

if(![artRequest.method isEqualToString:@"GET"] && ![artRequest.method isEqualToString:@"POST"]){
[NSException raise:@"Http method must be GET or POST" format:@""];
Expand Down

0 comments on commit 6fc7c71

Please sign in to comment.