scan 0.11.3 → 0.12.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91c83c13474968c40f57e93d2500df389dabd28d
4
- data.tar.gz: 0db7821b1075b741d826c2cc069153f50bdb2a36
3
+ metadata.gz: 4fa3eb576fcee514a38f281dfe851fa5263fa764
4
+ data.tar.gz: 64e1862711e7b2add328d938706b0d92655554d9
5
5
  SHA512:
6
- metadata.gz: a081bf29d4f86a53bc5de043746f6e19106715cac8cce29dff506502a5d250abb4445292c0e41566a8652ad794359d51530233465ff9f94c1386011883c576a5
7
- data.tar.gz: 1ee046adb8234759e8abb9c919c4fd8822073d960dc15dd926ac12e8dacc8dcd3e251d347a5ef3dbf06152c51206b847ec70330b054875a60ed9c4a631506ea6
6
+ metadata.gz: 625c97a63e9920277284005a3c74fe72749aead9e3100eb9c186f8c63a08852108d7071395dcb23279b00a94f698870dc6dfcefe7099154b4d9aee0b88540cdd
7
+ data.tar.gz: 9158dafa5f916f779d23acc7113c31f82a8c4d59a3e5872593c4536a354ef2b7a2adfc4d3248fec64c7345e80bd7b320960762eb90b75a63c902a9c34211a2b8
data/lib/scan.rb CHANGED
@@ -35,4 +35,5 @@ module Scan
35
35
 
36
36
  Helper = FastlaneCore::Helper # you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore
37
37
  UI = FastlaneCore::UI
38
+ ROOT = Pathname.new(File.expand_path('../..', __FILE__))
38
39
  end
@@ -49,7 +49,7 @@ module Scan
49
49
  containing = (Helper.fastlane_enabled? ? 'fastlane' : '.')
50
50
  path = File.join(containing, Scan.scanfile_name)
51
51
  UI.user_error!("Scanfile already exists").yellow if File.exist?(path)
52
- template = File.read("#{Helper.gem_path('scan')}/lib/assets/ScanfileTemplate")
52
+ template = File.read("#{Scan::ROOT}/lib/assets/ScanfileTemplate")
53
53
  File.write(path, template)
54
54
  UI.success("Successfully created '#{path}'. Open the file using a code editor.")
55
55
  end
data/lib/scan/options.rb CHANGED
@@ -96,7 +96,7 @@ module Scan
96
96
  short_option: "-l",
97
97
  env_name: "SCAN_BUILDLOG_PATH",
98
98
  description: "The directory were to store the raw log",
99
- default_value: "~/Library/Logs/scan"),
99
+ default_value: "#{FastlaneCore::Helper.buildlog_path}/scan"),
100
100
  FastlaneCore::ConfigItem.new(key: :formatter,
101
101
  short_option: "-n",
102
102
  env_name: "SCAN_FORMATTER",
data/lib/scan/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Scan
2
- VERSION = "0.11.3"
2
+ VERSION = "0.12.0"
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.11.3
4
+ version: 0.12.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-13 00:00:00.000000000 Z
11
+ date: 2016-09-08 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.50.0
19
+ version: 0.51.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.50.0
29
+ version: 0.51.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.0.0
@@ -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.5.1
273
+ rubygems_version: 2.4.5.1
274
274
  signing_key:
275
275
  specification_version: 4
276
276
  summary: The easiest way to run tests of your iOS and Mac app