Skip to content

Commit

Permalink
Merge pull request #48 from wordpress-mobile/release/1.5
Browse files Browse the repository at this point in the history
Release/1.5
  • Loading branch information
loremattei authored Nov 4, 2019
2 parents 057fd2a + 6693798 commit aa63d05
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion WordPressUI.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "WordPressUI"
s.version = "1.4"
s.version = "1.5.0"
s.summary = "Home of reusable WordPress UI components."

s.description = <<-DESC
Expand Down
2 changes: 1 addition & 1 deletion WordPressUI.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
B5C82AE22077C01B00DB2E78 /* UILabel+SuggestSize.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UILabel+SuggestSize.h"; sourceTree = "<group>"; };
B5C82AE42077C02100DB2E78 /* UILabel+SuggestSize.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UILabel+SuggestSize.m"; sourceTree = "<group>"; };
B5D91457206AD8BA00EF333D /* FancyButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FancyButton.swift; sourceTree = "<group>"; };
FF20AD1620B76A2300082398 /* WordPressUI.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = WordPressUI.podspec; sourceTree = "<group>"; };
FF20AD1620B76A2300082398 /* WordPressUI.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = WordPressUI.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down
1 change: 0 additions & 1 deletion WordPressUI/Extensions/Gravatar/Gravatar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ public struct Gravatar {
fileprivate struct Defaults {
static let scheme = "https"
static let host = "secure.gravatar.com"
// unknownHash = md5("[email protected]")
static let unknownHash = "ad516503a11cd5ca435acc9bb6523536"
}

Expand Down
2 changes: 1 addition & 1 deletion WordPressUI/Extensions/Gravatar/NSString+Gravatar.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

@interface NSString (Gravatar)

- (NSString *)md5;
- (NSString *)md5Hash;

@end
2 changes: 1 addition & 1 deletion WordPressUI/Extensions/Gravatar/NSString+Gravatar.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@implementation NSString (Gravatar)

- (NSString *)md5
- (NSString *)md5Hash
{
const char *cStr = [self UTF8String];
unsigned char result[CC_MD5_DIGEST_LENGTH];
Expand Down
2 changes: 1 addition & 1 deletion WordPressUI/Extensions/UIImageView+Gravatar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ extension UIImageView {
return email
.lowercased()
.trimmingCharacters(in: .whitespaces)
.md5()
.md5Hash()
}

/// Returns the required gravatar size. If the current view's size is zero, falls back to the default size.
Expand Down

0 comments on commit aa63d05

Please sign in to comment.