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

Commit f19542a

Browse files
committed
Updated WordPressAuthenticator to absorb latest changes to WordPressKit
1 parent cc923aa commit f19542a

File tree

4 files changed

+18
-10
lines changed

4 files changed

+18
-10
lines changed

Podfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ 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', '~> 2.1.0-beta.2'
21+
pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :commit => '0e2a035'
2122
pod 'WordPressShared', '~> 1.4'
2223

2324
## Third party libraries

Podfile.lock

Lines changed: 14 additions & 5 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 (from `https://github.com/wordpress-mobile/WordPressKit-iOS.git`, commit `0e2a035`)
7676
- WordPressShared (~> 1.4)
7777
- WordPressUI (~> 1.0)
7878

@@ -94,11 +94,20 @@ SPEC REPOS:
9494
- Specta
9595
- SVProgressHUD
9696
- UIDeviceIdentifier
97-
- WordPressKit
9897
- WordPressShared
9998
- WordPressUI
10099
- wpxmlrpc
101100

101+
EXTERNAL SOURCES:
102+
WordPressKit:
103+
:commit: 0e2a035
104+
:git: https://github.com/wordpress-mobile/WordPressKit-iOS.git
105+
106+
CHECKOUT OPTIONS:
107+
WordPressKit:
108+
:commit: 0e2a035
109+
:git: https://github.com/wordpress-mobile/WordPressKit-iOS.git
110+
102111
SPEC CHECKSUMS:
103112
1PasswordExtension: 0e95bdea64ec8ff2f4f693be5467a09fac42a83d
104113
Alamofire: c7287b6e5d7da964a70935e5db17046b7fde6568
@@ -116,11 +125,11 @@ SPEC CHECKSUMS:
116125
Specta: 3e1bd89c3517421982dc4d1c992503e48bd5fe66
117126
SVProgressHUD: 1428aafac632c1f86f62aa4243ec12008d7a51d6
118127
UIDeviceIdentifier: 8f8a24b257a4d978c8d40ad1e7355b944ffbfa8c
119-
WordPressKit: 7d4e523fe984ecb913342a456d458f50844f416b
128+
WordPressKit: 843906cb26fb8a92dddefd9a324a821555bf2b94
120129
WordPressShared: cfbda56868419842dd7a106a4e807069a0c17aa9
121130
WordPressUI: 44fe43a9c5c504dfd534286e39e1ce6ebcd69ff5
122131
wpxmlrpc: 6ba55c773cfa27083ae4a2173e69b19f46da98e2
123132

124-
PODFILE CHECKSUM: 79c15e97af9d0b04178bef7c338a4be0a5a918d0
133+
PODFILE CHECKSUM: 5e3e670c805373c6a257b7a6eb607a0c8d7a8e0e
125134

126135
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)