scan 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/scan/runner.rb +8 -12
- data/lib/scan/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f8b6494eb5e51ff46c68d55d71a90d317aa71aaa
|
|
4
|
+
data.tar.gz: 1eb5a77504ec53b79c0c8dcf01f8c9bab89bb9ca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f48b8de29ed9aa5dd2629cfe559701b78fac9330acdc7b202cc1fdfcf951fe64f1766007c3e99e7f8a13a601cdb81488e2fb51c2c194c32c63a677d9b0d273e
|
|
7
|
+
data.tar.gz: 4ef6097d403dccc18e37c49cf33a17e85da7d7266d308bfe3280f69475b7b0b6eaf1ab489614e21417417d5cc0322cf9f7faae99d4da6419d75ec50b6d02f09a
|
data/lib/scan/runner.rb
CHANGED
|
@@ -82,8 +82,13 @@ module Scan
|
|
|
82
82
|
|
|
83
83
|
report_collector.parse_raw_file(TestCommandGenerator.xcodebuild_log_path)
|
|
84
84
|
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
unless tests_exit_status == 0
|
|
86
|
+
UI.user_error!("Test execution failed. Exit status: #{tests_exit_status}", show_github_issues: false)
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
unless result[:failures] == 0
|
|
90
|
+
UI.user_error!("Tests failed", show_github_issues: false)
|
|
91
|
+
end
|
|
87
92
|
end
|
|
88
93
|
|
|
89
94
|
def open_simulator_for_device(device)
|
|
@@ -92,16 +97,7 @@ module Scan
|
|
|
92
97
|
UI.message("Killing all running simulators")
|
|
93
98
|
`killall Simulator &> /dev/null`
|
|
94
99
|
|
|
95
|
-
|
|
96
|
-
if ENV['FASTLANE_EXPLICIT_OPEN_SIMULATOR'] == '2'
|
|
97
|
-
simulator_path = File.join(FastlaneCore::Helper.xcode_path, 'Applications', 'Simulator.app')
|
|
98
|
-
UI.message("Explicitly opening simulator at #{simulator_path} for device: #{device.name}")
|
|
99
|
-
else
|
|
100
|
-
simulator_path = 'Simulator'
|
|
101
|
-
UI.message("Explicitly opening simulator for device: #{device.name}")
|
|
102
|
-
end
|
|
103
|
-
|
|
104
|
-
`open -a #{simulator_path} --args -CurrentDeviceUDID #{device.udid}`
|
|
100
|
+
FastlaneCore::Simulator.launch(device)
|
|
105
101
|
end
|
|
106
102
|
end
|
|
107
103
|
end
|
data/lib/scan/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: scan
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Felix Krause
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-08-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fastlane_core
|
|
@@ -16,7 +16,7 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.
|
|
19
|
+
version: 0.50.0
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
22
|
version: 1.0.0
|
|
@@ -26,7 +26,7 @@ dependencies:
|
|
|
26
26
|
requirements:
|
|
27
27
|
- - ">="
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: 0.
|
|
29
|
+
version: 0.50.0
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
32
|
version: 1.0.0
|