simplecov 0.18.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +233 -168
- data/CONTRIBUTING.md +3 -3
- data/ISSUE_TEMPLATE.md +1 -1
- data/README.md +77 -20
- data/doc/alternate-formatters.md +7 -2
- data/doc/commercial-services.md +5 -0
- data/lib/minitest/simplecov_plugin.rb +15 -0
- data/lib/simplecov.rb +117 -118
- data/lib/simplecov/combine.rb +2 -2
- data/lib/simplecov/combine/branches_combiner.rb +2 -2
- data/lib/simplecov/configuration.rb +52 -3
- data/lib/simplecov/coverage_statistics.rb +5 -5
- data/lib/simplecov/defaults.rb +8 -12
- data/lib/simplecov/exit_codes.rb +5 -0
- data/lib/simplecov/exit_codes/exit_code_handling.rb +29 -0
- data/lib/simplecov/exit_codes/maximum_coverage_drop_check.rb +50 -0
- data/lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb +38 -0
- data/lib/simplecov/exit_codes/minimum_overall_coverage_check.rb +53 -0
- data/lib/simplecov/filter.rb +7 -5
- data/lib/simplecov/formatter.rb +2 -2
- data/lib/simplecov/formatter/multi_formatter.rb +5 -7
- data/lib/simplecov/lines_classifier.rb +1 -1
- data/lib/simplecov/no_defaults.rb +1 -1
- data/lib/simplecov/process.rb +19 -0
- data/lib/simplecov/result.rb +14 -12
- data/lib/simplecov/result_merger.rb +2 -7
- data/lib/simplecov/source_file.rb +53 -4
- data/lib/simplecov/useless_results_remover.rb +5 -3
- data/lib/simplecov/version.rb +1 -1
- metadata +18 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce95c806215694affa2356c6f0bf9fe8d47813bbec6f0e1da5b456a1ce422dce
|
4
|
+
data.tar.gz: df4d15141796de0d521c2ead90cc879b471f2bd1798f045e9e974aa262c80622
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac5f3424df21a80c8a4928ce81687f9bd7b12d150ce4cd22717191f84a3e7e5bbd1ca71c39b7c7d52a462ec9fb8c1b2af8c1fd59257ac904458a024267bced73
|
7
|
+
data.tar.gz: 19cffa90875681622501392be03292bf3aea50e48921f30488a1ae7300d48c2ff460b0e9db42f517f3c3b3163e2580d13962dda786dc552844e741fc5a39cdcb
|
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,73 @@
|
|
1
|
+
0.19.0 (2020-08-16)
|
2
|
+
==========
|
3
|
+
|
4
|
+
## Breaking Changes
|
5
|
+
* Dropped support for Ruby 2.4, it reached EOL
|
6
|
+
|
7
|
+
## Enhancements
|
8
|
+
* observe forked processes (enable with SimpleCov.enable_for_subprocesses). See [#881](https://github.com/simplecov-ruby/simplecov/pull/881), thanks to [@robotdana](https://github.com/robotdana)
|
9
|
+
* SimpleCov distinguishes better that it stopped processing because of a previous error vs. SimpleCov is the originator of said error due to coverage requirements.
|
10
|
+
|
11
|
+
## Bugfixes
|
12
|
+
* Changing the `SimpleCov.root` combined with the root filtering didn't work. Now they do! Thanks to [@deivid-rodriguez](https://github.com/deivid-rodriguez) and see [#894](https://github.com/simplecov-ruby/simplecov/pull/894)
|
13
|
+
* in parallel test execution it could happen that the last coverage result was written to disk when it didn't complete yet, changed to only write it once it's the final result
|
14
|
+
* if you run parallel tests only the final process will report violations of the configured test coverage, not all previous processes
|
15
|
+
* changed the parallel_tests merging mechanisms to do the waiting always in the last process, should reduce race conditions
|
16
|
+
|
17
|
+
## Noteworthy
|
18
|
+
* The repo has moved to https://github.com/simplecov-ruby/simplecov - everything stays the same, redirects should work but you might wanna update anyhow
|
19
|
+
* The primary development branch is now `main`, not `master` anymore. If you get simplecov directly from github change your reference. For a while `master` will still be occasionally updated but that's no long term solion.
|
20
|
+
|
21
|
+
0.18.5 (2020-02-25)
|
22
|
+
===================
|
23
|
+
|
24
|
+
Can you guess? Another bugfix release!
|
25
|
+
|
26
|
+
## Bugfixes
|
27
|
+
* minitest won't crash if SimpleCov isn't loaded - aka don't execute SimpleCov code in the minitest plugin if SimpleCov isn't loaded. Thanks to [@edariedl](https://github.com/edariedl) for the report of the peculiar problem in [#877](https://github.com/simplecov-ruby/simplecov/issues/877).
|
28
|
+
|
29
|
+
0.18.4 (2020-02-24)
|
30
|
+
===================
|
31
|
+
|
32
|
+
Another small bugfix release 🙈 Fixes SimpleCov running with rspec-rails, which was broken due to our fixed minitest integration.
|
33
|
+
|
34
|
+
## Bugfixes
|
35
|
+
* SimpleCov will run again correctly when used with rspec-rails. The excellent bug report [#873](https://github.com/simplecov-ruby/simplecov/issues/873) by [@odlp](https://github.com/odlp) perfectly details what went wrong. Thanks to [@adam12](https://github.com/adam12) for the fix [#874](https://github.com/simplecov-ruby/simplecov/pull/874).
|
36
|
+
|
37
|
+
|
38
|
+
0.18.3 (2020-02-23)
|
39
|
+
===========
|
40
|
+
|
41
|
+
Small bugfix release. It's especially recommended to upgrade simplecov-html as well because of bugs in the 0.12.0 release.
|
42
|
+
|
43
|
+
## Bugfixes
|
44
|
+
* Fix a regression related to file encodings as special characters were missing. Furthermore we now respect the magic `# encoding: ...` comment and read files in the right encoding. Thanks ([@Tietew](https://github.com/Tietew)) - see [#866](https://github.com/simplecov-ruby/simplecov/pull/866)
|
45
|
+
* Use `Minitest.after_run` hook to trigger post-run hooks if `Minitest` is present. See [#756](https://github.com/simplecov-ruby/simplecov/pull/756) and [#855](https://github.com/simplecov-ruby/simplecov/pull/855) thanks ([@adam12](https://github.com/adam12))
|
46
|
+
|
47
|
+
0.18.2 (2020-02-12)
|
48
|
+
===================
|
49
|
+
|
50
|
+
Small release just to allow you to use the new simplecov-html.
|
51
|
+
|
52
|
+
## Enhancements
|
53
|
+
* Relax simplecov-html requirement so that you're able to use [0.12.0](https://github.com/simplecov-ruby/simplecov-html/blob/main/CHANGELOG.md#0120-2020-02-12)
|
54
|
+
|
55
|
+
0.18.1 (2020-01-31)
|
56
|
+
===================
|
57
|
+
|
58
|
+
Small Bugfix release.
|
59
|
+
|
60
|
+
## Bugfixes
|
61
|
+
* Just putting `# :nocov:` on top of a file or having an uneven number of them in general works again and acts as if ignoring until the end of the file. See [#846](https://github.com/simplecov-ruby/simplecov/issues/846) and thanks [@DannyBen](https://github.com/DannyBen) for the report.
|
62
|
+
|
1
63
|
0.18.0 (2020-01-28)
|
2
64
|
===================
|
3
65
|
|
4
66
|
Huge release! Highlights are support for branch coverage (Ruby 2.5+) and dropping support for EOL'ed Ruby versions (< 2.4).
|
5
67
|
Please also read the other beta patch notes.
|
6
68
|
|
69
|
+
You can run with branch coverage by putting `enable_coverage :branch` into your SimpleCov configuration (like the `SimpleCov.start do .. end` block)
|
70
|
+
|
7
71
|
## Enhancements
|
8
72
|
* You can now define the minimum expected coverage by criterion like `minimum_coverage line: 90, branch: 80`
|
9
73
|
* Memoized some internal data structures that didn't change to reduce SimpleCov overhead
|
@@ -11,10 +75,11 @@ Please also read the other beta patch notes.
|
|
11
75
|
|
12
76
|
## Bugfixes
|
13
77
|
* we were losing precision by rounding the covered strength early, that has been removed. **For Formatters** this also means that you may need to round it yourself now.
|
14
|
-
* Removed an inconsistency in how we treat skipped vs. irrelevant lines (see [#565](https://github.com/
|
78
|
+
* Removed an inconsistency in how we treat skipped vs. irrelevant lines (see [#565](https://github.com/simplecov-ruby/simplecov/issues/565)) - SimpleCov's definition of 100% is now "You covered everything that you could" so if coverage is 0/0 that's counted as a 100% no matter if the lines were irrelevant or ignored/skipped
|
15
79
|
|
16
80
|
## Noteworthy
|
17
81
|
* `FileList` stopped inheriting from Array, it includes Enumerable so if you didn't use Array specific methods on it in formatters you should be fine
|
82
|
+
* We needed to change an internal file format, which we use for merging across processes, to accommodate branch coverage. Sadly CodeClimate chose to use this file to report test coverage. Until a resolution is found the code climate test reporter won't work with SimpleCov for 0.18+, see [this issue on the test reporter](https://github.com/codeclimate/test-reporter/issues/413).
|
18
83
|
|
19
84
|
0.18.0.beta3 (2020-01-20)
|
20
85
|
========================
|
@@ -30,10 +95,10 @@ Please also read the other beta patch notes.
|
|
30
95
|
|
31
96
|
## Enhancements
|
32
97
|
* only turn on the requested coverage criteria (when activating branch coverage before SimpleCov would also instruct Ruby to take Method coverage)
|
33
|
-
* Change how branch coverage is displayed, now it's `branch_type: hit_count` which should be more self explanatory. See [#830](https://github.com/
|
98
|
+
* Change how branch coverage is displayed, now it's `branch_type: hit_count` which should be more self explanatory. See [#830](https://github.com/simplecov-ruby/simplecov/pull/830) for an example and feel free to give feedback!
|
34
99
|
* Allow early running exit tasks and avoid the `at_exit` hook through the `SimpleCov.run_exit_tasks!` method. (thanks [@macumber](https://github.com/macumber))
|
35
100
|
* Allow manual collation of result sets through the `SimpleCov.collate` entrypoint. See the README for more details (thanks [@ticky](https://github.com/ticky))
|
36
|
-
* Within `case`, even if there is no `else` branch declared show missing coverage for it (aka no branch of it). See [#825](https://github.com/
|
101
|
+
* Within `case`, even if there is no `else` branch declared show missing coverage for it (aka no branch of it). See [#825](https://github.com/simplecov-ruby/simplecov/pull/825)
|
37
102
|
* Stop symbolizing all keys when loading cache (should lead to be faster and consume less memory)
|
38
103
|
* Cache whether we can use/are using branch coverage (should be slightly faster)
|
39
104
|
|
@@ -51,18 +116,18 @@ On a personal note from [@PragTob](https://github.com/PragTob/) thanks to [ruby
|
|
51
116
|
|
52
117
|
## Breaking
|
53
118
|
* Dropped support for all EOL'ed rubies meaning we only support 2.4+. Simplecov can no longer be installed on older rubies, but older simplecov releases should still work. (thanks [@deivid-rodriguez](https://github.com/deivid-rodriguez))
|
54
|
-
* Dropped the `rake simplecov` task that "magically" integreated with rails. It was always undocumented, caused some issues and [had some issues](https://github.com/
|
119
|
+
* Dropped the `rake simplecov` task that "magically" integreated with rails. It was always undocumented, caused some issues and [had some issues](https://github.com/simplecov-ruby/simplecov/issues/689#issuecomment-561572327). Use the integration as described in the README please :)
|
55
120
|
|
56
121
|
## Enhancements
|
57
122
|
|
58
123
|
* Branch coverage is here! Please try it out and test it! You can activate it with `enable_coverage :branch`. See the README for more details. This is thanks to a bunch of people most notably [@som4ik](https://github.com/som4ik), [@tycooon](https://github.com/tycooon), [@stepozer](https://github.com/stepozer), [@klyonrad](https://github.com/klyonrad) and your humble maintainers also contributed ;)
|
59
|
-
* If the minimum coverage is set to be greater than 100, a warning will be shown. See [#737](https://github.com/
|
60
|
-
* Add a configuration option to disable the printing of non-successful exit statuses. See [#747](https://github.com/
|
61
|
-
* Calculating 100% coverage is now stricter, so 100% means 100%. See [#680](https://github.com/
|
124
|
+
* If the minimum coverage is set to be greater than 100, a warning will be shown. See [#737](https://github.com/simplecov-ruby/simplecov/pull/737) (thanks [@belfazt](https://github.com/belfazt))
|
125
|
+
* Add a configuration option to disable the printing of non-successful exit statuses. See [#747](https://github.com/simplecov-ruby/simplecov/pull/746) (thanks [@JacobEvelyn](https://github.com/JacobEvelyn))
|
126
|
+
* Calculating 100% coverage is now stricter, so 100% means 100%. See [#680](https://github.com/simplecov-ruby/simplecov/pull/680) thanks [@gleseur](https://github.com/gleseur)
|
62
127
|
|
63
128
|
## Bugfixes
|
64
129
|
|
65
|
-
* Add new instance of `Minitest` constant. The `MiniTest` constant (with the capital T) will be removed in the next major release of Minitest. See [#757](https://github.com/
|
130
|
+
* Add new instance of `Minitest` constant. The `MiniTest` constant (with the capital T) will be removed in the next major release of Minitest. See [#757](https://github.com/simplecov-ruby/simplecov/pull/757) (thanks [@adam12](https://github.com/adam12))
|
66
131
|
|
67
132
|
0.17.1 (2019-09-16)
|
68
133
|
===================
|
@@ -71,7 +136,7 @@ Bugfix release for problems with ParallelTests.
|
|
71
136
|
|
72
137
|
## Bugfixes
|
73
138
|
|
74
|
-
* Avoid hanging with parallel_tests. See [#746](https://github.com/
|
139
|
+
* Avoid hanging with parallel_tests. See [#746](https://github.com/simplecov-ruby/simplecov/pull/746) (thanks [@annaswims](https://github.com/annaswims))
|
75
140
|
|
76
141
|
0.17.0 (2019-07-02)
|
77
142
|
===================
|
@@ -81,14 +146,14 @@ Notably this **will be the last release to support ruby versions that have reach
|
|
81
146
|
|
82
147
|
## Enhancements
|
83
148
|
|
84
|
-
* Per default filter hidden files and folders. See [#721](https://github.com/
|
85
|
-
* Print the exit status explicitly when it's not a successful build so it's easier figure out SimpleCov failed the build in the output. See [#688](https://github.com/
|
149
|
+
* Per default filter hidden files and folders. See [#721](https://github.com/simplecov-ruby/simplecov/pull/721) (thanks [Renuo AG](https://www.renuo.ch))
|
150
|
+
* Print the exit status explicitly when it's not a successful build so it's easier figure out SimpleCov failed the build in the output. See [#688](https://github.com/simplecov-ruby/simplecov/pull/688) (thanks [@daemonsy](https://github.com/daemonsy))
|
86
151
|
|
87
152
|
## Bugfixes
|
88
153
|
|
89
|
-
* Avoid a premature failure exit code when setting `minimum_coverage` in combination with using [parallel_tests](https://github.com/grosser/parallel_tests). See [#706](https://github.com/
|
90
|
-
* Project roots with special characters no longer cause crashes. See [#717](https://github.com/
|
91
|
-
* Avoid continously overriding test results with manual `ResultMergere.store_results` usage. See [#674](https://github.com/
|
154
|
+
* Avoid a premature failure exit code when setting `minimum_coverage` in combination with using [parallel_tests](https://github.com/grosser/parallel_tests). See [#706](https://github.com/simplecov-ruby/simplecov/pull/706) (thanks [@f1sherman](https://github.com/f1sherman))
|
155
|
+
* Project roots with special characters no longer cause crashes. See [#717](https://github.com/simplecov-ruby/simplecov/pull/717) (thanks [@deivid-rodriguez](https://github.com/deivid-rodriguez))
|
156
|
+
* Avoid continously overriding test results with manual `ResultMergere.store_results` usage. See [#674](https://github.com/simplecov-ruby/simplecov/pull/674) (thanks [@tomeon](https://github.com/tomeon))
|
92
157
|
|
93
158
|
0.16.1 (2018-03-16)
|
94
159
|
===================
|
@@ -103,79 +168,79 @@ Notably this **will be the last release to support ruby versions that have reach
|
|
103
168
|
## Enhancements
|
104
169
|
|
105
170
|
* Relax version constraint on `docile`, per SemVer
|
106
|
-
* exception that occurred on exit is available as `exit_exception`! See [#639](https://github.com/
|
107
|
-
* Performance: processing results now runs from 2.5x to 3.75x faster. See [#662](https://github.com/
|
171
|
+
* exception that occurred on exit is available as `exit_exception`! See [#639](https://github.com/simplecov-ruby/simplecov/pull/639) (thanks @thomas07vt)
|
172
|
+
* Performance: processing results now runs from 2.5x to 3.75x faster. See [#662](https://github.com/simplecov-ruby/simplecov/pull/662) (thanks @BMorearty & @eregon)
|
108
173
|
* Decrease gem size by only shipping lib and docs
|
109
174
|
|
110
175
|
## Bugfixes
|
111
176
|
|
112
|
-
* (breaking) Stop handling string filters as regular expressions, use the dedicated regex filter if you need that behaviour. See [#616](https://github.com/
|
113
|
-
* Avoid overwriting the last coverage results on unsuccessful test runs. See [#625](https://github.com/
|
177
|
+
* (breaking) Stop handling string filters as regular expressions, use the dedicated regex filter if you need that behaviour. See [#616](https://github.com/simplecov-ruby/simplecov/pull/616) (thanks @yujinakayama)
|
178
|
+
* Avoid overwriting the last coverage results on unsuccessful test runs. See [#625](https://github.com/simplecov-ruby/simplecov/pull/625) (thanks @thomas07vt)
|
114
179
|
* Don't crash on invalid UTF-8 byte sequences. (thanks @BMorearty)
|
115
180
|
|
116
|
-
0.15.1 (2017-09-11) ([changes](https://github.com/
|
181
|
+
0.15.1 (2017-09-11) ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.15.0...v0.15.1))
|
117
182
|
=======
|
118
183
|
|
119
184
|
## Bugfixes
|
120
185
|
|
121
|
-
* Filter directories outside SimpleCov.root that have it as a prefix. See [#617](https://github.com/
|
122
|
-
* Fix standard rails profile rails filter (didn't work). See [#618](https://github.com/
|
186
|
+
* Filter directories outside SimpleCov.root that have it as a prefix. See [#617](https://github.com/simplecov-ruby/simplecov/pull/617) (thanks @jenseng)
|
187
|
+
* Fix standard rails profile rails filter (didn't work). See [#618](https://github.com/simplecov-ruby/simplecov/pull/618) (thanks @jenseng again!)
|
123
188
|
|
124
|
-
0.15.0 (2017-08-14) ([changes](https://github.com/
|
189
|
+
0.15.0 (2017-08-14) ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.14.1...v0.15.0))
|
125
190
|
=======
|
126
191
|
|
127
192
|
## Enhancements
|
128
193
|
|
129
|
-
* Ability to use regex filters for removing files from the output. See [#589](https://github.com/
|
194
|
+
* Ability to use regex filters for removing files from the output. See [#589](https://github.com/simplecov-ruby/simplecov/pull/589) (thanks @jsteel)
|
130
195
|
|
131
196
|
## Bugfixes
|
132
197
|
|
133
|
-
* Fix merging race condition when running tests in parallel and merging them. See [#570](https://github.com/
|
134
|
-
* Fix relevant lines for unloaded files - comments, skipped code etc. are correctly classified as irrelevant. See [#605](https://github.com/
|
135
|
-
* Allow using simplecov with frozen-string-literals enabled. See [#590](https://github.com/
|
136
|
-
* Make sure Array Filter can use all other filter types. See [#589](https://github.com/
|
137
|
-
* Make sure file names use `Simplecov.root` as base avoiding using full absolute project paths. See [#589](https://github.com/
|
198
|
+
* Fix merging race condition when running tests in parallel and merging them. See [#570](https://github.com/simplecov-ruby/simplecov/pull/570) (thanks @jenseng)
|
199
|
+
* Fix relevant lines for unloaded files - comments, skipped code etc. are correctly classified as irrelevant. See [#605](https://github.com/simplecov-ruby/simplecov/pull/605) (thanks @odlp)
|
200
|
+
* Allow using simplecov with frozen-string-literals enabled. See [#590](https://github.com/simplecov-ruby/simplecov/pull/590) (thanks @pat)
|
201
|
+
* Make sure Array Filter can use all other filter types. See [#589](https://github.com/simplecov-ruby/simplecov/pull/589) (thanks @jsteel)
|
202
|
+
* Make sure file names use `Simplecov.root` as base avoiding using full absolute project paths. See [#589](https://github.com/simplecov-ruby/simplecov/pull/589) (thanks @jsteel)
|
138
203
|
|
139
|
-
0.14.1 2017-03-18 ([changes](https://github.com/
|
204
|
+
0.14.1 2017-03-18 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.14.0...v0.14.1))
|
140
205
|
========
|
141
206
|
|
142
207
|
## Bugfixes
|
143
208
|
|
144
|
-
* Files that were skipped as a whole/had no relevant coverage could lead to Float errors. See [#564](https://github.com/
|
209
|
+
* Files that were skipped as a whole/had no relevant coverage could lead to Float errors. See [#564](https://github.com/simplecov-ruby/simplecov/pull/564) (thanks to @stevehanson for the report in [#563](https://github.com/simplecov-ruby/simplecov/issues/563))
|
145
210
|
|
146
|
-
0.14.0 2017-03-15 ([changes](https://github.com/
|
211
|
+
0.14.0 2017-03-15 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.13.0...v0.14.0))
|
147
212
|
==========
|
148
213
|
|
149
214
|
## Enhancements
|
150
215
|
|
151
|
-
* Officially support JRuby 9.1+ going forward (should also work with previous releases). See [#547](https://github.com/
|
152
|
-
* Add Channel group to Rails profile, when `ActionCable` is loaded. See [#492](https://github.com/
|
153
|
-
* Stop `extend`ing instances of `Array` and `Hash` during merging results avoiding problems frozen results while manually merging results. See [#558](https://github.com/
|
216
|
+
* Officially support JRuby 9.1+ going forward (should also work with previous releases). See [#547](https://github.com/simplecov-ruby/simplecov/pull/547) (ping @PragTob when encountering issues)
|
217
|
+
* Add Channel group to Rails profile, when `ActionCable` is loaded. See [#492](https://github.com/simplecov-ruby/simplecov/pull/492) (thanks @BenMorganIO)
|
218
|
+
* Stop `extend`ing instances of `Array` and `Hash` during merging results avoiding problems frozen results while manually merging results. See [#558](https://github.com/simplecov-ruby/simplecov/pull/558) (thanks @aroben)
|
154
219
|
|
155
220
|
## Bugfixes
|
156
221
|
|
157
|
-
* Fix parallel_tests when a thread ends up running no tests. See [#533](https://github.com/
|
158
|
-
* Skip the `:nocov:` comments along with the code that they skip. See [#551](https://github.com/
|
159
|
-
* Fix crash when Home environment variable is unset. See [#482](https://github.com/
|
160
|
-
* Make track_files work again when explicitly setting it to nil. See [#463](https://github.com/
|
161
|
-
* Do not overwrite .last_run.json file when refuse_coverage_drop option is enabled and the coverage has dropped (lead to you being able to just rerun tests and everything was _fine_). See [#553](https://github.com/
|
222
|
+
* Fix parallel_tests when a thread ends up running no tests. See [#533](https://github.com/simplecov-ruby/simplecov/pull/533) (thanks @cshaffer)
|
223
|
+
* Skip the `:nocov:` comments along with the code that they skip. See [#551](https://github.com/simplecov-ruby/simplecov/pull/551) (thanks @ebiven)
|
224
|
+
* Fix crash when Home environment variable is unset. See [#482](https://github.com/simplecov-ruby/simplecov/pull/482) (thanks @waldyr)
|
225
|
+
* Make track_files work again when explicitly setting it to nil. See [#463](https://github.com/simplecov-ruby/simplecov/pull/463) (thanks @craiglittle)
|
226
|
+
* Do not overwrite .last_run.json file when refuse_coverage_drop option is enabled and the coverage has dropped (lead to you being able to just rerun tests and everything was _fine_). See [#553](https://github.com/simplecov-ruby/simplecov/pull/553) (thanks @Miloshes)
|
162
227
|
|
163
|
-
0.13.0 2017-01-25 ([changes](https://github.com/
|
228
|
+
0.13.0 2017-01-25 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.12.0...v0.13.0))
|
164
229
|
==========
|
165
230
|
|
166
231
|
## Enhancements
|
167
232
|
|
168
|
-
* Faster run times when a very large number of files is loaded into SimpleCov. See [#520](https://github.com/
|
169
|
-
* Only read in source code files that are actually used (faster when files are ignored etc.). See [#540](https://github.com/
|
233
|
+
* Faster run times when a very large number of files is loaded into SimpleCov. See [#520](https://github.com/simplecov-ruby/simplecov/pull/520) (thanks @alyssais)
|
234
|
+
* Only read in source code files that are actually used (faster when files are ignored etc.). See [#540](https://github.com/simplecov-ruby/simplecov/pull/540) (thanks @yui-knk)
|
170
235
|
|
171
236
|
## Bugfixes
|
172
237
|
|
173
|
-
* Fix merging of resultsets if a file is missing on one side. See [#513](https://github.com/
|
174
|
-
* Fix Ruby 2.4 deprecation warnings by using Integer instead of Fixnum. See [#523](https://github.com/
|
175
|
-
* Force Ruby 2 to json 2. See [dc7417d50](https://github.com/
|
238
|
+
* Fix merging of resultsets if a file is missing on one side. See [#513](https://github.com/simplecov-ruby/simplecov/pull/513) (thanks @hanazuki)
|
239
|
+
* Fix Ruby 2.4 deprecation warnings by using Integer instead of Fixnum. See [#523](https://github.com/simplecov-ruby/simplecov/pull/523) (thanks @nobu)
|
240
|
+
* Force Ruby 2 to json 2. See [dc7417d50](https://github.com/simplecov-ruby/simplecov/commit/dc7417d5049b1809cea214314c15dd93a5dd964f) (thanks @amatsuda)
|
176
241
|
* Various other gem dependency fixes for different gems on different ruby versions. (thanks @amatsuda)
|
177
242
|
|
178
|
-
0.12.0 2016-07-02 ([changes](https://github.com/
|
243
|
+
0.12.0 2016-07-02 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.11.2...v0.12.0))
|
179
244
|
=================
|
180
245
|
|
181
246
|
## Enhancements
|
@@ -184,96 +249,96 @@ Notably this **will be the last release to support ruby versions that have reach
|
|
184
249
|
|
185
250
|
## Bugfixes
|
186
251
|
|
187
|
-
* Fix coverage rate of the parallel_tests. See [#441](https://github.com/
|
188
|
-
* Fix a regression on old rubies that failed to work with the recently introduced frozen VERSION string. See [#461](https://github.com/
|
252
|
+
* Fix coverage rate of the parallel_tests. See [#441](https://github.com/simplecov-ruby/simplecov/pull/441) (thanks @sinsoku)
|
253
|
+
* Fix a regression on old rubies that failed to work with the recently introduced frozen VERSION string. See [#461](https://github.com/simplecov-ruby/simplecov/pull/461) (thanks @leafle)
|
189
254
|
|
190
|
-
0.11.2 2016-02-03 ([changes](https://github.com/
|
255
|
+
0.11.2 2016-02-03 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.11.1...v0.11.2))
|
191
256
|
=================
|
192
257
|
|
193
258
|
## Enhancements
|
194
259
|
|
195
|
-
* Do not globally pollute Array and Hash with `merge_resultset` utility methods. See [#449](https://github.com/
|
196
|
-
* Do not `mkdir_p` the `coverage_path` on every access of the method (See [#453](https://github.com/
|
197
|
-
* Fixes a Ruby warning related to the `track_files` configuration. See [#447](https://github.com/
|
198
|
-
* Add a group for background jobs to default Rails profile. See [#442](https://github.com/
|
260
|
+
* Do not globally pollute Array and Hash with `merge_resultset` utility methods. See [#449](https://github.com/simplecov-ruby/simplecov/pull/449) (thanks @amatsuda)
|
261
|
+
* Do not `mkdir_p` the `coverage_path` on every access of the method (See [#453](https://github.com/simplecov-ruby/simplecov/pull/453) (thanks @paddor)
|
262
|
+
* Fixes a Ruby warning related to the `track_files` configuration. See [#447](https://github.com/simplecov-ruby/simplecov/pull/447) (thanks @craiglittle)
|
263
|
+
* Add a group for background jobs to default Rails profile. See [#442](https://github.com/simplecov-ruby/simplecov/pull/442) (thanks @stve)
|
199
264
|
|
200
265
|
## Bugfixes
|
201
266
|
|
202
|
-
* Fix root_filter evaluates SimpleCov.root before initialization. See [#437](https://github.com/
|
267
|
+
* Fix root_filter evaluates SimpleCov.root before initialization. See [#437](https://github.com/simplecov-ruby/simplecov/pull/437) (thanks @tmtm)
|
203
268
|
|
204
|
-
0.11.1 2015-12-01 ([changes](https://github.com/
|
269
|
+
0.11.1 2015-12-01 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.11.0...v0.11.1))
|
205
270
|
=================
|
206
271
|
|
207
272
|
## Enhancements
|
208
273
|
|
209
274
|
## Bugfixes
|
210
275
|
|
211
|
-
* Fixed regression in `MultiFormatter.[]` with multiple arguments. See [#431](https://github.com/
|
276
|
+
* Fixed regression in `MultiFormatter.[]` with multiple arguments. See [#431](https://github.com/simplecov-ruby/simplecov/pull/431) (thanks @dillondrobena)
|
212
277
|
|
213
|
-
0.11.0 2015-11-29 ([changes](https://github.com/
|
278
|
+
0.11.0 2015-11-29 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.10.0...v0.11.0))
|
214
279
|
=================
|
215
280
|
|
216
281
|
## Enhancements
|
217
282
|
|
218
|
-
* Added `SimpleCov.minimum_coverage_by_file` for per-file coverage thresholds. See [#392](https://github.com/
|
219
|
-
* Added `track_files` configuration option to specify a glob to always include in coverage results, whether or not those files are required. By default, this is enabled in the Rails profile for common Rails directories. See [#422](https://github.com/
|
220
|
-
* Speed up `root_filter` by an order of magnitude. See [#396](https://github.com/
|
283
|
+
* Added `SimpleCov.minimum_coverage_by_file` for per-file coverage thresholds. See [#392](https://github.com/simplecov-ruby/simplecov/pull/392) (thanks @ptashman)
|
284
|
+
* Added `track_files` configuration option to specify a glob to always include in coverage results, whether or not those files are required. By default, this is enabled in the Rails profile for common Rails directories. See [#422](https://github.com/simplecov-ruby/simplecov/pull/422) (thanks @hugopeixoto)
|
285
|
+
* Speed up `root_filter` by an order of magnitude. See [#396](https://github.com/simplecov-ruby/simplecov/pull/396) (thanks @raszi)
|
221
286
|
|
222
287
|
## Bugfixes
|
223
288
|
|
224
|
-
* Fix warning about global variable `$ERROR_INFO`. See [#400](https://github.com/
|
225
|
-
* Actually recurse upward looking for `.simplecov`, as claimed by the documentation, rather than only the working directory. See [#423](https://github.com/
|
289
|
+
* Fix warning about global variable `$ERROR_INFO`. See [#400](https://github.com/simplecov-ruby/simplecov/pull/400) (thanks @amatsuda)
|
290
|
+
* Actually recurse upward looking for `.simplecov`, as claimed by the documentation, rather than only the working directory. See [#423](https://github.com/simplecov-ruby/simplecov/pull/423) (thanks @alexdowad)
|
226
291
|
|
227
|
-
0.10.0 2015-04-18 ([changes](https://github.com/
|
292
|
+
0.10.0 2015-04-18 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.9.2...v0.10.0))
|
228
293
|
=================
|
229
294
|
|
230
295
|
## Enhancements
|
231
296
|
|
232
|
-
* Add writeup about using with Spring to README. See [#341](https://github.com/
|
297
|
+
* Add writeup about using with Spring to README. See [#341](https://github.com/simplecov-ruby/simplecov/issues/341) (thanks @swrobel and @onebree)
|
233
298
|
* Add support to pass in an Array when creating filter groups (original PR #104)
|
234
|
-
* Filter `/vendor/bundle` by default. See [#331](https://github.com/
|
299
|
+
* Filter `/vendor/bundle` by default. See [#331](https://github.com/simplecov-ruby/simplecov/pull/331) (thanks @andyw8)
|
235
300
|
* Add some helpful singleton methods to the version string.
|
236
|
-
* Allow array to be passed in a filter. See [375](https://github.com/
|
301
|
+
* Allow array to be passed in a filter. See [375](https://github.com/simplecov-ruby/simplecov/pull/375) (thanks @JanStevens)
|
237
302
|
* Enforce consistent code formatting with RuboCop.
|
238
303
|
|
239
304
|
## Bugfixes
|
240
305
|
|
241
|
-
* Fix order dependencies in unit tests. See [#376](https://github.com/
|
242
|
-
* Only run the at_exit behaviors if the current PID matches the PID that called SimpleCov.start. See [#377](https://github.com/
|
306
|
+
* Fix order dependencies in unit tests. See [#376](https://github.com/simplecov-ruby/simplecov/pull/376) (thanks @hugopeixoto)
|
307
|
+
* Only run the at_exit behaviors if the current PID matches the PID that called SimpleCov.start. See [#377](https://github.com/simplecov-ruby/simplecov/pull/377) (thanks @coderanger)
|
243
308
|
|
244
|
-
0.9.2, 2015-02-18 ([changes](https://github.com/
|
309
|
+
0.9.2, 2015-02-18 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.9.1...v0.9.2))
|
245
310
|
=================
|
246
311
|
|
247
312
|
This is a minor bugfix release for simplecov-html, released as `0.9.0`. Due to the tight version constraint in the gemspec
|
248
313
|
a new release of simplecov had to be shipped to allow using simplecov-html `~> 0.9.0`.
|
249
314
|
|
250
|
-
* The browser back / forward button should now work again. See [#36](https://github.com/
|
251
|
-
[#35](https://github.com/
|
252
|
-
* Fix "warning: possibly useless use of a variable in void context" See [#31](https://github.com/
|
253
|
-
* Always use binary file format. See [#32](https://github.com/
|
254
|
-
* Avoid slow file output with JRuby/Windows. See [#16](https://github.com/
|
315
|
+
* The browser back / forward button should now work again. See [#36](https://github.com/simplecov-ruby/simplecov-html/pull/36) and
|
316
|
+
[#35](https://github.com/simplecov-ruby/simplecov-html/pull/35). Thanks @whatasunnyday and @justinsteele for submitting PRs to fix this.
|
317
|
+
* Fix "warning: possibly useless use of a variable in void context" See [#31](https://github.com/simplecov-ruby/simplecov-html/pull/31). Thanks @cbandy
|
318
|
+
* Always use binary file format. See [#32](https://github.com/simplecov-ruby/simplecov-html/pull/32). Thanks @andy128k
|
319
|
+
* Avoid slow file output with JRuby/Windows. See [#16](https://github.com/simplecov-ruby/simplecov-html/pull/16). Thanks @pschambacher
|
255
320
|
|
256
321
|
Other than the release includes a bunch of mostly documentation improvements:
|
257
322
|
|
258
|
-
* Update Rails path for Rails 4+. See [#336](https://github.com/
|
259
|
-
* Encourage use of .simplecov to avoid lost files. See [#338](https://github.com/
|
260
|
-
* Specified in the gemspec that simplecov needs ruby 1.8.7. See [#343](https://github.com/
|
261
|
-
* Fix mispointed link in CHANGELOG.md. See [#353](https://github.com/
|
262
|
-
* Improve command name docs. See [#356](https://github.com/
|
323
|
+
* Update Rails path for Rails 4+. See [#336](https://github.com/simplecov-ruby/simplecov/pull/336). Thanks @yazinsai
|
324
|
+
* Encourage use of .simplecov to avoid lost files. See [#338](https://github.com/simplecov-ruby/simplecov/pull/338). thanks @dankohn
|
325
|
+
* Specified in the gemspec that simplecov needs ruby 1.8.7. See [#343](https://github.com/simplecov-ruby/simplecov/pull/343). thanks @iainbeeston
|
326
|
+
* Fix mispointed link in CHANGELOG.md. See [#353](https://github.com/simplecov-ruby/simplecov/pull/353). Thanks @dleve123
|
327
|
+
* Improve command name docs. See [#356](https://github.com/simplecov-ruby/simplecov/pull/356). Thanks @gtd
|
263
328
|
|
264
329
|
|
265
330
|
|
266
|
-
0.9.1, 2014-09-21 ([changes](https://github.com/
|
331
|
+
0.9.1, 2014-09-21 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.9.0...v0.9.1))
|
267
332
|
=================
|
268
333
|
|
269
334
|
## Bugfixes
|
270
335
|
|
271
336
|
* In 0.9.0, we introduced a regression that made SimpleCov no-op mode fail on Ruby 1.8, while
|
272
337
|
dropping 1.8 support altogether is announced only for v1.0. This has been fixed.
|
273
|
-
See [#333](https://github.com/
|
338
|
+
See [#333](https://github.com/simplecov-ruby/simplecov/issues/333) (thanks (@sferik)
|
274
339
|
|
275
340
|
|
276
|
-
0.9.0, 2014-07-17 ([changes](https://github.com/
|
341
|
+
0.9.0, 2014-07-17 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.8.2...v0.9.0))
|
277
342
|
=================
|
278
343
|
|
279
344
|
**A warm welcome and big thank you to the new contributors [@xaviershay](https://github.com/xaviershay), [@sferik](https://github.com/sferik) and especially [@bf4](https://github.com/bf4) for tackling a whole lot of issues and pull requests for this release!**
|
@@ -281,54 +346,54 @@ Other than the release includes a bunch of mostly documentation improvements:
|
|
281
346
|
## Enhancements
|
282
347
|
|
283
348
|
* New interface to specify multiple formatters.
|
284
|
-
See [#317](https://github.com/
|
349
|
+
See [#317](https://github.com/simplecov-ruby/simplecov/pull/317) (thanks @sferik)
|
285
350
|
* Document in the README how to exclude code from coverage reports,
|
286
351
|
and that the feature shouldn't be abused for skipping untested
|
287
352
|
private code.
|
288
|
-
See [#304](https://github.com/
|
353
|
+
See [#304](https://github.com/simplecov-ruby/simplecov/issues/304)
|
289
354
|
* Clarify Ruby version support.
|
290
|
-
See [#279](https://github.com/
|
355
|
+
See [#279](https://github.com/simplecov-ruby/simplecov/pull/279) (thanks @deivid-rodriguez)
|
291
356
|
|
292
357
|
## Bugfixes
|
293
358
|
|
294
359
|
* Ensure calculations return Floats, not Fixnum or Rational. Fixes segfaults with mathn.
|
295
|
-
See [#245](https://github.com/
|
360
|
+
See [#245](https://github.com/simplecov-ruby/simplecov/pull/245) (thanks to @bf4)
|
296
361
|
* Using `Kernel.exit` instead of exit to avoid uncaught throw :IRB_EXIT when
|
297
362
|
exiting irb sessions.
|
298
|
-
See [#287](https://github.com/
|
299
|
-
See [#285](https://github.com/
|
363
|
+
See [#287](https://github.com/simplecov-ruby/simplecov/pull/287) (thanks @wless1)
|
364
|
+
See [#285](https://github.com/simplecov-ruby/simplecov/issues/285)
|
300
365
|
* Does not look for .simplecov in ~/ when $HOME is not set.
|
301
|
-
See [#311](https://github.com/
|
366
|
+
See [#311](https://github.com/simplecov-ruby/simplecov/pull/311) (thanks @lasseebert)
|
302
367
|
* Exit with code only if it's Numeric > 0.
|
303
|
-
See [#302](https://github.com/
|
368
|
+
See [#302](https://github.com/simplecov-ruby/simplecov/pull/302) (thanks @hajder)
|
304
369
|
* Make default filter case insensitive.
|
305
|
-
See [#280](https://github.com/
|
370
|
+
See [#280](https://github.com/simplecov-ruby/simplecov/pull/280) (thanks @ryanatball)
|
306
371
|
* Improve regexp that matches functional tests.
|
307
|
-
See [#276](https://github.com/
|
308
|
-
* Fix TravisCI [#272](https://github.com/
|
372
|
+
See [#276](https://github.com/simplecov-ruby/simplecov/pull/276) (thanks @sferik)
|
373
|
+
* Fix TravisCI [#272](https://github.com/simplecov-ruby/simplecov/pull/272) [#278](https://github.com/simplecov-ruby/simplecov/pull/278), [#302](https://github.com/simplecov-ruby/simplecov/pull/302)
|
309
374
|
* Fix global config load.
|
310
|
-
See [#311](https://github.com/
|
375
|
+
See [#311](https://github.com/simplecov-ruby/simplecov/pull/311) (thanks @lasseebert)
|
311
376
|
|
312
|
-
v0.8.2, 2013-11-20 ([changes](https://github.com/
|
377
|
+
v0.8.2, 2013-11-20 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.8.1...v0.8.2))
|
313
378
|
==================
|
314
379
|
|
315
380
|
## Bugfixes
|
316
381
|
|
317
|
-
* Replaced the locking behaviour [via lockfile gem](https://github.com/
|
382
|
+
* Replaced the locking behaviour [via lockfile gem](https://github.com/simplecov-ruby/simplecov/pull/185) with
|
318
383
|
plain Ruby explicit file locking when merging results. This should make simplecov merging to behave well
|
319
384
|
on Windows again.
|
320
|
-
See [#258](https://github.com/
|
321
|
-
[#223](https://github.com/
|
385
|
+
See [#258](https://github.com/simplecov-ruby/simplecov/issues/258) and
|
386
|
+
[#223](https://github.com/simplecov-ruby/simplecov/pull/223) (thanks to @tomykaira)
|
322
387
|
|
323
|
-
v0.8.1, 2013-11-10 ([changes](https://github.com/
|
388
|
+
v0.8.1, 2013-11-10 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.8.0...v0.8.1))
|
324
389
|
==================
|
325
390
|
|
326
391
|
## Bugfixes
|
327
392
|
|
328
393
|
* Fixed a regression introduced in 0.8.0 - the Forwardable STDLIB module is now required explicitly.
|
329
|
-
See [#256](https://github.com/
|
394
|
+
See [#256](https://github.com/simplecov-ruby/simplecov/pull/256) (thanks to @kylev)
|
330
395
|
|
331
|
-
v0.8.0, 2013-11-10 ([changes](https://github.com/
|
396
|
+
v0.8.0, 2013-11-10 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.7.1...v0.8.0))
|
332
397
|
==================
|
333
398
|
|
334
399
|
**Note: Yanked the same day because of the regression that 0.8.1 fixes, see above**
|
@@ -346,158 +411,158 @@ has been added.
|
|
346
411
|
## Features
|
347
412
|
|
348
413
|
* Configuration blocks now have access to variables and methods outside of the block's scope.
|
349
|
-
See [#238](https://github.com/
|
414
|
+
See [#238](https://github.com/simplecov-ruby/simplecov/pull/238) (thanks to @ms-tg)
|
350
415
|
* You can now have a global `~/.simplecov` configuration file.
|
351
|
-
See [#195](https://github.com/
|
416
|
+
See [#195](https://github.com/simplecov-ruby/simplecov/pull/195) (thanks to @spagalloco)
|
352
417
|
* simplecov-html now uses the MIT-licensed colorbox plugin. Some adjustments when viewing source files,
|
353
418
|
including retaining the currently open file on refresh have been added.
|
354
|
-
See [simplecov-html #15](https://github.com/
|
419
|
+
See [simplecov-html #15](https://github.com/simplecov-ruby/simplecov-html/pull/15) (thanks to @chetan)
|
355
420
|
* Adds support for Rails 4 command guessing, removes default group `vendor/plugins`.
|
356
|
-
See [#181](https://github.com/
|
357
|
-
[#203](https://github.com/
|
421
|
+
See [#181](https://github.com/simplecov-ruby/simplecov/pull/181) and
|
422
|
+
[#203](https://github.com/simplecov-ruby/simplecov/pull/203) (thanks to @semanticart and @phallstrom)
|
358
423
|
* You can now load simplecov without the default settings by doing `require 'simplecov/no_defaults'`
|
359
424
|
or setting `ENV['SIMPLECOV_NO_DEFAULTS']`. Check `simplecov/defaults` to see what preconfigurations are getting
|
360
|
-
dropped by using this. See [#209](https://github.com/
|
425
|
+
dropped by using this. See [#209](https://github.com/simplecov-ruby/simplecov/pull/209) (thanks to @ileitch)
|
361
426
|
* The result set merging now uses the `lockfile` gem to avoid race conditions.
|
362
|
-
See [#185](https://github.com/
|
427
|
+
See [#185](https://github.com/simplecov-ruby/simplecov/pull/185) (thanks to @jshraibman-mdsol).
|
363
428
|
* Automatically detect the usage of parallel_tests and adjust the command name with the test env number accordingly,
|
364
|
-
See [#64](https://github.com/
|
365
|
-
[#185](https://github.com/
|
429
|
+
See [#64](https://github.com/simplecov-ruby/simplecov/issues/64) and
|
430
|
+
[#185](https://github.com/simplecov-ruby/simplecov/pull/185) (thanks to @jshraibman-mdsol).
|
366
431
|
|
367
432
|
## Enhancements
|
368
433
|
|
369
434
|
* Rename adapters to "profiles" given that they are bundles of settings. The old adapter methods are
|
370
435
|
deprecated, but remain available for now.
|
371
|
-
See [#207](https://github.com/
|
436
|
+
See [#207](https://github.com/simplecov-ruby/simplecov/pull/207) (thanks to @mikerobe)
|
372
437
|
* Tweaks to the automatic test suite naming. In particular, `rspec/features` should now
|
373
438
|
be correctly attributed to RSpec, not Cucumber.
|
374
|
-
See [#212](https://github.com/
|
439
|
+
See [#212](https://github.com/simplecov-ruby/simplecov/pull/212) (thanks to @ersatzryan and @betelgeuse)
|
375
440
|
* MiniTest should now be identified correctly by the command name guesser.
|
376
|
-
See [#244](https://github.com/
|
441
|
+
See [#244](https://github.com/simplecov-ruby/simplecov/pull/244) (thanks to @envygeeks)
|
377
442
|
* Makes SimpleCov resilient to inclusion of mathn library.
|
378
|
-
See [#175](https://github.com/
|
379
|
-
[#140](https://github.com/
|
443
|
+
See [#175](https://github.com/simplecov-ruby/simplecov/pull/175) and
|
444
|
+
[#140](https://github.com/simplecov-ruby/simplecov/issues/140) (thanks to @scotje)
|
380
445
|
* Allow coverage_dir to be an absolute path.
|
381
|
-
* See [#190](https://github.com/
|
446
|
+
* See [#190](https://github.com/simplecov-ruby/simplecov/pull/190) (thanks to @jshraibman-mdsol)
|
382
447
|
* The internal cucumber test suite now uses Capybara 2.
|
383
|
-
See [#206](https://github.com/
|
448
|
+
See [#206](https://github.com/simplecov-ruby/simplecov/pull/206) (thanks to @infertux)
|
384
449
|
* Work-arounds for the Coverage library shipped in JRuby 1.6 to behave in line with MRI.
|
385
|
-
See [#174](https://github.com/
|
450
|
+
See [#174](https://github.com/simplecov-ruby/simplecov/pull/174) (thanks to @grddev)
|
386
451
|
* Fix warning: instance variable @exit_status not initialized.
|
387
|
-
See [#242](https://github.com/
|
388
|
-
[#213](https://github.com/
|
452
|
+
See [#242](https://github.com/simplecov-ruby/simplecov/pull/242) and
|
453
|
+
[#213](https://github.com/simplecov-ruby/simplecov/pull/213) (thanks to @sferik and @infertux)
|
389
454
|
|
390
455
|
## Bugfixes
|
391
456
|
|
392
457
|
* Correct result calculations for people using :nocov: tags.
|
393
|
-
See [#215](https://github.com/
|
458
|
+
See [#215](https://github.com/simplecov-ruby/simplecov/pull/215) (thanks to @aokolish)
|
394
459
|
* Average hits per line for groups of files is now computed correctly.
|
395
|
-
See [#192](http://github.com/
|
396
|
-
[#179](http://github.com/
|
460
|
+
See [#192](http://github.com/simplecov-ruby/simplecov/pull/192) and
|
461
|
+
[#179](http://github.com/simplecov-ruby/simplecov/issues/179) (thanks to @graysonwright)
|
397
462
|
* Compatibility with BINARY internal encoding.
|
398
|
-
See [#194](https://github.com/
|
399
|
-
[#127](https://github.com/
|
463
|
+
See [#194](https://github.com/simplecov-ruby/simplecov/pull/194) and
|
464
|
+
[#127](https://github.com/simplecov-ruby/simplecov/issues/127) (thanks to @justfalter)
|
400
465
|
* Special characters in `SimpleCov.root` are now correctly escaped before being used as a RegExp.
|
401
|
-
See [#204](https://github.com/
|
402
|
-
[#237](https://github.com/
|
466
|
+
See [#204](https://github.com/simplecov-ruby/simplecov/issues/204) and
|
467
|
+
[#237](https://github.com/simplecov-ruby/simplecov/pull/237) (thanks to @rli9)
|
403
468
|
|
404
|
-
v0.7.1, 2012-10-12 ([changes](https://github.com/
|
469
|
+
v0.7.1, 2012-10-12 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.7.0...v0.7.1))
|
405
470
|
==================
|
406
471
|
|
407
472
|
* [BUGFIX] The gem packages of 0.7.0 (both simplecov and simplecov-html) pushed to Rubygems had some file
|
408
473
|
permission issues, leading to problems when installing SimpleCov in a root/system Rubygems install and then
|
409
|
-
trying to use it as a normal user (see https://github.com/
|
474
|
+
trying to use it as a normal user (see https://github.com/simplecov-ruby/simplecov/issues/171, thanks @envygeeks
|
410
475
|
for bringing it up). The gem build process has been changed to always enforce proper permissions before packaging
|
411
476
|
to avoid this issue in the future.
|
412
477
|
|
413
478
|
|
414
|
-
v0.7.0, 2012-10-10 ([changes](https://github.com/
|
479
|
+
v0.7.0, 2012-10-10 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.6.4...v0.7.0))
|
415
480
|
==================
|
416
481
|
|
417
482
|
* [FEATURE] The new `maximum_coverage_drop` and `minimum_coverage` now allow you to fail your build when the
|
418
483
|
coverage dropped by more than what you allowed or is below a minimum value required. Also, `refuse_coverage_drop` disallows
|
419
484
|
any coverage drops between test runs.
|
420
|
-
See https://github.com/
|
421
|
-
https://github.com/
|
485
|
+
See https://github.com/simplecov-ruby/simplecov/pull/151, https://github.com/simplecov-ruby/simplecov/issues/11,
|
486
|
+
https://github.com/simplecov-ruby/simplecov/issues/90, and https://github.com/simplecov-ruby/simplecov/issues/96 (thanks to @infertux)
|
422
487
|
* [FEATURE] SimpleCov now ships with a built-in MultiFormatter which allows the easy usage of multiple result formatters at
|
423
488
|
the same time without the need to write custom wrapper code.
|
424
|
-
See https://github.com/
|
489
|
+
See https://github.com/simplecov-ruby/simplecov/pull/158 (thanks to @nikitug)
|
425
490
|
* [BUGFIX] The usage of digits, hyphens and underscores in group names could lead to broken tab navigation
|
426
|
-
in the default simplecov-html reports. See https://github.com/
|
427
|
-
* [REFACTORING] A few more ruby warnings removed. See https://github.com/
|
428
|
-
https://github.com/
|
429
|
-
* A [Pledgie button](https://github.com/
|
491
|
+
in the default simplecov-html reports. See https://github.com/simplecov-ruby/simplecov-html/pull/14 (thanks to @ebelgarts)
|
492
|
+
* [REFACTORING] A few more ruby warnings removed. See https://github.com/simplecov-ruby/simplecov/issues/106 and
|
493
|
+
https://github.com/simplecov-ruby/simplecov/pull/139. (thanks to @lukejahnke)
|
494
|
+
* A [Pledgie button](https://github.com/simplecov-ruby/simplecov/commit/63cfa99f8658fa5cc66a38c83b3195fdf71b9e93) for those that
|
430
495
|
feel generous :)
|
431
496
|
* The usual bunch of README fixes and documentation tweaks. Thanks to everyone who contributed those!
|
432
497
|
|
433
|
-
v0.6.4, 2012-05-10 ([changes](https://github.com/
|
498
|
+
v0.6.4, 2012-05-10 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.6.3...v0.6.4))
|
434
499
|
==================
|
435
500
|
|
436
501
|
* [BUGFIX] Encoding issues with ISO-8859-encoded source files fixed.
|
437
|
-
See https://github.com/
|
502
|
+
See https://github.com/simplecov-ruby/simplecov/pull/117. (thanks to @Deradon)
|
438
503
|
* [BUGFIX] Ensure ZeroDivisionErrors won't occur when calculating the coverage result, which previously
|
439
|
-
could happen in certain cases. See https://github.com/
|
504
|
+
could happen in certain cases. See https://github.com/simplecov-ruby/simplecov/pull/128. (thanks to @japgolly)
|
440
505
|
* [REFACTORING] Changed a couple instance variable lookups so SimpleCov does not cause a lot of warnings when
|
441
|
-
running ruby at a higher warning level. See https://github.com/
|
442
|
-
https://github.com/
|
506
|
+
running ruby at a higher warning level. See https://github.com/simplecov-ruby/simplecov/issues/106 and
|
507
|
+
https://github.com/simplecov-ruby/simplecov/pull/119. (thanks to @mvz and @gioele)
|
443
508
|
|
444
509
|
|
445
|
-
v0.6.3, 2012-05-10 ([changes](https://github.com/
|
510
|
+
v0.6.3, 2012-05-10 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.6.2...v0.6.3))
|
446
511
|
==================
|
447
512
|
|
448
513
|
* [BUGFIX] Modified the API-changes for newer multi_json versions introduced with #122 and v0.6.2 so
|
449
514
|
they are backwards-compatible with older multi_json gems in order to avoid simplecov polluting
|
450
515
|
the multi_json minimum version requirement for entire applications.
|
451
|
-
See https://github.com/
|
516
|
+
See https://github.com/simplecov-ruby/simplecov/issues/132
|
452
517
|
* Added appraisal gem to the test setup in order to run the test suite against both 1.0 and 1.3
|
453
518
|
multi_json gems and ensure the above actually works :)
|
454
519
|
|
455
|
-
v0.6.2, 2012-04-20 ([changes](https://github.com/
|
520
|
+
v0.6.2, 2012-04-20 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.6.1...v0.6.2))
|
456
521
|
==================
|
457
522
|
|
458
523
|
* [Updated to latest version of MultiJSON and its new API (thanks to @sferik and @ronen).
|
459
|
-
See https://github.com/
|
524
|
+
See https://github.com/simplecov-ruby/simplecov/pull/122
|
460
525
|
|
461
|
-
v0.6.1, 2012-02-24 ([changes](https://github.com/
|
526
|
+
v0.6.1, 2012-02-24 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.6.0...v0.6.1))
|
462
527
|
==================
|
463
528
|
|
464
529
|
* [BUGFIX] Don't force-load Railtie on Rails < 3. Fixes regression introduced with
|
465
|
-
#83. See https://github.com/
|
530
|
+
#83. See https://github.com/simplecov-ruby/simplecov/issues/113
|
466
531
|
|
467
|
-
v0.6.0, 2012-02-22 ([changes](https://github.com/
|
532
|
+
v0.6.0, 2012-02-22 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.5.4...v0.6.0))
|
468
533
|
==================
|
469
534
|
|
470
535
|
* [FEATURE] Auto-magic `rake simplecov` task for rails
|
471
|
-
(see https://github.com/
|
536
|
+
(see https://github.com/simplecov-ruby/simplecov/pull/83, thanks @sunaku)
|
472
537
|
* [BUGFIX] Treat source files as UTF-8 to avoid encoding errors
|
473
|
-
(see https://github.com/
|
538
|
+
(see https://github.com/simplecov-ruby/simplecov/pull/103, thanks @joeyates)
|
474
539
|
* [BUGFIX] Store the invoking terminal command right after loading so they are safe from
|
475
540
|
other libraries tampering with ARGV. Among other makes automatic Rails test suite splitting
|
476
541
|
(Unit/Functional/Integration) work with recent rake versions again
|
477
|
-
(see https://github.com/
|
542
|
+
(see https://github.com/simplecov-ruby/simplecov/issues/110)
|
478
543
|
* [FEATURE] If guessing command name from the terminal command fails, try guessing from defined constants
|
479
|
-
(see https://github.com/
|
544
|
+
(see https://github.com/simplecov-ruby/simplecov/commit/37afca54ef503c33d888e910f950b3b943cb9a6c)
|
480
545
|
* Some refactorings and cleanups as usual. Please refer to the github compare view for a full
|
481
|
-
list of changes: https://github.com/
|
546
|
+
list of changes: https://github.com/simplecov-ruby/simplecov/compare/v0.5.4...v0.6.0
|
482
547
|
|
483
|
-
v0.5.4, 2011-10-12 ([changes](https://github.com/
|
548
|
+
v0.5.4, 2011-10-12 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.5.3...v0.5.4))
|
484
549
|
==================
|
485
550
|
|
486
551
|
* Do not give exit code 0 when there are exceptions prior to tests
|
487
|
-
(see https://github.com/
|
552
|
+
(see https://github.com/simplecov-ruby/simplecov/issues/41, thanks @nbogie)
|
488
553
|
* The API for building custom filter classes is now more obvious, using #matches? instead of #passes? too.
|
489
|
-
(see https://github.com/
|
554
|
+
(see https://github.com/simplecov-ruby/simplecov/issues/85, thanks @robinroestenburg)
|
490
555
|
* Mailers are now part of the Rails adapter as their own group (see
|
491
|
-
https://github.com/
|
556
|
+
https://github.com/simplecov-ruby/simplecov/issues/79, thanks @geetarista)
|
492
557
|
* Removed fix for JRuby 1.6 RC1 float bug because it's been fixed
|
493
|
-
(see https://github.com/
|
558
|
+
(see https://github.com/simplecov-ruby/simplecov/issues/86)
|
494
559
|
* Readme formatted in Markdown :)
|
495
560
|
|
496
|
-
v0.5.3, 2011-09-13 ([changes](https://github.com/
|
561
|
+
v0.5.3, 2011-09-13 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.5.2...v0.5.3))
|
497
562
|
==================
|
498
563
|
|
499
564
|
* Fix for encoding issues that came from the nocov processing mechanism
|
500
|
-
(see https://github.com/
|
565
|
+
(see https://github.com/simplecov-ruby/simplecov/issues/71)
|
501
566
|
* :nocov: lines are now actually being reflected in the HTML report and are marked in yellow.
|
502
567
|
|
503
568
|
* The Favicon in the HTML report is now determined by the overall coverage and will have the color
|
@@ -508,24 +573,24 @@ v0.5.3, 2011-09-13 ([changes](https://github.com/colszowka/simplecov/compare/v0.
|
|
508
573
|
* Refactored nocov processing and made it configurable using SimpleCov.ncov_token (or it's
|
509
574
|
alias SimpleCov.skip_token)
|
510
575
|
|
511
|
-
v0.5.2, 2011-09-12 ([changes](https://github.com/
|
576
|
+
v0.5.2, 2011-09-12 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.5.1...v0.5.2))
|
512
577
|
==================
|
513
578
|
|
514
579
|
* Another fix for a bug in JSON processing introduced with MultiJSON in 0.5.1
|
515
|
-
(see https://github.com/
|
580
|
+
(see https://github.com/simplecov-ruby/simplecov/pull/75, thanks @sferik)
|
516
581
|
|
517
|
-
v0.5.1, 2011-09-12 ([changes](https://github.com/
|
582
|
+
v0.5.1, 2011-09-12 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.5.0...v0.5.1))
|
518
583
|
==================
|
519
584
|
**Note: Yanked 2011-09-12 because the MultiJSON-patch had a crucial bug**
|
520
585
|
|
521
|
-
* Fix for invalid gemspec dependency string (see https://github.com/
|
586
|
+
* Fix for invalid gemspec dependency string (see https://github.com/simplecov-ruby/simplecov/pull/70,
|
522
587
|
http://blog.rubygems.org/2011/08/31/shaving-the-yaml-yacc.html, thanks @jspradlin)
|
523
588
|
|
524
589
|
* Added JSON in the form of the multi_json gem as dependency for those cases when built-in JSON
|
525
|
-
is unavailable (see https://github.com/
|
526
|
-
and https://github.com/
|
590
|
+
is unavailable (see https://github.com/simplecov-ruby/simplecov/issues/72
|
591
|
+
and https://github.com/simplecov-ruby/simplecov/pull/74, thanks @sferik)
|
527
592
|
|
528
|
-
v0.5.0, 2011-09-09 ([changes](https://github.com/
|
593
|
+
v0.5.0, 2011-09-09 ([changes](https://github.com/simplecov-ruby/simplecov/compare/v0.4.2...v0.5.4))
|
529
594
|
==================
|
530
595
|
**Note: Yanked 2011-09-09 because of trouble with the gemspec.**
|
531
596
|
|