run_loop 4.5.2 → 4.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 16f818c110c89784deca4f791ac4f821e1b2254fb19840e82129976ecb00b807
|
|
4
|
+
data.tar.gz: baeda90c6296caee5a80e5c1f01c1454ed6efc78f7cdfcd83660e7021f2a281f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6c6e8eb1d7139221687cadf52b914eb73ca624bf4b80bad41fe5d992ed207b28d078a3bdbc119bd1abf888efe15c4c20da4dcb907871d479305c2f8b550d45e6
|
|
7
|
+
data.tar.gz: 519dab723a19fa4e470620b318ffac2f3f60072dca1a35ba7ae746cdc7c77bfa604b82c5f240960210bec3816144a0248ab28c8d7c101a20ce7d4e37ab85d979
|
|
@@ -1177,11 +1177,28 @@ Command had no output.
|
|
|
1177
1177
|
File.expand_path(apps_dir)
|
|
1178
1178
|
end
|
|
1179
1179
|
|
|
1180
|
+
# @!visibility private
|
|
1181
|
+
def self.system_services_dir(xcode=RunLoop::Xcode.new)
|
|
1182
|
+
if xcode.version_gte_90?
|
|
1183
|
+
apps_dir = File.join(xcode.core_simulator_dir,
|
|
1184
|
+
"Profiles", "Runtimes", "iOS.simruntime",
|
|
1185
|
+
"Contents", "Resources", "RuntimeRoot",
|
|
1186
|
+
"System", "Library", "CoreServices")
|
|
1187
|
+
else
|
|
1188
|
+
apps_dir = File.join(xcode.developer_dir,
|
|
1189
|
+
"Platforms", "iPhoneSimulator.platform",
|
|
1190
|
+
"Developer", "SDKs", "iPhoneSimulator.sdk",
|
|
1191
|
+
"System", "Library", "CoreServices")
|
|
1192
|
+
end
|
|
1193
|
+
File.expand_path(apps_dir)
|
|
1194
|
+
end
|
|
1195
|
+
|
|
1180
1196
|
# @!visibility private
|
|
1181
1197
|
def self.system_app_installed?(bundle_identifier, xcode)
|
|
1182
1198
|
apps_dir = self.send(:system_applications_dir, xcode)
|
|
1199
|
+
serv_dir = self.send(:system_services_dir, xcode)
|
|
1183
1200
|
|
|
1184
|
-
return false if !File.exist?(apps_dir)
|
|
1201
|
+
return false if !File.exist?(apps_dir) || !File.exist?(serv_dir)
|
|
1185
1202
|
|
|
1186
1203
|
if xcode.version_gte_90?
|
|
1187
1204
|
black_list = [
|
|
@@ -1197,7 +1214,7 @@ Command had no output.
|
|
|
1197
1214
|
black_list = ["Fitness.app", "Photo Booth.app", "ScreenSharingViewService.app"]
|
|
1198
1215
|
end
|
|
1199
1216
|
|
|
1200
|
-
Dir.glob("#{apps_dir}/*.app").detect do |app_dir|
|
|
1217
|
+
[Dir.glob("#{apps_dir}/*.app"), Dir.glob("#{serv_dir}/*.app")].flatten.detect do |app_dir|
|
|
1201
1218
|
basename = File.basename(app_dir)
|
|
1202
1219
|
if black_list.include?(basename)
|
|
1203
1220
|
false
|
|
Binary file
|
|
Binary file
|
data/lib/run_loop/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: run_loop
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.5.
|
|
4
|
+
version: 4.5.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Karl Krukow
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2020-04-14 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: json
|
|
@@ -179,16 +179,30 @@ dependencies:
|
|
|
179
179
|
name: rake
|
|
180
180
|
requirement: !ruby/object:Gem::Requirement
|
|
181
181
|
requirements:
|
|
182
|
-
- - "
|
|
182
|
+
- - ">="
|
|
183
183
|
- !ruby/object:Gem::Version
|
|
184
|
-
version: '
|
|
184
|
+
version: '0'
|
|
185
185
|
type: :development
|
|
186
186
|
prerelease: false
|
|
187
187
|
version_requirements: !ruby/object:Gem::Requirement
|
|
188
188
|
requirements:
|
|
189
|
-
- - "
|
|
189
|
+
- - ">="
|
|
190
190
|
- !ruby/object:Gem::Version
|
|
191
|
-
version: '
|
|
191
|
+
version: '0'
|
|
192
|
+
- !ruby/object:Gem::Dependency
|
|
193
|
+
name: xcpretty
|
|
194
|
+
requirement: !ruby/object:Gem::Requirement
|
|
195
|
+
requirements:
|
|
196
|
+
- - ">="
|
|
197
|
+
- !ruby/object:Gem::Version
|
|
198
|
+
version: '0'
|
|
199
|
+
type: :development
|
|
200
|
+
prerelease: false
|
|
201
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
202
|
+
requirements:
|
|
203
|
+
- - ">="
|
|
204
|
+
- !ruby/object:Gem::Version
|
|
205
|
+
version: '0'
|
|
192
206
|
- !ruby/object:Gem::Dependency
|
|
193
207
|
name: guard-rspec
|
|
194
208
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -437,7 +451,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
437
451
|
- !ruby/object:Gem::Version
|
|
438
452
|
version: '0'
|
|
439
453
|
requirements: []
|
|
440
|
-
rubygems_version: 3.
|
|
454
|
+
rubygems_version: 3.1.2
|
|
441
455
|
signing_key:
|
|
442
456
|
specification_version: 4
|
|
443
457
|
summary: The bridge between Calabash iOS and Xcode command-line tools like instruments
|