coverband 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/coverband/middleware.rb +3 -2
- data/lib/coverband/version.rb +1 -1
- metadata +3 -3
data/lib/coverband/middleware.rb
CHANGED
@@ -64,11 +64,12 @@ module Coverband
|
|
64
64
|
if @reporter
|
65
65
|
if @reporter.is_a?(Redis)
|
66
66
|
#"/Users/danmayer/projects/cover_band_server/app.rb"=>[54, 55]
|
67
|
-
|
67
|
+
old_files = files.dup
|
68
|
+
@files = {}
|
69
|
+
old_files.each_pair do |key, values|
|
68
70
|
@reporter.sadd "coverband", key.gsub('/','.')
|
69
71
|
@reporter.sadd "coverband#{key.gsub('/','.')}", values
|
70
72
|
end
|
71
|
-
@files = {}
|
72
73
|
end
|
73
74
|
else
|
74
75
|
puts "coverage report: "
|
data/lib/coverband/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -108,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
108
108
|
version: '0'
|
109
109
|
segments:
|
110
110
|
- 0
|
111
|
-
hash:
|
111
|
+
hash: 1023737906618146469
|
112
112
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
113
|
none: false
|
114
114
|
requirements:
|
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
117
|
version: '0'
|
118
118
|
segments:
|
119
119
|
- 0
|
120
|
-
hash:
|
120
|
+
hash: 1023737906618146469
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
123
|
rubygems_version: 1.8.25
|