scan 0.12.1 → 0.13.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd24b832b988c2eb8af64873b97f1aafcfe192f7
4
- data.tar.gz: b2f274327a88c3ed46323c4f4eb093d2d99a6ce7
3
+ metadata.gz: 00057c44677409b535339c5db67de8189e2cf292
4
+ data.tar.gz: ff4e9a3fdd00109615ca467e107e9a6c3c5921d6
5
5
  SHA512:
6
- metadata.gz: 6d4ae3770b16d96aa13dcba825f567201e87b9ee04f48612a2d4312e66898c904d0ba8f041b7618386261ef233774cdb949cffece8dc5e7e03fbf1e5bfd6a950
7
- data.tar.gz: e1d38725fb574a9c7052295219e3e0ddb12a269af384b48e3b72521b77b2e618c0de05882746e8b17a7377709f04fdbf71c254ce71f0497ce0605a1bed24695d
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 rspec)",
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', "rspec"].include?(value)
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
- ["| tee '#{xcodebuild_log_path}' | xcpretty #{formatter.join(' ')}"]
92
+ return pipe << ["| xcpretty #{formatter.join(' ')}"]
87
93
  end
88
94
 
89
95
  # Store the raw file
data/lib/scan/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Scan
2
- VERSION = "0.12.1"
2
+ VERSION = "0.13.0"
3
3
  DESCRIPTION = "The easiest way to run tests of your iOS and Mac app"
4
4
  end
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.12.1
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-12 00:00:00.000000000 Z
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.51.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.51.0
29
+ version: 0.52.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.0.0