run_loop 4.6.1 → 4.6.3

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: 6a702e221aabdf5ef9007d6df4aa836002f7f21b381270e98bffa41f3f805feb
4
- data.tar.gz: bfa0c9185ad782f8304d034e00a3c25a996b38899e6fa7b8c7de92f6b243f9ef
3
+ metadata.gz: 3391e1c62b94812168a535194b2b39e12190326e2a1f010412357b8bdfad0a88
4
+ data.tar.gz: 64b35a1df2e5ab8558323ab5997f5de996fdd556d81f1104e1e6b0a5e9c61b20
5
5
  SHA512:
6
- metadata.gz: b816361610662fa221c31ccffdd1ee083a07f7be79cb9b58848d4b040f9ddbb44f92ca8858f3f070957a26854acfe98954279419f6b5fe6d887cae038c7194dc
7
- data.tar.gz: ae528fae7f7b75aaa2304ffd09f321f8a7da95f372b48e9456a6f49c1675836d2b100f4730868b5dfa695bb05fa3bc1c53f763f709b314fb3f026d8d5f6b7272
6
+ metadata.gz: 0d4859285aeb2d22e09fb41321bd02892bcbfba12ac88748bf28e05b6d408c148f9e99a2a6151c23732f4440b8db8b42330e1578d30facdb105cebf8207b38fd
7
+ data.tar.gz: 02562ccd90b149bf7af514aa1691c5b591d48109d4c78bcef88e855eef5c28573c4a2fd7a3e1ea0275f9489fe91878490c817b12664cd16e1c43cdaeae80949d
@@ -667,6 +667,7 @@ Could not dismiss SpringBoard alert by touching button with title '#{button_titl
667
667
  end
668
668
 
669
669
  parameters = { :dismiss_automatically => true_or_false }
670
+ @springboard_alert_enabled = true_or_false
670
671
  request = request("set-dismiss-springboard-alerts-automatically", parameters)
671
672
  client = http_client(http_options)
672
673
  response = client.post(request)
@@ -1743,6 +1744,8 @@ Valid values are: :down, :up, :right, :left, :bottom, :top
1743
1744
  # @!visibility private
1744
1745
  # Private method. Do not call.
1745
1746
  def _dismiss_springboard_alerts
1747
+ return if @springboard_alert_enabled == false
1748
+
1746
1749
  request = request("dismiss-springboard-alerts")
1747
1750
  client = http_client(http_options)
1748
1751
  response = client.post(request)
@@ -1,5 +1,5 @@
1
1
  module RunLoop
2
- VERSION = "4.6.1"
2
+ VERSION = "4.6.3"
3
3
 
4
4
  # A model of a software release version that can be used to compare two versions.
5
5
  #
@@ -346,6 +346,9 @@ $ man xcode-select
346
346
  xcode_version = version
347
347
  sim_major = xcode_version.major + 2
348
348
  sim_minor = xcode_version.minor
349
+ if xcode_version.major == 13
350
+ sim_minor = 0
351
+ end
349
352
  if xcode_version == v103
350
353
  sim_minor = 4
351
354
  end
@@ -355,10 +358,25 @@ $ man xcode-select
355
358
 
356
359
  def default_device
357
360
  xcode_version = version
361
+
362
+ # Xcode 13.
363
+ if xcode_version.major == 13
364
+ return "iPhone 13"
365
+ end
366
+
367
+ # Xcode 12.
368
+ if xcode_version.major == 12 && xcode_version.minor >= 2
369
+ return "iPhone 12"
370
+ elsif xcode_version.major == 12 && xcode_version.minor < 2
371
+ return "iPhone 11"
372
+ end
373
+
374
+ # Xcode 11.
358
375
  if xcode_version.major == 11
359
376
  return "iPhone 11"
360
377
  end
361
378
 
379
+ # Xcode 10.
362
380
  if xcode_version.major == 10
363
381
  if xcode_version.minor >= 2
364
382
  return "iPhone Xs"
@@ -367,7 +385,7 @@ $ man xcode-select
367
385
  end
368
386
  end
369
387
 
370
- # Xcode < 10
388
+ # Xcode < 10.
371
389
  return "iPhone #{xcode_version.major - 1}"
372
390
  end
373
391
 
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.6.1
4
+ version: 4.6.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: 2021-11-09 00:00:00.000000000 Z
12
+ date: 2022-01-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
@@ -29,124 +29,100 @@ dependencies:
29
29
  name: awesome_print
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: '1.8'
34
+ version: '0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "~>"
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: '1.8'
41
+ version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: thor
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - ">="
47
47
  - !ruby/object:Gem::Version
48
- version: 0.20.0
49
- - - "<"
50
- - !ruby/object:Gem::Version
51
- version: '1.0'
48
+ version: '0'
52
49
  type: :runtime
53
50
  prerelease: false
54
51
  version_requirements: !ruby/object:Gem::Requirement
55
52
  requirements:
56
53
  - - ">="
57
54
  - !ruby/object:Gem::Version
58
- version: 0.20.0
59
- - - "<"
60
- - !ruby/object:Gem::Version
61
- version: '1.0'
55
+ version: '0'
62
56
  - !ruby/object:Gem::Dependency
63
57
  name: command_runner_ng
64
58
  requirement: !ruby/object:Gem::Requirement
65
59
  requirements:
66
60
  - - ">="
67
61
  - !ruby/object:Gem::Version
68
- version: 0.1.4
69
- - - "<"
70
- - !ruby/object:Gem::Version
71
- version: '1.0'
62
+ version: '0'
72
63
  type: :runtime
73
64
  prerelease: false
74
65
  version_requirements: !ruby/object:Gem::Requirement
75
66
  requirements:
76
67
  - - ">="
77
68
  - !ruby/object:Gem::Version
78
- version: 0.1.4
79
- - - "<"
80
- - !ruby/object:Gem::Version
81
- version: '1.0'
69
+ version: '0'
82
70
  - !ruby/object:Gem::Dependency
83
71
  name: httpclient
84
72
  requirement: !ruby/object:Gem::Requirement
85
73
  requirements:
86
74
  - - ">="
87
75
  - !ruby/object:Gem::Version
88
- version: 2.7.1
89
- - - "<"
90
- - !ruby/object:Gem::Version
91
- version: '3.0'
76
+ version: '0'
92
77
  type: :runtime
93
78
  prerelease: false
94
79
  version_requirements: !ruby/object:Gem::Requirement
95
80
  requirements:
96
81
  - - ">="
97
82
  - !ruby/object:Gem::Version
98
- version: 2.7.1
99
- - - "<"
100
- - !ruby/object:Gem::Version
101
- version: '3.0'
83
+ version: '0'
102
84
  - !ruby/object:Gem::Dependency
103
85
  name: i18n
104
86
  requirement: !ruby/object:Gem::Requirement
105
87
  requirements:
106
88
  - - ">="
107
89
  - !ruby/object:Gem::Version
108
- version: 0.7.0
109
- - - "<"
110
- - !ruby/object:Gem::Version
111
- version: '1.9'
90
+ version: '0'
112
91
  type: :runtime
113
92
  prerelease: false
114
93
  version_requirements: !ruby/object:Gem::Requirement
115
94
  requirements:
116
95
  - - ">="
117
96
  - !ruby/object:Gem::Version
118
- version: 0.7.0
119
- - - "<"
120
- - !ruby/object:Gem::Version
121
- version: '1.9'
97
+ version: '0'
122
98
  - !ruby/object:Gem::Dependency
123
99
  name: rspec_junit_formatter
124
100
  requirement: !ruby/object:Gem::Requirement
125
101
  requirements:
126
- - - "~>"
102
+ - - ">="
127
103
  - !ruby/object:Gem::Version
128
- version: '0.3'
104
+ version: '0'
129
105
  type: :development
130
106
  prerelease: false
131
107
  version_requirements: !ruby/object:Gem::Requirement
132
108
  requirements:
133
- - - "~>"
109
+ - - ">="
134
110
  - !ruby/object:Gem::Version
135
- version: '0.3'
111
+ version: '0'
136
112
  - !ruby/object:Gem::Dependency
137
113
  name: luffa
138
114
  requirement: !ruby/object:Gem::Requirement
139
115
  requirements:
140
- - - "~>"
116
+ - - ">="
141
117
  - !ruby/object:Gem::Version
142
- version: '2.0'
118
+ version: '0'
143
119
  type: :development
144
120
  prerelease: false
145
121
  version_requirements: !ruby/object:Gem::Requirement
146
122
  requirements:
147
- - - "~>"
123
+ - - ">="
148
124
  - !ruby/object:Gem::Version
149
- version: '2.0'
125
+ version: '0'
150
126
  - !ruby/object:Gem::Dependency
151
127
  name: bundler
152
128
  requirement: !ruby/object:Gem::Requirement
@@ -165,16 +141,16 @@ dependencies:
165
141
  name: rspec
166
142
  requirement: !ruby/object:Gem::Requirement
167
143
  requirements:
168
- - - "~>"
144
+ - - ">="
169
145
  - !ruby/object:Gem::Version
170
- version: '3.0'
146
+ version: '0'
171
147
  type: :development
172
148
  prerelease: false
173
149
  version_requirements: !ruby/object:Gem::Requirement
174
150
  requirements:
175
- - - "~>"
151
+ - - ">="
176
152
  - !ruby/object:Gem::Version
177
- version: '3.0'
153
+ version: '0'
178
154
  - !ruby/object:Gem::Dependency
179
155
  name: rake
180
156
  requirement: !ruby/object:Gem::Requirement
@@ -207,92 +183,86 @@ dependencies:
207
183
  name: guard-rspec
208
184
  requirement: !ruby/object:Gem::Requirement
209
185
  requirements:
210
- - - "~>"
186
+ - - ">="
211
187
  - !ruby/object:Gem::Version
212
- version: '4.0'
188
+ version: '0'
213
189
  type: :development
214
190
  prerelease: false
215
191
  version_requirements: !ruby/object:Gem::Requirement
216
192
  requirements:
217
- - - "~>"
193
+ - - ">="
218
194
  - !ruby/object:Gem::Version
219
- version: '4.0'
195
+ version: '0'
220
196
  - !ruby/object:Gem::Dependency
221
197
  name: terminal-notifier
222
198
  requirement: !ruby/object:Gem::Requirement
223
199
  requirements:
224
- - - "~>"
200
+ - - ">="
225
201
  - !ruby/object:Gem::Version
226
- version: '2.0'
202
+ version: '0'
227
203
  type: :development
228
204
  prerelease: false
229
205
  version_requirements: !ruby/object:Gem::Requirement
230
206
  requirements:
231
- - - "~>"
207
+ - - ">="
232
208
  - !ruby/object:Gem::Version
233
- version: '2.0'
209
+ version: '0'
234
210
  - !ruby/object:Gem::Dependency
235
211
  name: terminal-notifier-guard
236
212
  requirement: !ruby/object:Gem::Requirement
237
213
  requirements:
238
- - - "~>"
214
+ - - ">="
239
215
  - !ruby/object:Gem::Version
240
- version: '1.0'
216
+ version: '0'
241
217
  type: :development
242
218
  prerelease: false
243
219
  version_requirements: !ruby/object:Gem::Requirement
244
220
  requirements:
245
- - - "~>"
221
+ - - ">="
246
222
  - !ruby/object:Gem::Version
247
- version: '1.0'
223
+ version: '0'
248
224
  - !ruby/object:Gem::Dependency
249
225
  name: guard-bundler
250
226
  requirement: !ruby/object:Gem::Requirement
251
227
  requirements:
252
- - - "~>"
228
+ - - ">="
253
229
  - !ruby/object:Gem::Version
254
- version: '2.0'
230
+ version: '0'
255
231
  type: :development
256
232
  prerelease: false
257
233
  version_requirements: !ruby/object:Gem::Requirement
258
234
  requirements:
259
- - - "~>"
235
+ - - ">="
260
236
  - !ruby/object:Gem::Version
261
- version: '2.0'
237
+ version: '0'
262
238
  - !ruby/object:Gem::Dependency
263
239
  name: listen
264
240
  requirement: !ruby/object:Gem::Requirement
265
241
  requirements:
266
- - - '='
242
+ - - ">="
267
243
  - !ruby/object:Gem::Version
268
- version: 3.0.6
244
+ version: '0'
269
245
  type: :development
270
246
  prerelease: false
271
247
  version_requirements: !ruby/object:Gem::Requirement
272
248
  requirements:
273
- - - '='
249
+ - - ">="
274
250
  - !ruby/object:Gem::Version
275
- version: 3.0.6
251
+ version: '0'
276
252
  - !ruby/object:Gem::Dependency
277
253
  name: stub_env
278
254
  requirement: !ruby/object:Gem::Requirement
279
255
  requirements:
280
256
  - - ">="
281
257
  - !ruby/object:Gem::Version
282
- version: 1.0.1
283
- - - "<"
284
- - !ruby/object:Gem::Version
285
- version: '2.0'
258
+ version: '0'
286
259
  type: :development
287
260
  prerelease: false
288
261
  version_requirements: !ruby/object:Gem::Requirement
289
262
  requirements:
290
263
  - - ">="
291
264
  - !ruby/object:Gem::Version
292
- version: 1.0.1
293
- - - "<"
294
- - !ruby/object:Gem::Version
295
- version: '2.0'
265
+ version: '0'
296
266
  - !ruby/object:Gem::Dependency
297
267
  name: pry
298
268
  requirement: !ruby/object:Gem::Requirement
@@ -451,7 +421,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
451
421
  - !ruby/object:Gem::Version
452
422
  version: '0'
453
423
  requirements: []
454
- rubygems_version: 3.1.4
424
+ rubygems_version: 3.3.3
455
425
  signing_key:
456
426
  specification_version: 4
457
427
  summary: The bridge between Calabash iOS and Xcode command-line tools like instruments