simplecov-patched 0.14.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +31 -0
  3. data/.rspec +3 -0
  4. data/.rubocop.yml +88 -0
  5. data/.travis.yml +29 -0
  6. data/.yardopts +1 -0
  7. data/CHANGELOG.md +435 -0
  8. data/CONTRIBUTING.md +48 -0
  9. data/Gemfile +38 -0
  10. data/MIT-LICENSE +20 -0
  11. data/README.md +646 -0
  12. data/Rakefile +41 -0
  13. data/cucumber.yml +13 -0
  14. data/doc/alternate-formatters.md +36 -0
  15. data/doc/commercial-services.md +20 -0
  16. data/doc/editor-integration.md +13 -0
  17. data/features/config_autoload.feature +46 -0
  18. data/features/config_command_name.feature +45 -0
  19. data/features/config_coverage_dir.feature +33 -0
  20. data/features/config_deactivate_merging.feature +42 -0
  21. data/features/config_formatters.feature +77 -0
  22. data/features/config_merge_timeout.feature +39 -0
  23. data/features/config_nocov_token.feature +79 -0
  24. data/features/config_profiles.feature +44 -0
  25. data/features/config_project_name.feature +27 -0
  26. data/features/config_styles.feature +121 -0
  27. data/features/config_tracked_files.feature +29 -0
  28. data/features/cucumber_basic.feature +29 -0
  29. data/features/maximum_coverage_drop.feature +89 -0
  30. data/features/merging_test_unit_and_rspec.feature +44 -0
  31. data/features/minimum_coverage.feature +59 -0
  32. data/features/refuse_coverage_drop.feature +95 -0
  33. data/features/rspec_basic.feature +32 -0
  34. data/features/rspec_fails_on_initialization.feature +14 -0
  35. data/features/rspec_groups_and_filters_basic.feature +29 -0
  36. data/features/rspec_groups_and_filters_complex.feature +37 -0
  37. data/features/rspec_groups_using_filter_class.feature +41 -0
  38. data/features/rspec_without_simplecov.feature +20 -0
  39. data/features/skipping_code_blocks_manually.feature +70 -0
  40. data/features/step_definitions/html_steps.rb +44 -0
  41. data/features/step_definitions/simplecov_steps.rb +68 -0
  42. data/features/step_definitions/transformers.rb +13 -0
  43. data/features/step_definitions/web_steps.rb +64 -0
  44. data/features/support/env.rb +50 -0
  45. data/features/test_unit_basic.feature +34 -0
  46. data/features/test_unit_groups_and_filters_basic.feature +29 -0
  47. data/features/test_unit_groups_and_filters_complex.feature +35 -0
  48. data/features/test_unit_groups_using_filter_class.feature +40 -0
  49. data/features/test_unit_without_simplecov.feature +20 -0
  50. data/features/unicode_compatiblity.feature +67 -0
  51. data/lib/simplecov.rb +189 -0
  52. data/lib/simplecov/command_guesser.rb +59 -0
  53. data/lib/simplecov/configuration.rb +307 -0
  54. data/lib/simplecov/defaults.rb +121 -0
  55. data/lib/simplecov/exit_codes.rb +8 -0
  56. data/lib/simplecov/file_list.rb +59 -0
  57. data/lib/simplecov/filter.rb +54 -0
  58. data/lib/simplecov/formatter.rb +8 -0
  59. data/lib/simplecov/formatter/multi_formatter.rb +32 -0
  60. data/lib/simplecov/formatter/simple_formatter.rb +23 -0
  61. data/lib/simplecov/jruby_fix.rb +42 -0
  62. data/lib/simplecov/last_run.rb +24 -0
  63. data/lib/simplecov/load_global_config.rb +6 -0
  64. data/lib/simplecov/no_defaults.rb +2 -0
  65. data/lib/simplecov/profiles.rb +31 -0
  66. data/lib/simplecov/railtie.rb +7 -0
  67. data/lib/simplecov/railties/tasks.rake +11 -0
  68. data/lib/simplecov/raw_coverage.rb +39 -0
  69. data/lib/simplecov/result.rb +86 -0
  70. data/lib/simplecov/result_merger.rb +95 -0
  71. data/lib/simplecov/source_file.rb +196 -0
  72. data/lib/simplecov/version.rb +25 -0
  73. data/spec/1_8_fallbacks_spec.rb +31 -0
  74. data/spec/command_guesser_spec.rb +48 -0
  75. data/spec/config_loader_spec.rb +14 -0
  76. data/spec/configuration_spec.rb +35 -0
  77. data/spec/deleted_source_spec.rb +12 -0
  78. data/spec/faked_project/Gemfile +6 -0
  79. data/spec/faked_project/Rakefile +8 -0
  80. data/spec/faked_project/cucumber.yml +13 -0
  81. data/spec/faked_project/features/step_definitions/my_steps.rb +22 -0
  82. data/spec/faked_project/features/support/env.rb +12 -0
  83. data/spec/faked_project/features/test_stuff.feature +6 -0
  84. data/spec/faked_project/lib/faked_project.rb +11 -0
  85. data/spec/faked_project/lib/faked_project/framework_specific.rb +18 -0
  86. data/spec/faked_project/lib/faked_project/meta_magic.rb +24 -0
  87. data/spec/faked_project/lib/faked_project/some_class.rb +28 -0
  88. data/spec/faked_project/lib/faked_project/untested_class.rb +11 -0
  89. data/spec/faked_project/spec/faked_spec.rb +11 -0
  90. data/spec/faked_project/spec/forking_spec.rb +8 -0
  91. data/spec/faked_project/spec/meta_magic_spec.rb +15 -0
  92. data/spec/faked_project/spec/some_class_spec.rb +13 -0
  93. data/spec/faked_project/spec/spec_helper.rb +11 -0
  94. data/spec/faked_project/test/faked_test.rb +11 -0
  95. data/spec/faked_project/test/meta_magic_test.rb +13 -0
  96. data/spec/faked_project/test/some_class_test.rb +15 -0
  97. data/spec/faked_project/test/test_helper.rb +12 -0
  98. data/spec/file_list_spec.rb +50 -0
  99. data/spec/filters_spec.rb +98 -0
  100. data/spec/fixtures/app/controllers/sample_controller.rb +10 -0
  101. data/spec/fixtures/app/models/user.rb +10 -0
  102. data/spec/fixtures/deleted_source_sample.rb +15 -0
  103. data/spec/fixtures/frameworks/rspec_bad.rb +9 -0
  104. data/spec/fixtures/frameworks/rspec_good.rb +9 -0
  105. data/spec/fixtures/frameworks/testunit_bad.rb +9 -0
  106. data/spec/fixtures/frameworks/testunit_good.rb +9 -0
  107. data/spec/fixtures/iso-8859.rb +3 -0
  108. data/spec/fixtures/never.rb +2 -0
  109. data/spec/fixtures/resultset1.rb +4 -0
  110. data/spec/fixtures/resultset2.rb +4 -0
  111. data/spec/fixtures/sample.rb +16 -0
  112. data/spec/fixtures/skipped.rb +4 -0
  113. data/spec/fixtures/skipped_and_executed.rb +8 -0
  114. data/spec/fixtures/utf-8.rb +3 -0
  115. data/spec/helper.rb +26 -0
  116. data/spec/last_run_spec.rb +48 -0
  117. data/spec/multi_formatter_spec.rb +20 -0
  118. data/spec/raw_coverage_spec.rb +92 -0
  119. data/spec/result_merger_spec.rb +96 -0
  120. data/spec/result_spec.rb +209 -0
  121. data/spec/return_codes_spec.rb +34 -0
  122. data/spec/simplecov_spec.rb +110 -0
  123. data/spec/source_file_line_spec.rb +155 -0
  124. data/spec/source_file_spec.rb +141 -0
  125. data/spec/support/fail_rspec_on_ruby_warning.rb +75 -0
  126. metadata +320 -0
metadata ADDED
@@ -0,0 +1,320 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: simplecov-patched
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.14.2
5
+ platform: ruby
6
+ authors:
7
+ - Christoph Olszowka
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-04-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: json
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '1.8'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '3'
23
+ type: :runtime
24
+ prerelease: false
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
34
+ name: simplecov-html
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: 0.10.0
40
+ type: :runtime
41
+ prerelease: false
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
+ name: docile
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: 1.1.0
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: 1.1.0
61
+ - !ruby/object:Gem::Dependency
62
+ name: bundler
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '1.9'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '1.9'
75
+ description: Code coverage for Ruby 1.9+ with a powerful configuration library and
76
+ automatic merging of coverage across test suites
77
+ email:
78
+ - christoph at olszowka de
79
+ executables: []
80
+ extensions: []
81
+ extra_rdoc_files: []
82
+ files:
83
+ - ".gitignore"
84
+ - ".rspec"
85
+ - ".rubocop.yml"
86
+ - ".travis.yml"
87
+ - ".yardopts"
88
+ - CHANGELOG.md
89
+ - CONTRIBUTING.md
90
+ - Gemfile
91
+ - MIT-LICENSE
92
+ - README.md
93
+ - Rakefile
94
+ - cucumber.yml
95
+ - doc/alternate-formatters.md
96
+ - doc/commercial-services.md
97
+ - 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
+ - lib/simplecov.rb
133
+ - lib/simplecov/command_guesser.rb
134
+ - lib/simplecov/configuration.rb
135
+ - lib/simplecov/defaults.rb
136
+ - lib/simplecov/exit_codes.rb
137
+ - lib/simplecov/file_list.rb
138
+ - lib/simplecov/filter.rb
139
+ - lib/simplecov/formatter.rb
140
+ - lib/simplecov/formatter/multi_formatter.rb
141
+ - lib/simplecov/formatter/simple_formatter.rb
142
+ - lib/simplecov/jruby_fix.rb
143
+ - lib/simplecov/last_run.rb
144
+ - lib/simplecov/load_global_config.rb
145
+ - lib/simplecov/no_defaults.rb
146
+ - lib/simplecov/profiles.rb
147
+ - lib/simplecov/railtie.rb
148
+ - lib/simplecov/railties/tasks.rake
149
+ - lib/simplecov/raw_coverage.rb
150
+ - lib/simplecov/result.rb
151
+ - lib/simplecov/result_merger.rb
152
+ - lib/simplecov/source_file.rb
153
+ - lib/simplecov/version.rb
154
+ - spec/1_8_fallbacks_spec.rb
155
+ - spec/command_guesser_spec.rb
156
+ - spec/config_loader_spec.rb
157
+ - spec/configuration_spec.rb
158
+ - spec/deleted_source_spec.rb
159
+ - spec/faked_project/Gemfile
160
+ - spec/faked_project/Rakefile
161
+ - spec/faked_project/cucumber.yml
162
+ - spec/faked_project/features/step_definitions/my_steps.rb
163
+ - spec/faked_project/features/support/env.rb
164
+ - spec/faked_project/features/test_stuff.feature
165
+ - spec/faked_project/lib/faked_project.rb
166
+ - spec/faked_project/lib/faked_project/framework_specific.rb
167
+ - spec/faked_project/lib/faked_project/meta_magic.rb
168
+ - spec/faked_project/lib/faked_project/some_class.rb
169
+ - spec/faked_project/lib/faked_project/untested_class.rb
170
+ - spec/faked_project/spec/faked_spec.rb
171
+ - spec/faked_project/spec/forking_spec.rb
172
+ - spec/faked_project/spec/meta_magic_spec.rb
173
+ - spec/faked_project/spec/some_class_spec.rb
174
+ - spec/faked_project/spec/spec_helper.rb
175
+ - spec/faked_project/test/faked_test.rb
176
+ - spec/faked_project/test/meta_magic_test.rb
177
+ - spec/faked_project/test/some_class_test.rb
178
+ - spec/faked_project/test/test_helper.rb
179
+ - spec/file_list_spec.rb
180
+ - spec/filters_spec.rb
181
+ - spec/fixtures/app/controllers/sample_controller.rb
182
+ - spec/fixtures/app/models/user.rb
183
+ - spec/fixtures/deleted_source_sample.rb
184
+ - spec/fixtures/frameworks/rspec_bad.rb
185
+ - spec/fixtures/frameworks/rspec_good.rb
186
+ - spec/fixtures/frameworks/testunit_bad.rb
187
+ - spec/fixtures/frameworks/testunit_good.rb
188
+ - spec/fixtures/iso-8859.rb
189
+ - spec/fixtures/never.rb
190
+ - spec/fixtures/resultset1.rb
191
+ - spec/fixtures/resultset2.rb
192
+ - spec/fixtures/sample.rb
193
+ - spec/fixtures/skipped.rb
194
+ - spec/fixtures/skipped_and_executed.rb
195
+ - spec/fixtures/utf-8.rb
196
+ - spec/helper.rb
197
+ - spec/last_run_spec.rb
198
+ - spec/multi_formatter_spec.rb
199
+ - spec/raw_coverage_spec.rb
200
+ - spec/result_merger_spec.rb
201
+ - spec/result_spec.rb
202
+ - spec/return_codes_spec.rb
203
+ - spec/simplecov_spec.rb
204
+ - spec/source_file_line_spec.rb
205
+ - spec/source_file_spec.rb
206
+ - spec/support/fail_rspec_on_ruby_warning.rb
207
+ homepage: http://github.com/colszowka/simplecov
208
+ licenses:
209
+ - MIT
210
+ metadata: {}
211
+ post_install_message:
212
+ rdoc_options: []
213
+ require_paths:
214
+ - lib
215
+ required_ruby_version: !ruby/object:Gem::Requirement
216
+ requirements:
217
+ - - ">="
218
+ - !ruby/object:Gem::Version
219
+ version: 1.8.7
220
+ required_rubygems_version: !ruby/object:Gem::Requirement
221
+ requirements:
222
+ - - ">="
223
+ - !ruby/object:Gem::Version
224
+ version: '0'
225
+ requirements: []
226
+ rubyforge_project:
227
+ rubygems_version: 2.6.11
228
+ signing_key:
229
+ specification_version: 4
230
+ summary: Code coverage for Ruby 1.9+ with a powerful configuration library and automatic
231
+ merging of coverage across test suites
232
+ test_files:
233
+ - features/config_autoload.feature
234
+ - features/config_command_name.feature
235
+ - features/config_coverage_dir.feature
236
+ - features/config_deactivate_merging.feature
237
+ - features/config_formatters.feature
238
+ - features/config_merge_timeout.feature
239
+ - features/config_nocov_token.feature
240
+ - features/config_profiles.feature
241
+ - features/config_project_name.feature
242
+ - features/config_styles.feature
243
+ - features/config_tracked_files.feature
244
+ - features/cucumber_basic.feature
245
+ - features/maximum_coverage_drop.feature
246
+ - features/merging_test_unit_and_rspec.feature
247
+ - features/minimum_coverage.feature
248
+ - features/refuse_coverage_drop.feature
249
+ - features/rspec_basic.feature
250
+ - features/rspec_fails_on_initialization.feature
251
+ - features/rspec_groups_and_filters_basic.feature
252
+ - features/rspec_groups_and_filters_complex.feature
253
+ - features/rspec_groups_using_filter_class.feature
254
+ - features/rspec_without_simplecov.feature
255
+ - features/skipping_code_blocks_manually.feature
256
+ - features/step_definitions/html_steps.rb
257
+ - features/step_definitions/simplecov_steps.rb
258
+ - features/step_definitions/transformers.rb
259
+ - features/step_definitions/web_steps.rb
260
+ - features/support/env.rb
261
+ - features/test_unit_basic.feature
262
+ - features/test_unit_groups_and_filters_basic.feature
263
+ - features/test_unit_groups_and_filters_complex.feature
264
+ - features/test_unit_groups_using_filter_class.feature
265
+ - features/test_unit_without_simplecov.feature
266
+ - features/unicode_compatiblity.feature
267
+ - spec/1_8_fallbacks_spec.rb
268
+ - spec/command_guesser_spec.rb
269
+ - spec/config_loader_spec.rb
270
+ - spec/configuration_spec.rb
271
+ - spec/deleted_source_spec.rb
272
+ - spec/faked_project/Gemfile
273
+ - spec/faked_project/Rakefile
274
+ - spec/faked_project/cucumber.yml
275
+ - spec/faked_project/features/step_definitions/my_steps.rb
276
+ - spec/faked_project/features/support/env.rb
277
+ - spec/faked_project/features/test_stuff.feature
278
+ - spec/faked_project/lib/faked_project.rb
279
+ - spec/faked_project/lib/faked_project/framework_specific.rb
280
+ - spec/faked_project/lib/faked_project/meta_magic.rb
281
+ - spec/faked_project/lib/faked_project/some_class.rb
282
+ - spec/faked_project/lib/faked_project/untested_class.rb
283
+ - spec/faked_project/spec/faked_spec.rb
284
+ - spec/faked_project/spec/forking_spec.rb
285
+ - spec/faked_project/spec/meta_magic_spec.rb
286
+ - spec/faked_project/spec/some_class_spec.rb
287
+ - spec/faked_project/spec/spec_helper.rb
288
+ - spec/faked_project/test/faked_test.rb
289
+ - spec/faked_project/test/meta_magic_test.rb
290
+ - spec/faked_project/test/some_class_test.rb
291
+ - spec/faked_project/test/test_helper.rb
292
+ - spec/file_list_spec.rb
293
+ - spec/filters_spec.rb
294
+ - spec/fixtures/app/controllers/sample_controller.rb
295
+ - spec/fixtures/app/models/user.rb
296
+ - spec/fixtures/deleted_source_sample.rb
297
+ - spec/fixtures/frameworks/rspec_bad.rb
298
+ - spec/fixtures/frameworks/rspec_good.rb
299
+ - spec/fixtures/frameworks/testunit_bad.rb
300
+ - spec/fixtures/frameworks/testunit_good.rb
301
+ - spec/fixtures/iso-8859.rb
302
+ - spec/fixtures/never.rb
303
+ - spec/fixtures/resultset1.rb
304
+ - spec/fixtures/resultset2.rb
305
+ - spec/fixtures/sample.rb
306
+ - spec/fixtures/skipped.rb
307
+ - spec/fixtures/skipped_and_executed.rb
308
+ - spec/fixtures/utf-8.rb
309
+ - spec/helper.rb
310
+ - spec/last_run_spec.rb
311
+ - spec/multi_formatter_spec.rb
312
+ - spec/raw_coverage_spec.rb
313
+ - spec/result_merger_spec.rb
314
+ - spec/result_spec.rb
315
+ - spec/return_codes_spec.rb
316
+ - spec/simplecov_spec.rb
317
+ - spec/source_file_line_spec.rb
318
+ - spec/source_file_spec.rb
319
+ - spec/support/fail_rspec_on_ruby_warning.rb
320
+ has_rdoc: