fastlane-plugin-android_emulator_kami 1.0.7 → 1.0.8

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: bf38b32256bf1c67f5b5a37fa19c89df1c6b3d2a4a1c239f3af4c581e3a49f6e
4
- data.tar.gz: 64ef54b5dde925640930a22c2a0e727d3605593a79f656a78ce184f8313b1363
3
+ metadata.gz: e8801e88f3725f041f5918ad7f4528b8afb677dd9e8f3782c438951217fb146b
4
+ data.tar.gz: 15a4a7d01c65cc45e85c51e2a69fe96c3fc6819ca1bffca00fd785bb954419b8
5
5
  SHA512:
6
- metadata.gz: 76945b949af06fd698057b7eb07a1131c27fcb66f1696f3ee7945c2e1817cce1d0830a26ef3f3073d4e5a72ef84da3330c7c44ec61f910e3c68707c6e0bd26bd
7
- data.tar.gz: 7f0a80df2c64f437b3291ac86cf63266928072a1fbea5f0a22eb32f0e0f6b26fbe2efde454c2ca3442f8d3c17e7e48ce55cf7836fb11c0a8633d0d99b7bc8641
6
+ metadata.gz: 5d80752269fedd5bdaa1d8bd8045081de4b096fcfa3669f1bea92c0f57ed7d1790951c87411c5fa054f592e75bc7fed25d8e17a362671600c6dc57bdb33b699e
7
+ data.tar.gz: 753f80d8be702d32e6ef36ad0362aefacb02b34d25d3f510a9c64df3f8ccea120e1ca164b4f4d49262106fbea51ff079ddcbf7765a98a1a94f3346424a14d1f6
@@ -45,12 +45,13 @@ module Fastlane
45
45
  new_ini["global"][key] = value
46
46
  end
47
47
  merged_ini = inifile.merge new_ini
48
+
49
+ #remove [global] section (first line)
50
+ merged_ini_string = merged_ini.to_s.split("\n")[1..-1].join("\n")
48
51
  puts "New emulator configuration:\n"
49
- merged_ini["global"].each do |key, value|
50
- printf("%15s: %s\n", key, value)
51
- end
52
- merged_ini.write
53
-
52
+ puts(merged_ini_string)
53
+ File.write(ini_path, merged_ini_string)
54
+
54
55
  # Verify HAXM installed on mac
55
56
  if FastlaneCore::Helper.mac?
56
57
  kextstat = Actions.sh("kextstat", log: false)
@@ -65,6 +66,8 @@ module Fastlane
65
66
  until Actions.sh("#{adb} -e shell getprop init.svc.bootanim", log: false).include? "stopped" do
66
67
  sleep(5)
67
68
  end
69
+
70
+ sleep(2)
68
71
 
69
72
  if params[:location]
70
73
  UI.message("Set location")
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AndroidEmulatorKami
3
- VERSION = "1.0.7"
3
+ VERSION = "1.0.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-android_emulator_kami
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Ruhl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-08 00:00:00.000000000 Z
11
+ date: 2019-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inifile