scan 0.10.1 → 0.11.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 +4 -4
- data/lib/scan/detect_values.rb +13 -0
- data/lib/scan/error_handler.rb +1 -1
- data/lib/scan/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b0e8938836671adc4e423eaaf50ff9636ffc8b76
|
|
4
|
+
data.tar.gz: fda67a62cfbbb4182d3e973d501f462b711d5b7d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 11300410b66560a781e6d2044322c13ca42ebae09cd9231399e572c5ac46f5f8a8e1f080e2c8f96c6af95c21620dbae3c5a79341f258bd1d7eeac1afac5ef77e
|
|
7
|
+
data.tar.gz: 96a0783416192caf32f71987731bbc66d8ffd854faeeef3e4aac4cc4e3212456af99098d1ca8858eeadae105c1225c3a3bd072a60aacb6f30f08db07f349ed1f
|
data/lib/scan/detect_values.rb
CHANGED
|
@@ -24,9 +24,22 @@ module Scan
|
|
|
24
24
|
default_device_tvos if Scan.project.tvos?
|
|
25
25
|
detect_destination
|
|
26
26
|
|
|
27
|
+
default_derived_data
|
|
28
|
+
|
|
27
29
|
return config
|
|
28
30
|
end
|
|
29
31
|
|
|
32
|
+
def self.default_derived_data
|
|
33
|
+
return unless Scan.config[:derived_data_path].to_s.empty?
|
|
34
|
+
default_path = Scan.project.build_settings(key: "BUILT_PRODUCTS_DIR")
|
|
35
|
+
# => /Users/.../Library/Developer/Xcode/DerivedData/app-bqrfaojicpsqnoglloisfftjhksc/Build/Products/Release-iphoneos
|
|
36
|
+
# We need to go one folder up, since tests don't run inside 'Release-iphoneos'
|
|
37
|
+
# but in 'Debug-iphonesimulator'
|
|
38
|
+
default_path = File.join(File.dirname(default_path), "Debug-iphonesimulator")
|
|
39
|
+
UI.verbose("Detected derived data path '#{default_path}'")
|
|
40
|
+
Scan.config[:derived_data_path] = default_path
|
|
41
|
+
end
|
|
42
|
+
|
|
30
43
|
def self.filter_simulators(simulators, deployment_target)
|
|
31
44
|
# Filter out any simulators that are not the same major and minor version of our deployment target
|
|
32
45
|
deployment_target_version = Gem::Version.new(deployment_target)
|
data/lib/scan/error_handler.rb
CHANGED
|
@@ -21,7 +21,7 @@ module Scan
|
|
|
21
21
|
print "For more information visit this stackoverflow answer:"
|
|
22
22
|
print "https://stackoverflow.com/a/17031697/445598"
|
|
23
23
|
when /Testing failed/
|
|
24
|
-
UI.user_error!("Error building the application - see the log above")
|
|
24
|
+
UI.user_error!("Error building the application - see the log above", show_github_issues: false)
|
|
25
25
|
when /Executed/
|
|
26
26
|
# this is *really* important:
|
|
27
27
|
# we don't want to raise an exception here
|
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.11.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-08-
|
|
11
|
+
date: 2016-08-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fastlane_core
|
|
@@ -270,7 +270,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
270
270
|
version: '0'
|
|
271
271
|
requirements: []
|
|
272
272
|
rubyforge_project:
|
|
273
|
-
rubygems_version: 2.
|
|
273
|
+
rubygems_version: 2.6.6
|
|
274
274
|
signing_key:
|
|
275
275
|
specification_version: 4
|
|
276
276
|
summary: The easiest way to run tests of your iOS and Mac app
|