fastlane-plugin-mango 1.1.3 → 1.1.4

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: 9194c8b391c61584dc3f7869e34408e9ea8cbd3bd83e358411eb88991047867e
4
- data.tar.gz: 77a3155ba799fab155fef7c91f28c77b92e60e68ab89354d69b1b498bd1fb31b
3
+ metadata.gz: 6943ff769cf79d9b01816a0b4f2e035b49e9cc57dcf7aaa19463f1beda2c65a2
4
+ data.tar.gz: b942037a01855cb758c7e27674a811e4538ff22702b0df19f8883cda9f4be47a
5
5
  SHA512:
6
- metadata.gz: 8f4ec7d68b57f29587b863d1e4b7c198b0bec97034ff2da5e6aa7097be4ea02d97331fc378859f6a383de49cbd5a9d66609677b05fd226af0d92c0f617a1ab9d
7
- data.tar.gz: 69b0e5012298849306f3bc138f67311615040d14af7be6657c7cb097be136f435b842ca846ff7a54f53a1954899573dcd7968173ac97836acb4fc38d1ee143dc
6
+ metadata.gz: 499895a54621b2dab0c674f5da56da50b965892f756dc8a1c7b7b8de50732128aaab45d9259333f8ad9bd399571078daeb796e3bbcbb61e3356575944d515420
7
+ data.tar.gz: c04088926742786a6ac84f9da440b402f4b039457fc0b6ca281b67353c05e57197339267fa1e40605f2b15eb76a0cde843da9aff8b93e705da576261bc6d2ef1
@@ -50,6 +50,16 @@ module Fastlane
50
50
  def emulator_is_healthy?
51
51
  list_devices = @docker_commander.exec(command: 'adb devices')
52
52
  list_devices.include? "\tdevice"
53
+ rescue FastlaneCore::Interface::FastlaneShellError => e
54
+ # Under weird circumstances it can happen that adb is running but adb is not completely up
55
+ # it recovers after some time, so wait and retry
56
+ retry_counter = retry_counter.to_i + 1
57
+ if retry_counter <= 5
58
+ sleep 10*retry_counter
59
+ retry
60
+ else
61
+ raise e
62
+ end
53
63
  end
54
64
  end
55
65
  end
@@ -67,7 +67,7 @@ module Fastlane
67
67
  end
68
68
 
69
69
  unless container_state
70
- UI.important("Will retry checking for a healthy docker container after #{sleep_interval} seconds")
70
+ UI.important("Will retry to create a healthy docker container after #{sleep_interval} seconds")
71
71
  @container.stop
72
72
  @container.delete(force: true)
73
73
  sleep @sleep_interval
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Mango
3
- VERSION = '1.1.3'.freeze
3
+ VERSION = '1.1.4'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-mango
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Serghei Moret, Daniel Hartwich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-03 00:00:00.000000000 Z
11
+ date: 2018-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docker-api