rcov 0.8.0.1 → 0.8.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/bin/rcov +3 -3
- data/lib/rcov/report.rb +2 -2
- metadata +1 -1
data/Rakefile
CHANGED
data/bin/rcov
CHANGED
@@ -743,13 +743,13 @@ module XX
|
|
743
743
|
when ::XX::STRICT
|
744
744
|
%r/_$/o
|
745
745
|
else
|
746
|
-
super
|
746
|
+
super(m.to_sym, *a, &b)
|
747
747
|
end
|
748
748
|
|
749
|
-
super unless m =~ pat
|
749
|
+
super(m.to_sym, *a, &b) unless m =~ pat
|
750
750
|
|
751
751
|
if c_method_missing == ::XX::STRICT
|
752
|
-
super unless c_tags.include? tag_name
|
752
|
+
super(m.to_sym, *a, &b) unless c_tags.include? tag_name
|
753
753
|
end
|
754
754
|
|
755
755
|
ret, defined = nil
|
data/lib/rcov/report.rb
CHANGED
@@ -33,7 +33,7 @@ class Formatter # :nodoc:
|
|
33
33
|
@callsite_index = nil
|
34
34
|
|
35
35
|
@mangle_filename = Hash.new{|h,base|
|
36
|
-
h[base] = Pathname(base).cleanpath.to_s.gsub(%r{^\w:[/\\]}, "").gsub(/\./, "_").gsub(/[\\\/]/, "-") + ".html"
|
36
|
+
h[base] = Pathname.new(base).cleanpath.to_s.gsub(%r{^\w:[/\\]}, "").gsub(/\./, "_").gsub(/[\\\/]/, "-") + ".html"
|
37
37
|
}
|
38
38
|
end
|
39
39
|
|
@@ -1050,7 +1050,7 @@ class RubyAnnotation < Formatter # :nodoc:
|
|
1050
1050
|
@do_cross_references = true
|
1051
1051
|
|
1052
1052
|
@mangle_filename = Hash.new{|h,base|
|
1053
|
-
h[base] = Pathname(base).cleanpath.to_s.gsub(%r{^\w:[/\\]}, "").gsub(/\./, "_").gsub(/[\\\/]/, "-") + ".rb"
|
1053
|
+
h[base] = Pathname.new(base).cleanpath.to_s.gsub(%r{^\w:[/\\]}, "").gsub(/\./, "_").gsub(/[\\\/]/, "-") + ".rb"
|
1054
1054
|
}
|
1055
1055
|
end
|
1056
1056
|
|