gcovtools 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/project.rb +5 -5
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c23db08fd06b16c6c51a25767527a5477c79bbe2
|
4
|
+
data.tar.gz: 473f253ed3f31443a38e48031c4c6b4e268065f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3dbf18325ed0c4daa8192d37b09621c5cf6c9481ca0eea193e49fd4ecd7fd94929d43bb938bb7084d8cbc20f08321f9a042681f3c83af97ebefcf6b99b521bd6
|
7
|
+
data.tar.gz: b64383a654f12cbd33c013ce690eb12c8495da5919d119b5b52a8c670f5859d2dc25baad5622756143a8d62c2a277b9dcdcb5b8e5f04904be317f95717125867
|
data/lib/project.rb
CHANGED
@@ -85,7 +85,7 @@ module GCOVTOOLS
|
|
85
85
|
end
|
86
86
|
|
87
87
|
def _add_file path, hash_={}
|
88
|
-
GCOVTOOLS::logger.
|
88
|
+
GCOVTOOLS::logger.debug "parsing file: #{path}"
|
89
89
|
|
90
90
|
hash = hash_.dup
|
91
91
|
|
@@ -96,7 +96,7 @@ module GCOVTOOLS
|
|
96
96
|
hash[:include].nil? or hash[:include].empty? or !hash[:include].select{|f| f.match(::Pathname.new(file.meta['Source']).cleanpath.to_s) }.empty?
|
97
97
|
}
|
98
98
|
|
99
|
-
GCOVTOOLS::logger.
|
99
|
+
GCOVTOOLS::logger.debug "included #{files.size} files"
|
100
100
|
|
101
101
|
old_size = files.size
|
102
102
|
|
@@ -105,14 +105,14 @@ module GCOVTOOLS
|
|
105
105
|
hash[:exclude].nil? or hash[:exclude].empty? or hash[:exclude].select{|f| f.match(::Pathname.new(file.meta['Source']).cleanpath.to_s) }.empty?
|
106
106
|
}
|
107
107
|
|
108
|
-
GCOVTOOLS::logger.
|
108
|
+
GCOVTOOLS::logger.debug "excluded #{old_size-files.size} files"
|
109
109
|
|
110
110
|
# add all the files that survived the gauntlet
|
111
111
|
files.map{ |file| self << file }
|
112
112
|
end
|
113
113
|
|
114
114
|
def add_dir path, hash_={}
|
115
|
-
GCOVTOOLS::logger.
|
115
|
+
GCOVTOOLS::logger.debug "searching: #{path}"
|
116
116
|
hash = hash_.dup
|
117
117
|
if hash[:recursive] == true
|
118
118
|
filenames = Dir["#{path}/**/*.gcov"]
|
@@ -120,7 +120,7 @@ module GCOVTOOLS
|
|
120
120
|
filenames = Dir["#{path}/*.gcov"]
|
121
121
|
end
|
122
122
|
|
123
|
-
GCOVTOOLS::logger.
|
123
|
+
GCOVTOOLS::logger.debug "found: #{filenames}"
|
124
124
|
|
125
125
|
add_files do
|
126
126
|
filenames.each do |filename|
|
data/lib/version.rb
CHANGED