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
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.
|
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.
|
100
|
+
rubygems_version: 1.3.5
|
100
101
|
signing_key:
|
101
102
|
specification_version: 1
|
102
103
|
summary: Code coverage analysis tool for Ruby
|