Permalink
Browse files

Fixes a property method on DIOSSession.

  • Loading branch information...
1 parent bc1a76d commit 897c7afc39837d838b15b4526652a3235ebeb7af @kylebrowning committed Sep 25, 2013
Showing with 5 additions and 4 deletions.
  1. +1 −0 DIOSSession.h
  2. +1 −1 DIOSSession.m
  3. +3 −3 drupal-ios-sdk.podspec
View
@@ -56,6 +56,7 @@
@property (nonatomic, retain) NSString *consumerSecret;
@property (nonatomic, retain) NSString *tokenIdentifier;
@property (nonatomic, retain) NSString *tokenSecret;
+@property (readwrite, nonatomic, retain) NSURL *baseURL;
+ (DIOSSession *)sharedSession;
+ (DIOSSession *)sharedSessionWithURL:(NSString*)url;
+ (DIOSSession *)sharedOauthSessionWithURL:(NSString*)url consumerKey:(NSString *)aConsumerKey secret:(NSString *)aConsumerSecret;
View
@@ -61,7 +61,7 @@ - (NSString *) authorizationHeaderValueForRequest:(NSURLRequest *)request;
@end
@implementation DIOSSession
-@synthesize user, accessTokens, consumerKey, consumerSecret, tokenIdentifier, tokenSecret,
+@synthesize user, accessTokens, consumerKey, consumerSecret, tokenIdentifier, tokenSecret, baseURL,
realm, signRequests, threeLegged;
+ (DIOSSession *)sharedSession {
View
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = "drupal-ios-sdk"
- s.version = "2.0.3"
+ s.version = "2.0.4"
s.summary = "A framework for communicating to Drupal via an iPhone."
s.homepage = "https://github.com/workhabitinc/drupal-ios-sdk"
s.author = { "Kyle Browning" => "kylebrowning@me.com" }
- s.source = { :git => "https://github.com/workhabitinc/drupal-ios-sdk.git", :tag => "2.0.3" }
- s.source_files = "*"
+ s.source = { :git => "https://github.com/workhabitinc/drupal-ios-sdk.git", :tag => "2.0.4" }
+ s.source_files = "*.{h,m}"
s.requires_arc = true
s.ios.deployment_target = '5.0'
s.license = 'MPL 1.1/GPL 2.0'

0 comments on commit 897c7af

Please sign in to comment.