fastlane-plugin-automated_test_emulator_run 1.2.6 → 1.2.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19d716a3898ba2384d78330d51f4e95fd466dc8d
|
4
|
+
data.tar.gz: 31f99ecc88861217e77155cf8fed706bf2215f0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbe7b4c7706ab2a1a896eb97e4298f31d1f2b6a030a2ede3eca88fcf1e5fbf3754f9907ea1cd3dd9a868feb77493b3b5e7c65c0c4d0af75269d0ca5145d9979e
|
7
|
+
data.tar.gz: 19eba6ef90c9dbd6c797d1606a1aedb0d4f18948a444475371a5d05c186346fc5ff6887b3368846c53477b40b097dcf9e8093057cc31ab243054ad51f6829c71
|
data/lib/fastlane/plugin/automated_test_emulator_run/actions/automated_test_emulator_run_action.rb
CHANGED
@@ -71,9 +71,13 @@ module Fastlane
|
|
71
71
|
end
|
72
72
|
|
73
73
|
# Restart ADB
|
74
|
-
|
75
|
-
|
76
|
-
|
74
|
+
if params[:ADB_restart]
|
75
|
+
UI.message("Restarting adb".yellow)
|
76
|
+
Action.sh(adb_controller.command_stop)
|
77
|
+
Action.sh(adb_controller.command_start)
|
78
|
+
else
|
79
|
+
UI.message("ADB won't be restarted. 'ADB_restart' set to false.".yellow)
|
80
|
+
end
|
77
81
|
|
78
82
|
# Applying custom configs (it's not done directly after create because 'cat' operation seems to fail overwrite)
|
79
83
|
for i in 0...avd_schemes.length
|
@@ -284,7 +288,7 @@ module Fastlane
|
|
284
288
|
optional: true),
|
285
289
|
|
286
290
|
|
287
|
-
#
|
291
|
+
#launch config params
|
288
292
|
FastlaneCore::ConfigItem.new(key: :AVD_param_launch_timeout,
|
289
293
|
env_name: "AVD_PARAM_LAUNCH_TIMEOUT",
|
290
294
|
description: "Timeout in seconds. Even though ADB might find all devices you still might want to wait for animations to finish and system to boot. Default 60 seconds",
|
@@ -309,7 +313,13 @@ module Fastlane
|
|
309
313
|
default_value: true,
|
310
314
|
is_string: false,
|
311
315
|
optional: true),
|
312
|
-
|
316
|
+
FastlaneCore::ConfigItem.new(key: :ADB_restart,
|
317
|
+
env_name: "ADB_restart",
|
318
|
+
description: "Allows to switch adb restarting on/off.",
|
319
|
+
default_value: true,
|
320
|
+
is_string: false,
|
321
|
+
optional: true),
|
322
|
+
|
313
323
|
#launch commands
|
314
324
|
FastlaneCore::ConfigItem.new(key: :shell_task,
|
315
325
|
env_name: "SHELL_TASK",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-automated_test_emulator_run
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kamil Krzyk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|