scan 0.1.1 → 0.1.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: fb65ecfb01d6ede971c8bcaf15e27f8a1a2910bf
4
- data.tar.gz: 4bc6ba1ebb3ded8fedd82bd3914ce04fa142da13
3
+ metadata.gz: f7cbb5bf98cb9c814b56611f39b4f7aba298d144
4
+ data.tar.gz: 5385adfb2b292eee5aece77a826a113a0b380b63
5
5
  SHA512:
6
- metadata.gz: 9c29be906bccc1c9dd46fe5ccdc6e41e76b61c4251b239c3dbe40c7a46d7b7e0e760129e12653f5343cec5880b6ea093799ea2992dae6ff9f78672e9db2350df
7
- data.tar.gz: 47ea278c3427b7da402869c6fa96cfafb8a2582cf65288699b6e2cd919d06d95272d71f4054dad83b8d1b3758071b27e1147e8ef4600b4b9ee4d3b28093017c1
6
+ metadata.gz: 16b793245f4d36a08c1662b15d6542ccccd1c1e0b252a5f6f54e1377ccb6ca46fcbe95b52744d856abdffcbd809da8fdc107bc93a2e6f0f25606cce79855b1a6
7
+ data.tar.gz: 6e2bc2ba81da7e3035815f822c15c9b39862bd0ead11b5be04b14c6bd43a03b07602d70d2f9307acdb7a2df270447fa8292f8049af0d47baebadf84276f4a356
@@ -8,6 +8,6 @@
8
8
 
9
9
  # scheme "Example"
10
10
 
11
- # skip_html_open true
11
+ # open_report true
12
12
 
13
13
  # clean true
@@ -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: :skip_html_open,
67
+ FastlaneCore::ConfigItem.new(key: :open_report,
68
68
  short_option: "-g",
69
- env_name: "SCAN_SKIP_HTML_OPEN",
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 !Scan.config[:skip_html_open] and output_path.end_with?(".html")
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
@@ -1,4 +1,4 @@
1
1
  module Scan
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  DESCRIPTION = "Making sure no bad code gets on board"
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.1.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-22 00:00:00.000000000 Z
11
+ date: 2015-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core