Skip to content

Commit b8bb45f

Browse files
committed
Merge pull request #37 from amco/remove_init_override
Removed init override to allow rehydration.
2 parents 3fb1d52 + 1d53759 commit b8bb45f

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
### Version 1.0.2
2+
3+
* Removed the `init` override in `LibratoMetric` to fix an issue where offline cached metrics could not be rehydrated
4+
5+
6+
### Version 1.0.1
7+
8+
* Fixed an incorrect method signature with `groupNamed:context:` that was configured to return an `NSArray` instead of being `void`
9+
* Fixed a misspelling in the `README`
10+
11+
112
### Version 1.0.0
213

314
This is a major revision which means **APIs will break**. It is not backwards compatible with 0.1.x releases. Code from 0.1.x branches will no longer be supported. Please update!

librato-iOS.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "librato-iOS"
3-
s.version = "1.0.0"
3+
s.version = "1.0.2"
44
s.summary = "Librato library for iOS"
55
s.description = <<-DESC
66
A simple, delightful wrapper for the Librato API with conveniences for common use cases

librato-iOS/Metrics/LibratoMetric.m

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,6 @@ + (instancetype)metricNamed:(NSString *)name valued:(NSNumber *)value source:(NS
3939
}
4040

4141

42-
- (instancetype)init
43-
{
44-
NSAssert(false, @"You must use initWithName:valued:options: to initialize a LibratoMetric instance");
45-
self = nil;
46-
47-
return nil;
48-
}
49-
50-
5142
- (instancetype)initWithName:(NSString *)name valued:(NSNumber *)value options:(NSDictionary *)options
5243
{
5344
if ((self = super.init))

0 commit comments

Comments
 (0)