Skip to content

Commit

Permalink
Merge pull request #11 from collections/master
Browse files Browse the repository at this point in the history
Fixing podspec to use git url. Using self instead of hard-coded class in initializer
  • Loading branch information
Peter Reinhardt committed Mar 14, 2013
2 parents 9dd58e9 + 7535c1f commit 33c47ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Analytics.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#define AnalyticsDebugLog(...)
#endif

#define ANALYTICS_VERSION @"0.0.2"
#define ANALYTICS_VERSION @"0.0.3"
#define ANALYTICS_API_URL [NSURL URLWithString:@"https://api.segment.io/v1/import"]
#define ANALYTICS_MAX_BATCH_SIZE 100

Expand Down Expand Up @@ -84,7 +84,7 @@ @implementation Analytics {

+ (instancetype)sharedAnalyticsWithSecret:(NSString *)secret
{
return [Analytics sharedAnalyticsWithSecret:secret flushAt:20 flushAfter:30];
return [self sharedAnalyticsWithSecret:secret flushAt:20 flushAfter:30];
}

+ (instancetype)sharedAnalyticsWithSecret:(NSString *)secret flushAt:(NSUInteger)flushAt flushAfter:(NSUInteger)flushAfter
Expand Down
4 changes: 2 additions & 2 deletions Analytics.podspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Pod::Spec.new do |s|
s.name = "Analytics"
s.version = "0.0.2"
s.version = "0.0.3"
s.summary = "Segment.io Analytics library for iOS and OSX."
s.homepage = "https://segment.io/libraries/ios"
s.license = "MIT"
s.author = { "Segment.io" => "friends@segment.io" }

s.source = { :git => "https://github.com/segmentio/analytics-ios.git", :tag => "0.0.2" }
s.source = { :git => "git@github.com:segmentio/analytics-ios.git", :tag => "0.0.3" }
s.source_files = 'Analytics.{h,m}'
s.requires_arc = true

Expand Down

0 comments on commit 33c47ba

Please sign in to comment.