run_loop 4.5.4 → 4.5.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e00dab5364990c6a278b51a76c0b3cf52c0ff4c8cea57c025c02f7079c4d2087
4
- data.tar.gz: 89ac3bffb977681cbf913739b5539d4bd292fa2a568180aee0f4cc65678482e3
3
+ metadata.gz: 64548fd715c83de1eba74493cc7dbf67d5c8ec937e71102aa6fe7c0e09544da8
4
+ data.tar.gz: '03998ac021e1a6e2442d1a3f4ea91a0322902deefbce3f84562e827f00ad37bf'
5
5
  SHA512:
6
- metadata.gz: fbd73bd341c201732bf87ad89af37bffc1ca8f92be088e5a9336959c804622fd4847a86f13dfeaccb4e2f5e45d2b3b83a1bd031c24c3ac9c076c25655dc012f6
7
- data.tar.gz: 11fa3bdb584ec73aa5a9bd0674f3eecc6ddd3aae3df6a3dde55faa225dd570f6c436682da00e6bcd2c78a6bde48283e812e411a51e9a179630260effa4efeb77
6
+ metadata.gz: 73a71467730661e5c758c7829724ca4b79540d6b8cc84cdcea36411f11e86fb8802399fa4441290e792e78b926183a9d7c9296fe2cea1cc630d0e43108218461
7
+ data.tar.gz: 4dd9750988105882527a013372b7a6b086d1e402bbb4ad325c2d8322338b98f440d6a17dd454ad9f7325832b973d0035732cb23c9685f2b2d6cceff8b976fc2f
@@ -612,7 +612,9 @@ Could not update the Simulator languages.
612
612
  def simulator_required_child_processes
613
613
  # required: ["SimulatorBridge", "medialibraryd"]
614
614
  @simulator_required_child_processes ||= begin
615
- if xcode.version_gte_100?
615
+ if xcode.version_gte_120?
616
+ required = ["backboardd", "SpringBoard"]
617
+ elsif xcode.version_gte_100?
616
618
  required = ["backboardd", "installd", "SpringBoard"]
617
619
  elsif xcode.version_gte_83? && version.major > 10
618
620
  required = ["backboardd", "installd", "SpringBoard", "suggestd"]
@@ -1,5 +1,5 @@
1
1
  module RunLoop
2
- VERSION = "4.5.4"
2
+ VERSION = "4.5.5"
3
3
 
4
4
  # A model of a software release version that can be used to compare two versions.
5
5
  #
@@ -26,6 +26,14 @@ module RunLoop
26
26
  to_s
27
27
  end
28
28
 
29
+ # Returns a version instance for Xcode 12.0; used to check for the
30
+ # availability of features and paths to various items on the filesystem
31
+ #
32
+ # @return [RunLoop::Version] 12.0
33
+ def v120
34
+ fetch_version(:v120)
35
+ end
36
+
29
37
  # Returns a version instance for Xcode 11.0; used to check for the
30
38
  # availability of features and paths to various items on the filesystem
31
39
  #
@@ -130,6 +138,13 @@ module RunLoop
130
138
  fetch_version(:v80)
131
139
  end
132
140
 
141
+ # Is the active Xcode version 12.0 or above?
142
+ #
143
+ # @return [Boolean] `true` if the current Xcode version is >= 12.0
144
+ def version_gte_120?
145
+ version >= v120
146
+ end
147
+
133
148
  # Is the active Xcode version 11.0 or above?
134
149
  #
135
150
  # @return [Boolean] `true` if the current Xcode version is >= 11.0
@@ -385,7 +400,7 @@ $ man xcode-select
385
400
  raise "Expected version key to start with 'v'"
386
401
  end
387
402
 
388
- if string.start_with?("v10") || string.start_with?("v11")
403
+ if string.start_with?("v10") || string.start_with?("v11") || string.start_with?("v12")
389
404
  expected_length = 4
390
405
  regex = /v\d{3}/
391
406
  else
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: run_loop
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.5.4
4
+ version: 4.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karl Krukow
8
8
  - Joshua Moody
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-11-02 00:00:00.000000000 Z
12
+ date: 2020-12-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
@@ -335,7 +335,7 @@ dependencies:
335
335
  - - ">="
336
336
  - !ruby/object:Gem::Version
337
337
  version: '0'
338
- description:
338
+ description:
339
339
  email:
340
340
  - karl.krukow@xamarin.com
341
341
  - josmoo@microsoft.com
@@ -436,7 +436,7 @@ homepage: http://calaba.sh
436
436
  licenses:
437
437
  - MIT
438
438
  metadata: {}
439
- post_install_message:
439
+ post_install_message:
440
440
  rdoc_options: []
441
441
  require_paths:
442
442
  - lib
@@ -452,7 +452,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
452
452
  version: '0'
453
453
  requirements: []
454
454
  rubygems_version: 3.1.4
455
- signing_key:
455
+ signing_key:
456
456
  specification_version: 4
457
457
  summary: The bridge between Calabash iOS and Xcode command-line tools like instruments
458
458
  and simctl.