pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-simplecov Update ruby-simplecov to 0.8.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e383e96375b
branches:  trunk
changeset: 631931:9e383e96375b
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Mar 14 16:54:29 2014 +0000

description:
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)

diffstat:

 devel/ruby-simplecov/Makefile |   9 +++++----
 devel/ruby-simplecov/PLIST    |  14 ++++++++------
 devel/ruby-simplecov/distinfo |   8 ++++----
 3 files changed, 17 insertions(+), 14 deletions(-)

diffs (94 lines):

diff -r 765f4eed4104 -r 9e383e96375b devel/ruby-simplecov/Makefile
--- a/devel/ruby-simplecov/Makefile     Fri Mar 14 16:49:00 2014 +0000
+++ b/devel/ruby-simplecov/Makefile     Fri Mar 14 16:54:29 2014 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2013/07/21 02:42:41 taca Exp $
+# $NetBSD: Makefile,v 1.6 2014/03/14 16:54:29 taca Exp $
 
-DISTNAME=      simplecov-0.7.1
+DISTNAME=      simplecov-0.8.2
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -9,9 +9,10 @@
 LICENSE=       gnu-gpl-v2 OR ruby-license
 
 DEPENDS+=      ${RUBY_PKGPREFIX}-multi_json>=1.0<2:../../textproc/ruby-multi_json
-DEPENDS+=      ${RUBY_PKGPREFIX}-simplecov-html>=0.7.1<0.8:../../devel/ruby-simplecov-html
+DEPENDS+=      ${RUBY_PKGPREFIX}-simplecov-html>=0.8.0<0.9:../../devel/ruby-simplecov-html
+DEPENDS+=      ${RUBY_PKGPREFIX}-docile>=1.1.0<1.2:../../devel/ruby-docile
 
-RUBY_VERSION_SUPPORTED=        200 193
+RUBY_VERSION_SUPPORTED=        21 200 193
 
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 765f4eed4104 -r 9e383e96375b devel/ruby-simplecov/PLIST
--- a/devel/ruby-simplecov/PLIST        Fri Mar 14 16:49:00 2014 +0000
+++ b/devel/ruby-simplecov/PLIST        Fri Mar 14 16:54:29 2014 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2012/12/16 16:50:07 taca Exp $
+@comment $NetBSD: PLIST,v 1.4 2014/03/14 16:54:29 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.gitignore
 ${GEM_LIBDIR}/.travis.yml
@@ -7,11 +7,10 @@
 ${GEM_LIBDIR}/CHANGELOG.md
 ${GEM_LIBDIR}/CONTRIBUTING.md
 ${GEM_LIBDIR}/Gemfile
-${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/MIT-LICENSE
 ${GEM_LIBDIR}/README.md
 ${GEM_LIBDIR}/Rakefile
 ${GEM_LIBDIR}/cucumber.yml
-${GEM_LIBDIR}/features/config_adapters.feature
 ${GEM_LIBDIR}/features/config_autoload.feature
 ${GEM_LIBDIR}/features/config_command_name.feature
 ${GEM_LIBDIR}/features/config_coverage_dir.feature
@@ -19,6 +18,7 @@
 ${GEM_LIBDIR}/features/config_formatters.feature
 ${GEM_LIBDIR}/features/config_merge_timeout.feature
 ${GEM_LIBDIR}/features/config_nocov_token.feature
+${GEM_LIBDIR}/features/config_profiles.feature
 ${GEM_LIBDIR}/features/config_project_name.feature
 ${GEM_LIBDIR}/features/config_styles.feature
 ${GEM_LIBDIR}/features/cucumber_basic.feature
@@ -44,10 +44,9 @@
 ${GEM_LIBDIR}/features/test_unit_groups_using_filter_class.feature
 ${GEM_LIBDIR}/features/test_unit_without_simplecov.feature
 ${GEM_LIBDIR}/features/unicode_compatiblity.feature
-${GEM_LIBDIR}/gemfiles/multi_json-legacy.gemfile
-${GEM_LIBDIR}/gemfiles/multi_json-new.gemfile
+${GEM_LIBDIR}/gemfiles/multi_json_legacy.gemfile
+${GEM_LIBDIR}/gemfiles/multi_json_new.gemfile
 ${GEM_LIBDIR}/lib/simplecov.rb
-${GEM_LIBDIR}/lib/simplecov/adapters.rb
 ${GEM_LIBDIR}/lib/simplecov/command_guesser.rb
 ${GEM_LIBDIR}/lib/simplecov/configuration.rb
 ${GEM_LIBDIR}/lib/simplecov/defaults.rb
@@ -57,9 +56,12 @@
 ${GEM_LIBDIR}/lib/simplecov/formatter.rb
 ${GEM_LIBDIR}/lib/simplecov/formatter/multi_formatter.rb
 ${GEM_LIBDIR}/lib/simplecov/formatter/simple_formatter.rb
+${GEM_LIBDIR}/lib/simplecov/jruby_fix.rb
 ${GEM_LIBDIR}/lib/simplecov/json.rb
 ${GEM_LIBDIR}/lib/simplecov/last_run.rb
 ${GEM_LIBDIR}/lib/simplecov/merge_helpers.rb
+${GEM_LIBDIR}/lib/simplecov/no_defaults.rb
+${GEM_LIBDIR}/lib/simplecov/profiles.rb
 ${GEM_LIBDIR}/lib/simplecov/railtie.rb
 ${GEM_LIBDIR}/lib/simplecov/railties/tasks.rake
 ${GEM_LIBDIR}/lib/simplecov/result.rb
diff -r 765f4eed4104 -r 9e383e96375b devel/ruby-simplecov/distinfo
--- a/devel/ruby-simplecov/distinfo     Fri Mar 14 16:49:00 2014 +0000
+++ b/devel/ruby-simplecov/distinfo     Fri Mar 14 16:54:29 2014 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2012/12/16 16:50:07 taca Exp $
+$NetBSD: distinfo,v 1.5 2014/03/14 16:54:29 taca Exp $
 
-SHA1 (simplecov-0.7.1.gem) = aa80a122972b8ccca54e7135fe2e82d4037bdcea
-RMD160 (simplecov-0.7.1.gem) = 4272ddd8700d6d2067481de16f87eb7d5e59c885
-Size (simplecov-0.7.1.gem) = 44032 bytes
+SHA1 (simplecov-0.8.2.gem) = 825c1ad09f1ff7044a4f5397d092324297767236
+RMD160 (simplecov-0.8.2.gem) = b085ef070917cbc69938e8701b4ec80c66422d23
+Size (simplecov-0.8.2.gem) = 48128 bytes



Home | Main Index | Thread Index | Old Index