Skip to content

Commit b578116

Browse files
authored
Merge branch 'master' into remove-extra-child-traversal-causing-app-to-hang
2 parents 7e087f8 + db501b5 commit b578116

File tree

11 files changed

+92
-126
lines changed

11 files changed

+92
-126
lines changed

.github/workflows/ci.yml

+17-39
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ on:
99
- "**"
1010
env:
1111
CI_XCODE_14: /Applications/Xcode_14.2.app/Contents/Developer
12-
CI_XCODE_15: /Applications/Xcode_15.0.app/Contents/Developer
12+
CI_XCODE_15: /Applications/Xcode_15.4.0.app/Contents/Developer
13+
CI_XCODE_16: /Applications/Xcode_16.0.app/Contents/Developer
1314
jobs:
1415
tests:
1516
env:
@@ -21,47 +22,36 @@ jobs:
2122
- test:ios
2223
- test:macos
2324
- test:parse_live_query:all
24-
- build:starters
25-
- xcode15 # runs build:starters on XCode 15
25+
- xcode14 # runs build:starters on Xcode 14
26+
- xcode15 # runs build:starters on Xcode 15
27+
- xcode16 # runs build:starters on Xcode 16
2628
fail-fast: false
27-
runs-on: macos-13
29+
runs-on: ${{ ((matrix.script == 'xcode15' || matrix.script == 'xcode16') && 'macos-14') || 'macos-13' }}
2830
steps:
29-
- uses: actions/checkout@v3
31+
- uses: actions/checkout@v4
3032
- name: Cache SPM
31-
uses: actions/cache@v3
33+
uses: actions/cache@v4
3234
with:
3335
path: ~/Library/Developer/Xcode/DerivedData/Parse*/SourcePackages/
3436
key: ${{ runner.os }}-spm-${{ hashFiles('Parse.xcworkspace/xcshareddata/swiftpm/Package.resolved') }}
3537
restore-keys: |
3638
${{ runner.os }}-spm-
3739
- name: Setup Ruby
38-
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
39-
- name: Cache Gems
40-
id: cache-gems
41-
uses: actions/cache@v3
40+
uses: ruby/setup-ruby@v1
4241
with:
43-
path: vendor/bundle
44-
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
45-
restore-keys: |
46-
${{ runner.os }}-gem-
42+
bundler-cache: true
4743
- name: Create and set the default keychain
4844
run: |
4945
security create-keychain -p "" temporary
5046
security default-keychain -s temporary
5147
security unlock-keychain -p "" temporary
5248
security set-keychain-settings -lut 7200 temporary
5349
- name: Submodules
54-
run: |
55-
git submodule update --init --recursive
56-
sudo gem install bundler -v 2.4.22
57-
bundle config set path 'vendor/bundle'
58-
- name: Bundle Install
59-
if: steps.cache-gems.outputs.cache-hit != 'true'
60-
run: bundle install
50+
run: git submodule update --init --recursive
6151
- name: Build-Test
62-
run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake ${{ matrix.script == 'xcode15' && 'build:starters' || matrix.script }}
52+
run: set -o pipefail && env NSUnbufferedIO=YES bundle exec rake ${{ ((matrix.script == 'xcode14' || matrix.script == 'xcode15' || matrix.script == 'xcode16') && 'build:starters') || matrix.script }}
6353
env:
64-
DEVELOPER_DIR: ${{ (matrix.script == 'xcode15' && env.CI_XCODE_15) || env.CI_XCODE_14 }}
54+
DEVELOPER_DIR: ${{ (matrix.script == 'xcode15' && env.CI_XCODE_15) || (matrix.script == 'xcode16' && env.CI_XCODE_16) || env.CI_XCODE_14 }}
6555
- name: Generate Environment Variables
6656
if: ${{ always() }}
6757
env:
@@ -116,25 +106,13 @@ jobs:
116106
runs-on: macos-13
117107
timeout-minutes: 15
118108
steps:
119-
- uses: actions/checkout@v3
109+
- uses: actions/checkout@v4
120110
- name: Setup Ruby
121-
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
122-
- name: Cache Gems
123-
id: cache-gems
124-
uses: actions/cache@v3
111+
uses: ruby/setup-ruby@v1
125112
with:
126-
path: vendor/bundle
127-
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
128-
restore-keys: |
129-
${{ runner.os }}-gem-
113+
bundler-cache: true
130114
- name: Submodules
131-
run: |
132-
git submodule update --init --recursive
133-
sudo gem install bundler -v 2.4.22
134-
bundle config path vendor/bundle
135-
- name: Bundle Install
136-
if: steps.cache-gems.outputs.cache-hit != 'true'
137-
run: bundle install
115+
run: git submodule update --init --recursive
138116
- name: Create Jazzy Docs
139117
run: |
140118
./Scripts/jazzy.sh

.github/workflows/release-automated.yml

+4-16
Original file line numberDiff line numberDiff line change
@@ -49,27 +49,15 @@ jobs:
4949
runs-on: macos-13
5050
steps:
5151
- name: Checkout repository
52-
uses: actions/checkout@v3
52+
uses: actions/checkout@v4
5353
with:
5454
ref: ${{ needs.release.outputs.current_tag }}
5555
- name: Setup Ruby
56-
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
57-
- name: Cache Gems
58-
id: cache-gems
59-
uses: actions/cache@v3
56+
uses: ruby/setup-ruby@v1
6057
with:
61-
path: vendor/bundle
62-
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
63-
restore-keys: |
64-
${{ runner.os }}-gem-
58+
bundler-cache: true
6559
- name: Submodules
66-
run: |
67-
git submodule update --init --recursive
68-
sudo gem install bundler -v 2.4.22
69-
bundle config path vendor/bundle
70-
- name: Bundle Install
71-
if: steps.cache-gems.outputs.cache-hit != 'true'
72-
run: bundle install
60+
run: git submodule update --init --recursive
7361
- name: Create Jazzy Docs
7462
run: |
7563
./Scripts/jazzy.sh

.github/workflows/release-manual-docs.yml

+4-16
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,15 @@ jobs:
1414
runs-on: macos-13
1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
with:
1919
ref: ${{ github.event.inputs.tag }}
2020
- name: Setup Ruby
21-
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
22-
- name: Cache Gems
23-
id: cache-gems
24-
uses: actions/cache@v3
21+
uses: ruby/setup-ruby@v1
2522
with:
26-
path: vendor/bundle
27-
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
28-
restore-keys: |
29-
${{ runner.os }}-gem-
23+
bundler-cache: true
3024
- name: Submodules
31-
run: |
32-
git submodule update --init --recursive
33-
sudo gem install bundler -v 2.4.22
34-
bundle config path vendor/bundle
35-
- name: Bundle Install
36-
if: steps.cache-gems.outputs.cache-hit != 'true'
37-
run: bundle install
25+
run: git submodule update --init --recursive
3826
- name: Create Jazzy Docs
3927
run: |
4028
./Scripts/jazzy.sh

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby-2.7.2
1+
ruby-3.1.0

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ For analyzing bugs, creating bug fixes and features we recommend to clone this r
2121
Install all dependencies:
2222
```
2323
git submodule update --init --recursive
24-
gem install bundler -v 2.4.22
24+
gem install bundler -v 2.5.22
2525
bundle install
2626
```
2727
Run the tests:

Gemfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
source 'https://rubygems.org'
22

33
# Docs
4-
gem 'jazzy', '~> 0.15.0'
4+
gem 'jazzy', '~> 0.15.3'
55

66
# Development
7-
gem 'xcpretty'
8-
gem 'rake'
9-
gem 'plist'
7+
gem 'xcpretty', '~> 0.4.0'
8+
gem 'rake', '~> 13.2.1'
9+
gem 'plist', '~> 3.7.1'

Gemfile.lock

+57-45
Original file line numberDiff line numberDiff line change
@@ -5,49 +5,56 @@ GEM
55
base64
66
nkf
77
rexml
8-
activesupport (5.2.8.1)
9-
concurrent-ruby (~> 1.0, >= 1.0.2)
10-
i18n (>= 0.7, < 2)
11-
minitest (~> 5.1)
12-
tzinfo (~> 1.1)
8+
activesupport (7.2.1.2)
9+
base64
10+
bigdecimal
11+
concurrent-ruby (~> 1.0, >= 1.3.1)
12+
connection_pool (>= 2.2.5)
13+
drb
14+
i18n (>= 1.6, < 2)
15+
logger (>= 1.4.2)
16+
minitest (>= 5.1)
17+
securerandom (>= 0.3)
18+
tzinfo (~> 2.0, >= 2.0.5)
1319
addressable (2.8.7)
1420
public_suffix (>= 2.0.2, < 7.0)
1521
algoliasearch (1.27.5)
1622
httpclient (~> 2.8, >= 2.8.3)
1723
json (>= 1.5.1)
1824
atomos (0.1.3)
1925
base64 (0.2.0)
26+
bigdecimal (3.1.8)
2027
claide (1.1.0)
21-
cocoapods (1.10.2)
22-
addressable (~> 2.6)
28+
cocoapods (1.16.1)
29+
addressable (~> 2.8)
2330
claide (>= 1.0.2, < 2.0)
24-
cocoapods-core (= 1.10.2)
31+
cocoapods-core (= 1.16.1)
2532
cocoapods-deintegrate (>= 1.0.3, < 2.0)
26-
cocoapods-downloader (>= 1.4.0, < 2.0)
33+
cocoapods-downloader (>= 2.1, < 3.0)
2734
cocoapods-plugins (>= 1.0.0, < 2.0)
2835
cocoapods-search (>= 1.0.0, < 2.0)
29-
cocoapods-trunk (>= 1.4.0, < 2.0)
36+
cocoapods-trunk (>= 1.6.0, < 2.0)
3037
cocoapods-try (>= 1.1.0, < 2.0)
3138
colored2 (~> 3.1)
3239
escape (~> 0.0.4)
3340
fourflusher (>= 2.3.0, < 3.0)
3441
gh_inspector (~> 1.0)
35-
molinillo (~> 0.6.6)
42+
molinillo (~> 0.8.0)
3643
nap (~> 1.0)
37-
ruby-macho (~> 1.4)
38-
xcodeproj (>= 1.19.0, < 2.0)
39-
cocoapods-core (1.10.2)
40-
activesupport (> 5.0, < 6)
41-
addressable (~> 2.6)
44+
ruby-macho (>= 2.3.0, < 3.0)
45+
xcodeproj (>= 1.26.0, < 2.0)
46+
cocoapods-core (1.16.1)
47+
activesupport (>= 5.0, < 8)
48+
addressable (~> 2.8)
4249
algoliasearch (~> 1.0)
4350
concurrent-ruby (~> 1.1)
4451
fuzzy_match (~> 2.0.4)
4552
nap (~> 1.0)
4653
netrc (~> 0.11)
47-
public_suffix
54+
public_suffix (~> 4.0)
4855
typhoeus (~> 1.0)
4956
cocoapods-deintegrate (1.0.5)
50-
cocoapods-downloader (1.6.3)
57+
cocoapods-downloader (2.1)
5158
cocoapods-plugins (1.0.0)
5259
nap
5360
cocoapods-search (1.0.1)
@@ -56,18 +63,21 @@ GEM
5663
netrc (~> 0.11)
5764
cocoapods-try (1.2.0)
5865
colored2 (3.1.2)
59-
concurrent-ruby (1.3.3)
66+
concurrent-ruby (1.3.4)
67+
connection_pool (2.4.1)
68+
drb (2.2.1)
6069
escape (0.0.4)
6170
ethon (0.16.0)
6271
ffi (>= 1.15.0)
63-
ffi (1.17.0)
72+
ffi (1.17.0-arm64-darwin)
73+
ffi (1.17.0-x86_64-darwin)
6474
fourflusher (2.3.1)
6575
fuzzy_match (2.0.4)
6676
gh_inspector (1.1.3)
6777
httpclient (2.8.3)
68-
i18n (1.14.5)
78+
i18n (1.14.6)
6979
concurrent-ruby (~> 1.0)
70-
jazzy (0.15.1)
80+
jazzy (0.15.3)
7181
cocoapods (~> 1.5)
7282
mustache (~> 1.1)
7383
open4 (~> 1.3)
@@ -77,52 +87,54 @@ GEM
7787
sassc (~> 2.1)
7888
sqlite3 (~> 1.3)
7989
xcinvoke (~> 0.3.0)
80-
json (2.7.2)
90+
json (2.7.4)
8191
liferaft (0.0.6)
82-
mini_portile2 (2.8.7)
83-
minitest (5.24.1)
84-
molinillo (0.6.6)
92+
logger (1.6.1)
93+
minitest (5.25.1)
94+
molinillo (0.8.0)
8595
mustache (1.1.1)
86-
nanaimo (0.3.0)
96+
nanaimo (0.4.0)
8797
nap (1.1.0)
8898
netrc (0.11.0)
8999
nkf (0.2.0)
90100
open4 (1.3.4)
91101
plist (3.7.1)
92102
public_suffix (4.0.7)
93-
rake (13.0.6)
103+
rake (13.2.1)
94104
redcarpet (3.6.0)
95105
rexml (3.3.9)
96-
rouge (2.0.7)
97-
ruby-macho (1.4.0)
106+
rouge (3.28.0)
107+
ruby-macho (2.5.1)
98108
sassc (2.4.0)
99109
ffi (~> 1.9)
100-
sqlite3 (1.7.3)
101-
mini_portile2 (~> 2.8.0)
102-
thread_safe (0.3.6)
110+
securerandom (0.3.1)
111+
sqlite3 (1.7.3-arm64-darwin)
112+
sqlite3 (1.7.3-x86_64-darwin)
103113
typhoeus (1.4.1)
104114
ethon (>= 0.9.0)
105-
tzinfo (1.2.11)
106-
thread_safe (~> 0.1)
115+
tzinfo (2.0.6)
116+
concurrent-ruby (~> 1.0)
107117
xcinvoke (0.3.0)
108118
liferaft (~> 0.0.6)
109-
xcodeproj (1.19.0)
119+
xcodeproj (1.26.0)
110120
CFPropertyList (>= 2.3.3, < 4.0)
111121
atomos (~> 0.1.3)
112122
claide (>= 1.0.2, < 2.0)
113123
colored2 (~> 3.1)
114-
nanaimo (~> 0.3.0)
115-
xcpretty (0.3.0)
116-
rouge (~> 2.0.7)
124+
nanaimo (~> 0.4.0)
125+
rexml (>= 3.3.6, < 4.0)
126+
xcpretty (0.4.0)
127+
rouge (~> 3.28.0)
117128

118129
PLATFORMS
119-
ruby
130+
arm64-darwin
131+
x86_64-darwin
120132

121133
DEPENDENCIES
122-
jazzy (~> 0.15.0)
123-
plist
124-
rake
125-
xcpretty
134+
jazzy (~> 0.15.3)
135+
plist (~> 3.7.1)
136+
rake (~> 13.2.1)
137+
xcpretty (~> 0.4.0)
126138

127139
BUNDLED WITH
128-
2.4.22
140+
2.5.22

Package.resolved

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"repositoryURL": "https://github.com/erikdoe/ocmock.git",
2525
"state": {
2626
"branch": null,
27-
"revision": "67bb9602f0a7541f24dc2d6d0d7389ca3e4c2c89",
27+
"revision": "2c0bfd373289f4a7716db5d6db471640f91a6507",
2828
"version": null
2929
}
3030
},

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ let package = Package(
1919
.package(url: "https://github.com/parse-community/Bolts-ObjC.git", from: "1.10.0"),
2020
.package(url: "https://github.com/BoltsFramework/Bolts-Swift.git", from: "1.5.0"),
2121
.package(url: "https://github.com/daltoniam/Starscream.git", from: "4.0.8"),
22-
.package(name: "OCMock", url: "https://github.com/erikdoe/ocmock.git", .revision("67bb9602f0a7541f24dc2d6d0d7389ca3e4c2c89"))
22+
.package(name: "OCMock", url: "https://github.com/erikdoe/ocmock.git", .revision("2c0bfd373289f4a7716db5d6db471640f91a6507"))
2323
],
2424
targets: [
2525
.target(

Parse.xcworkspace/xcshareddata/swiftpm/Package.resolved

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"repositoryURL": "https://github.com/erikdoe/ocmock",
2525
"state": {
2626
"branch": null,
27-
"revision": "67bb9602f0a7541f24dc2d6d0d7389ca3e4c2c89",
27+
"revision": "2c0bfd373289f4a7716db5d6db471640f91a6507",
2828
"version": null
2929
}
3030
},

0 commit comments

Comments
 (0)