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

Commit e46e24b

Browse files
Merge pull request #57 from wordpress-mobile/issue/wpkit-86-integration
Updated WordPressAuthenticator to absorb latest changes to WordPressKit
2 parents cc923aa + 5037626 commit e46e24b

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ target 'WordPressAuthenticator' do
1717
##
1818
pod 'Gridicons', '~> 0.15'
1919
pod 'WordPressUI', '~> 1.0'
20-
pod 'WordPressKit', '~> 2.1.0-beta.2'
20+
pod 'WordPressKit', '~> 3.0.0-beta.1'
2121
pod 'WordPressShared', '~> 1.4'
2222

2323
## Third party libraries

Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ PODS:
4545
- Specta (1.0.7)
4646
- SVProgressHUD (2.2.5)
4747
- UIDeviceIdentifier (1.1.4)
48-
- WordPressKit (2.1.0-beta.2):
48+
- WordPressKit (3.0.0-beta.1):
4949
- Alamofire (~> 4.7.3)
5050
- CocoaLumberjack (= 3.4.2)
5151
- NSObject-SafeExpectations (= 0.0.3)
@@ -72,7 +72,7 @@ DEPENDENCIES:
7272
- OHHTTPStubs/Swift (= 6.1.0)
7373
- Specta (= 1.0.7)
7474
- SVProgressHUD (= 2.2.5)
75-
- WordPressKit (~> 2.1.0-beta.2)
75+
- WordPressKit (~> 3.0.0-beta.1)
7676
- WordPressShared (~> 1.4)
7777
- WordPressUI (~> 1.0)
7878

@@ -116,11 +116,11 @@ SPEC CHECKSUMS:
116116
Specta: 3e1bd89c3517421982dc4d1c992503e48bd5fe66
117117
SVProgressHUD: 1428aafac632c1f86f62aa4243ec12008d7a51d6
118118
UIDeviceIdentifier: 8f8a24b257a4d978c8d40ad1e7355b944ffbfa8c
119-
WordPressKit: 7d4e523fe984ecb913342a456d458f50844f416b
119+
WordPressKit: 843906cb26fb8a92dddefd9a324a821555bf2b94
120120
WordPressShared: cfbda56868419842dd7a106a4e807069a0c17aa9
121121
WordPressUI: 44fe43a9c5c504dfd534286e39e1ce6ebcd69ff5
122122
wpxmlrpc: 6ba55c773cfa27083ae4a2173e69b19f46da98e2
123123

124-
PODFILE CHECKSUM: 79c15e97af9d0b04178bef7c338a4be0a5a918d0
124+
PODFILE CHECKSUM: bba3fa5287f208435d83f079ef7069a51a5c090a
125125

126126
COCOAPODS: 1.5.3

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.1.9"
3+
s.version = "1.1.10-beta.1"
44
s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps."
55

66
s.description = <<-DESC
@@ -34,6 +34,6 @@ Pod::Spec.new do |s|
3434
s.dependency 'Gridicons', '~> 0.15'
3535
s.dependency 'GoogleSignInRepacked', '4.1.2'
3636
s.dependency 'WordPressUI', '~> 1.0'
37-
s.dependency 'WordPressKit', '~> 2.1.0-beta.2'
37+
s.dependency 'WordPressKit', '~> 3.0.0-beta.1'
3838
s.dependency 'WordPressShared', '~> 1.4'
3939
end

WordPressAuthenticator/Services/SignupService.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@ class SignupService {
2121
failure: @escaping (_ error: Error) -> Void) {
2222

2323
let remote = WordPressComServiceRemote(wordPressComRestApi: anonymousAPI)
24-
let locale = WordPressComLanguageDatabase().deviceLanguage.slug
2524

2625
remote.createWPComAccount(withGoogle: token,
27-
andLocale: locale,
2826
andClientID: configuration.wpcomClientId,
2927
andClientSecret: configuration.wpcomSecret,
3028
success: { response in

0 commit comments

Comments
 (0)