simplecov 0.15.1 → 0.18.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +89 -1
- data/CODE_OF_CONDUCT.md +76 -0
- data/CONTRIBUTING.md +12 -9
- data/ISSUE_TEMPLATE.md +23 -0
- data/{MIT-LICENSE → LICENSE} +0 -0
- data/README.md +300 -115
- data/doc/alternate-formatters.md +20 -0
- data/lib/simplecov.rb +298 -45
- data/lib/simplecov/combine.rb +30 -0
- data/lib/simplecov/combine/branches_combiner.rb +32 -0
- data/lib/simplecov/combine/files_combiner.rb +24 -0
- data/lib/simplecov/combine/lines_combiner.rb +43 -0
- data/lib/simplecov/combine/results_combiner.rb +100 -0
- data/lib/simplecov/command_guesser.rb +8 -3
- data/lib/simplecov/configuration.rb +95 -8
- data/lib/simplecov/defaults.rb +13 -80
- data/lib/simplecov/exit_codes.rb +2 -0
- data/lib/simplecov/file_list.rb +32 -3
- data/lib/simplecov/filter.rb +5 -2
- data/lib/simplecov/formatter.rb +2 -0
- data/lib/simplecov/formatter/multi_formatter.rb +4 -2
- data/lib/simplecov/formatter/simple_formatter.rb +6 -4
- data/lib/simplecov/last_run.rb +5 -1
- data/lib/simplecov/lines_classifier.rb +21 -5
- data/lib/simplecov/load_global_config.rb +2 -0
- data/lib/simplecov/no_defaults.rb +2 -0
- data/lib/simplecov/profiles.rb +11 -7
- 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 +13 -4
- data/lib/simplecov/result_adapter.rb +30 -0
- data/lib/simplecov/result_merger.rb +20 -11
- data/lib/simplecov/simulate_coverage.rb +29 -0
- data/lib/simplecov/source_file.rb +190 -109
- data/lib/simplecov/source_file/branch.rb +84 -0
- data/lib/simplecov/source_file/line.rb +72 -0
- data/lib/simplecov/useless_results_remover.rb +16 -0
- data/lib/simplecov/version.rb +3 -1
- metadata +44 -162
- data/.gitignore +0 -31
- data/.rspec +0 -3
- data/.rubocop.yml +0 -88
- data/.travis.yml +0 -29
- data/.yardopts +0 -1
- data/Gemfile +0 -38
- data/Rakefile +0 -39
- 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/config_tracked_files_relevant_lines.feature +0 -31
- data/features/cucumber_basic.feature +0 -29
- data/features/maximum_coverage_drop.feature +0 -89
- data/features/merging_test_unit_and_rspec.feature +0 -44
- data/features/minimum_coverage.feature +0 -59
- data/features/refuse_coverage_drop.feature +0 -95
- 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/aruba_freedom_patch.rb +0 -53
- 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/jruby_fix.rb +0 -42
- data/lib/simplecov/railtie.rb +0 -7
- data/lib/simplecov/railties/tasks.rake +0 -11
- data/lib/simplecov/raw_coverage.rb +0 -39
- data/simplecov.gemspec +0 -27
- data/spec/1_8_fallbacks_spec.rb +0 -31
- data/spec/command_guesser_spec.rb +0 -48
- data/spec/config_loader_spec.rb +0 -14
- data/spec/configuration_spec.rb +0 -35
- data/spec/defaults_spec.rb +0 -41
- 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 -202
- 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/never.rb +0 -2
- data/spec/fixtures/resultset1.rb +0 -4
- data/spec/fixtures/resultset2.rb +0 -4
- data/spec/fixtures/sample.rb +0 -16
- data/spec/fixtures/skipped.rb +0 -4
- data/spec/fixtures/skipped_and_executed.rb +0 -8
- data/spec/fixtures/utf-8.rb +0 -3
- data/spec/helper.rb +0 -26
- data/spec/last_run_spec.rb +0 -48
- data/spec/lines_classifier_spec.rb +0 -103
- data/spec/multi_formatter_spec.rb +0 -20
- data/spec/raw_coverage_spec.rb +0 -92
- data/spec/result_merger_spec.rb +0 -171
- data/spec/result_spec.rb +0 -209
- data/spec/return_codes_spec.rb +0 -34
- data/spec/simplecov_spec.rb +0 -109
- data/spec/source_file_line_spec.rb +0 -155
- data/spec/source_file_spec.rb +0 -145
- data/spec/support/fail_rspec_on_ruby_warning.rb +0 -75
@@ -0,0 +1,84 @@
|
|
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, :type
|
10
|
+
|
11
|
+
# rubocop:disable Metrics/ParameterLists
|
12
|
+
def initialize(start_line:, end_line:, coverage:, inline:, type:)
|
13
|
+
@start_line = start_line
|
14
|
+
@end_line = end_line
|
15
|
+
@coverage = coverage
|
16
|
+
@inline = inline
|
17
|
+
@type = type
|
18
|
+
@skipped = false
|
19
|
+
end
|
20
|
+
# rubocop:enable Metrics/ParameterLists
|
21
|
+
|
22
|
+
def inline?
|
23
|
+
@inline
|
24
|
+
end
|
25
|
+
|
26
|
+
#
|
27
|
+
# Return true if there is relevant count defined > 0
|
28
|
+
#
|
29
|
+
# @return [Boolean]
|
30
|
+
#
|
31
|
+
def covered?
|
32
|
+
!skipped? && coverage.positive?
|
33
|
+
end
|
34
|
+
|
35
|
+
#
|
36
|
+
# Check if branche missed or not
|
37
|
+
#
|
38
|
+
# @return [Boolean]
|
39
|
+
#
|
40
|
+
def missed?
|
41
|
+
!skipped? && coverage.zero?
|
42
|
+
end
|
43
|
+
|
44
|
+
# The line on which we want to report the coverage
|
45
|
+
#
|
46
|
+
# Usually we choose the line above the start of the branch (so that it shows up
|
47
|
+
# at if/else) because that
|
48
|
+
# * highlights the condition
|
49
|
+
# * makes it distinguishable if the first line of the branch is an inline branch
|
50
|
+
# (see the nested_branches fixture)
|
51
|
+
#
|
52
|
+
def report_line
|
53
|
+
if inline?
|
54
|
+
start_line
|
55
|
+
else
|
56
|
+
start_line - 1
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
# Flags the branch as skipped
|
61
|
+
def skipped!
|
62
|
+
@skipped = true
|
63
|
+
end
|
64
|
+
|
65
|
+
# Returns true if the branch was marked skipped by virtue of nocov comments.
|
66
|
+
def skipped?
|
67
|
+
@skipped
|
68
|
+
end
|
69
|
+
|
70
|
+
def overlaps_with?(line_range)
|
71
|
+
start_line <= line_range.end && end_line >= line_range.begin
|
72
|
+
end
|
73
|
+
|
74
|
+
#
|
75
|
+
# Return array with coverage count and badge
|
76
|
+
#
|
77
|
+
# @return [Array]
|
78
|
+
#
|
79
|
+
def report
|
80
|
+
[type, coverage]
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
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
|
+
# Select 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,137 +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.beta2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christoph Olszowka
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
|
15
|
-
requirements:
|
16
|
-
- - ">="
|
17
|
-
- !ruby/object:Gem::Version
|
18
|
-
version: '1.8'
|
19
|
-
- - "<"
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '3'
|
22
|
-
name: json
|
23
|
-
prerelease: false
|
24
|
-
type: :runtime
|
25
|
-
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '1.8'
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '3'
|
33
|
-
- !ruby/object:Gem::Dependency
|
14
|
+
name: docile
|
34
15
|
requirement: !ruby/object:Gem::Requirement
|
35
16
|
requirements:
|
36
17
|
- - "~>"
|
37
18
|
- !ruby/object:Gem::Version
|
38
|
-
version:
|
39
|
-
name: simplecov-html
|
40
|
-
prerelease: false
|
19
|
+
version: '1.1'
|
41
20
|
type: :runtime
|
42
|
-
version_requirements: !ruby/object:Gem::Requirement
|
43
|
-
requirements:
|
44
|
-
- - "~>"
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 0.10.0
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
-
requirements:
|
50
|
-
- - "~>"
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: 1.1.0
|
53
|
-
name: docile
|
54
21
|
prerelease: false
|
55
|
-
type: :runtime
|
56
22
|
version_requirements: !ruby/object:Gem::Requirement
|
57
23
|
requirements:
|
58
24
|
- - "~>"
|
59
25
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.1
|
26
|
+
version: '1.1'
|
61
27
|
- !ruby/object:Gem::Dependency
|
28
|
+
name: simplecov-html
|
62
29
|
requirement: !ruby/object:Gem::Requirement
|
63
30
|
requirements:
|
64
31
|
- - "~>"
|
65
32
|
- !ruby/object:Gem::Version
|
66
|
-
version:
|
67
|
-
|
33
|
+
version: 0.11.0.beta2
|
34
|
+
type: :runtime
|
68
35
|
prerelease: false
|
69
|
-
type: :development
|
70
36
|
version_requirements: !ruby/object:Gem::Requirement
|
71
37
|
requirements:
|
72
38
|
- - "~>"
|
73
39
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
75
|
-
description: Code coverage for Ruby
|
76
|
-
|
40
|
+
version: 0.11.0.beta2
|
41
|
+
description: Code coverage for Ruby with a powerful configuration library and automatic
|
42
|
+
merging of coverage across test suites
|
77
43
|
email:
|
78
44
|
- christoph at olszowka de
|
79
45
|
executables: []
|
80
46
|
extensions: []
|
81
47
|
extra_rdoc_files: []
|
82
48
|
files:
|
83
|
-
- ".gitignore"
|
84
|
-
- ".rspec"
|
85
|
-
- ".rubocop.yml"
|
86
|
-
- ".travis.yml"
|
87
|
-
- ".yardopts"
|
88
49
|
- CHANGELOG.md
|
50
|
+
- CODE_OF_CONDUCT.md
|
89
51
|
- CONTRIBUTING.md
|
90
|
-
-
|
91
|
-
-
|
52
|
+
- ISSUE_TEMPLATE.md
|
53
|
+
- LICENSE
|
92
54
|
- README.md
|
93
|
-
- Rakefile
|
94
|
-
- cucumber.yml
|
95
55
|
- doc/alternate-formatters.md
|
96
56
|
- doc/commercial-services.md
|
97
57
|
- 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/config_tracked_files_relevant_lines.feature
|
110
|
-
- features/cucumber_basic.feature
|
111
|
-
- features/maximum_coverage_drop.feature
|
112
|
-
- features/merging_test_unit_and_rspec.feature
|
113
|
-
- features/minimum_coverage.feature
|
114
|
-
- features/refuse_coverage_drop.feature
|
115
|
-
- features/rspec_basic.feature
|
116
|
-
- features/rspec_fails_on_initialization.feature
|
117
|
-
- features/rspec_groups_and_filters_basic.feature
|
118
|
-
- features/rspec_groups_and_filters_complex.feature
|
119
|
-
- features/rspec_groups_using_filter_class.feature
|
120
|
-
- features/rspec_without_simplecov.feature
|
121
|
-
- features/skipping_code_blocks_manually.feature
|
122
|
-
- features/step_definitions/html_steps.rb
|
123
|
-
- features/step_definitions/simplecov_steps.rb
|
124
|
-
- features/step_definitions/transformers.rb
|
125
|
-
- features/step_definitions/web_steps.rb
|
126
|
-
- features/support/aruba_freedom_patch.rb
|
127
|
-
- features/support/env.rb
|
128
|
-
- features/test_unit_basic.feature
|
129
|
-
- features/test_unit_groups_and_filters_basic.feature
|
130
|
-
- features/test_unit_groups_and_filters_complex.feature
|
131
|
-
- features/test_unit_groups_using_filter_class.feature
|
132
|
-
- features/test_unit_without_simplecov.feature
|
133
|
-
- features/unicode_compatiblity.feature
|
134
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
|
135
64
|
- lib/simplecov/command_guesser.rb
|
136
65
|
- lib/simplecov/configuration.rb
|
137
66
|
- lib/simplecov/defaults.rb
|
@@ -141,80 +70,35 @@ files:
|
|
141
70
|
- lib/simplecov/formatter.rb
|
142
71
|
- lib/simplecov/formatter/multi_formatter.rb
|
143
72
|
- lib/simplecov/formatter/simple_formatter.rb
|
144
|
-
- lib/simplecov/jruby_fix.rb
|
145
73
|
- lib/simplecov/last_run.rb
|
146
74
|
- lib/simplecov/lines_classifier.rb
|
147
75
|
- lib/simplecov/load_global_config.rb
|
148
76
|
- lib/simplecov/no_defaults.rb
|
149
77
|
- lib/simplecov/profiles.rb
|
150
|
-
- lib/simplecov/
|
151
|
-
- lib/simplecov/
|
152
|
-
- 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
|
153
83
|
- lib/simplecov/result.rb
|
84
|
+
- lib/simplecov/result_adapter.rb
|
154
85
|
- lib/simplecov/result_merger.rb
|
86
|
+
- lib/simplecov/simulate_coverage.rb
|
155
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
|
156
91
|
- lib/simplecov/version.rb
|
157
|
-
|
158
|
-
- spec/1_8_fallbacks_spec.rb
|
159
|
-
- spec/command_guesser_spec.rb
|
160
|
-
- spec/config_loader_spec.rb
|
161
|
-
- spec/configuration_spec.rb
|
162
|
-
- spec/defaults_spec.rb
|
163
|
-
- spec/deleted_source_spec.rb
|
164
|
-
- spec/faked_project/Gemfile
|
165
|
-
- spec/faked_project/Rakefile
|
166
|
-
- spec/faked_project/cucumber.yml
|
167
|
-
- spec/faked_project/features/step_definitions/my_steps.rb
|
168
|
-
- spec/faked_project/features/support/env.rb
|
169
|
-
- spec/faked_project/features/test_stuff.feature
|
170
|
-
- spec/faked_project/lib/faked_project.rb
|
171
|
-
- spec/faked_project/lib/faked_project/framework_specific.rb
|
172
|
-
- spec/faked_project/lib/faked_project/meta_magic.rb
|
173
|
-
- spec/faked_project/lib/faked_project/some_class.rb
|
174
|
-
- spec/faked_project/lib/faked_project/untested_class.rb
|
175
|
-
- spec/faked_project/spec/faked_spec.rb
|
176
|
-
- spec/faked_project/spec/forking_spec.rb
|
177
|
-
- spec/faked_project/spec/meta_magic_spec.rb
|
178
|
-
- spec/faked_project/spec/some_class_spec.rb
|
179
|
-
- spec/faked_project/spec/spec_helper.rb
|
180
|
-
- spec/faked_project/test/faked_test.rb
|
181
|
-
- spec/faked_project/test/meta_magic_test.rb
|
182
|
-
- spec/faked_project/test/some_class_test.rb
|
183
|
-
- spec/faked_project/test/test_helper.rb
|
184
|
-
- spec/file_list_spec.rb
|
185
|
-
- spec/filters_spec.rb
|
186
|
-
- spec/fixtures/app/controllers/sample_controller.rb
|
187
|
-
- spec/fixtures/app/models/user.rb
|
188
|
-
- spec/fixtures/deleted_source_sample.rb
|
189
|
-
- spec/fixtures/frameworks/rspec_bad.rb
|
190
|
-
- spec/fixtures/frameworks/rspec_good.rb
|
191
|
-
- spec/fixtures/frameworks/testunit_bad.rb
|
192
|
-
- spec/fixtures/frameworks/testunit_good.rb
|
193
|
-
- spec/fixtures/iso-8859.rb
|
194
|
-
- spec/fixtures/never.rb
|
195
|
-
- spec/fixtures/resultset1.rb
|
196
|
-
- spec/fixtures/resultset2.rb
|
197
|
-
- spec/fixtures/sample.rb
|
198
|
-
- spec/fixtures/skipped.rb
|
199
|
-
- spec/fixtures/skipped_and_executed.rb
|
200
|
-
- spec/fixtures/utf-8.rb
|
201
|
-
- spec/helper.rb
|
202
|
-
- spec/last_run_spec.rb
|
203
|
-
- spec/lines_classifier_spec.rb
|
204
|
-
- spec/multi_formatter_spec.rb
|
205
|
-
- spec/raw_coverage_spec.rb
|
206
|
-
- spec/result_merger_spec.rb
|
207
|
-
- spec/result_spec.rb
|
208
|
-
- spec/return_codes_spec.rb
|
209
|
-
- spec/simplecov_spec.rb
|
210
|
-
- spec/source_file_line_spec.rb
|
211
|
-
- spec/source_file_spec.rb
|
212
|
-
- spec/support/fail_rspec_on_ruby_warning.rb
|
213
|
-
homepage: http://github.com/colszowka/simplecov
|
92
|
+
homepage: https://github.com/colszowka/simplecov
|
214
93
|
licenses:
|
215
94
|
- MIT
|
216
|
-
metadata:
|
217
|
-
|
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.beta2
|
99
|
+
mailing_list_uri: https://groups.google.com/forum/#!forum/simplecov
|
100
|
+
source_code_uri: https://github.com/colszowka/simplecov/tree/v0.18.0.beta2
|
101
|
+
post_install_message:
|
218
102
|
rdoc_options: []
|
219
103
|
require_paths:
|
220
104
|
- lib
|
@@ -222,17 +106,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
222
106
|
requirements:
|
223
107
|
- - ">="
|
224
108
|
- !ruby/object:Gem::Version
|
225
|
-
version:
|
109
|
+
version: 2.4.0
|
226
110
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
227
111
|
requirements:
|
228
|
-
- - "
|
112
|
+
- - ">"
|
229
113
|
- !ruby/object:Gem::Version
|
230
|
-
version:
|
114
|
+
version: 1.3.1
|
231
115
|
requirements: []
|
232
|
-
|
233
|
-
|
234
|
-
signing_key:
|
116
|
+
rubygems_version: 3.1.2
|
117
|
+
signing_key:
|
235
118
|
specification_version: 4
|
236
|
-
summary: Code coverage for Ruby
|
237
|
-
merging of coverage across test suites
|
119
|
+
summary: Code coverage for Ruby
|
238
120
|
test_files: []
|