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

Commit 55e8947

Browse files
authored
Merge pull request #142 from wordpress-mobile/release/3.2.2
Release/3.2.2
2 parents 7b6e5ad + 8810636 commit 55e8947

20 files changed

+125
-75
lines changed

.circleci/config.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +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].15
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: WordPressKit.xcworkspace
1314
scheme: WordPressKitTests
14-
device: iPhone X
15-
ios-version: "12.1"
15+
device: iPhone Xs
16+
ios-version: "12.2"
1617
- ios/validate-podspec:
1718
name: Validate Podspec
19+
xcode-version: "10.2.0"
1820
podspec-path: WordPressKit.podspec
1921
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: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,52 +2,52 @@ GEM
22
remote: https://rubygems.org/
33
specs:
44
CFPropertyList (3.0.0)
5-
activesupport (4.2.10)
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-core (1.5.3)
29+
ruby-macho (~> 1.4)
30+
xcodeproj (>= 1.8.1, < 2.0)
31+
cocoapods-core (1.6.1)
3232
activesupport (>= 4.0.2, < 6)
3333
fuzzy_match (~> 2.0.4)
3434
nap (~> 1.0)
35-
cocoapods-deintegrate (1.0.2)
35+
cocoapods-deintegrate (1.0.4)
3636
cocoapods-downloader (1.2.2)
3737
cocoapods-plugins (1.0.0)
3838
nap
3939
cocoapods-repo-update (0.0.4)
4040
cocoapods (~> 1.0, >= 1.3.0)
4141
cocoapods-search (1.0.0)
42-
cocoapods-stats (1.0.0)
42+
cocoapods-stats (1.1.0)
4343
cocoapods-trunk (1.3.1)
4444
nap (>= 0.8, < 2.0)
4545
netrc (~> 0.11)
4646
cocoapods-try (1.1.0)
4747
colored2 (3.1.2)
48-
concurrent-ruby (1.1.3)
48+
concurrent-ruby (1.1.5)
4949
escape (0.0.4)
50-
fourflusher (2.0.1)
50+
fourflusher (2.2.0)
5151
fuzzy_match (2.0.4)
5252
gh_inspector (1.1.3)
5353
i18n (0.9.5)
@@ -57,27 +57,23 @@ GEM
5757
nanaimo (0.2.6)
5858
nap (1.1.0)
5959
netrc (0.11.0)
60-
rouge (2.0.7)
61-
ruby-macho (1.3.1)
60+
ruby-macho (1.4.0)
6261
thread_safe (0.3.6)
6362
tzinfo (1.2.5)
6463
thread_safe (~> 0.1)
65-
xcodeproj (1.7.0)
64+
xcodeproj (1.8.2)
6665
CFPropertyList (>= 2.3.3, < 4.0)
6766
atomos (~> 0.1.3)
6867
claide (>= 1.0.2, < 2.0)
6968
colored2 (~> 3.1)
7069
nanaimo (~> 0.2.6)
71-
xcpretty (0.3.0)
72-
rouge (~> 2.0.7)
7370

7471
PLATFORMS
7572
ruby
7673

7774
DEPENDENCIES
78-
cocoapods (= 1.5.3)!
75+
cocoapods (= 1.6.1)!
7976
cocoapods-repo-update!
80-
xcpretty!
8177

8278
BUNDLED WITH
83-
1.17.1
79+
1.17.2

Podfile

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,29 @@ use_frameworks!
66
platform :ios, '10.0'
77
plugin 'cocoapods-repo-update'
88

9-
## WordPress Kit
10-
## =============
11-
##
12-
target 'WordPressKit' do
9+
def wordpresskit_pods
1310
pod 'Alamofire', '~> 4.7.3'
1411
pod 'CocoaLumberjack', '3.4.2'
1512
pod 'WordPressShared', '~> 1.4'
1613
pod 'NSObject-SafeExpectations', '~> 0.0.3'
1714
pod 'wpxmlrpc', '0.8.4'
1815
pod 'UIDeviceIdentifier', '~> 1.1.4'
16+
end
17+
18+
## WordPress Kit
19+
## =============
20+
##
21+
target 'WordPressKit' do
22+
project 'WordPressKit.xcodeproj'
23+
wordpresskit_pods
24+
end
1925

20-
target 'WordPressKitTests' do
21-
inherit! :search_paths
26+
target 'WordPressKitTests' do
27+
project 'WordPressKit.xcodeproj'
28+
wordpresskit_pods
2229

23-
pod 'OHHTTPStubs', '6.1.0'
24-
pod 'OHHTTPStubs/Swift', '6.1.0'
25-
pod 'OCMock', '~> 3.4.2'
26-
pod 'WordPressShared', '~> 1.4'
27-
end
30+
pod 'OHHTTPStubs', '6.1.0'
31+
pod 'OHHTTPStubs/Swift', '6.1.0'
32+
pod 'OCMock', '~> 3.4.2'
33+
pod 'WordPressShared', '~> 1.4'
2834
end

Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ SPEC CHECKSUMS:
6666
WordPressShared: 63d57a4a07ad9f9a1ee5e8a7162e48fbb5192014
6767
wpxmlrpc: 6ba55c773cfa27083ae4a2173e69b19f46da98e2
6868

69-
PODFILE CHECKSUM: 34d4f957f37c097c360d2863370ce2e5e06511cc
69+
PODFILE CHECKSUM: 2d40a9a3484ab5030d6ddd135b604a0be90271c8
7070

71-
COCOAPODS: 1.5.3
71+
COCOAPODS: 1.6.1

WordPressKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "WordPressKit"
3-
s.version = "3.2.1"
3+
s.version = "3.2.2"
44
s.summary = "WordPressKit offers a clean and simple WordPress.com and WordPress.org API."
55

66
s.description = <<-DESC

WordPressKit.xcodeproj/project.pbxproj

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1998,7 +1998,7 @@
19981998
9368C7721EC5EF1B0092CE8E /* Project object */ = {
19991999
isa = PBXProject;
20002000
attributes = {
2001-
LastUpgradeCheck = 0930;
2001+
LastUpgradeCheck = 1020;
20022002
ORGANIZATIONNAME = "Automattic Inc.";
20032003
TargetAttributes = {
20042004
9368C77A1EC5EF1B0092CE8E = {
@@ -2018,6 +2018,7 @@
20182018
developmentRegion = English;
20192019
hasScannedForEncodings = 0;
20202020
knownRegions = (
2021+
English,
20212022
en,
20222023
);
20232024
mainGroup = 9368C7711EC5EF1B0092CE8E;
@@ -2308,32 +2309,32 @@
23082309
files = (
23092310
);
23102311
inputPaths = (
2311-
"${SRCROOT}/Pods/Target Support Files/Pods-WordPressKitTests/Pods-WordPressKitTests-frameworks.sh",
2312+
"${PODS_ROOT}/Target Support Files/Pods-WordPressKitTests/Pods-WordPressKitTests-frameworks.sh",
2313+
"${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework",
23122314
"${BUILT_PRODUCTS_DIR}/CocoaLumberjack/CocoaLumberjack.framework",
23132315
"${BUILT_PRODUCTS_DIR}/FormatterKit/FormatterKit.framework",
2314-
"${BUILT_PRODUCTS_DIR}/WordPressShared/WordPressShared.framework",
2315-
"${BUILT_PRODUCTS_DIR}/OCMock/OCMock.framework",
2316-
"${BUILT_PRODUCTS_DIR}/OHHTTPStubs/OHHTTPStubs.framework",
2317-
"${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework",
23182316
"${BUILT_PRODUCTS_DIR}/NSObject-SafeExpectations/NSObject_SafeExpectations.framework",
23192317
"${BUILT_PRODUCTS_DIR}/UIDeviceIdentifier/UIDeviceIdentifier.framework",
2318+
"${BUILT_PRODUCTS_DIR}/WordPressShared/WordPressShared.framework",
23202319
"${BUILT_PRODUCTS_DIR}/wpxmlrpc/wpxmlrpc.framework",
2320+
"${BUILT_PRODUCTS_DIR}/OCMock/OCMock.framework",
2321+
"${BUILT_PRODUCTS_DIR}/OHHTTPStubs/OHHTTPStubs.framework",
23212322
);
23222323
name = "[CP] Embed Pods Frameworks";
23232324
outputPaths = (
2325+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
23242326
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CocoaLumberjack.framework",
23252327
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FormatterKit.framework",
2326-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/WordPressShared.framework",
2327-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OCMock.framework",
2328-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OHHTTPStubs.framework",
2329-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
23302328
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/NSObject_SafeExpectations.framework",
23312329
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/UIDeviceIdentifier.framework",
2330+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/WordPressShared.framework",
23322331
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/wpxmlrpc.framework",
2332+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OCMock.framework",
2333+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OHHTTPStubs.framework",
23332334
);
23342335
runOnlyForDeploymentPostprocessing = 0;
23352336
shellPath = /bin/sh;
2336-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-WordPressKitTests/Pods-WordPressKitTests-frameworks.sh\"\n";
2337+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-WordPressKitTests/Pods-WordPressKitTests-frameworks.sh\"\n";
23372338
showEnvVarsInLog = 0;
23382339
};
23392340
/* End PBXShellScriptBuildPhase section */
@@ -2583,6 +2584,7 @@
25832584
isa = XCBuildConfiguration;
25842585
buildSettings = {
25852586
ALWAYS_SEARCH_USER_PATHS = NO;
2587+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
25862588
CLANG_ANALYZER_NONNULL = YES;
25872589
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
25882590
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
@@ -2644,6 +2646,7 @@
26442646
isa = XCBuildConfiguration;
26452647
buildSettings = {
26462648
ALWAYS_SEARCH_USER_PATHS = NO;
2649+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
26472650
CLANG_ANALYZER_NONNULL = YES;
26482651
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
26492652
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
@@ -2790,6 +2793,7 @@
27902793
isa = XCBuildConfiguration;
27912794
buildSettings = {
27922795
ALWAYS_SEARCH_USER_PATHS = NO;
2796+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
27932797
CLANG_ANALYZER_NONNULL = YES;
27942798
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
27952799
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
@@ -2890,6 +2894,7 @@
28902894
isa = XCBuildConfiguration;
28912895
buildSettings = {
28922896
ALWAYS_SEARCH_USER_PATHS = NO;
2897+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
28932898
CLANG_ANALYZER_NONNULL = YES;
28942899
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
28952900
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";

WordPressKit.xcodeproj/xcshareddata/xcschemes/WordPressKit.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0930"
3+
LastUpgradeVersion = "1020"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

WordPressKit.xcodeproj/xcshareddata/xcschemes/WordPressKitTests.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1010"
3+
LastUpgradeVersion = "1020"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

WordPressKit/BlogJetpackSettingsServiceRemote.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ private extension BlogJetpackSettingsServiceRemote {
231231

232232
public extension BlogJetpackSettingsServiceRemote {
233233

234-
public enum Keys {
234+
enum Keys {
235235

236236
// RemoteBlogJetpackSettings keys
237237
public static let monitorEnabled = "monitor"
@@ -252,7 +252,7 @@ public extension BlogJetpackSettingsServiceRemote {
252252

253253
}
254254

255-
public enum ModuleOptionKeys {
255+
enum ModuleOptionKeys {
256256

257257
// Whether or not the module is currently active
258258
public static let active = "active"

0 commit comments

Comments
 (0)