spicycode-rcov 0.8.1.5.0 → 0.8.1.5.5

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  $:.unshift "lib" if File.directory? "lib"
6
6
  require 'rcov/rcovtask'
7
+ require 'rcov/version'
7
8
  require 'rake/testtask'
8
9
  require 'rake/rdoctask'
9
10
  require 'rake/gempackagetask'
@@ -100,7 +101,7 @@ PKG_FILES = ["bin/rcov", "lib/rcov.rb", "lib/rcov/lowlevel.rb", "lib/rcov/xx.rb"
100
101
  # this code can also be used to generate the MRI gem. But I left the gemspec file in too.
101
102
  spec = Gem::Specification.new do |s|
102
103
  s.name = %q{rcov}
103
- s.version = "0.8.1.5.0"
104
+ s.version = Rcov::VERSION
104
105
 
105
106
  s.required_rubygems_version = nil if s.respond_to? :required_rubygems_version=
106
107
  s.authors = ["Mauricio Fernandez"]
@@ -134,11 +135,11 @@ spec = Gem::Specification.new do |s|
134
135
  end
135
136
  end
136
137
 
137
- #tasks added in to support generating the JRuby gem.
138
+ # tasks added in to support generating the JRuby gem.
138
139
  if RUBY_PLATFORM == 'java'
139
140
  spec.platform = "jruby"
140
141
  spec.extensions = []
141
- #add the jruby extension to the file list
142
+ # add the jruby extension to the file list
142
143
  PKG_FILES << "lib/rcovrt.jar"
143
144
 
144
145
  def java_classpath_arg
@@ -185,7 +186,7 @@ Rake::GemPackageTask.new(spec) do |p|
185
186
  p.gem_spec = spec
186
187
  end
187
188
 
188
- #extend the gem task to include the java_compile
189
+ # extend the gem task to include the java_compile
189
190
  if RUBY_PLATFORM == 'java'
190
191
  Rake::Task["pkg"].enhance(["java_compile"])
191
192
  end
data/lib/rcov/report.rb CHANGED
@@ -25,6 +25,8 @@ begin
25
25
  rescue LoadError
26
26
  end
27
27
 
28
+ require 'rcov/rexml_extensions' # TODO it would be nice to move the below hacks into this rexml_extensions module
29
+
28
30
  if (RUBY_VERSION == "1.8.6" || RUBY_VERSION == "1.8.7") && defined? REXML::Formatters::Transitive
29
31
  class REXML::Document
30
32
  remove_method :write rescue nil
@@ -74,6 +76,7 @@ if (RUBY_VERSION == "1.8.6" || RUBY_VERSION == "1.8.7") && defined? REXML::Forma
74
76
  output << ' '*@level
75
77
  end
76
78
  end
79
+
77
80
  end
78
81
 
79
82
  class Formatter # :nodoc:
data/lib/rcov/version.rb CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  module Rcov
6
6
 
7
- VERSION = "0.8.1.5"
7
+ VERSION = "0.8.1.5.5"
8
8
  RELEASE_DATE = "2008-10-29"
9
9
  RCOVRT_ABI = [2,0,0]
10
10
  UPSTREAM_URL = "http://github.com/spicycode/rcov"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spicycode-rcov
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1.5.0
4
+ version: 0.8.1.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mauricio Fernandez