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: 4b6179be9f7dad1bc856c5c96e8bf8d0e8ea8632
4
- data.tar.gz: 3b29e1ea5f116741a1f980f801cc136f58a6aed4
3
+ metadata.gz: 19d716a3898ba2384d78330d51f4e95fd466dc8d
4
+ data.tar.gz: 31f99ecc88861217e77155cf8fed706bf2215f0b
5
5
  SHA512:
6
- metadata.gz: b571c792038a94a49c227a5802a2b1c86217cffc7bb45f5b229b2d36d5a8c7064fb30693c3cbf5a2dd5d84078ebfdfbd1cfb79c6af19f71a81c117df1460da6c
7
- data.tar.gz: 24d369f1a7f16bb81f3a8c10ab19ef5d99ffa45a587d221f625aea1b8a166c8ebd0c350e398ed90f9f5fb0937f5491c7447c77b9c9213a04b4e6bfad3c604c07
6
+ metadata.gz: cbe7b4c7706ab2a1a896eb97e4298f31d1f2b6a030a2ede3eca88fcf1e5fbf3754f9907ea1cd3dd9a868feb77493b3b5e7c65c0c4d0af75269d0ca5145d9979e
7
+ data.tar.gz: 19eba6ef90c9dbd6c797d1606a1aedb0d4f18948a444475371a5d05c186346fc5ff6887b3368846c53477b40b097dcf9e8093057cc31ab243054ad51f6829c71
@@ -71,9 +71,13 @@ module Fastlane
71
71
  end
72
72
 
73
73
  # Restart ADB
74
- UI.message("Restarting adb".yellow)
75
- Action.sh(adb_controller.command_stop)
76
- Action.sh(adb_controller.command_start)
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
- #emulator re-launch config params
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",
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AutomatedTestEmulatorRun
3
- VERSION = "1.2.6"
3
+ VERSION = "1.2.7"
4
4
  end
5
5
  end
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.6
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-04 00:00:00.000000000 Z
11
+ date: 2017-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry