scan 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/ScanfileTemplate +1 -1
- data/lib/scan/detect_values.rb +1 -0
- data/lib/scan/options.rb +2 -2
- data/lib/scan/report_collector.rb +1 -1
- data/lib/scan/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7cbb5bf98cb9c814b56611f39b4f7aba298d144
|
4
|
+
data.tar.gz: 5385adfb2b292eee5aece77a826a113a0b380b63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16b793245f4d36a08c1662b15d6542ccccd1c1e0b252a5f6f54e1377ccb6ca46fcbe95b52744d856abdffcbd809da8fdc107bc93a2e6f0f25606cce79855b1a6
|
7
|
+
data.tar.gz: 6e2bc2ba81da7e3035815f822c15c9b39862bd0ead11b5be04b14c6bd43a03b07602d70d2f9307acdb7a2df270447fa8292f8049af0d47baebadf84276f4a356
|
data/lib/assets/ScanfileTemplate
CHANGED
data/lib/scan/detect_values.rb
CHANGED
@@ -29,6 +29,7 @@ module Scan
|
|
29
29
|
found = FastlaneCore::Simulator.all.find { |d| d.name == config[:device].to_s.strip }
|
30
30
|
if found
|
31
31
|
config[:device] = found
|
32
|
+
return
|
32
33
|
else
|
33
34
|
Helper.log.error "Couldn't find simulator '#{config[:device]}' - falling back to default simulator".red
|
34
35
|
end
|
data/lib/scan/options.rb
CHANGED
@@ -64,9 +64,9 @@ module Scan
|
|
64
64
|
env_name: "SCAN_SDK",
|
65
65
|
description: "The SDK that should be used for building the application",
|
66
66
|
optional: true),
|
67
|
-
FastlaneCore::ConfigItem.new(key: :
|
67
|
+
FastlaneCore::ConfigItem.new(key: :open_report,
|
68
68
|
short_option: "-g",
|
69
|
-
env_name: "
|
69
|
+
env_name: "SCAN_OPEN_REPORT",
|
70
70
|
description: "Don't open the HTML report when tests are completed",
|
71
71
|
is_string: false,
|
72
72
|
default_value: false),
|
@@ -10,7 +10,7 @@ module Scan
|
|
10
10
|
system(command)
|
11
11
|
Helper.log.info("Successfully generated report at '#{output_path}'".green)
|
12
12
|
|
13
|
-
if
|
13
|
+
if Scan.config[:open_report] and output_path.end_with?(".html")
|
14
14
|
# Open the HTML file
|
15
15
|
`open --hide '#{output_path}'`
|
16
16
|
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.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane_core
|