run_loop 2.1.8 → 2.1.9

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
  SHA1:
3
- metadata.gz: edeacc3eddade4e3a26023d8b011b2fcea314f38
4
- data.tar.gz: f8ab2b05bb26507c5a1029d583faab39edf3a1ba
3
+ metadata.gz: 27742f67d963e5adb2a2593eacf8a2c2424fa91d
4
+ data.tar.gz: d45659fcb0afe6f1ca718258f79151855b3de433
5
5
  SHA512:
6
- metadata.gz: 05c864c7ea5163367eaa0efa4e961a80e78b5b721d5392cc32592b18b292451496088b367e52a2a7a61713d5dd2f82443c8014f4b4fdf15236ed46d900b84113
7
- data.tar.gz: 45a1cec5422e444c8155b038a7650949a756d719dbe451f17b036c04335878dffb542d908b9c443ba25024ad19502bd9d001e143bd015c488a07b2cc2f81d345
6
+ metadata.gz: 7740754d0a410b6309f93b7798182a439cf792d6abaa2861dc6a163a444937e39853fb0e550fa6e4b025cc575a265628f0f52df3a0d338a86da3bd5060cf37ef
7
+ data.tar.gz: 52faa616a1eee66cedf4889bac0b1d6b43f6fce7f52574b635b2e4bf1281c8445ba6e8889819af1b1c4fd4a8d2dd9309f112ccb9be3983dd1e3165f59aefea04
@@ -108,8 +108,8 @@ module RunLoop
108
108
  device = Device.detect_device(cloned_options, xcode, simctl, instruments)
109
109
  cloned_options[:device] = device
110
110
 
111
- gesture_performer = RunLoop.detect_gesture_performer(cloned_options, xcode, device)
112
- if gesture_performer == :device_agent
111
+ automator = RunLoop.detect_automator(cloned_options, xcode, device)
112
+ if automator == :device_agent
113
113
  RunLoop::DeviceAgent::Client.run(cloned_options)
114
114
  else
115
115
  if RunLoop::Instruments.new.instruments_app_running?
@@ -247,7 +247,7 @@ Please quit the Instruments.app and try again.)
247
247
  #
248
248
  # @param [RunLoop::Xcode] xcode The active Xcode
249
249
  # @param [RunLoop::Device] device The device under test.
250
- def self.default_gesture_performer(xcode, device)
250
+ def self.default_automator(xcode, device)
251
251
  # TODO XTC support
252
252
  return :instruments if RunLoop::Environment.xtc?
253
253
 
@@ -286,21 +286,21 @@ $ DEVELOPER_DIR=/path/to/Xcode/7.3.1/Xcode.app/Contents/Developer cucumber
286
286
  # @param [Hash] options The options passed by the user
287
287
  # @param [RunLoop::Xcode] xcode The active Xcode
288
288
  # @param [RunLoop::Device] device The device under test
289
- def self.detect_gesture_performer(options, xcode, device)
289
+ def self.detect_automator(options, xcode, device)
290
290
  # TODO XTC support
291
291
  return :instruments if RunLoop::Environment.xtc?
292
292
 
293
- gesture_performer = options[:gesture_performer]
293
+ automator = options[:automator]
294
294
 
295
- if gesture_performer
295
+ if automator
296
296
  if xcode.version_gte_8?
297
- if gesture_performer == :instruments
297
+ if automator == :instruments
298
298
  raise RuntimeError, %Q[
299
- Incompatible :gesture_performer option for active Xcode.
299
+ Incompatible :automator option for active Xcode.
300
300
 
301
- Detected :gesture_performer => :instruments and Xcode #{xcode.version}.
301
+ Detected :automator => :instruments and Xcode #{xcode.version}.
302
302
 
303
- Don't set the :gesture_performer option unless you are gem maintainer.
303
+ Don't set the :automator option unless you are gem maintainer.
304
304
 
305
305
  ]
306
306
  elsif device.version < RunLoop::Version.new("9.0")
@@ -318,25 +318,25 @@ You can rerun your test if you have Xcode 7 installed:
318
318
 
319
319
  $ DEVELOPER_DIR=/path/to/Xcode/7.3.1/Xcode.app/Contents/Developer cucumber
320
320
 
321
- Don't set the :gesture_performer option unless you are gem maintainer.
321
+ Don't set the :automator option unless you are gem maintainer.
322
322
 
323
323
  ]
324
324
  end
325
325
  end
326
326
 
327
- if ![:device_agent, :instruments].include?(gesture_performer)
327
+ if ![:device_agent, :instruments].include?(automator)
328
328
  raise RuntimeError, %Q[
329
- Invalid :gesture_performer option: #{gesture_performer}
329
+ Invalid :automator option: #{automator}
330
330
 
331
- Allowed performers: :device_agent or :instruments.
331
+ Allowed automators: :device_agent or :instruments.
332
332
 
333
- Don't set the :gesture_performer option unless you are gem maintainer.
333
+ Don't set the :automator option unless you are gem maintainer.
334
334
 
335
335
  ]
336
336
  end
337
- gesture_performer
337
+ automator
338
338
  else
339
- RunLoop.default_gesture_performer(xcode, device)
339
+ RunLoop.default_automator(xcode, device)
340
340
  end
341
341
  end
342
342
  end
@@ -222,7 +222,7 @@ means that the APP variable is pointing to a .app that does not exist.
222
222
  :repl_path => repl_path,
223
223
  :log_file => log_file,
224
224
  :results_dir => results_dir,
225
- :gesture_performer => :instruments
225
+ :automator => :instruments
226
226
  }
227
227
 
228
228
  uia_timeout = options[:uia_timeout] || RunLoop::Environment.uia_timeout || 10
@@ -85,7 +85,7 @@ $ xcrun security find-identity -v -p codesigning
85
85
  :cbx_launcher => cbx_launcher.name,
86
86
  :udid => device.udid,
87
87
  :app => bundle_id,
88
- :gesture_performer => :device_agent,
88
+ :automator => :device_agent,
89
89
  :code_sign_identity => code_sign_identity
90
90
  }
91
91
  RunLoop::Cache.default.write(cache)
@@ -1,5 +1,5 @@
1
1
  module RunLoop
2
- VERSION = "2.1.8"
2
+ VERSION = "2.1.9"
3
3
 
4
4
  # A model of a software release version that can be used to compare two versions.
5
5
  #
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: 2.1.8
4
+ version: 2.1.9
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: 2016-08-27 00:00:00.000000000 Z
12
+ date: 2016-09-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json