Skip to content

Commit

Permalink
Update podspec, class description formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
adamyanalunas committed Sep 12, 2016
1 parent 8155e74 commit 01f1fee
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion librato-iOS.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Pod::Spec.new do |s|
s.homepage = "https://github.com/amco/librato-iOS"
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
s.author = { "Adam Yanalunas" => "[email protected]" }
s.source = { :git => "https://github.com/amco/librato-iOS.git", :tag => "#{s.version}" }
s.source = { :git => "https://github.com/amco/librato-iOS.git", :tag => s.version.to_s }
s.platform = :ios, '8.0'
s.source_files = 'Librato-iOS/**/*.{h,m}'
s.frameworks = 'QuartzCore', 'Foundation', 'SystemConfiguration', 'MobileCoreServices', 'UIKit'
Expand Down
2 changes: 1 addition & 1 deletion librato-iOS/Classes/LibratoClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ - (LibratoQueue *)queue

- (NSString *)description
{
return [NSString stringWithFormat:@"<%@: %p, persister: %@, queued: %i>", NSStringFromClass([self class]), self, self.persister, self.queue.queued.count];
return [NSString stringWithFormat:@"<%@: %p, persister: %@, queued: %ld>", NSStringFromClass([self class]), self, self.persister, (unsigned long)self.queue.queued.count];
}


Expand Down
2 changes: 1 addition & 1 deletion librato-iOS/Classes/LibratoQueue.m
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ - (void)submitCheck

- (NSString *)description
{
return [NSString stringWithFormat:@"<%@: %p, queued: %i>", NSStringFromClass([self class]), self, self.size];
return [NSString stringWithFormat:@"<%@: %p, queued: %ld>", NSStringFromClass([self class]), self, (unsigned long)self.size];
}


Expand Down
2 changes: 1 addition & 1 deletion librato-iOS/Metrics/LibratoMetricCollection.m
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ - (NSMutableArray *)toJSON
#pragma mark - Overrides
- (NSString *)description
{
return [NSString stringWithFormat:@"<%@: %p, entries: %i>", NSStringFromClass([self class]), self, self.models.count];
return [NSString stringWithFormat:@"<%@: %p, entries: %ld>", NSStringFromClass([self class]), self, (unsigned long)self.models.count];
}


Expand Down

0 comments on commit 01f1fee

Please sign in to comment.