Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit bc67d6a

Browse files
authored
Merge pull request #172 from wordpress-mobile/release/1.10.5
Merge Release 1.10.5 into master
2 parents 342b860 + 165e34e commit bc67d6a

20 files changed

+110
-19
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ workflows:
99
jobs:
1010
- ios/test:
1111
name: Test
12-
xcode-version: "11.0"
12+
xcode-version: "11.2.1"
1313
workspace: WordPressAuthenticator.xcworkspace
1414
scheme: WordPressAuthenticator
1515
device: iPhone 11
16-
ios-version: "13.0"
16+
ios-version: "13.2.2"
1717
bundle-install: true
1818
pod-install: true
1919
- ios/validate-podspec:
2020
name: Validate Podspec
21-
xcode-version: "11.0"
21+
xcode-version: "11.2.1"
2222
podspec-path: WordPressAuthenticator.podspec
2323
bundle-install: true
2424
- ios/publish-podspec:
2525
name: Publish to Trunk
26-
xcode-version: "11.0"
26+
xcode-version: "11.2.1"
2727
podspec-path: WordPressAuthenticator.podspec
2828
bundle-install: true
2929
post-to-slack: true

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.5.5

Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def wordpress_authenticator_pods
1111
##
1212
pod 'Gridicons', '~> 0.15'
1313
pod 'WordPressUI', '~> 1.4-beta.1'
14-
pod 'WordPressKit', '~> 4.5.4'
14+
pod 'WordPressKit', '~> 4.5.5'
1515
# pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :branch => 'issue/apple_2fa_auth'
1616
pod 'WordPressShared', '~> 1.8'
1717

Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ PODS:
4444
- Specta (1.0.7)
4545
- SVProgressHUD (2.2.5)
4646
- UIDeviceIdentifier (1.4.0)
47-
- WordPressKit (4.5.4):
47+
- WordPressKit (4.5.5):
4848
- Alamofire (~> 4.7.3)
4949
- CocoaLumberjack (~> 3.4)
5050
- NSObject-SafeExpectations (= 0.0.3)
@@ -71,7 +71,7 @@ DEPENDENCIES:
7171
- OHHTTPStubs/Swift (= 8.0.0)
7272
- Specta (= 1.0.7)
7373
- SVProgressHUD (= 2.2.5)
74-
- WordPressKit (~> 4.5.4)
74+
- WordPressKit (~> 4.5.5)
7575
- WordPressShared (~> 1.8)
7676
- WordPressUI (~> 1.4-beta.1)
7777

@@ -117,11 +117,11 @@ SPEC CHECKSUMS:
117117
Specta: 3e1bd89c3517421982dc4d1c992503e48bd5fe66
118118
SVProgressHUD: 1428aafac632c1f86f62aa4243ec12008d7a51d6
119119
UIDeviceIdentifier: 44f805037d21b94394821828f4fcaba34b38c2d0
120-
WordPressKit: 1d365775fac17903a76ad5723bc146ab1739ec82
120+
WordPressKit: 8029cb93a89de79442254c346523da11c2706d7b
121121
WordPressShared: 09cf184caa614835f5811e8609227165201e6d3e
122122
WordPressUI: 35b144885c8e5817ba6874b68accc200bda61ee1
123123
wpxmlrpc: 6ba55c773cfa27083ae4a2173e69b19f46da98e2
124124

125-
PODFILE CHECKSUM: 6f930e58860031b74be490800e49e91a4f3cd75f
125+
PODFILE CHECKSUM: e4f5f036a95bf5e1df937bfa7d2d24b4ee5bbb18
126126

127127
COCOAPODS: 1.8.4

WordPressAuthenticator.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "WordPressAuthenticator"
3-
s.version = "1.10.4"
3+
s.version = "1.10.5"
44
s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps."
55

66
s.description = <<-DESC
@@ -39,6 +39,6 @@ Pod::Spec.new do |s|
3939
s.dependency 'Gridicons', '~> 0.15'
4040
s.dependency 'GoogleSignIn', '~> 4.4'
4141
s.dependency 'WordPressUI', '~> 1.4-beta.1'
42-
s.dependency 'WordPressKit', '~> 4.5.4'
42+
s.dependency 'WordPressKit', '~> 4.5.5'
4343
s.dependency 'WordPressShared', '~> 1.8'
4444
end

WordPressAuthenticator/Extensions/WPStyleGuide+Login.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,13 @@ extension WPStyleGuide {
7171
onePasswordButton.addTarget(target, action: selector, for: .touchUpInside)
7272
}
7373

74+
/// Configures a plain text button with default styles.
75+
///
76+
class func configureTextButton(_ button: UIButton) {
77+
button.setTitleColor(WordPressAuthenticator.shared.style.textButtonColor, for: .normal)
78+
button.setTitleColor(WordPressAuthenticator.shared.style.textButtonHighlightColor, for: .highlighted)
79+
}
80+
7481
///
7582
///
7683
class func colorForErrorView(_ opaque: Bool) -> UIColor {
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
int WPAuthenticatorGetLoggingLevel(void);
2-
void WPAuthenticatorSetLoggingLevel(int level);
1+
@import CocoaLumberjack;
2+
3+
DDLogLevel WPAuthenticatorGetLoggingLevel(void);
4+
void WPAuthenticatorSetLoggingLevel(DDLogLevel level);
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#import "WPAuthenticatorLogging.h"
22
#import "WPAuthenticatorLoggingPrivate.h"
33

4-
int WPAuthenticatorGetLoggingLevel() {
4+
DDLogLevel WPAuthenticatorGetLoggingLevel() {
55
return ddLogLevel;
66
}
77

8-
void WPAuthenticatorSetLoggingLevel(int level) {
8+
void WPAuthenticatorSetLoggingLevel(DDLogLevel level) {
99
ddLogLevel = level;
1010
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@import CocoaLumberjack;
2-
extern int ddLogLevel;
2+
extern DDLogLevel ddLogLevel;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#import "WPAuthenticatorLoggingPrivate.h"
2-
int ddLogLevel = DDLogLevelWarning;
2+
DDLogLevel ddLogLevel = DDLogLevelWarning;

0 commit comments

Comments
 (0)