Permalink
Browse files

Update user agent to 1.0.1. Revert podspec changes. Fix callback id bug.

  • Loading branch information...
1 parent b84f444 commit ab02e6c4dfb2df3cefafac9a16e18472cfce4717 Bryce Kahle committed Mar 7, 2013
View
@@ -42,4 +42,4 @@
## [1.0.1]((https://github.com/DyKnow/SignalR-ObjC/compare/1.0rc1...1.0.1)
-* Adds support for SignalR protocol version 1.2 (SignalR library v1.0.0)
+* Adds support for SignalR protocol version 1.2 (SignalR library v1.0.1)
View
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = "SignalR-ObjC"
- s.version = "1.0.1"
+ s.version = "1.0.RC1"
s.summary = "Objective-C Client for the SignalR Project works with iOS and Mac."
s.homepage = "https://github.com/DyKnow/SignalR-ObjC"
s.license = 'MIT'
s.author = { "Alex Billingsley" => "abillingsley@dyknow.com" }
- s.source = { :git => 'https://github.com/DyKnow/SignalR-ObjC.git', :tag => '1.0.1' }
+ s.source = { :git => 'https://github.com/DyKnow/SignalR-ObjC.git', :tag => '1.0.RC1' }
s.ios.deployment_target = '5.0'
s.osx.deployment_target = '10.7'
s.source_files = 'SignalR.Client/**/*.{h,m}'
@@ -968,7 +968,7 @@
392077FE15AF13C3009B959E /* Project object */ = {
isa = PBXProject;
attributes = {
- LastUpgradeCheck = 0430;
+ LastUpgradeCheck = 0460;
ORGANIZATIONNAME = "DyKnow LLC";
};
buildConfigurationList = 3920780115AF13C3009B959E /* Build configuration list for PBXProject "SignalR.Client.ObjC" */;
@@ -1412,6 +1412,10 @@
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
@@ -1438,6 +1442,10 @@
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
@@ -29,7 +29,7 @@
* An `SRHubConnection` object provides an abstraction over `SRConnection` and provides support for publishing and subscribing to custom events
*/
@interface SRHubConnection : SRConnection <SRHubConnectionInterface> {
- int *_callbackId;
+ int _callbackId;
}
- (instancetype)initWithURLString:(NSString *)URL useDefault:(BOOL)useDefault;
@@ -96,7 +96,7 @@ - (NSString *)registerCallback:(SRHubResultBlock)callback {
NSString *id = [[NSNumber numberWithInt:_callbackId] stringValue];
_callbacks[id] = callback;
_callbackId += 1;
- return id;
+ return [[NSNumber numberWithInt:_callbackId] stringValue];
}
#pragma mark -
@@ -338,7 +338,7 @@ - (void)prepareRequest:(id <SRRequest>)request {
- (NSString *)createUserAgentString:(NSString *)client {
if(_assemblyVersion == nil) {
- _assemblyVersion = [[SRVersion alloc] initWithMajor:1 minor:0 build:0 revision:2];
+ _assemblyVersion = [[SRVersion alloc] initWithMajor:1 minor:0 build:1 revision:0];
}
#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR

0 comments on commit ab02e6c

Please sign in to comment.