simplecov 0.8.0.pre2 → 0.18.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +368 -27
- data/CODE_OF_CONDUCT.md +76 -0
- data/CONTRIBUTING.md +38 -7
- data/ISSUE_TEMPLATE.md +23 -0
- data/{MIT-LICENSE → LICENSE} +1 -1
- data/README.md +449 -230
- data/doc/alternate-formatters.md +61 -0
- data/doc/commercial-services.md +20 -0
- data/doc/editor-integration.md +18 -0
- data/lib/simplecov.rb +294 -59
- data/lib/simplecov/combine.rb +30 -0
- data/lib/simplecov/combine/branches_combiner.rb +32 -0
- data/lib/simplecov/combine/files_combiner.rb +25 -0
- data/lib/simplecov/combine/lines_combiner.rb +43 -0
- data/lib/simplecov/combine/results_combiner.rb +60 -0
- data/lib/simplecov/command_guesser.rb +46 -40
- data/lib/simplecov/configuration.rb +346 -221
- data/lib/simplecov/defaults.rb +35 -75
- data/lib/simplecov/exit_codes.rb +9 -4
- data/lib/simplecov/file_list.rb +80 -36
- data/lib/simplecov/filter.rb +51 -3
- data/lib/simplecov/formatter.rb +4 -2
- data/lib/simplecov/formatter/multi_formatter.rb +28 -19
- data/lib/simplecov/formatter/simple_formatter.rb +21 -15
- data/lib/simplecov/last_run.rb +21 -13
- data/lib/simplecov/lines_classifier.rb +48 -0
- data/lib/simplecov/load_global_config.rb +8 -0
- data/lib/simplecov/no_defaults.rb +4 -2
- data/lib/simplecov/profiles.rb +29 -23
- 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/result.rb +39 -68
- data/lib/simplecov/result_adapter.rb +30 -0
- data/lib/simplecov/result_merger.rb +110 -60
- data/lib/simplecov/simulate_coverage.rb +29 -0
- data/lib/simplecov/source_file.rb +261 -135
- data/lib/simplecov/source_file/branch.rb +106 -0
- data/lib/simplecov/source_file/line.rb +72 -0
- data/lib/simplecov/useless_results_remover.rb +16 -0
- data/lib/simplecov/version.rb +4 -2
- metadata +48 -197
- data/.gitignore +0 -32
- data/.travis.yml +0 -28
- data/.yardopts +0 -1
- data/Appraisals +0 -8
- data/Gemfile +0 -16
- data/Rakefile +0 -32
- 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 -52
- 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/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 -31
- 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 -35
- data/features/rspec_groups_using_filter_class.feature +0 -40
- 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 -45
- data/features/step_definitions/simplecov_steps.rb +0 -66
- data/features/step_definitions/transformers.rb +0 -13
- data/features/step_definitions/web_steps.rb +0 -64
- data/features/support/env.rb +0 -44
- 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/gemfiles/multi_json_legacy.gemfile +0 -12
- data/gemfiles/multi_json_new.gemfile +0 -12
- data/lib/simplecov/jruby16_fix.rb +0 -43
- data/lib/simplecov/json.rb +0 -27
- data/lib/simplecov/merge_helpers.rb +0 -39
- data/lib/simplecov/railtie.rb +0 -7
- data/lib/simplecov/railties/tasks.rake +0 -11
- data/simplecov.gemspec +0 -30
- data/test/faked_project/Gemfile +0 -6
- data/test/faked_project/Rakefile +0 -8
- data/test/faked_project/cucumber.yml +0 -13
- data/test/faked_project/features/step_definitions/my_steps.rb +0 -23
- data/test/faked_project/features/support/env.rb +0 -12
- data/test/faked_project/features/test_stuff.feature +0 -6
- data/test/faked_project/lib/faked_project.rb +0 -11
- data/test/faked_project/lib/faked_project/framework_specific.rb +0 -18
- data/test/faked_project/lib/faked_project/meta_magic.rb +0 -24
- data/test/faked_project/lib/faked_project/some_class.rb +0 -29
- data/test/faked_project/spec/faked_spec.rb +0 -11
- data/test/faked_project/spec/meta_magic_spec.rb +0 -10
- data/test/faked_project/spec/some_class_spec.rb +0 -10
- data/test/faked_project/spec/spec_helper.rb +0 -15
- data/test/faked_project/test/faked_test.rb +0 -11
- data/test/faked_project/test/meta_magic_test.rb +0 -13
- data/test/faked_project/test/some_class_test.rb +0 -15
- data/test/faked_project/test/test_helper.rb +0 -16
- data/test/fixtures/app/controllers/sample_controller.rb +0 -10
- data/test/fixtures/app/models/user.rb +0 -10
- data/test/fixtures/deleted_source_sample.rb +0 -15
- data/test/fixtures/frameworks/rspec_bad.rb +0 -9
- data/test/fixtures/frameworks/rspec_good.rb +0 -9
- data/test/fixtures/frameworks/testunit_bad.rb +0 -9
- data/test/fixtures/frameworks/testunit_good.rb +0 -9
- data/test/fixtures/iso-8859.rb +0 -3
- data/test/fixtures/resultset1.rb +0 -4
- data/test/fixtures/resultset2.rb +0 -5
- data/test/fixtures/sample.rb +0 -16
- data/test/fixtures/utf-8.rb +0 -3
- data/test/helper.rb +0 -34
- data/test/shoulda_macros.rb +0 -19
- data/test/test_1_8_fallbacks.rb +0 -31
- data/test/test_command_guesser.rb +0 -19
- data/test/test_deleted_source.rb +0 -14
- data/test/test_file_list.rb +0 -22
- data/test/test_filters.rb +0 -78
- data/test/test_merge_helpers.rb +0 -105
- data/test/test_result.rb +0 -160
- data/test/test_return_codes.rb +0 -37
- data/test/test_source_file.rb +0 -106
- data/test/test_source_file_line.rb +0 -106
@@ -0,0 +1,106 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module SimpleCov
|
4
|
+
class SourceFile
|
5
|
+
#
|
6
|
+
# Representing single branch that has been detected in coverage report.
|
7
|
+
# Give us support methods that handle needed calculations.
|
8
|
+
class Branch
|
9
|
+
attr_reader :start_line, :end_line, :coverage
|
10
|
+
|
11
|
+
# rubocop:disable Metrics/ParameterLists
|
12
|
+
def initialize(start_line:, end_line:, coverage:, inline:, positive:)
|
13
|
+
@start_line = start_line
|
14
|
+
@end_line = end_line
|
15
|
+
@coverage = coverage
|
16
|
+
@inline = inline
|
17
|
+
@positive = positive
|
18
|
+
@skipped = false
|
19
|
+
end
|
20
|
+
# rubocop:enable Metrics/ParameterLists
|
21
|
+
|
22
|
+
def inline?
|
23
|
+
@inline
|
24
|
+
end
|
25
|
+
|
26
|
+
def positive?
|
27
|
+
@positive
|
28
|
+
end
|
29
|
+
|
30
|
+
#
|
31
|
+
# Branch is negative
|
32
|
+
#
|
33
|
+
# @return [Boolean]
|
34
|
+
#
|
35
|
+
def negative?
|
36
|
+
!positive?
|
37
|
+
end
|
38
|
+
|
39
|
+
#
|
40
|
+
# Return true if there is relevant count defined > 0
|
41
|
+
#
|
42
|
+
# @return [Boolean]
|
43
|
+
#
|
44
|
+
def covered?
|
45
|
+
!skipped? && coverage.positive?
|
46
|
+
end
|
47
|
+
|
48
|
+
#
|
49
|
+
# Check if branche missed or not
|
50
|
+
#
|
51
|
+
# @return [Boolean]
|
52
|
+
#
|
53
|
+
def missed?
|
54
|
+
!skipped? && coverage.zero?
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Return the sign depends on branch is positive or negative
|
59
|
+
#
|
60
|
+
# @return [String]
|
61
|
+
#
|
62
|
+
def badge
|
63
|
+
positive? ? "+" : "-"
|
64
|
+
end
|
65
|
+
|
66
|
+
# The line on which we want to report the coverage
|
67
|
+
#
|
68
|
+
# Usually we choose the line above the start of the branch (so that it shows up
|
69
|
+
# at if/else) because that
|
70
|
+
# * highlights the condition
|
71
|
+
# * makes it distinguishable if the first line of the branch is an inline branch
|
72
|
+
# (see the nested_branches fixture)
|
73
|
+
#
|
74
|
+
def report_line
|
75
|
+
if inline?
|
76
|
+
start_line
|
77
|
+
else
|
78
|
+
start_line - 1
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
# Flags the branch as skipped
|
83
|
+
def skipped!
|
84
|
+
@skipped = true
|
85
|
+
end
|
86
|
+
|
87
|
+
# Returns true if the branch was marked skipped by virtue of nocov comments.
|
88
|
+
def skipped?
|
89
|
+
@skipped
|
90
|
+
end
|
91
|
+
|
92
|
+
def overlaps_with?(line_range)
|
93
|
+
start_line <= line_range.end && end_line >= line_range.begin
|
94
|
+
end
|
95
|
+
|
96
|
+
#
|
97
|
+
# Return array with coverage count and badge
|
98
|
+
#
|
99
|
+
# @return [Array]
|
100
|
+
#
|
101
|
+
def report
|
102
|
+
[coverage, badge]
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
@@ -0,0 +1,72 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module SimpleCov
|
4
|
+
class SourceFile
|
5
|
+
# Representation of a single line in a source file including
|
6
|
+
# this specific line's source code, line_number and code coverage,
|
7
|
+
# with the coverage being either nil (coverage not applicable, e.g. comment
|
8
|
+
# line), 0 (line not covered) or >1 (the amount of times the line was
|
9
|
+
# executed)
|
10
|
+
class Line
|
11
|
+
# The source code for this line. Aliased as :source
|
12
|
+
attr_reader :src
|
13
|
+
# The line number in the source file. Aliased as :line, :number
|
14
|
+
attr_reader :line_number
|
15
|
+
# The coverage data for this line: either nil (never), 0 (missed) or >=1 (times covered)
|
16
|
+
attr_reader :coverage
|
17
|
+
# Whether this line was skipped
|
18
|
+
attr_reader :skipped
|
19
|
+
|
20
|
+
# Lets grab some fancy aliases, shall we?
|
21
|
+
alias source src
|
22
|
+
alias line line_number
|
23
|
+
alias number line_number
|
24
|
+
|
25
|
+
def initialize(src, line_number, coverage)
|
26
|
+
raise ArgumentError, "Only String accepted for source" unless src.is_a?(String)
|
27
|
+
raise ArgumentError, "Only Integer accepted for line_number" unless line_number.is_a?(Integer)
|
28
|
+
raise ArgumentError, "Only Integer and nil accepted for coverage" unless coverage.is_a?(Integer) || coverage.nil?
|
29
|
+
|
30
|
+
@src = src
|
31
|
+
@line_number = line_number
|
32
|
+
@coverage = coverage
|
33
|
+
@skipped = false
|
34
|
+
end
|
35
|
+
|
36
|
+
# Returns true if this is a line that should have been covered, but was not
|
37
|
+
def missed?
|
38
|
+
!never? && !skipped? && coverage.zero?
|
39
|
+
end
|
40
|
+
|
41
|
+
# Returns true if this is a line that has been covered
|
42
|
+
def covered?
|
43
|
+
!never? && !skipped? && coverage.positive?
|
44
|
+
end
|
45
|
+
|
46
|
+
# Returns true if this line is not relevant for coverage
|
47
|
+
def never?
|
48
|
+
!skipped? && coverage.nil?
|
49
|
+
end
|
50
|
+
|
51
|
+
# Flags this line as skipped
|
52
|
+
def skipped!
|
53
|
+
@skipped = true
|
54
|
+
end
|
55
|
+
|
56
|
+
# Returns true if this line was skipped, false otherwise. Lines are skipped if they are wrapped with
|
57
|
+
# # :nocov: comment lines.
|
58
|
+
def skipped?
|
59
|
+
!!skipped
|
60
|
+
end
|
61
|
+
|
62
|
+
# The status of this line - either covered, missed, skipped or never. Useful i.e. for direct use
|
63
|
+
# as a css class in report generation
|
64
|
+
def status
|
65
|
+
return "skipped" if skipped?
|
66
|
+
return "never" if never?
|
67
|
+
return "missed" if missed?
|
68
|
+
return "covered" if covered?
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module SimpleCov
|
4
|
+
#
|
5
|
+
# Selection the files that related to working scope directory of SimpleCov
|
6
|
+
#
|
7
|
+
module UselessResultsRemover
|
8
|
+
ROOT_REGX = /\A#{Regexp.escape(SimpleCov.root + File::SEPARATOR)}/io.freeze
|
9
|
+
|
10
|
+
def self.call(coverage_result)
|
11
|
+
coverage_result.select do |path, _coverage|
|
12
|
+
path =~ ROOT_REGX
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/lib/simplecov/version.rb
CHANGED
metadata
CHANGED
@@ -1,182 +1,66 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplecov
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.0.beta1
|
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: 2020-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - '>='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - '>='
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: lockfile
|
14
|
+
name: docile
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
|
-
- -
|
17
|
+
- - "~>"
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
19
|
+
version: '1.1'
|
34
20
|
type: :runtime
|
35
21
|
prerelease: false
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
37
23
|
requirements:
|
38
|
-
- -
|
24
|
+
- - "~>"
|
39
25
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
26
|
+
version: '1.1'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: simplecov-html
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
|
-
- - ~>
|
31
|
+
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
33
|
+
version: 0.11.0.beta1
|
48
34
|
type: :runtime
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
|
-
- - ~>
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 0.7.1
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: docile
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 1.1.0
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ~>
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 1.1.0
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: appraisal
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ~>
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 0.5.1
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ~>
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 0.5.1
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rake
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ~>
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 10.0.3
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ~>
|
38
|
+
- - "~>"
|
95
39
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
97
|
-
|
98
|
-
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ~>
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 2.13.0
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ~>
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 2.13.0
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: shoulda
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ~>
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: 3.4.0
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ~>
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: 3.4.0
|
125
|
-
description: Code coverage for Ruby 1.9+ with a powerful configuration library and
|
126
|
-
automatic merging of coverage across test suites
|
40
|
+
version: 0.11.0.beta1
|
41
|
+
description: Code coverage for Ruby with a powerful configuration library and automatic
|
42
|
+
merging of coverage across test suites
|
127
43
|
email:
|
128
44
|
- christoph at olszowka de
|
129
45
|
executables: []
|
130
46
|
extensions: []
|
131
47
|
extra_rdoc_files: []
|
132
48
|
files:
|
133
|
-
- .gitignore
|
134
|
-
- .travis.yml
|
135
|
-
- .yardopts
|
136
|
-
- Appraisals
|
137
49
|
- CHANGELOG.md
|
50
|
+
- CODE_OF_CONDUCT.md
|
138
51
|
- CONTRIBUTING.md
|
139
|
-
-
|
140
|
-
-
|
52
|
+
- ISSUE_TEMPLATE.md
|
53
|
+
- LICENSE
|
141
54
|
- README.md
|
142
|
-
-
|
143
|
-
-
|
144
|
-
-
|
145
|
-
- features/config_command_name.feature
|
146
|
-
- features/config_coverage_dir.feature
|
147
|
-
- features/config_deactivate_merging.feature
|
148
|
-
- features/config_formatters.feature
|
149
|
-
- features/config_merge_timeout.feature
|
150
|
-
- features/config_nocov_token.feature
|
151
|
-
- features/config_profiles.feature
|
152
|
-
- features/config_project_name.feature
|
153
|
-
- features/config_styles.feature
|
154
|
-
- features/cucumber_basic.feature
|
155
|
-
- features/maximum_coverage_drop.feature
|
156
|
-
- features/merging_test_unit_and_rspec.feature
|
157
|
-
- features/minimum_coverage.feature
|
158
|
-
- features/refuse_coverage_drop.feature
|
159
|
-
- features/rspec_basic.feature
|
160
|
-
- features/rspec_fails_on_initialization.feature
|
161
|
-
- features/rspec_groups_and_filters_basic.feature
|
162
|
-
- features/rspec_groups_and_filters_complex.feature
|
163
|
-
- features/rspec_groups_using_filter_class.feature
|
164
|
-
- features/rspec_without_simplecov.feature
|
165
|
-
- features/skipping_code_blocks_manually.feature
|
166
|
-
- features/step_definitions/html_steps.rb
|
167
|
-
- features/step_definitions/simplecov_steps.rb
|
168
|
-
- features/step_definitions/transformers.rb
|
169
|
-
- features/step_definitions/web_steps.rb
|
170
|
-
- features/support/env.rb
|
171
|
-
- features/test_unit_basic.feature
|
172
|
-
- features/test_unit_groups_and_filters_basic.feature
|
173
|
-
- features/test_unit_groups_and_filters_complex.feature
|
174
|
-
- features/test_unit_groups_using_filter_class.feature
|
175
|
-
- features/test_unit_without_simplecov.feature
|
176
|
-
- features/unicode_compatiblity.feature
|
177
|
-
- gemfiles/multi_json_legacy.gemfile
|
178
|
-
- gemfiles/multi_json_new.gemfile
|
55
|
+
- doc/alternate-formatters.md
|
56
|
+
- doc/commercial-services.md
|
57
|
+
- doc/editor-integration.md
|
179
58
|
- lib/simplecov.rb
|
59
|
+
- lib/simplecov/combine.rb
|
60
|
+
- lib/simplecov/combine/branches_combiner.rb
|
61
|
+
- lib/simplecov/combine/files_combiner.rb
|
62
|
+
- lib/simplecov/combine/lines_combiner.rb
|
63
|
+
- lib/simplecov/combine/results_combiner.rb
|
180
64
|
- lib/simplecov/command_guesser.rb
|
181
65
|
- lib/simplecov/configuration.rb
|
182
66
|
- lib/simplecov/defaults.rb
|
@@ -186,84 +70,51 @@ files:
|
|
186
70
|
- lib/simplecov/formatter.rb
|
187
71
|
- lib/simplecov/formatter/multi_formatter.rb
|
188
72
|
- lib/simplecov/formatter/simple_formatter.rb
|
189
|
-
- lib/simplecov/jruby16_fix.rb
|
190
|
-
- lib/simplecov/json.rb
|
191
73
|
- lib/simplecov/last_run.rb
|
192
|
-
- lib/simplecov/
|
74
|
+
- lib/simplecov/lines_classifier.rb
|
75
|
+
- lib/simplecov/load_global_config.rb
|
193
76
|
- lib/simplecov/no_defaults.rb
|
194
77
|
- lib/simplecov/profiles.rb
|
195
|
-
- lib/simplecov/
|
196
|
-
- lib/simplecov/
|
78
|
+
- lib/simplecov/profiles/bundler_filter.rb
|
79
|
+
- lib/simplecov/profiles/hidden_filter.rb
|
80
|
+
- lib/simplecov/profiles/rails.rb
|
81
|
+
- lib/simplecov/profiles/root_filter.rb
|
82
|
+
- lib/simplecov/profiles/test_frameworks.rb
|
197
83
|
- lib/simplecov/result.rb
|
84
|
+
- lib/simplecov/result_adapter.rb
|
198
85
|
- lib/simplecov/result_merger.rb
|
86
|
+
- lib/simplecov/simulate_coverage.rb
|
199
87
|
- lib/simplecov/source_file.rb
|
88
|
+
- lib/simplecov/source_file/branch.rb
|
89
|
+
- lib/simplecov/source_file/line.rb
|
90
|
+
- lib/simplecov/useless_results_remover.rb
|
200
91
|
- lib/simplecov/version.rb
|
201
|
-
|
202
|
-
- test/faked_project/Gemfile
|
203
|
-
- test/faked_project/Rakefile
|
204
|
-
- test/faked_project/cucumber.yml
|
205
|
-
- test/faked_project/features/step_definitions/my_steps.rb
|
206
|
-
- test/faked_project/features/support/env.rb
|
207
|
-
- test/faked_project/features/test_stuff.feature
|
208
|
-
- test/faked_project/lib/faked_project.rb
|
209
|
-
- test/faked_project/lib/faked_project/framework_specific.rb
|
210
|
-
- test/faked_project/lib/faked_project/meta_magic.rb
|
211
|
-
- test/faked_project/lib/faked_project/some_class.rb
|
212
|
-
- test/faked_project/spec/faked_spec.rb
|
213
|
-
- test/faked_project/spec/meta_magic_spec.rb
|
214
|
-
- test/faked_project/spec/some_class_spec.rb
|
215
|
-
- test/faked_project/spec/spec_helper.rb
|
216
|
-
- test/faked_project/test/faked_test.rb
|
217
|
-
- test/faked_project/test/meta_magic_test.rb
|
218
|
-
- test/faked_project/test/some_class_test.rb
|
219
|
-
- test/faked_project/test/test_helper.rb
|
220
|
-
- test/fixtures/app/controllers/sample_controller.rb
|
221
|
-
- test/fixtures/app/models/user.rb
|
222
|
-
- test/fixtures/deleted_source_sample.rb
|
223
|
-
- test/fixtures/frameworks/rspec_bad.rb
|
224
|
-
- test/fixtures/frameworks/rspec_good.rb
|
225
|
-
- test/fixtures/frameworks/testunit_bad.rb
|
226
|
-
- test/fixtures/frameworks/testunit_good.rb
|
227
|
-
- test/fixtures/iso-8859.rb
|
228
|
-
- test/fixtures/resultset1.rb
|
229
|
-
- test/fixtures/resultset2.rb
|
230
|
-
- test/fixtures/sample.rb
|
231
|
-
- test/fixtures/utf-8.rb
|
232
|
-
- test/helper.rb
|
233
|
-
- test/shoulda_macros.rb
|
234
|
-
- test/test_1_8_fallbacks.rb
|
235
|
-
- test/test_command_guesser.rb
|
236
|
-
- test/test_deleted_source.rb
|
237
|
-
- test/test_file_list.rb
|
238
|
-
- test/test_filters.rb
|
239
|
-
- test/test_merge_helpers.rb
|
240
|
-
- test/test_result.rb
|
241
|
-
- test/test_return_codes.rb
|
242
|
-
- test/test_source_file.rb
|
243
|
-
- test/test_source_file_line.rb
|
244
|
-
homepage: http://github.com/colszowka/simplecov
|
92
|
+
homepage: https://github.com/colszowka/simplecov
|
245
93
|
licenses:
|
246
94
|
- MIT
|
247
|
-
metadata:
|
95
|
+
metadata:
|
96
|
+
bug_tracker_uri: https://github.com/colszowka/simplecov/issues
|
97
|
+
changelog_uri: https://github.com/colszowka/simplecov/blob/master/CHANGELOG.md
|
98
|
+
documentation_uri: https://www.rubydoc.info/gems/simplecov/0.18.0.beta1
|
99
|
+
mailing_list_uri: https://groups.google.com/forum/#!forum/simplecov
|
100
|
+
source_code_uri: https://github.com/colszowka/simplecov/tree/v0.18.0.beta1
|
248
101
|
post_install_message:
|
249
102
|
rdoc_options: []
|
250
103
|
require_paths:
|
251
104
|
- lib
|
252
105
|
required_ruby_version: !ruby/object:Gem::Requirement
|
253
106
|
requirements:
|
254
|
-
- -
|
107
|
+
- - ">="
|
255
108
|
- !ruby/object:Gem::Version
|
256
|
-
version:
|
109
|
+
version: 2.4.0
|
257
110
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
258
111
|
requirements:
|
259
|
-
- -
|
112
|
+
- - ">"
|
260
113
|
- !ruby/object:Gem::Version
|
261
114
|
version: 1.3.1
|
262
115
|
requirements: []
|
263
|
-
|
264
|
-
rubygems_version: 2.0.3
|
116
|
+
rubygems_version: 3.1.2
|
265
117
|
signing_key:
|
266
118
|
specification_version: 4
|
267
|
-
summary: Code coverage for Ruby
|
268
|
-
merging of coverage across test suites
|
119
|
+
summary: Code coverage for Ruby
|
269
120
|
test_files: []
|