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

Commit 531c6f3

Browse files
authored
Merge pull request #74 from wordpress-mobile/release/1.2.1
Merge Release/1.2.1 into master
2 parents 744ff67 + f270239 commit 531c6f3

20 files changed

+132
-103
lines changed

.circleci/config.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,20 @@ version: 2.1
22

33
orbs:
44
# This uses the iOS Orb located at https://github.com/wordpress-mobile/circleci-orbs
5-
ios: wordpress-mobile/[email protected].13
5+
ios: wordpress-mobile/[email protected].24
66

77
workflows:
88
test_and_validate:
99
jobs:
1010
- ios/test:
1111
name: Test
12+
xcode-version: "10.2.0"
1213
workspace: WordPressAuthenticator.xcworkspace
1314
scheme: WordPressAuthenticator
14-
destination: "platform=iOS Simulator,name=iPhone XS,OS=latest"
15+
device: iPhone XS
16+
ios-version: "12.2"
1517
- ios/validate-podspec:
1618
name: Validate Podspec
19+
xcode-version: "10.2.0"
1720
podspec-path: WordPressAuthenticator.podspec
1821
update-specs-repo: true

Gemfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
source 'https://rubygems.org' do
2-
gem 'cocoapods', '1.5.3'
2+
gem 'cocoapods', '1.6.1'
33
gem 'cocoapods-repo-update'
4-
gem 'xcpretty'
54
end

Gemfile.lock

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,54 +2,52 @@ GEM
22
remote: https://rubygems.org/
33
specs:
44
CFPropertyList (3.0.0)
5-
activesupport (4.2.11)
5+
activesupport (4.2.11.1)
66
i18n (~> 0.7)
77
minitest (~> 5.1)
88
thread_safe (~> 0.3, >= 0.3.4)
99
tzinfo (~> 1.1)
1010
atomos (0.1.3)
1111
claide (1.0.2)
12-
cocoapods (1.5.3)
12+
cocoapods (1.6.1)
1313
activesupport (>= 4.0.2, < 5)
1414
claide (>= 1.0.2, < 2.0)
15-
cocoapods-core (= 1.5.3)
15+
cocoapods-core (= 1.6.1)
1616
cocoapods-deintegrate (>= 1.0.2, < 2.0)
17-
cocoapods-downloader (>= 1.2.0, < 2.0)
17+
cocoapods-downloader (>= 1.2.2, < 2.0)
1818
cocoapods-plugins (>= 1.0.0, < 2.0)
1919
cocoapods-search (>= 1.0.0, < 2.0)
2020
cocoapods-stats (>= 1.0.0, < 2.0)
21-
cocoapods-trunk (>= 1.3.0, < 2.0)
21+
cocoapods-trunk (>= 1.3.1, < 2.0)
2222
cocoapods-try (>= 1.1.0, < 2.0)
2323
colored2 (~> 3.1)
2424
escape (~> 0.0.4)
25-
fourflusher (~> 2.0.1)
25+
fourflusher (>= 2.2.0, < 3.0)
2626
gh_inspector (~> 1.0)
27-
molinillo (~> 0.6.5)
27+
molinillo (~> 0.6.6)
2828
nap (~> 1.0)
29-
ruby-macho (~> 1.1)
30-
xcodeproj (>= 1.5.7, < 2.0)
31-
cocoapods-check (1.0.2)
32-
cocoapods (~> 1.0)
33-
cocoapods-core (1.5.3)
29+
ruby-macho (~> 1.4)
30+
xcodeproj (>= 1.8.1, < 2.0)
31+
cocoapods-core (1.6.1)
3432
activesupport (>= 4.0.2, < 6)
3533
fuzzy_match (~> 2.0.4)
3634
nap (~> 1.0)
37-
cocoapods-deintegrate (1.0.2)
35+
cocoapods-deintegrate (1.0.4)
3836
cocoapods-downloader (1.2.2)
3937
cocoapods-plugins (1.0.0)
4038
nap
4139
cocoapods-repo-update (0.0.4)
4240
cocoapods (~> 1.0, >= 1.3.0)
4341
cocoapods-search (1.0.0)
44-
cocoapods-stats (1.0.0)
42+
cocoapods-stats (1.1.0)
4543
cocoapods-trunk (1.3.1)
4644
nap (>= 0.8, < 2.0)
4745
netrc (~> 0.11)
4846
cocoapods-try (1.1.0)
4947
colored2 (3.1.2)
50-
concurrent-ruby (1.1.4)
48+
concurrent-ruby (1.1.5)
5149
escape (0.0.4)
52-
fourflusher (2.0.1)
50+
fourflusher (2.2.0)
5351
fuzzy_match (2.0.4)
5452
gh_inspector (1.1.3)
5553
i18n (0.9.5)
@@ -59,28 +57,23 @@ GEM
5957
nanaimo (0.2.6)
6058
nap (1.1.0)
6159
netrc (0.11.0)
62-
rouge (2.0.7)
63-
ruby-macho (1.3.1)
60+
ruby-macho (1.4.0)
6461
thread_safe (0.3.6)
6562
tzinfo (1.2.5)
6663
thread_safe (~> 0.1)
67-
xcodeproj (1.7.0)
64+
xcodeproj (1.8.2)
6865
CFPropertyList (>= 2.3.3, < 4.0)
6966
atomos (~> 0.1.3)
7067
claide (>= 1.0.2, < 2.0)
7168
colored2 (~> 3.1)
7269
nanaimo (~> 0.2.6)
73-
xcpretty (0.3.0)
74-
rouge (~> 2.0.7)
7570

7671
PLATFORMS
7772
ruby
7873

7974
DEPENDENCIES
80-
cocoapods (= 1.5.3)!
81-
cocoapods-check!
75+
cocoapods (= 1.6.1)!
8276
cocoapods-repo-update!
83-
xcpretty!
8477

8578
BUNDLED WITH
8679
1.17.2

Podfile

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,13 @@ use_frameworks!
66
platform :ios, '10.0'
77
plugin 'cocoapods-repo-update'
88

9-
## WordPress Authenticator
10-
## =======================
11-
##
12-
target 'WordPressAuthenticator' do
13-
project 'WordPressAuthenticator.xcodeproj'
14-
9+
def wordpress_authenticator_pods
1510
## Automattic libraries
1611
## ====================
1712
##
1813
pod 'Gridicons', '~> 0.15'
1914
pod 'WordPressUI', '~> 1.0'
20-
pod 'WordPressKit', '~> 3.1'
15+
pod 'WordPressKit', '~> 3.2.2.beta'
2116
pod 'WordPressShared', '~> 1.4'
2217

2318
## Third party libraries
@@ -26,22 +21,30 @@ target 'WordPressAuthenticator' do
2621
pod '1PasswordExtension', '1.8.5'
2722
pod 'Alamofire', '4.7.3'
2823
pod 'CocoaLumberjack', '3.4.2'
29-
pod 'GoogleSignInRepacked', '4.1.2'
24+
pod 'GoogleSignIn', '4.1.2'
3025
pod 'lottie-ios', '2.5.2'
3126
pod 'NSURL+IDN', '0.3'
3227
pod 'SVProgressHUD', '2.2.5'
28+
end
3329

30+
## WordPress Authenticator
31+
## =======================
32+
##
33+
target 'WordPressAuthenticator' do
34+
project 'WordPressAuthenticator.xcodeproj'
35+
wordpress_authenticator_pods
36+
end
3437

35-
## Unit Tests
36-
## ==========
37-
##
38-
target 'WordPressAuthenticatorTests' do
39-
inherit! :search_paths
38+
## Unit Tests
39+
## ==========
40+
##
41+
target 'WordPressAuthenticatorTests' do
42+
project 'WordPressAuthenticator.xcodeproj'
43+
wordpress_authenticator_pods
4044

41-
pod 'OHHTTPStubs', '6.1.0'
42-
pod 'OHHTTPStubs/Swift', '6.1.0'
43-
pod 'OCMock', '~> 3.4'
44-
pod 'Expecta', '1.0.6'
45-
pod 'Specta', '1.0.7'
46-
end
45+
pod 'OHHTTPStubs', '6.1.0'
46+
pod 'OHHTTPStubs/Swift', '6.1.0'
47+
pod 'OCMock', '~> 3.4'
48+
pod 'Expecta', '1.0.6'
49+
pod 'Specta', '1.0.7'
4750
end

Podfile.lock

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ PODS:
1111
- FormatterKit/Resources (1.8.2)
1212
- FormatterKit/TimeIntervalFormatter (1.8.2):
1313
- FormatterKit/Resources
14-
- GoogleSignInRepacked (4.1.2):
14+
- GoogleSignIn (4.1.2):
1515
- "GoogleToolboxForMac/NSDictionary+URLArguments (~> 2.1)"
1616
- "GoogleToolboxForMac/NSString+URLArguments (~> 2.1)"
17+
- GTMOAuth2 (~> 1.0)
18+
- GTMSessionFetcher/Core (~> 1.1)
1719
- GoogleToolboxForMac/DebugUtils (2.2.0):
1820
- GoogleToolboxForMac/Defines (= 2.2.0)
1921
- GoogleToolboxForMac/Defines (2.2.0)
@@ -23,6 +25,13 @@ PODS:
2325
- "GoogleToolboxForMac/NSString+URLArguments (= 2.2.0)"
2426
- "GoogleToolboxForMac/NSString+URLArguments (2.2.0)"
2527
- Gridicons (0.18)
28+
- GTMOAuth2 (1.1.6):
29+
- GTMSessionFetcher (~> 1.1)
30+
- GTMSessionFetcher (1.2.1):
31+
- GTMSessionFetcher/Full (= 1.2.1)
32+
- GTMSessionFetcher/Core (1.2.1)
33+
- GTMSessionFetcher/Full (1.2.1):
34+
- GTMSessionFetcher/Core (= 1.2.1)
2635
- lottie-ios (2.5.2)
2736
- NSObject-SafeExpectations (0.0.3)
2837
- "NSURL+IDN (0.3)"
@@ -45,7 +54,7 @@ PODS:
4554
- Specta (1.0.7)
4655
- SVProgressHUD (2.2.5)
4756
- UIDeviceIdentifier (1.1.4)
48-
- WordPressKit (3.1.1):
57+
- WordPressKit (3.2.2.beta-1):
4958
- Alamofire (~> 4.7.3)
5059
- CocoaLumberjack (~> 3.4)
5160
- NSObject-SafeExpectations (= 0.0.3)
@@ -63,7 +72,7 @@ DEPENDENCIES:
6372
- Alamofire (= 4.7.3)
6473
- CocoaLumberjack (= 3.4.2)
6574
- Expecta (= 1.0.6)
66-
- GoogleSignInRepacked (= 4.1.2)
75+
- GoogleSignIn (= 4.1.2)
6776
- Gridicons (~> 0.15)
6877
- lottie-ios (= 2.5.2)
6978
- "NSURL+IDN (= 0.3)"
@@ -72,7 +81,7 @@ DEPENDENCIES:
7281
- OHHTTPStubs/Swift (= 6.1.0)
7382
- Specta (= 1.0.7)
7483
- SVProgressHUD (= 2.2.5)
75-
- WordPressKit (~> 3.1)
84+
- WordPressKit (~> 3.2.2.beta)
7685
- WordPressShared (~> 1.4)
7786
- WordPressUI (~> 1.0)
7887

@@ -83,9 +92,11 @@ SPEC REPOS:
8392
- CocoaLumberjack
8493
- Expecta
8594
- FormatterKit
86-
- GoogleSignInRepacked
95+
- GoogleSignIn
8796
- GoogleToolboxForMac
8897
- Gridicons
98+
- GTMOAuth2
99+
- GTMSessionFetcher
89100
- lottie-ios
90101
- NSObject-SafeExpectations
91102
- "NSURL+IDN"
@@ -105,9 +116,11 @@ SPEC CHECKSUMS:
105116
CocoaLumberjack: db7cc9e464771f12054c22ff6947c5a58d43a0fd
106117
Expecta: 3b6bd90a64b9a1dcb0b70aa0e10a7f8f631667d5
107118
FormatterKit: 4b8f29acc9b872d5d12a63efb560661e8f2e1b98
108-
GoogleSignInRepacked: d357702618c555f38923576924661325eb1ef22b
119+
GoogleSignIn: d9ef55b10f0aa401a5de2747f59b725e4b9732ac
109120
GoogleToolboxForMac: ff31605b7d66400dcec09bed5861689aebadda4d
110121
Gridicons: 04261236382e9c62c62c9a104f2f532c1bdf6a78
122+
GTMOAuth2: e8b6512c896235149df975c41d9a36c868ab7fba
123+
GTMSessionFetcher: 32aeca0aa144acea523e1c8e053089dec2cb98ca
111124
lottie-ios: 3fef45d3fabe63e3c7c2eb603dd64ddfffc73062
112125
NSObject-SafeExpectations: b989b68a8a9b7b9f2b264a8b52ba9d7aab8f3129
113126
"NSURL+IDN": 82355a0afd532fe1de08f6417c134b49b1a1c4b3
@@ -116,11 +129,11 @@ SPEC CHECKSUMS:
116129
Specta: 3e1bd89c3517421982dc4d1c992503e48bd5fe66
117130
SVProgressHUD: 1428aafac632c1f86f62aa4243ec12008d7a51d6
118131
UIDeviceIdentifier: 8f8a24b257a4d978c8d40ad1e7355b944ffbfa8c
119-
WordPressKit: 9af12361492d12c6c5512d3d7de594aa415ad670
132+
WordPressKit: 64abfa026368c51366048ef839f8a510d7284942
120133
WordPressShared: 63d57a4a07ad9f9a1ee5e8a7162e48fbb5192014
121134
WordPressUI: 44fe43a9c5c504dfd534286e39e1ce6ebcd69ff5
122135
wpxmlrpc: 6ba55c773cfa27083ae4a2173e69b19f46da98e2
123136

124-
PODFILE CHECKSUM: 220853b585b7b73f8958c30e6f9c1c5760d4c7a3
137+
PODFILE CHECKSUM: 6e6ee68c087322b45df83a787321f0a10ddb52b3
125138

126-
COCOAPODS: 1.5.3
139+
COCOAPODS: 1.6.1

WordPressAuthenticator.podspec

Lines changed: 11 additions & 4 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.2.0"
3+
s.version = "1.2.1"
44
s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps."
55

66
s.description = <<-DESC
@@ -18,8 +18,15 @@ Pod::Spec.new do |s|
1818
s.source = { :git => "https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git", :tag => s.version.to_s }
1919
s.source_files = 'WordPressAuthenticator/**/*.{h,m,swift}'
2020
s.private_header_files = "WordPressAuthenticator/Private/*.h"
21-
s.resources = [ 'WordPressAuthenticator/**/*.{xcassets,storyboard,xib,json}' ]
21+
s.resource_bundles = {
22+
'WordPressAuthenticator': [
23+
'WordPressAuthenticator/Resources/Assets.xcassets',
24+
'WordPressAuthenticator/Resources/Animations/*.json',
25+
'WordPressAuthenticator/**/*.{storyboard,xib}'
26+
]
27+
}
2228
s.requires_arc = true
29+
s.static_framework = true # This is needed because GoogleSignIn vendors a static framework
2330
s.header_dir = 'WordPressAuthenticator'
2431

2532
s.pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO' }
@@ -32,8 +39,8 @@ Pod::Spec.new do |s|
3239
s.dependency 'SVProgressHUD', '2.2.5'
3340

3441
s.dependency 'Gridicons', '~> 0.15'
35-
s.dependency 'GoogleSignInRepacked', '4.1.2'
42+
s.dependency 'GoogleSignIn', '4.1.2'
3643
s.dependency 'WordPressUI', '~> 1.0'
37-
s.dependency 'WordPressKit', '~> 3.1'
44+
s.dependency 'WordPressKit', '~> 3.2.2'
3845
s.dependency 'WordPressShared', '~> 1.4'
3946
end

0 commit comments

Comments
 (0)