app-tools 1.9.0 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/gencov +13 -2
- data/lib/app_tools/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38aea6bb8decddc844afbea1f4371dc3b43990b1
|
4
|
+
data.tar.gz: 951e547b90c768d9936467b16cb8be4f2c944b3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49731f3265c149781814b209620c2e387e517ba9e805656e79366cc2d8f48168d4b5ab8362acd2a905f1d28564cea6c327bd5d0f0fe39f2b14b264cfad9ff91e
|
7
|
+
data.tar.gz: 38f6b8bc3963785dace9a941af82245fd0cd5d8331a543a5bf115f36cf2803d6e1660a1f132cb4d891dad7b7f9bd3f33e64d46970b39a6b23337c681fdda3394
|
data/bin/gencov
CHANGED
@@ -61,13 +61,24 @@ module AppTools
|
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
|
-
coverage_root = File.join(build_settings['PROJECT_TEMP_ROOT'], "CodeCoverage
|
64
|
+
coverage_root = File.join(build_settings['PROJECT_TEMP_ROOT'], "CodeCoverage")
|
65
|
+
|
66
|
+
if Dir.exist?(coverage_root)
|
67
|
+
exit_now! "Could not find coverage root dir #{coverage_root}. Was Xcode upgraded?"
|
68
|
+
end
|
69
|
+
|
65
70
|
app_name = build_settings['EXECUTABLE_NAME']
|
66
71
|
profdata_path = File.join(coverage_root, "Coverage.profdata")
|
72
|
+
|
73
|
+
|
74
|
+
if Dir.exist?(coverage_root)
|
75
|
+
exit_now! "Could not find coverage file #{profdata_path}. Is code coverage enabled in the scheme '#{scheme}'?"
|
76
|
+
end
|
77
|
+
|
67
78
|
binary_path = `find #{coverage_root} -path *#{app_name}.app/#{app_name}`.chomp
|
68
79
|
|
69
80
|
if $?.exitstatus != 0
|
70
|
-
exit_now! "
|
81
|
+
exit_now! "Could not find #{app_name} under #{coverage_root}"
|
71
82
|
end
|
72
83
|
|
73
84
|
directory = File.expand_path(directory)
|
data/lib/app_tools/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: app-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Lyon-Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|