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.
Files changed (4) hide show
  1. data/Rakefile +1 -1
  2. data/bin/rcov +3 -3
  3. data/lib/rcov/report.rb +2 -2
  4. metadata +1 -1
data/Rakefile CHANGED
@@ -87,7 +87,7 @@ Rake::RDocTask.new("rdoc") { |rdoc|
87
87
 
88
88
  require 'rcov/version'
89
89
 
90
- PKG_REVISION = ".1"
90
+ PKG_REVISION = ".2"
91
91
  PKG_FILES = FileList[
92
92
  "bin/rcov",
93
93
  "lib/**/*.rb",
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
@@ -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
 
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.1
3
3
  specification_version: 1
4
4
  name: rcov
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.8.0.1
6
+ version: 0.8.0.2
7
7
  date: 2007-02-28 00:00:00 +01:00
8
8
  summary: Code coverage analysis tool for Ruby
9
9
  require_paths: