simplecov 0.13.0 → 0.17.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +99 -3
- data/CONTRIBUTING.md +12 -9
- data/ISSUE_TEMPLATE.md +23 -0
- data/{MIT-LICENSE → LICENSE} +1 -1
- data/README.md +90 -43
- data/doc/alternate-formatters.md +21 -1
- data/doc/editor-integration.md +6 -1
- data/lib/simplecov.rb +131 -13
- data/lib/simplecov/command_guesser.rb +2 -0
- data/lib/simplecov/configuration.rb +34 -25
- data/lib/simplecov/defaults.rb +12 -82
- data/lib/simplecov/exit_codes.rb +2 -0
- data/lib/simplecov/file_list.rb +7 -5
- data/lib/simplecov/filter.rb +41 -4
- data/lib/simplecov/formatter.rb +2 -0
- data/lib/simplecov/formatter/multi_formatter.rb +2 -0
- data/lib/simplecov/formatter/simple_formatter.rb +3 -1
- data/lib/simplecov/jruby_fix.rb +2 -0
- data/lib/simplecov/last_run.rb +5 -1
- data/lib/simplecov/lines_classifier.rb +48 -0
- data/lib/simplecov/load_global_config.rb +8 -0
- data/lib/simplecov/no_defaults.rb +2 -0
- data/lib/simplecov/profiles.rb +2 -0
- data/lib/simplecov/profiles/bundler_filter.rb +5 -0
- data/lib/simplecov/profiles/hidden_filter.rb +5 -0
- data/lib/simplecov/profiles/rails.rb +18 -0
- data/lib/simplecov/profiles/root_filter.rb +10 -0
- data/lib/simplecov/profiles/test_frameworks.rb +8 -0
- data/lib/simplecov/railtie.rb +2 -0
- data/lib/simplecov/railties/tasks.rake +2 -0
- data/lib/simplecov/raw_coverage.rb +41 -0
- data/lib/simplecov/result.rb +2 -1
- data/lib/simplecov/result_merger.rb +56 -21
- data/lib/simplecov/source_file.rb +43 -34
- data/lib/simplecov/version.rb +3 -23
- metadata +131 -99
- data/.gitignore +0 -31
- data/.rspec +0 -3
- data/.rubocop.yml +0 -84
- data/.travis.yml +0 -32
- data/.yardopts +0 -1
- data/Gemfile +0 -38
- data/Rakefile +0 -41
- data/cucumber.yml +0 -13
- data/features/config_autoload.feature +0 -46
- data/features/config_command_name.feature +0 -45
- data/features/config_coverage_dir.feature +0 -33
- data/features/config_deactivate_merging.feature +0 -42
- data/features/config_formatters.feature +0 -77
- data/features/config_merge_timeout.feature +0 -39
- data/features/config_nocov_token.feature +0 -79
- data/features/config_profiles.feature +0 -44
- data/features/config_project_name.feature +0 -27
- data/features/config_styles.feature +0 -121
- data/features/config_tracked_files.feature +0 -29
- data/features/cucumber_basic.feature +0 -29
- data/features/maximum_coverage_drop.feature +0 -36
- data/features/merging_test_unit_and_rspec.feature +0 -44
- data/features/minimum_coverage.feature +0 -59
- data/features/refuse_coverage_drop.feature +0 -35
- data/features/rspec_basic.feature +0 -32
- data/features/rspec_fails_on_initialization.feature +0 -14
- data/features/rspec_groups_and_filters_basic.feature +0 -29
- data/features/rspec_groups_and_filters_complex.feature +0 -37
- data/features/rspec_groups_using_filter_class.feature +0 -41
- data/features/rspec_without_simplecov.feature +0 -20
- data/features/skipping_code_blocks_manually.feature +0 -70
- data/features/step_definitions/html_steps.rb +0 -44
- data/features/step_definitions/simplecov_steps.rb +0 -68
- data/features/step_definitions/transformers.rb +0 -13
- data/features/step_definitions/web_steps.rb +0 -64
- data/features/support/env.rb +0 -50
- data/features/test_unit_basic.feature +0 -34
- data/features/test_unit_groups_and_filters_basic.feature +0 -29
- data/features/test_unit_groups_and_filters_complex.feature +0 -35
- data/features/test_unit_groups_using_filter_class.feature +0 -40
- data/features/test_unit_without_simplecov.feature +0 -20
- data/features/unicode_compatiblity.feature +0 -67
- data/lib/simplecov/merge_helpers.rb +0 -37
- data/simplecov.gemspec +0 -27
- data/spec/1_8_fallbacks_spec.rb +0 -31
- data/spec/command_guesser_spec.rb +0 -48
- data/spec/deleted_source_spec.rb +0 -12
- data/spec/faked_project/Gemfile +0 -6
- data/spec/faked_project/Rakefile +0 -8
- data/spec/faked_project/cucumber.yml +0 -13
- data/spec/faked_project/features/step_definitions/my_steps.rb +0 -22
- data/spec/faked_project/features/support/env.rb +0 -12
- data/spec/faked_project/features/test_stuff.feature +0 -6
- data/spec/faked_project/lib/faked_project.rb +0 -11
- data/spec/faked_project/lib/faked_project/framework_specific.rb +0 -18
- data/spec/faked_project/lib/faked_project/meta_magic.rb +0 -24
- data/spec/faked_project/lib/faked_project/some_class.rb +0 -28
- data/spec/faked_project/lib/faked_project/untested_class.rb +0 -11
- data/spec/faked_project/spec/faked_spec.rb +0 -11
- data/spec/faked_project/spec/forking_spec.rb +0 -8
- data/spec/faked_project/spec/meta_magic_spec.rb +0 -15
- data/spec/faked_project/spec/some_class_spec.rb +0 -13
- data/spec/faked_project/spec/spec_helper.rb +0 -11
- data/spec/faked_project/test/faked_test.rb +0 -11
- data/spec/faked_project/test/meta_magic_test.rb +0 -13
- data/spec/faked_project/test/some_class_test.rb +0 -15
- data/spec/faked_project/test/test_helper.rb +0 -12
- data/spec/file_list_spec.rb +0 -50
- data/spec/filters_spec.rb +0 -98
- data/spec/fixtures/app/controllers/sample_controller.rb +0 -10
- data/spec/fixtures/app/models/user.rb +0 -10
- data/spec/fixtures/deleted_source_sample.rb +0 -15
- data/spec/fixtures/frameworks/rspec_bad.rb +0 -9
- data/spec/fixtures/frameworks/rspec_good.rb +0 -9
- data/spec/fixtures/frameworks/testunit_bad.rb +0 -9
- data/spec/fixtures/frameworks/testunit_good.rb +0 -9
- data/spec/fixtures/iso-8859.rb +0 -3
- data/spec/fixtures/resultset1.rb +0 -4
- data/spec/fixtures/resultset2.rb +0 -4
- data/spec/fixtures/sample.rb +0 -16
- data/spec/fixtures/utf-8.rb +0 -3
- data/spec/helper.rb +0 -24
- data/spec/merge_helpers_spec.rb +0 -126
- data/spec/multi_formatter_spec.rb +0 -20
- data/spec/result_spec.rb +0 -209
- data/spec/return_codes_spec.rb +0 -34
- data/spec/source_file_line_spec.rb +0 -155
- data/spec/source_file_spec.rb +0 -77
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module SimpleCov
|
2
4
|
#
|
3
5
|
# Representation of a source file including it's coverage data, source code,
|
@@ -80,6 +82,11 @@ module SimpleCov
|
|
80
82
|
@coverage = coverage
|
81
83
|
end
|
82
84
|
|
85
|
+
# The path to this source file relative to the projects directory
|
86
|
+
def project_filename
|
87
|
+
@filename.sub(Regexp.new("^#{Regexp.escape(SimpleCov.root)}"), "")
|
88
|
+
end
|
89
|
+
|
83
90
|
# The source code for this file. Aliased as :source
|
84
91
|
def src
|
85
92
|
# We intentionally read source code lazily to
|
@@ -91,22 +98,24 @@ module SimpleCov
|
|
91
98
|
# Returns all source lines for this file as instances of SimpleCov::SourceFile::Line,
|
92
99
|
# and thus including coverage data. Aliased as :source_lines
|
93
100
|
def lines
|
94
|
-
|
101
|
+
@lines ||= build_lines
|
102
|
+
end
|
103
|
+
alias source_lines lines
|
95
104
|
|
96
|
-
|
97
|
-
if coverage.size > src.size
|
98
|
-
$stderr.puts "Warning: coverage data provided by Coverage [#{coverage.size}] exceeds number of lines in #{filename} [#{src.size}]"
|
99
|
-
end
|
105
|
+
def build_lines
|
106
|
+
coverage_exceeding_source_warn if coverage.size > src.size
|
100
107
|
|
101
|
-
|
102
|
-
|
103
|
-
src.each_with_index do |src, i|
|
104
|
-
@lines << SimpleCov::SourceFile::Line.new(src, i + 1, coverage[i])
|
108
|
+
lines = src.map.with_index(1) do |src, i|
|
109
|
+
SimpleCov::SourceFile::Line.new(src, i, coverage[i - 1])
|
105
110
|
end
|
106
|
-
|
107
|
-
|
111
|
+
|
112
|
+
process_skipped_lines(lines)
|
113
|
+
end
|
114
|
+
|
115
|
+
# Warning to identify condition from Issue #56
|
116
|
+
def coverage_exceeding_source_warn
|
117
|
+
$stderr.puts "Warning: coverage data provided by Coverage [#{coverage.size}] exceeds number of lines in #{filename} [#{src.size}]"
|
108
118
|
end
|
109
|
-
alias source_lines lines
|
110
119
|
|
111
120
|
# Access SimpleCov::SourceFile::Line source lines by line number
|
112
121
|
def line(number)
|
@@ -115,31 +124,29 @@ module SimpleCov
|
|
115
124
|
|
116
125
|
# The coverage for this file in percent. 0 if the file has no relevant lines
|
117
126
|
def covered_percent
|
118
|
-
return 100.0 if
|
119
|
-
|
120
|
-
if relevant_lines.zero?
|
121
|
-
|
122
|
-
|
123
|
-
Float(covered_lines.count * 100.0 / relevant_lines.to_f)
|
124
|
-
end
|
127
|
+
return 100.0 if no_lines?
|
128
|
+
|
129
|
+
return 0.0 if relevant_lines.zero?
|
130
|
+
|
131
|
+
Float(covered_lines.size * 100.0 / relevant_lines.to_f)
|
125
132
|
end
|
126
133
|
|
127
134
|
def covered_strength
|
128
|
-
return 0.0 if
|
135
|
+
return 0.0 if relevant_lines.zero?
|
129
136
|
|
130
|
-
lines_strength
|
131
|
-
|
132
|
-
|
133
|
-
|
137
|
+
round_float(lines_strength / relevant_lines.to_f, 1)
|
138
|
+
end
|
139
|
+
|
140
|
+
def no_lines?
|
141
|
+
lines.length.zero? || (lines.length == never_lines.size)
|
142
|
+
end
|
134
143
|
|
135
|
-
|
144
|
+
def lines_strength
|
145
|
+
lines.map(&:coverage).compact.reduce(:+)
|
146
|
+
end
|
136
147
|
|
137
|
-
|
138
|
-
|
139
|
-
else
|
140
|
-
strength = lines_strength / effective_lines_count
|
141
|
-
round_float(strength, 1)
|
142
|
-
end
|
148
|
+
def relevant_lines
|
149
|
+
lines.size - never_lines.size - skipped_lines.size
|
143
150
|
end
|
144
151
|
|
145
152
|
# Returns all covered lines as SimpleCov::SourceFile::Line
|
@@ -166,16 +173,18 @@ module SimpleCov
|
|
166
173
|
|
167
174
|
# Returns the number of relevant lines (covered + missed)
|
168
175
|
def lines_of_code
|
169
|
-
covered_lines.
|
176
|
+
covered_lines.size + missed_lines.size
|
170
177
|
end
|
171
178
|
|
172
179
|
# Will go through all source files and mark lines that are wrapped within # :nocov: comment blocks
|
173
180
|
# as skipped.
|
174
|
-
def process_skipped_lines
|
181
|
+
def process_skipped_lines(lines)
|
175
182
|
skipping = false
|
183
|
+
|
176
184
|
lines.each do |line|
|
177
|
-
if line.src
|
185
|
+
if SimpleCov::LinesClassifier.no_cov_line?(line.src)
|
178
186
|
skipping = !skipping
|
187
|
+
line.skipped!
|
179
188
|
elsif skipping
|
180
189
|
line.skipped!
|
181
190
|
end
|
data/lib/simplecov/version.rb
CHANGED
@@ -1,25 +1,5 @@
|
|
1
|
-
|
2
|
-
version = "0.13.0"
|
3
|
-
|
4
|
-
def version.to_a
|
5
|
-
split(".").map(&:to_i)
|
6
|
-
end
|
7
|
-
|
8
|
-
def version.major
|
9
|
-
to_a[0]
|
10
|
-
end
|
11
|
-
|
12
|
-
def version.minor
|
13
|
-
to_a[1]
|
14
|
-
end
|
1
|
+
# frozen_string_literal: true
|
15
2
|
|
16
|
-
|
17
|
-
|
18
|
-
end
|
19
|
-
|
20
|
-
def version.pre
|
21
|
-
to_a[3]
|
22
|
-
end
|
23
|
-
|
24
|
-
VERSION = version
|
3
|
+
module SimpleCov
|
4
|
+
VERSION = "0.17.1".freeze
|
25
5
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplecov
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christoph Olszowka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -50,28 +50,140 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.1
|
53
|
+
version: '1.1'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.1
|
60
|
+
version: '1.1'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: bundler
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
|
-
- - "
|
65
|
+
- - ">="
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '
|
67
|
+
version: '0'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- - "
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: rake
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
type: :development
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: rspec
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: test-unit
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: cucumber
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - "<"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '3'
|
124
|
+
type: :development
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - "<"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '3'
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: aruba
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - ">="
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '0'
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '0'
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: capybara
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - "<"
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '3'
|
152
|
+
type: :development
|
153
|
+
prerelease: false
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - "<"
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '3'
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: phantomjs
|
161
|
+
requirement: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - ">="
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - ">="
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0'
|
173
|
+
- !ruby/object:Gem::Dependency
|
174
|
+
name: poltergeist
|
175
|
+
requirement: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - ">="
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0'
|
180
|
+
type: :development
|
181
|
+
prerelease: false
|
182
|
+
version_requirements: !ruby/object:Gem::Requirement
|
183
|
+
requirements:
|
184
|
+
- - ">="
|
73
185
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
186
|
+
version: '0'
|
75
187
|
description: Code coverage for Ruby 1.9+ with a powerful configuration library and
|
76
188
|
automatic merging of coverage across test suites
|
77
189
|
email:
|
@@ -80,55 +192,14 @@ executables: []
|
|
80
192
|
extensions: []
|
81
193
|
extra_rdoc_files: []
|
82
194
|
files:
|
83
|
-
- ".gitignore"
|
84
|
-
- ".rspec"
|
85
|
-
- ".rubocop.yml"
|
86
|
-
- ".travis.yml"
|
87
|
-
- ".yardopts"
|
88
195
|
- CHANGELOG.md
|
89
196
|
- CONTRIBUTING.md
|
90
|
-
-
|
91
|
-
-
|
197
|
+
- ISSUE_TEMPLATE.md
|
198
|
+
- LICENSE
|
92
199
|
- README.md
|
93
|
-
- Rakefile
|
94
|
-
- cucumber.yml
|
95
200
|
- doc/alternate-formatters.md
|
96
201
|
- doc/commercial-services.md
|
97
202
|
- doc/editor-integration.md
|
98
|
-
- features/config_autoload.feature
|
99
|
-
- features/config_command_name.feature
|
100
|
-
- features/config_coverage_dir.feature
|
101
|
-
- features/config_deactivate_merging.feature
|
102
|
-
- features/config_formatters.feature
|
103
|
-
- features/config_merge_timeout.feature
|
104
|
-
- features/config_nocov_token.feature
|
105
|
-
- features/config_profiles.feature
|
106
|
-
- features/config_project_name.feature
|
107
|
-
- features/config_styles.feature
|
108
|
-
- features/config_tracked_files.feature
|
109
|
-
- features/cucumber_basic.feature
|
110
|
-
- features/maximum_coverage_drop.feature
|
111
|
-
- features/merging_test_unit_and_rspec.feature
|
112
|
-
- features/minimum_coverage.feature
|
113
|
-
- features/refuse_coverage_drop.feature
|
114
|
-
- features/rspec_basic.feature
|
115
|
-
- features/rspec_fails_on_initialization.feature
|
116
|
-
- features/rspec_groups_and_filters_basic.feature
|
117
|
-
- features/rspec_groups_and_filters_complex.feature
|
118
|
-
- features/rspec_groups_using_filter_class.feature
|
119
|
-
- features/rspec_without_simplecov.feature
|
120
|
-
- features/skipping_code_blocks_manually.feature
|
121
|
-
- features/step_definitions/html_steps.rb
|
122
|
-
- features/step_definitions/simplecov_steps.rb
|
123
|
-
- features/step_definitions/transformers.rb
|
124
|
-
- features/step_definitions/web_steps.rb
|
125
|
-
- features/support/env.rb
|
126
|
-
- features/test_unit_basic.feature
|
127
|
-
- features/test_unit_groups_and_filters_basic.feature
|
128
|
-
- features/test_unit_groups_and_filters_complex.feature
|
129
|
-
- features/test_unit_groups_using_filter_class.feature
|
130
|
-
- features/test_unit_without_simplecov.feature
|
131
|
-
- features/unicode_compatiblity.feature
|
132
203
|
- lib/simplecov.rb
|
133
204
|
- lib/simplecov/command_guesser.rb
|
134
205
|
- lib/simplecov/configuration.rb
|
@@ -141,60 +212,22 @@ files:
|
|
141
212
|
- lib/simplecov/formatter/simple_formatter.rb
|
142
213
|
- lib/simplecov/jruby_fix.rb
|
143
214
|
- lib/simplecov/last_run.rb
|
144
|
-
- lib/simplecov/
|
215
|
+
- lib/simplecov/lines_classifier.rb
|
216
|
+
- lib/simplecov/load_global_config.rb
|
145
217
|
- lib/simplecov/no_defaults.rb
|
146
218
|
- lib/simplecov/profiles.rb
|
219
|
+
- lib/simplecov/profiles/bundler_filter.rb
|
220
|
+
- lib/simplecov/profiles/hidden_filter.rb
|
221
|
+
- lib/simplecov/profiles/rails.rb
|
222
|
+
- lib/simplecov/profiles/root_filter.rb
|
223
|
+
- lib/simplecov/profiles/test_frameworks.rb
|
147
224
|
- lib/simplecov/railtie.rb
|
148
225
|
- lib/simplecov/railties/tasks.rake
|
226
|
+
- lib/simplecov/raw_coverage.rb
|
149
227
|
- lib/simplecov/result.rb
|
150
228
|
- lib/simplecov/result_merger.rb
|
151
229
|
- lib/simplecov/source_file.rb
|
152
230
|
- lib/simplecov/version.rb
|
153
|
-
- simplecov.gemspec
|
154
|
-
- spec/1_8_fallbacks_spec.rb
|
155
|
-
- spec/command_guesser_spec.rb
|
156
|
-
- spec/deleted_source_spec.rb
|
157
|
-
- spec/faked_project/Gemfile
|
158
|
-
- spec/faked_project/Rakefile
|
159
|
-
- spec/faked_project/cucumber.yml
|
160
|
-
- spec/faked_project/features/step_definitions/my_steps.rb
|
161
|
-
- spec/faked_project/features/support/env.rb
|
162
|
-
- spec/faked_project/features/test_stuff.feature
|
163
|
-
- spec/faked_project/lib/faked_project.rb
|
164
|
-
- spec/faked_project/lib/faked_project/framework_specific.rb
|
165
|
-
- spec/faked_project/lib/faked_project/meta_magic.rb
|
166
|
-
- spec/faked_project/lib/faked_project/some_class.rb
|
167
|
-
- spec/faked_project/lib/faked_project/untested_class.rb
|
168
|
-
- spec/faked_project/spec/faked_spec.rb
|
169
|
-
- spec/faked_project/spec/forking_spec.rb
|
170
|
-
- spec/faked_project/spec/meta_magic_spec.rb
|
171
|
-
- spec/faked_project/spec/some_class_spec.rb
|
172
|
-
- spec/faked_project/spec/spec_helper.rb
|
173
|
-
- spec/faked_project/test/faked_test.rb
|
174
|
-
- spec/faked_project/test/meta_magic_test.rb
|
175
|
-
- spec/faked_project/test/some_class_test.rb
|
176
|
-
- spec/faked_project/test/test_helper.rb
|
177
|
-
- spec/file_list_spec.rb
|
178
|
-
- spec/filters_spec.rb
|
179
|
-
- spec/fixtures/app/controllers/sample_controller.rb
|
180
|
-
- spec/fixtures/app/models/user.rb
|
181
|
-
- spec/fixtures/deleted_source_sample.rb
|
182
|
-
- spec/fixtures/frameworks/rspec_bad.rb
|
183
|
-
- spec/fixtures/frameworks/rspec_good.rb
|
184
|
-
- spec/fixtures/frameworks/testunit_bad.rb
|
185
|
-
- spec/fixtures/frameworks/testunit_good.rb
|
186
|
-
- spec/fixtures/iso-8859.rb
|
187
|
-
- spec/fixtures/resultset1.rb
|
188
|
-
- spec/fixtures/resultset2.rb
|
189
|
-
- spec/fixtures/sample.rb
|
190
|
-
- spec/fixtures/utf-8.rb
|
191
|
-
- spec/helper.rb
|
192
|
-
- spec/merge_helpers_spec.rb
|
193
|
-
- spec/multi_formatter_spec.rb
|
194
|
-
- spec/result_spec.rb
|
195
|
-
- spec/return_codes_spec.rb
|
196
|
-
- spec/source_file_line_spec.rb
|
197
|
-
- spec/source_file_spec.rb
|
198
231
|
homepage: http://github.com/colszowka/simplecov
|
199
232
|
licenses:
|
200
233
|
- MIT
|
@@ -214,8 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
247
|
- !ruby/object:Gem::Version
|
215
248
|
version: '0'
|
216
249
|
requirements: []
|
217
|
-
|
218
|
-
rubygems_version: 2.6.10
|
250
|
+
rubygems_version: 3.0.6
|
219
251
|
signing_key:
|
220
252
|
specification_version: 4
|
221
253
|
summary: Code coverage for Ruby 1.9+ with a powerful configuration library and automatic
|