scan 0.11.1 → 0.11.2

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: e26b80be1c434b281b11969bcf4689f5e90e6a2f
4
- data.tar.gz: 876134ec08e88d8e3386ac98a483d81d17adb582
3
+ metadata.gz: 953b16af94d1b7282e8b6be54c0a1fc3e95111c2
4
+ data.tar.gz: 3d7909fc1dab997121373ccfb630fb1bdf85a6b6
5
5
  SHA512:
6
- metadata.gz: 41059b0d542f9e983d19b5ad7179e2f57c3b7c5beea6f20687a90aa00f0b80de97cbb9f3af4b2619542da8a016ddd40a0ba61afd9ff56676f42fba1197b00e64
7
- data.tar.gz: 699a2d8e4648a2b227256fe3e5088a824b2f9a108c3a11569acae3c841996ab8648e713813accc034ac0d03c6e682fdf7b2ff93cb360125feaba6e164ad64137
6
+ metadata.gz: 5097b8a67a29f4356c7f4a10286f769249f81baa97f329c9e66b8bf94c43be82d2e6f2c211aa342a70b8a4121be923d97720400dbc4c70d860ddad2c7239604e
7
+ data.tar.gz: 095c74da1b1ceb6e5339149e2ae51f8a5e8229a920dd66b674b341dc7016fb7abfd54f2e68f991f853b1f8f052be174b11ec5fe216314c8743b34f6269ffb619
@@ -33,9 +33,8 @@ module Scan
33
33
  return unless Scan.config[:derived_data_path].to_s.empty?
34
34
  default_path = Scan.project.build_settings(key: "BUILT_PRODUCTS_DIR")
35
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")
36
+ # We got 3 folders up to point to ".../DerivedData/app-[random_chars]/"
37
+ default_path = File.expand_path("../../..", default_path)
39
38
  UI.verbose("Detected derived data path '#{default_path}'")
40
39
  Scan.config[:derived_data_path] = default_path
41
40
  end
@@ -1,4 +1,4 @@
1
1
  module Scan
2
- VERSION = "0.11.1"
2
+ VERSION = "0.11.2"
3
3
  DESCRIPTION = "The easiest way to run tests of your iOS and Mac app"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause