fastlane-plugin-firebase_test_lab 1.0.1 → 1.0.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1f5308778530af81a939aef7c88ad0ddb51dfeda8ce51bb31df4c0938f680e4
|
4
|
+
data.tar.gz: bab0b9409cc86d8e57b088daabeaa56b0a8fba5bd297950947d350ed76008f42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e6dea344e8f58c2b8969344e42566ba9a20f35c0f85fe7cb8d03a7522a8cd54972ec200eeb8bfb0d79f44e2773b807dfa103cb31a8f018f87afdff95fef4c47
|
7
|
+
data.tar.gz: 41b581f107235ab63c71ab57a599a3588b4e4b5603ab3d9947b36c5746f698884e826f3fe249327d0416e012f8ea63dc44b5f1b965c5ef31a26f5bb9c2442a1f
|
@@ -14,14 +14,29 @@ module Fastlane
|
|
14
14
|
end
|
15
15
|
|
16
16
|
conf = Plist.parse_xml(xctestrun_files.first.get_input_stream)
|
17
|
+
|
18
|
+
# Ensure we only have one scheme (other than the metadata if that's present)
|
17
19
|
size = conf.size
|
18
20
|
if conf['__xctestrun_metadata__']
|
19
21
|
size -= 1
|
20
|
-
end
|
22
|
+
end
|
21
23
|
unless size == 1
|
22
|
-
UI.user_error!("The app bundle may contain only one scheme, #{size} found")
|
24
|
+
UI.user_error!("The app bundle may contain only one scheme, #{size} found.")
|
25
|
+
end
|
26
|
+
|
27
|
+
# Find the tests scheme that's not the metadata scheme
|
28
|
+
scheme_conf = nil
|
29
|
+
conf.each do |key, value|
|
30
|
+
if scheme_conf.nil? && key != '__xctestrun_metadata__'
|
31
|
+
scheme_conf = value
|
32
|
+
end
|
23
33
|
end
|
24
|
-
|
34
|
+
|
35
|
+
# Ensure we found the tests scheme
|
36
|
+
if scheme_conf.nil?
|
37
|
+
UI.user_error!("Failed to find your UI tests scheme in your .xctestrun file.")
|
38
|
+
end
|
39
|
+
|
25
40
|
unless scheme_conf["IsUITestBundle"]
|
26
41
|
UI.user_error!("The app bundle is not a UI test bundle. Did you build with build-for-testing argument?")
|
27
42
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-firebase_test_lab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shihua Zheng
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|