coverband 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@ module Coverband
9
9
  yield
10
10
  @project_directory = File.expand_path(Coverband.configuration.root)
11
11
  results = Coverage.result
12
- results = results.reject{|key, val| !key.match(@project_directory)}
12
+ results = results.reject{|key, val| !key.match(@project_directory) || Coverband.configuration.ignore.any?{|pattern| key.match(/#{pattern}/)} }
13
13
  puts results.inspect
14
14
 
15
15
  File.open('./tmp/coverband_baseline.json', 'w') {|f| f.write(results.to_json) }
@@ -1,3 +1,3 @@
1
1
  module Coverband
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coverband
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -159,7 +159,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
159
159
  version: '0'
160
160
  segments:
161
161
  - 0
162
- hash: 1293128324123628513
162
+ hash: -1653671855746038944
163
163
  required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  none: false
165
165
  requirements:
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  version: '0'
169
169
  segments:
170
170
  - 0
171
- hash: 1293128324123628513
171
+ hash: -1653671855746038944
172
172
  requirements: []
173
173
  rubyforge_project:
174
174
  rubygems_version: 1.8.25