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