Up to [cvs.NetBSD.org] / pkgsrc / devel / ruby-simplecov
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
devel/ruby-simplecov: update to 1.3.1 1.3.1 (2026-09-24) Bugfixes * cover_views compiles templates on Rails main again. Rails removed ActionView::Template.registered_template_handler; the lookup reads ActionView::Template::Handlers.template_handlers and still skips an extension with no handler. See #1300. * require "simplecov" works again on JRuby on Windows, where 1.3.0 raised LoadError: Could not open library '.../libprism.dll'. Prism's FFI backend cannot open its native library there, and 1.3.0 required Prism as soon as SimpleCov loaded. Prism now loads only when branch or method coverage needs the static extractor, which a line-only run never does. Where it cannot load at all, the extractor falls back to empty branch and method tables for never-loaded files, as it did before 1.3.0. See #1299. * simplecov affected --run works on JRuby on Windows, where it crashed with NoMethodError because Process.wait2 answers no status there. On that platform the runner starts through Kernel#system instead. * simplecov serve refuses a symlink that points outside the report on JRuby on Windows too. JRuby's File.realpath follows no symlinks there, so serve would have served the file the link pointed to, and simplecov clean and the coverage.json lookup compared paths that were never resolved. On JRuby the CLI now resolves paths through the JDK.
devel/ruby-simplecov: update to 1.3.0 pkgsrc changes: * Add ALTERNATIVES. * Install manpage with/without installation of ruby-manpages package. 1.3.0 (2026-09-12) SimpleCov 1.3 raises the minimum Ruby to 3.3, brings the coverage directives to ERB, Haml, and Slim templates, teaches simplecov patch and simplecov uncovered to annotate CI hosts natively, and settles what the report says about files and groups that hold nothing. Highlights * Ruby 3.2 is no longer supported. The minimum is Ruby 3.3, which bundles Prism, so the static coverage extractor stops probing for it and the emulation of 3.2's constant folding is gone. * # simplecov:disable and # simplecov:enable work inside ERB, Haml, and Slim templates measured with cover_views, in each language's own comment syntax or as Ruby comments on a code line. * --annotate KIND turns simplecov patch and simplecov uncovered into inline CI annotations for GitHub, GitLab, reviewdog, Azure, TeamCity, and Buildkite, so one CI step can both annotate and gate. * Groups that match no files are omitted from the report instead of padding it at 100%, and the rails profile declares its groups alphabetically. * cover_views is the only way to measure a template now: a cover glob that matches one warns and leaves it out, and ignore: :eval_generated no longer drops a template's real branches and methods. * A file with nothing to cover reports the same percentage in the file list as it does in the source view. Upgrade notes * The minimum supported Ruby is now 3.3. Ruby 3.2 reached end of life in March 2026. JRuby 10 remains supported for line coverage. * A group that matched no files disappears from the HTML report, coverage.json, and the history file, and a per-group minimum on it passes silently rather than complaining that the group does not exist. * The rails profile's group tabs come out in alphabetical order, so an existing project's tabs move. * A never-loaded file with no branches or methods reports 100% for those criteria rather than 0%, so a per-file branch or method threshold that failed such a file passes now. A file the report carries no branch or method table for at all is still unaccounted for, and keeps its 0%. * A cover glob matching .erb, .haml, or .slim warns and drops those files from the report. Measure templates with cover_views instead. * coverage.json stays at schema 1.3, unchanged by this release. Breaking Changes * Dropped support for Ruby 3.2. The minimum supported Ruby is now 3.3 (required_ruby_version >= 3.3), with JRuby 10 still supported and TruffleRuby exercised only by the nightly unstable build. Prism is bundled with every supported Ruby, so the static coverage extractor stops probing for it: StaticCoverageExtractor.available? and the empty-hash fallbacks for its absence are gone. So is the emulation of Ruby 3.2's constant folding, where parentheses were transparent for every literal and a folded dead arm's branches survived in the branch table. For Enhancements and Bugfixes section, please refer original release note: <https://github.com/simplecov-ruby/simplecov/releases/tag/v1.3.0>.
ruby-simplecov: no man page is installed, remove it from PLIST Bump PKGREVISION.
devel/ruby-simplecov: update to 1.2.0 1.2.0 (2026-09-04) SimpleCov 1.2 adds change-focused coverage, per-test attribution, production coverage, and a substantially expanded CLI while keeping the existing configuration API working through deprecation aliases. Highlights * track_tests, simplecov tests, and simplecov affected connect covered lines to the tests that exercised them; the HTML report displays the same attribution and simplecov watch uses it for focused reruns. * simplecov patch, per-file baselines, missed-count caps, and coverage history make coverage gates useful for both new changes and legacy codebases. * SimpleCov::Production records low-overhead production line coverage, while simplecov dead-code and the bundled reports cross it with test coverage. * ActionView templates can be measured with cover_views, including ERB, Haml, and Slim source highlighting. * The CLI gains annotated source, report freshness, history, badges, shell completions, a man page, and richer machine-readable output. For more information about upgrade end enhancements, please refer <https://github.com/simplecov-ruby/simplecov/blob/13868e61de6020174679a4913f968cce7342d79e/CHANGELOG.md> in detail.
devel/ruby-simplecov: update to 1.1.1 pkgsrc change: remove pkglint warnings from DESCR. 1.1.1 (2026-08-12) What's Changed * Bump step-security/harden-runner from 2.20.0 to 2.20.1 by @dependabot[bot] in #1258 * rspec-conductor Support by @sferik in #1259 Contributors * @sferik * @dependabot
devel/ruby-simplecov: update to 1.1.0 1.1.0 (2026-08-10) What's Changed * Bump actions/checkout from 7.0.0 to 7.0.1 by @dependabot[bot] in #1243 * Bump ruby/setup-ruby from 1.318.0 to 1.320.0 by @dependabot[bot] in #1242 * Improve collate performance by @danielwestendorf in #1244 * Bump ruby/setup-ruby from 1.320.0 to 1.321.0 by @dependabot[bot] in #1247 * Make the HTML report a single self-contained index.html by @sferik in #1245 * Cut unloaded-file injection cost, fix 100% coverage in merged reports by @sferik in #1252 * Stop matching the :nocov: regex twice on every classified line by @andriytyurnikov in #1253 * Absorb resultsets into one accumulator instead of folding pairwise by @andriytyurnikov in #1254 * Inject unloaded files once at the merge point, not once per process by @sferik in #1255 * Fix CommandGuesser mislabelling suites from incidental path substrings by @sferik in #1251 * Speed up SimpleCov.collate with optional multi-process merge by @danielwestendorf in #1246 * Keep branch and method data the resultsets carried by @sferik in #1256 * Colorblind mode by @sferik in #1257 New Contributors * @danielwestendorf made their first contribution in #1244 * @andriytyurnikov made their first contribution in #1253
devel/ruby-simplecov: update to 1.0.2 1.0.0 (2026-07-12) Changes are too many to write here, please refer: <https://github.com/simplecov-ruby/simplecov/releases/tag/v1.0.0> in detail. 1.0.1 (2026-07-14) * Code coverage for Ruby with a powerful configuration library and * automatic merging of coverage across test suites. 1.0.2 (2026-07-18) * Bump ruby/setup-ruby from 1.315.0 to 1.316.0 by @dependabot[bot] in #1229 * Bump step-security/harden-runner from 2.19.4 to 2.20.0 by @dependabot[bot] in #1230
devel/ruby-simplecov: update to 0.21.2 0.21.2 (2021-01-09) ========== ## Bugfixes * `maximum_coverage_drop` won't fail any more if `.last_run.json` is still in the old format. Thanks [@petertellgren](https://github.com/petertellgren) * `maximum_coverage_drop` won't fail if an expectation is specified for a previous unrecorded criterion, it will just pass (there's nothing, so nothing to drop) * fixed bug in `maximum_coverage_drop` calculation that could falsely report it had dropped for minimal differences 0.21.1 (2021-01-04) ========== ## Bugfixes * `minimum_coverage_by_file` works again as expected (errored out before 😱) 0.21.0 (2021-01-03) ========== The "Collate++" release making it more viable for big CI setups by limiting memory consumption. Also includes some nice new additions for branch coverage settings. ## Enhancements * Performance of `SimpleCov.collate` improved - it should both run faster and consume much less memory esp. when run with many files (memory consumption should not increase with number of files any more) * Can now define the minimum_coverage_by_file, maximum_coverage_drop and refuse_coverage_drop by branch as well as line coverage. Thanks to [@jemmaissroff](https://github.com/jemmaissroff) * Can set primary coverage to something other than line by setting `primary_coverage :branch` in SimpleCov Configuration. Thanks to [@jemmaissroff](https://github.com/jemmaissroff) ## Misc * reduce gem size by splitting Changelog into `Changelog.md` and a pre 0.18 `Changelog.old.md`, the latter of which is not included in the gem * The interface of `ResultMeger.merge_and_store` is changed to support the `collate` performance improvements mentioned above. It's not considered an official API, hence this is not in the breaking section. For people using it to merge results from different machines, it's recommended to migrate to [collate](https://github.com/simplecov-ruby/simplecov#merging-test-runs-under-different-execution-environments). 0.20.0 (2020-11-29) ========== The "JSON formatter" release. Starting now a JSON formatter is included by default in the release. This is mostly done for Code Climate reasons, you can find more details [in this issue](https://github.com/codeclimate/test-reporter/issues/413). Shipping with so much by default is sub-optimal, we know. It's the long term plan to also provide `simplecov-core` without the HTML or JSON formatters for those who don't need them/for other formatters to rely on. ## Enhancements * `simplecov_json_formatter` included by default ([docs](https://github.com/simplecov-ruby/simplecov#json-formatter)), this should enable the Code Climate test reporter to work again once it's updated * invalidate internal cache after switching `SimpleCov.root`, should help with some bugs 0.19.1 (2020-10-25) ========== ## Bugfixes * No more warnings triggered by `enable_for_subprocesses`. Thanks to [@mame](https://github.com/mame) * Avoid trying to patch `Process.fork` when it isn't available. Thanks to [@MSP-Greg](https://github.com/MSP-Greg)
devel/ruby-simplecov: update to 0.19.0 Update ruby-simplecov to 0.19.0. 0.19.0 (2020-08-16) ========== ## Breaking Changes * Dropped support for Ruby 2.4, it reached EOL ## Enhancements * 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) * SimpleCov distinguishes better that it stopped processing because of a previous error vs. SimpleCov is the originator of said error due to coverage requirements. ## Bugfixes * 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) * 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 * if you run parallel tests only the final process will report violations of the configured test coverage, not all previous processes * changed the parallel_tests merging mechanisms to do the waiting always in the last process, should reduce race conditions ## Noteworthy * The repo has moved to https://github.com/simplecov-ruby/simplecov - everything stays the same, redirects should work but you might wanna update anyhow * 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.
devel/ruby-simplecov: update to 0.18.5 Update ruby-simplecov to 0.18.5. 0.18.5 (2020-02-25) =================== Can you guess? Another bugfix release! ## Bugfixes * 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/colszowka/simplecov/issues/877). 0.18.4 (2020-02-24) =================== Another small bugfix release 🙈 Fixes SimpleCov running with rspec-rails, which was broken due to our fixed minitest integration. ## Bugfixes * SimpleCov will run again correctly when used with rspec-rails. The excellent bug report [#873](https://github.com/colszowka/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/colszowka/simplecov/pull/874). 0.18.3 (2020-02-23) =========== Small bugfix release. It's especially recommended to upgrade simplecov-html as well because of bugs in the 0.12.0 release. ## Bugfixes * 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/colszowka/simplecov/pull/866) * Use `Minitest.after_run` hook to trigger post-run hooks if `Minitest` is present. See [#756](https://github.com/colszowka/simplecov/pull/756) and [#855](https://github.com/colszowka/simplecov/pull/855) thanks ([@adam12](https://github.com/adam12)) 0.18.2 (2020-02-12) =================== Small release just to allow you to use the new simplecov-html. ## Enhancements * Relax simplecov-html requirement so that you're able to use [0.12.0](https://github.com/colszowka/simplecov-html/blob/master/CHANGELOG.md#0120-2020-02-12)
devel/ruby-simplecov: update to 0.18.1 Update ruby-simplecov to 0.18.1. 0.18.1 (2020-01-31) =================== Small Bugfix release. ## Bugfixes * 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/colszowka/simplecov/issues/846) and thanks [@DannyBen](https://github.com/DannyBen) for the report. 0.18.0 (2020-01-28) =================== Huge release! Highlights are support for branch coverage (Ruby 2.5+) and dropping support for EOL'ed Ruby versions (< 2.4). Please also read the other beta patch notes. ## Enhancements * You can now define the minimum expected coverage by criterion like `minimum_coverage line: 90, branch: 80` * Memoized some internal data structures that didn't change to reduce SimpleCov overhead * Both `FileList` and `SourceFile` now have a `coverage` method that returns a hash that points from a coverage criterion to a `CoverageStatistics` object for uniform access to overall coverage statistics for both line and branch coverage ## Bugfixes * 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. * Removed an inconsistency in how we treat skipped vs. irrelevant lines (see [#565](https://github.com/colszowka/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 ## Noteworthy * `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 0.18.0.beta3 (2020-01-20) ======================== ## Enhancements * Instead of ignoring old `.resultset.json`s that are inside the merge timeout, adapt and respect them ## Bugfixes * Remove the constant warning printing if you still have a `.resultset.json` in pre 0.18 layout that is within your merge timeout 0.18.0.beta2 (2020-01-19) =================== ## Enhancements * only turn on the requested coverage criteria (when activating branch coverage before SimpleCov would also instruct Ruby to take Method coverage) * Change how branch coverage is displayed, now it's `branch_type: hit_count` which should be more self explanatory. See [#830](https://github.com/colszowka/simplecov/pull/830) for an example and feel free to give feedback! * Allow early running exit tasks and avoid the `at_exit` hook through the `SimpleCov.run_exit_tasks!` method. (thanks [@macumber](https://github.com/macumber)) * Allow manual collation of result sets through the `SimpleCov.collate` entrypoint. See the README for more details (thanks [@ticky](https://github.com/ticky)) * 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/colszowka/simplecov/pull/825) * Stop symbolizing all keys when loading cache (should lead to be faster and consume less memory) * Cache whether we can use/are using branch coverage (should be slightly faster) ## Bugfixes * Fix a crash that happened when an old version of our internal cache file `.resultset.json` was still present 0.18.0.beta1 (2020-01-05) =================== This is a huge release highlighted by changing our support for ruby versions to 2.4+ (so things that aren't EOL'ed) and finally adding branch coverage support! This release is still beta because we'd love for you to test out branch coverage and get your feedback before doing a full release. On a personal note from [@PragTob](https://github.com/PragTob/) thanks to [ruby together](https://rubytogether.org/) for sponsoring this work on SimpleCov making it possible to deliver this and subsequent releases. ## Breaking * 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)) * Dropped the `rake simplecov` task that "magically" integreated with rails. It was always undocumented, caused some issues and [had some issues](https://github.com/colszowka/simplecov/issues/689#issuecomment-561572327). Use the integration as described in the README please :) ## Enhancements * 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 ;) * If the minimum coverage is set to be greater than 100, a warning will be shown. See [#737](https://github.com/colszowka/simplecov/pull/737) (thanks [@belfazt](https://github.com/belfazt)) * Add a configuration option to disable the printing of non-successful exit statuses. See [#747](https://github.com/colszowka/simplecov/pull/746) (thanks [@JacobEvelyn](https://github.com/JacobEvelyn)) * Calculating 100% coverage is now stricter, so 100% means 100%. See [#680](https://github.com/colszowka/simplecov/pull/680) thanks [@gleseur](https://github.com/gleseur) ## Bugfixes * 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/colszowka/simplecov/pull/757) (thanks [@adam12](https://github.com/adam12))
devel/ruby-simplecov: update to 0.17.1 Update ruby-simplecov to 0.17.1. 0.17.1 (2019-09-16) =================== Bugfix release for problems with ParallelTests. ## Bugfixes * Avoid hanging with parallel_tests. See [#746](https://github.com/colszowka/simplecov/pull/746) (thanks [@annaswims](https://github.com/annaswims)) 0.17.0 (2019-07-02) =================== Maintenance release with nice convenience features and important bugfixes. Notably this **will be the last release to support ruby versions that have reached their end of life**. Moving forward official CRuby support will be 2.4+ and JRuby support will be 9.1+. Older versions might still work but no guarantees. ## Enhancements * Per default filter hidden files and folders. See [#721](https://github.com/colszowka/simplecov/pull/721) (thanks [Renuo AG](https://www.renuo.ch)) * 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/colszowka/simplecov/pull/688) (thanks [@daemonsy](https://github.com/daemonsy)) ## Bugfixes * 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/colszowka/simplecov/pull/706) (thanks [@f1sherman](https://github.com/f1sherman)) * Project roots with special characters no longer cause crashes. See [#717](https://github.com/colszowka/simplecov/pull/717) (thanks [@deivid-rodriguez](https://github.com/deivid-rodriguez)) * Avoid continously overriding test results with manual `ResultMergere.store_results` usage. See [#674](https://github.com/colszowka/simplecov/pull/674) (thanks [@tomeon](https://github.com/tomeon))
devel/ruby-simplecov: update to 0.16.1 0.16.1 (2018-03-16) =================== ## Bugfixes * Include the LICENSE in the distributed gem again (accidentally removed in 0.16.0). (thanks @tas50) 0.16.0 (2018-03-15) =================== ## Enhancements * Relax version constraint on `docile`, per SemVer * exception that occurred on exit is available as `exit_exception`! See [#639](https://github.com/colszowka/simplecov/pull/639) (thanks @thomas07vt) * Performance: processing results now runs from 2.5x to 3.75x faster. See [#662](https://github.com/colszowka/simplecov/pull/662) (thanks @BMorearty & @eregon) * Decrease gem size by only shipping lib and docs ## Bugfixes * (breaking) Stop handling string filters as regular expressions, use the dedicated regex filter if you need that behaviour. See [#616](https://github.com/colszowka/simplecov/pull/616) (thanks @yujinakayama) * Avoid overwriting the last coverage results on unsuccessful test runs. See [#625](https://github.com/colszowka/simplecov/pull/625) (thanks @thomas07vt) * Don't crash on invalid UTF-8 byte sequences. (thanks @BMorearty)
devel/ruby-simplecov: update to 0.15.1 0.15.1 (2017-09-11) ======= ## Bugfixes * Filter directories outside SimpleCov.root that have it as a prefix. See [#617](https://github.com/colszowka/simplecov/pull/617) (thanks @jenseng) * Fix standard rails profile rails filter (didn't work). See [#618](https://github.com/colszowka/simplecov/pull/618) (thanks @jenseng again!)
Update ruby-simplecov to 0.15.0. 0.15.0 (2017-08-14) ([changes](https://github.com/colszowka/simplecov/compare/v0.14.1...v0.15.0)) ======= ## Enhancements * Ability to use regex filters for removing files from the output. See [#589](https://github.com/colszowka/simplecov/pull/589) (thanks @jsteel) ## Bugfixes * Fix merging race condition when running tests in parallel and merging them. See [#570](https://github.com/colszowka/simplecov/pull/570) (thanks @jenseng) * Fix relevant lines for unloaded files - comments, skipped code etc. are correctly classigied as irrelevant. See [#605](https://github.com/colszowka/simplecov/pull/605) (thanks @odlp) * Allow using simplecov with frozen-string-literals enabled. See [#590](https://github.com/colszowka/simplecov/pull/590) (thanks @pat) * Make sure Array Filter can use all other filter types. See [#589](https://github.com/colszowka/simplecov/pull/589) (thanks @jsteel) * Make sure file names use `Simplecov.root` as base avoiding using full absolute project paths. See [#589](https://github.com/colszowka/simplecov/pull/589) (thanks @jsteel)
Update ruby-simplecov to 0.14.1. 0.14.1 2017-03-18 ([changes](https://github.com/colszowka/simplecov/compare/v0.14.0...v0.14.1)) ======== ## Bugfixes * Files that were skipped as a whole/had no relevant coverage could lead to Float errors. See [#564](https://github.com/colszowka/simplecov/pull/564) (thanks to @stevehanson for the report in [#563](https://github.com/colszowka/simplecov/issues/563)) 0.14.0 2017-03-15 ([changes](https://github.com/colszowka/simplecov/compare/v0.13.0...v0.14.0)) ========== ## Enhancements * Officially support JRuby 9.1+ going forward (should also work with previous releases). See [#547](https://github.com/colszowka/simplecov/pull/547) (ping @PragTob when encountering issues) * Add Channel group to Rails profile, when `ActionCable` is loaded. See [#492](https://github.com/colszowka/simplecov/pull/492) (thanks @BenMorganIO) * Stop `extend`ing instances of `Array` and `Hash` during merging results avoiding problems frozen results while manually merging results. See [#558](https://github.com/colszowka/simplecov/pull/558) (thanks @aroben) ## Bugfixes * Fix parallel_tests when a thread ends up running no tests. See [#533](https://github.com/colszowka/simplecov/pull/533) (thanks @cshaffer) * Skip the `:nocov:` comments along with the code that they skip. See [#551](https://github.com/colszowka/simplecov/pull/551) (thanks @ebiven) * Fix crash when Home environment variable is unset. See [#482](https://github.com/colszowka/simplecov/pull/482) (thanks @waldyr) * Make track_files work again when explicitly setting it to nil. See [#463](https://github.com/colszowka/simplecov/pull/463) (thanks @craiglittle) * 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/colszowka/simplecov/pull/553) (thanks @Miloshes) 0.13.0 2016-01-25 ([changes](https://github.com/colszowka/simplecov/compare/v0.12.0...v0.13.0)) ========== ## Enhancements * Faster run times when a very large number of files is loaded into SimpleCov. See [#520](https://github.com/colszowka/simplecov/pull/520) (thanks @alyssais) * Only read in source code files that are actually used (faster when files are ignored etc.). See [#540](https://github.com/colszowka/simplecov/pull/540) (tahks @yui-knk) ## Bugfixes * Fix merging of resultsets if a file is missing on one side. See [#513](https://github.com/colszowka/simplecov/pull/513) (thanks @hanazuki) * Fix Ruby 2.4 deprecation warnings by using Integer instead of Fixnum. See [#523](https://github.com/colszowka/simplecov/pull/523) (thanks @nobu) * Force Ruby 2 to json 2. See [dc7417d50](https://github.com/colszowka/simplecov/commit/dc7417d5049b1809cea214314c15dd93a5dd964f) (thanks @amatsuda) * Various other gem dependency fixes for different gems on different ruby versions. (thanks @amatsuda)
Update ruby-simplecov to 0.11.1. 0.11.1 2015-12-01 ([changes](https://github.com/colszowka/simplecov/compare/v0.11.0...v0.11.1)) ================= ## Enhancements ## Bugfixes * Fixed regression in `MultiFormatter.[]` with multiple arguments. See [#431](https://github.com/colszowka/simplecov/pull/431) (thanks @dillondrobena)
Upadte ruby-simplecov to 0.11.0. 0.11.0 2015-11-29 ([changes](https://github.com/colszowka/simplecov/compare/v0.10.0...v0.10.11)) ================= ## Enhancements * Added `SimpleCov.minimum_coverage_by_file` for per-file coverage thresholds. See [#392](https://github.com/colszowka/simplecov/pull/392) (thanks @ptashman) * Added `track_files` configuration option to specify a glob to always include in coverage results, whether or not those files are required. See [#422](https://github.com/colszowka/simplecov/pull/422) (thanks @hugopeixoto) * Speed up `root_filter` by an order of magnitude. See [#396](https://github.com/colszowka/simplecov/pull/396) (thanks @raszi) ## Bugfixes * Fix warning about global variable `$ERROR_INFO`. See [#400](https://github.com/colszowka/simplecov/pull/400) (thanks @amatsuda) * Actually recurse upward looking for `.simplecov`, as claimed by the documentation, rather than only the working directory. See [#423](https://github.com/colszowka/simplecov/pull/423) (thanks @alexdowad)
Update ruby-simplecov to 0.10.0. 0.10.0 2015-04-18 (changes) Enhancements * Add writeup about using with Spring to README. See #341 (thanks @swrobel and @onebree) * Add support to pass in an Array when creating filter groups (original PR #104) * Filter /vendor/bundle by default. See #331 (thanks @andyw8) * Add some helpful singleton methods to the version string. * Allow array to be passed in a filter. See 375 (thanks @JanStevens) * Enforce consistent code formatting with RuboCop. Bugfixes * Fix order dependencies in unit tests. See #376 (thanks @hugopeixoto) * Only run the at_exit behaviors if the current PID matches the PID that called SimpleCov.start. See #377 (thanks @coderanger)
Update ruby-simplecov to 0.9.1.
0.9.1, 2014-09-21 ([changes](https://github.com/colszowka/simplecov/compare/v0.9.0...v0.9.1))
====================
## Bugfixes
* In 0.9.0, we introduced a regression that made SimpleCov no-op mode fail on Ruby 1.8, while
dropping 1.8 support altogether is announced only for v1.0. This has been fixed.
See [#333](https://github.com/colszowka/simplecov/issues/333) (thanks (@sferik)
0.9.0, 2014-07-17 ([changes](https://github.com/colszowka/simplecov/compare/v0.8.2...v0.9.0))
====================
**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!**
## Enhancements
* New interface to specify multiple formatters.
See [#317](https://github.com/colszowka/simplecov/pull/317) (thanks @sferik)
* Document in the README how to exclude code from coverage reports,
and that the feature shouldn't be abused for skipping untested
private code.
See [#304](https://github.com/colszowka/simplecov/issues/304)
* Clarify Ruby version support.
See [#279](https://github.com/colszowka/simplecov/pull/279) (thanks @deivid-rodriguez)
## Bugfixes
* Ensure calculations return Floats, not Fixnum or Rational. Fixes segfaults with mathn.
See [#245](https://github.com/colszowka/simplecov/pull/245) (thanks to @bf4)
* Using `Kernel.exit` instead of exit to avoid uncaught throw :IRB_EXIT when
exiting irb sessions.
See [#287](https://github.com/colszowka/simplecov/pull/287) (thanks @wless1)
See [#285](https://github.com/colszowka/simplecov/issues/285)
* Does not look for .simplecov in ~/ when $HOME is not set.
See [#311](https://github.com/colszowka/simplecov/pull/311) (thanks @lasseebert)
* Exit with code only if it's Numeric > 0.
See [#302](https://github.com/colszowka/simplecov/pull/303)(thanks @hajder)
* Make default filter case insensitive.
See [#280](https://github.com/colszowka/simplecov/pull/280) (thanks @ryanatball)
* Improve regexp that matches functional tests.
See [#276](https://github.com/colszowka/simplecov/pull/276) (thanks @sferik)
* Fix TravisCI [#272](https://github.com/colszowka/simplecov/pull/272) [#278](https://github.com/colszowka/simplecov/pull/278), [#302](https://github.com/colszowka/simplecov/pull/302)
* Fix global config load.
See [#311](https://github.com/colszowka/simplecov/pull/311) (thanks @lasseebert)
Update ruby-simplecov to 0.8.2.
v0.8.2, 2013-11-20 ([changes](https://github.com/colszowka/simplecov/compare/v0.8.1...v0.8.2))
=====================
## Bugfixes
* Replaced the locking behaviour [via lockfile gem](https://github.com/colszowka/simplecov/pull/185) with
plain Ruby explicit file locking when merging results. This should make simplecov merging to behave well
on Windows again.
See [#258](https://github.com/colszowka/simplecov/issues/258) and
[#223](https://github.com/colszowka/simplecov/pull/223) (thanks to @tomykaira)
v0.8.1, 2013-11-10 ([changes](https://github.com/colszowka/simplecov/compare/v0.8.0...v0.8.1))
=====================
## Bugfixes
* Fixed a regression introduced in 0.8.0 - the Forwardable STDLIB module is now required explicitly.
See [#256](https://github.com/colszowka/simplecov/pull/256) (thanks to @kylev)
v0.8.0, 2013-11-10 ([changes](https://github.com/colszowka/simplecov/compare/v0.7.1...v0.8.0))
=====================
**Note: Yanked the same day because of the regression that 0.8.1 fixes, see above**
## TL;DR
It's been way too long since the last official release 0.7.1, but this was partly due to it proving itself
quite stable in most circumstances. This release brings various further stability improvements to result set merging
(especially when working with parallel_tests), the configuration, source file encodings, and command name guessing.
The 0.8 line is the last one to cooperate with Ruby < 1.9. Starting with 0.9, SimpleCov will assume to be running in
Ruby 1.9+, and will not try to detect or bail silently on older Ruby versions. An appropriate deprecation warning
has been added.
## Features
* Configuration blocks now have access to variables and methods outside of the block's scope.
See [#238](https://github.com/colszowka/simplecov/pull/238) (thanks to @ms-tg)
* You can now have a global `~/.simplecov` configuration file.
See [#195](https://github.com/colszowka/simplecov/pull/195) (thanks to @spagalloco)
* simplecov-html now uses the MIT-licensed colorbox plugin. Some adjustments when viewing source files,
including retaining the currently open file on refresh have been added.
See [simplecov-html #15](https://github.com/colszowka/simplecov-html/pull/15) (thanks to @chetan)
* Adds support for Rails 4 command guessing, removes default group `vendor/plugins`.
See [#181](https://github.com/colszowka/simplecov/pull/181) and
[#203](https://github.com/colszowka/simplecov/pull/203) (thanks to @semanticart and @phallstrom)
* You can now load simplecov without the default settings by doing `require 'simplecov/no_defaults'`
or setting `ENV['SIMPLECOV_NO_DEFAULTS']`. Check `simplecov/defaults` to see what preconfigurations are getting
dropped by using this. See [#209](https://github.com/colszowka/simplecov/pull/209) (thanks to @ileitch)
* The result set merging now uses the `lockfile` gem to avoid race conditions.
See [#185](https://github.com/colszowka/simplecov/pull/185) (thanks to @jshraibman-mdsol).
* Automatically detect the usage of parallel_tests and adjust the command name with the test env number accordingly,
See [#64](https://github.com/colszowka/simplecov/issues/64) and
[#185](https://github.com/colszowka/simplecov/pull/185) (thanks to @jshraibman-mdsol).
## Enhancements
* Rename adapters to "profiles" given that they are bundles of settings. The old adapter methods are
deprecated, but remain available for now.
See [#207](https://github.com/colszowka/simplecov/pull/207) (thanks to @mikerobe)
* Tweaks to the automatic test suite naming. In particular, `rspec/features` should now
be correctly attributed to RSpec, not Cucumber.
See [#212](https://github.com/colszowka/simplecov/pull/212) (thanks to @ersatzryan and @betelgeuse)
* MiniTest should now be identified correctly by the command name guesser.
See [#244](https://github.com/colszowka/simplecov/pull/244) (thanks to @envygeeks)
* Makes SimpleCov resilient to inclusion of mathn library.
See [#175](https://github.com/colszowka/simplecov/pull/175) and
[#140](https://github.com/colszowka/simplecov/issues/140) (thanks to @scotje)
* Allow coverage_dir to be an absolute path.
* See [#190](https://github.com/colszowka/simplecov/pull/190) (thanks to @jshraibman-mdsol)
* The internal cucumber test suite now uses Capybara 2.
See [#206](https://github.com/colszowka/simplecov/pull/206) (thanks to @infertux)
* Work-arounds for the Coverage library shipped in JRuby 1.6 to behave in line with MRI.
See [#174](https://github.com/colszowka/simplecov/pull/174) (thanks to @grddev)
* Fix warning: instance variable @exit_status not initialized.
See [#242](https://github.com/colszowka/simplecov/pull/242) and
[#213](https://github.com/colszowka/simplecov/pull/213) (thanks to @sferik and @infertux)
## Bugfixes
* Correct result calculations for people using :nocov: tags.
See [#215](https://github.com/colszowka/simplecov/pull/215) (thanks to @aokolish)
* Average hits per line for groups of files is now computed correctly.
See [#192](http://github.com/colszowka/simplecov/pull/192) and
[#179](http://github.com/colszowka/simplecov/issues/179) (thanks to @graysonwright)
* Compatability with BINARY internal encoding.
See [#194](https://github.com/colszowka/simplecov/pull/194) and
[#127](https://github.com/colszowka/simplecov/issues/127) (thanks to @justfalter)
* Special characters in `SimpleCov.root` are now correctly escaped before being used as a RegExp.
See [#204](https://github.com/colszowka/simplecov/issues/204) and
[#237](https://github.com/colszowka/simplecov/pull/237) (thanks to @rli9)
Update ruby-simplecov.
Make this package to Ruby 1.9.3 only.
v0.7.1, 2012-10-12 ([changes](https://github.com/colszowka/simplecov/compare/v0.7.0...v0.7.1))
-------------------
* [BUGFIX] The gem packages of 0.7.0 (both simplecov and simplecov-html) pushed to Rubygems had some file
permission issues, leading to problems when installing SimpleCov in a root/system Rubygems install and then
trying to use it as a normal user (see https://github.com/colszowka/simplecov/issues/171, thanks @envygeeks
for bringing it up). The gem build process has been changed to always enforce proper permissions before packaging
to avoid this issue in the future.
v0.7.0, 2012-10-10 ([changes](https://github.com/colszowka/simplecov/compare/v0.6.4...v0.7.0))
-------------------
* [FEATURE] The new `maximum_coverage_drop` and `minimum_coverage` now allow you to fail your build when the
coverage dropped by more than what you allowed or is below a minimum value required. Also, `refuse_coverage_drop` disallows
any coverage drops between test runs.
See https://github.com/colszowka/simplecov/pull/151, https://github.com/colszowka/simplecov/issues/11,
https://github.com/colszowka/simplecov/issues/90, and https://github.com/colszowka/simplecov/issues/96 (thanks to @infertux)
* [FEATURE] SimpleCov now ships with a built-in MultiFormatter which allows the easy usage of multiple result formatters at
the same time without the need to write custom wrapper code.
See https://github.com/colszowka/simplecov/pull/158 (thanks to @nikitug)
* [BUGFIX] The usage of digits, hyphens and underscores in group names could lead to broken tab navigation
in the default simplecov-html reports. See https://github.com/colszowka/simplecov-html/pull/14 (thanks to @ebelgarts)
* [REFACTORING] A few more ruby warnings removed. See https://github.com/colszowka/simplecov/issues/106 and
https://github.com/colszowka/simplecov/pull/139. (thanks to @lukejahnke)
* A [Pledgie button](https://github.com/colszowka/simplecov/commit/63cfa99f8658fa5cc66a38c83b3195fdf71b9e93) for those that
feel generous :)
* The usual bunch of README fixes and documentation tweaks. Thanks to everyone who contributed those!
Update ruby-simplecov to 0.6.4.
v0.6.4, 2012-05-10 ([changes](https://github.com/colszowka/simplecov/compare/v0.6.3...v0.6.4))
-------------------
* [BUGFIX]Â Encoding issues with ISO-8859-encoded source files fixed.
See https://github.com/colszowka/simplecov/pull/117. (thanks to @Deradon)
* [BUGFIX] Ensure ZeroDivisionErrors won't occur when calculating the coverage result, which previously
could happen in certain cases. See https://github.com/colszowka/simplecov/pull/128. (thanks to @japgolly)
* [REFACTORING] Changed a couple instance variable lookups so SimpleCov does not cause a lot of warnings when
running ruby at a higher warning level. See https://github.com/colszowka/simplecov/issues/106 and
https://github.com/colszowka/simplecov/pull/119. (thanks to @mvz and @gioele)
v0.6.3, 2012-05-10 ([changes](https://github.com/colszowka/simplecov/compare/v0.6.2...v0.6.3))
-------------------
* [BUGFIX] Modified the API-changes for newer multi_json versions introduced with #122 and v0.6.2 so
they are backwards-compatible with older multi_json gems in order to avoid simplecov polluting
the multi_json minimum version requirement for entire applications.
See https://github.com/colszowka/simplecov/issues/132
* Added appraisal gem to the test setup in order to run the test suite against both 1.0 and 1.3
multi_json gems and ensure the above actually works :)
Importing ruby-simplecov package version 0.6.1. This is replacement for ruby-rcov for ruby19 and ruby193. Code coverage for Ruby 1.9 with a powerful configuration library and automatic merging of coverage across test suites.
Initial revision