scan 0.12.1 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scan/options.rb +2 -2
- data/lib/scan/test_command_generator.rb +7 -1
- 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: 00057c44677409b535339c5db67de8189e2cf292
|
4
|
+
data.tar.gz: ff4e9a3fdd00109615ca467e107e9a6c3c5921d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e479f48e855abbd8e4a7be5c95b8b8bbea949a07df3b788cf1f18239c56c7621f5868df4d30ca398a7d7c705151ef749a8eaf9be7b16f9495e66ea14d9fc0e00
|
7
|
+
data.tar.gz: 70916d58e2487c6fd579263a72aa3999c44b315f40180d4ec0010d4c369306674e4f3a9165bacb04c0bbe89328baa54534a62164072eaf9b47b688f01c7619ad
|
data/lib/scan/options.rb
CHANGED
@@ -82,10 +82,10 @@ module Scan
|
|
82
82
|
FastlaneCore::ConfigItem.new(key: :output_style,
|
83
83
|
short_option: "-b",
|
84
84
|
env_name: "SCAN_OUTPUT_STYLE",
|
85
|
-
description: "Define how the output should look like (standard, basic or
|
85
|
+
description: "Define how the output should look like (standard, basic, rspec or raw)",
|
86
86
|
optional: true,
|
87
87
|
verify_block: proc do |value|
|
88
|
-
UI.user_error!("Invalid output_style #{value}") unless ['standard', 'basic',
|
88
|
+
UI.user_error!("Invalid output_style #{value}") unless ['standard', 'basic', 'rspec', 'raw'].include?(value)
|
89
89
|
end),
|
90
90
|
FastlaneCore::ConfigItem.new(key: :output_types,
|
91
91
|
short_option: "-f",
|
@@ -63,6 +63,12 @@ module Scan
|
|
63
63
|
def pipe
|
64
64
|
# During building we just show the output in the terminal
|
65
65
|
# Check out the ReportCollector class for more xcpretty things
|
66
|
+
pipe = ["| tee '#{xcodebuild_log_path}'"]
|
67
|
+
|
68
|
+
if Scan.config[:output_style] == 'raw'
|
69
|
+
return pipe
|
70
|
+
end
|
71
|
+
|
66
72
|
formatter = []
|
67
73
|
if Scan.config[:formatter]
|
68
74
|
formatter << "-f `#{Scan.config[:formatter]}`"
|
@@ -83,7 +89,7 @@ module Scan
|
|
83
89
|
formatter << "--test"
|
84
90
|
end
|
85
91
|
|
86
|
-
|
92
|
+
return pipe << ["| xcpretty #{formatter.join(' ')}"]
|
87
93
|
end
|
88
94
|
|
89
95
|
# Store the raw file
|
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.
|
4
|
+
version: 0.13.0
|
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-09-
|
11
|
+
date: 2016-09-20 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.52.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.52.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.0.0
|