relevance-rcov 0.8.3.6 → 0.8.3.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,7 @@ module Rcov
2
2
 
3
3
  class BaseFormatter # :nodoc:
4
4
  require 'pathname'
5
+ require 'mkmf'
5
6
  ignore_files = [/\A#{Regexp.escape(Pathname.new(::Config::CONFIG['libdir']).cleanpath.to_s)}/, /\btc_[^.]*.rb/, /_test\.rb\z/, /\btest\//, /\bvendor\//, /\A#{Regexp.escape(__FILE__)}\z/]
6
7
 
7
8
  DEFAULT_OPTS = {:ignore => ignore_files, :sort => :name, :sort_reverse => false,
@@ -67,7 +67,7 @@
67
67
  <% line = fileinfo.lines[i].chomp %>
68
68
  <% count = fileinfo.counts[i] %>
69
69
  <tr class="<%= line_css(i) %>">
70
- <td colspan="5"><pre><a name="line<%= i.next %>"></a><%= i.next %> <%= line %></pre></td>
70
+ <td colspan="5"><pre><a name="line<%= i.next %>"></a><%= i.next %> <%= CGI::escapeHTML(line) %></pre></td>
71
71
  </tr>
72
72
  <% end %>
73
73
  </tbody>
data/lib/rcov/version.rb CHANGED
@@ -3,8 +3,8 @@
3
3
  # See LEGAL and LICENSE for licensing information.
4
4
 
5
5
  module Rcov
6
- VERSION = "0.8.3.6"
7
- RELEASE_DATE = "2009-06-2"
6
+ VERSION = "0.8.3.8"
7
+ RELEASE_DATE = "2009-07-27"
8
8
  RCOVRT_ABI = [2,0,0]
9
9
  UPSTREAM_URL = "http://github.com/relevance/rcov"
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relevance-rcov
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3.6
4
+ version: 0.8.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Relevance
@@ -73,6 +73,7 @@ files:
73
73
  - BLURB
74
74
  has_rdoc: true
75
75
  homepage: http://github.com/relevance/rcov
76
+ licenses:
76
77
  post_install_message:
77
78
  rdoc_options:
78
79
  - --main
@@ -96,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
97
  requirements: []
97
98
 
98
99
  rubyforge_project:
99
- rubygems_version: 1.2.0
100
+ rubygems_version: 1.3.5
100
101
  signing_key:
101
102
  specification_version: 1
102
103
  summary: Code coverage analysis tool for Ruby