Skip to content

Commit

Permalink
bump version to v0.5.1 + clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
pkyeck committed Mar 14, 2014
1 parent 12eef6f commit 952082d
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 69 deletions.
11 changes: 4 additions & 7 deletions SocketIO.h
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
//
// SocketIO.h
// v0.5 ARC
// v0.5.1
//
// based on
// socketio-cocoa https://github.com/fpotter/socketio-cocoa
// by Fred Potter <[email protected]>
//
// using
// https://github.com/square/SocketRocket
// https://github.com/stig/json-framework/
//
// reusing some parts of
// /socket.io/socket.io.js
//
// Created by Philipp Kyeck http://beta-interactive.de
//
// Updated by
// samlown https://github.com/samlown
// kayleg https://github.com/kayleg
// taiyangc https://github.com/taiyangc
// With help from
// https://github.com/pkyeck/socket.IO-objc/blob/master/CONTRIBUTORS.md
//

#import <Foundation/Foundation.h>
Expand Down Expand Up @@ -73,7 +70,7 @@ typedef enum {
BOOL _useSecure;

NSArray *_cookies;

NSURLConnection *_handshake;

// heartbeat
Expand Down
13 changes: 5 additions & 8 deletions SocketIO.m
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
//
// SocketIO.m
// v0.5 ARC
// v0.5.1
//
// based on
// socketio-cocoa https://github.com/fpotter/socketio-cocoa
// by Fred Potter <[email protected]>
//
// using
// https://github.com/square/SocketRocket
// https://github.com/stig/json-framework/
//
// reusing some parts of
// /socket.io/socket.io.js
//
// Created by Philipp Kyeck http://beta-interactive.de
//
// Updated by
// samlown https://github.com/samlown
// kayleg https://github.com/kayleg
// taiyangc https://github.com/taiyangc
// With help from
// https://github.com/pkyeck/socket.IO-objc/blob/master/CONTRIBUTORS.md
//

#import "SocketIO.h"
Expand Down Expand Up @@ -78,7 +75,7 @@ @implementation SocketIO

@synthesize isConnected = _isConnected,
isConnecting = _isConnecting,
useSecure = _useSecure,
useSecure = _useSecure,
cookies = _cookies,
delegate = _delegate,
heartbeatTimeout = _heartbeatTimeout,
Expand Down Expand Up @@ -685,7 +682,7 @@ - (void) connection:(NSURLConnection *)connection didFailWithError:(NSError *)er
NSLog(@"ERROR: handshake failed ... %@", [error localizedDescription]);

int errorCode = [error code] == 403 ? SocketIOUnauthorized : SocketIOHandshakeFailed;

_isConnected = NO;
_isConnecting = NO;

Expand Down
9 changes: 3 additions & 6 deletions SocketIOJSONSerialization.h
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
//
// SocketIOJSONSerialization.h
// v0.5 ARC
// v0.5.1
//
// based on
// socketio-cocoa https://github.com/fpotter/socketio-cocoa
// by Fred Potter <[email protected]>
//
// using
// https://github.com/square/SocketRocket
// https://github.com/stig/json-framework/
//
// reusing some parts of
// /socket.io/socket.io.js
//
// Created by Philipp Kyeck http://beta-interactive.de
//
// Updated by
// samlown https://github.com/samlown
// kayleg https://github.com/kayleg
// taiyangc https://github.com/taiyangc
// With help from
// https://github.com/pkyeck/socket.IO-objc/blob/master/CONTRIBUTORS.md
//

#import <Foundation/Foundation.h>
Expand Down
9 changes: 3 additions & 6 deletions SocketIOJSONSerialization.m
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
//
// SocketIOJSONSerialization.m
// v0.5 ARC
// v0.5.1
//
// based on
// socketio-cocoa https://github.com/fpotter/socketio-cocoa
// by Fred Potter <[email protected]>
//
// using
// https://github.com/square/SocketRocket
// https://github.com/stig/json-framework/
//
// reusing some parts of
// /socket.io/socket.io.js
//
// Created by Philipp Kyeck http://beta-interactive.de
//
// Updated by
// samlown https://github.com/samlown
// kayleg https://github.com/kayleg
// taiyangc https://github.com/taiyangc
// With help from
// https://github.com/pkyeck/socket.IO-objc/blob/master/CONTRIBUTORS.md
//

#import "SocketIOJSONSerialization.h"
Expand Down
9 changes: 3 additions & 6 deletions SocketIOPacket.h
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
//
// SocketIOPacket.h
// v0.5 ARC
// v0.5.1
//
// based on
// socketio-cocoa https://github.com/fpotter/socketio-cocoa
// by Fred Potter <[email protected]>
//
// using
// https://github.com/square/SocketRocket
// https://github.com/stig/json-framework/
//
// reusing some parts of
// /socket.io/socket.io.js
//
// Created by Philipp Kyeck http://beta-interactive.de
//
// Updated by
// samlown https://github.com/samlown
// kayleg https://github.com/kayleg
// taiyangc https://github.com/taiyangc
// With help from
// https://github.com/pkyeck/socket.IO-objc/blob/master/CONTRIBUTORS.md
//

#import <Foundation/Foundation.h>
Expand Down
9 changes: 3 additions & 6 deletions SocketIOPacket.m
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
//
// SocketIOPacket.h
// v0.5 ARC
// v0.5.1
//
// based on
// socketio-cocoa https://github.com/fpotter/socketio-cocoa
// by Fred Potter <[email protected]>
//
// using
// https://github.com/square/SocketRocket
// https://github.com/stig/json-framework/
//
// reusing some parts of
// /socket.io/socket.io.js
//
// Created by Philipp Kyeck http://beta-interactive.de
//
// Updated by
// samlown https://github.com/samlown
// kayleg https://github.com/kayleg
// taiyangc https://github.com/taiyangc
// With help from
// https://github.com/pkyeck/socket.IO-objc/blob/master/CONTRIBUTORS.md
//

#import "SocketIOPacket.h"
Expand Down
9 changes: 3 additions & 6 deletions SocketIOTransport.h
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
//
// SocketIOTransport.h
// v0.5 ARC
// v0.5.1
//
// based on
// socketio-cocoa https://github.com/fpotter/socketio-cocoa
// by Fred Potter <[email protected]>
//
// using
// https://github.com/square/SocketRocket
// https://github.com/stig/json-framework/
//
// reusing some parts of
// /socket.io/socket.io.js
//
// Created by Philipp Kyeck http://beta-interactive.de
//
// Updated by
// samlown https://github.com/samlown
// kayleg https://github.com/kayleg
// taiyangc https://github.com/taiyangc
// With help from
// https://github.com/pkyeck/socket.IO-objc/blob/master/CONTRIBUTORS.md
//

#import <Foundation/Foundation.h>
Expand Down
9 changes: 3 additions & 6 deletions SocketIOTransportWebsocket.h
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
//
// SocketIOTransportWebsocket.h
// v0.5 ARC
// v0.5.1
//
// based on
// socketio-cocoa https://github.com/fpotter/socketio-cocoa
// by Fred Potter <[email protected]>
//
// using
// https://github.com/square/SocketRocket
// https://github.com/stig/json-framework/
//
// reusing some parts of
// /socket.io/socket.io.js
//
// Created by Philipp Kyeck http://beta-interactive.de
//
// Updated by
// samlown https://github.com/samlown
// kayleg https://github.com/kayleg
// taiyangc https://github.com/taiyangc
// With help from
// https://github.com/pkyeck/socket.IO-objc/blob/master/CONTRIBUTORS.md
//

#import <Foundation/Foundation.h>
Expand Down
9 changes: 3 additions & 6 deletions SocketIOTransportWebsocket.m
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
//
// SocketIOTransportWebsocket.m
// v0.5 ARC
// v0.5.1
//
// based on
// socketio-cocoa https://github.com/fpotter/socketio-cocoa
// by Fred Potter <[email protected]>
//
// using
// https://github.com/square/SocketRocket
// https://github.com/stig/json-framework/
//
// reusing some parts of
// /socket.io/socket.io.js
//
// Created by Philipp Kyeck http://beta-interactive.de
//
// Updated by
// samlown https://github.com/samlown
// kayleg https://github.com/kayleg
// taiyangc https://github.com/taiyangc
// With help from
// https://github.com/pkyeck/socket.IO-objc/blob/master/CONTRIBUTORS.md
//

#import "SocketIOTransportWebsocket.h"
Expand Down
9 changes: 3 additions & 6 deletions SocketIOTransportXHR.h
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
//
// SocketIOTransportXHR.h
// v0.5 ARC
// v0.5.1
//
// based on
// socketio-cocoa https://github.com/fpotter/socketio-cocoa
// by Fred Potter <[email protected]>
//
// using
// https://github.com/square/SocketRocket
// https://github.com/stig/json-framework/
//
// reusing some parts of
// /socket.io/socket.io.js
//
// Created by Philipp Kyeck http://beta-interactive.de
//
// Updated by
// samlown https://github.com/samlown
// kayleg https://github.com/kayleg
// taiyangc https://github.com/taiyangc
// With help from
// https://github.com/pkyeck/socket.IO-objc/blob/master/CONTRIBUTORS.md
//

#import <Foundation/Foundation.h>
Expand Down
9 changes: 3 additions & 6 deletions SocketIOTransportXHR.m
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
//
// SocketIOTransportXHR.m
// v0.5 ARC
// v0.5.1
//
// based on
// socketio-cocoa https://github.com/fpotter/socketio-cocoa
// by Fred Potter <[email protected]>
//
// using
// https://github.com/square/SocketRocket
// https://github.com/stig/json-framework/
//
// reusing some parts of
// /socket.io/socket.io.js
//
// Created by Philipp Kyeck http://beta-interactive.de
//
// Updated by
// samlown https://github.com/samlown
// kayleg https://github.com/kayleg
// taiyangc https://github.com/taiyangc
// With help from
// https://github.com/pkyeck/socket.IO-objc/blob/master/CONTRIBUTORS.md
//

#import "SocketIOTransportXHR.h"
Expand Down

0 comments on commit 952082d

Please sign in to comment.