code_statistics 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/code_statistics.gemspec +1 -1
- data/lib/code_statistics/code_statistics.rb +2 -2
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.4
|
data/code_statistics.gemspec
CHANGED
@@ -30,11 +30,11 @@ module CodeStatistics
|
|
30
30
|
entries.each do |entry|
|
31
31
|
entry_path = File.join(dir,entry)
|
32
32
|
if File.directory?(entry_path)
|
33
|
-
@pairs << [entry_path
|
33
|
+
@pairs << [entry_path, entry_path]
|
34
34
|
has_directories = true
|
35
35
|
end
|
36
36
|
end
|
37
|
-
@pairs << [dir
|
37
|
+
@pairs << [dir, dir] unless has_directories
|
38
38
|
end
|
39
39
|
end
|
40
40
|
end
|