relevance-rcov 0.9.1.1 → 0.9.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,12 @@
1
1
  module Rcov
2
2
  class BaseFormatter # :nodoc:
3
3
  require 'pathname'
4
- ignore_files = [ /\btc_[^.]*.rb/, /_test\.rb\z/, /\btest\//, /\bvendor\//, /\A#{Regexp.escape(__FILE__)}\z/]
5
4
 
6
- unless RUBY_PLATFORM =~ /java/
5
+ if RUBY_PLATFORM =~ /java/
6
+ ignore_files = [ /\btc_[^.]*.rb/, /_test\.rb\z/, /\btest\//, /\bvendor\//, /\A#{Regexp.escape(__FILE__)}\z/]
7
+ else
7
8
  require 'mkmf'
8
- ignore_files << [/\A#{Regexp.escape(Pathname.new(::Config::CONFIG['libdir']).cleanpath.to_s)}/]
9
+ 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/]
9
10
  end
10
11
 
11
12
  DEFAULT_OPTS = { :ignore => ignore_files, :sort => :name, :sort_reverse => false,
@@ -3,8 +3,8 @@
3
3
  # See LICENSE for licensing information.
4
4
 
5
5
  module Rcov
6
- VERSION = "0.9.1.1"
7
- RELEASE_DATE = "2009-08-30"
6
+ VERSION = "0.9.2.1"
7
+ RELEASE_DATE = "2009-09-18"
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.9.1.1
4
+ version: 0.9.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Relevance