scan 0.10.0 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce3230ac62fce3ee36f1d2d753c9787521d4905f
4
- data.tar.gz: 2a616132ab8a597c18ab958dc29cfd3b0557db26
3
+ metadata.gz: f8b6494eb5e51ff46c68d55d71a90d317aa71aaa
4
+ data.tar.gz: 1eb5a77504ec53b79c0c8dcf01f8c9bab89bb9ca
5
5
  SHA512:
6
- metadata.gz: e07a981114c02011dfb80cc06b2f73326e35fc17c19c54148b9f04a6f29f44122dc7ebb328ed552fc656c95537359beb7232bde5c3f14ac6102f682101ccbab8
7
- data.tar.gz: 255109d09ef5a84fcedcbaa12d31f659da63979aba9fbb26aac3fa93469e406117c2add3c0988fa32043cc6a40a909a421b52bd1fdd199030a38c88a486cf36e
6
+ metadata.gz: 0f48b8de29ed9aa5dd2629cfe559701b78fac9330acdc7b202cc1fdfcf951fe64f1766007c3e99e7f8a13a601cdb81488e2fb51c2c194c32c63a677d9b0d273e
7
+ data.tar.gz: 4ef6097d403dccc18e37c49cf33a17e85da7d7266d308bfe3280f69475b7b0b6eaf1ab489614e21417417d5cc0322cf9f7faae99d4da6419d75ec50b6d02f09a
data/lib/scan/runner.rb CHANGED
@@ -82,8 +82,13 @@ module Scan
82
82
 
83
83
  report_collector.parse_raw_file(TestCommandGenerator.xcodebuild_log_path)
84
84
 
85
- UI.user_error!("Test execution failed. Exit status: #{tests_exit_status}") unless tests_exit_status == 0
86
- UI.user_error!("Tests failed") unless result[:failures] == 0
85
+ unless tests_exit_status == 0
86
+ UI.user_error!("Test execution failed. Exit status: #{tests_exit_status}", show_github_issues: false)
87
+ end
88
+
89
+ unless result[:failures] == 0
90
+ UI.user_error!("Tests failed", show_github_issues: false)
91
+ end
87
92
  end
88
93
 
89
94
  def open_simulator_for_device(device)
@@ -92,16 +97,7 @@ module Scan
92
97
  UI.message("Killing all running simulators")
93
98
  `killall Simulator &> /dev/null`
94
99
 
95
- # As a second level of feature switching, see if we want to try the xcode-select variant
96
- if ENV['FASTLANE_EXPLICIT_OPEN_SIMULATOR'] == '2'
97
- simulator_path = File.join(FastlaneCore::Helper.xcode_path, 'Applications', 'Simulator.app')
98
- UI.message("Explicitly opening simulator at #{simulator_path} for device: #{device.name}")
99
- else
100
- simulator_path = 'Simulator'
101
- UI.message("Explicitly opening simulator for device: #{device.name}")
102
- end
103
-
104
- `open -a #{simulator_path} --args -CurrentDeviceUDID #{device.udid}`
100
+ FastlaneCore::Simulator.launch(device)
105
101
  end
106
102
  end
107
103
  end
data/lib/scan/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Scan
2
- VERSION = "0.10.0"
2
+ VERSION = "0.10.1"
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.10.0
4
+ version: 0.10.1
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-07-28 00:00:00.000000000 Z
11
+ date: 2016-08-03 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.43.3
19
+ version: 0.50.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.43.3
29
+ version: 0.50.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.0.0