pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ruby-shoulda-context



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Jun 14 13:28:37 UTC 2020

Modified Files:
        pkgsrc/devel/ruby-shoulda-context: Makefile PLIST distinfo

Log Message:
devel/ruby-shoulda-context: update to 2.0.0

Update ruby-shoulda-context to 2.0.0.

## 2.0.0 (2020-06-13)

### Backward-incompatible changes

* Drop support for RSpec 2 matchers. Matchers passed to `should` must conform
  to RSpec 3's API (`failure_message` and `failure_message_when_negated`).
* Drop support for older versions of Rails. Rails 4.x-6.x are the
  only versions supported now.
* Drop support for older versions of Ruby. Ruby 2.4.x-2.7.x are the only
  versions supported now.

### Bug fixes

* Fix how test names are generated so that when including the name of the
  outermost test class, "Test" is not removed from the class name if it does not
  fall at the end.
* Remove warning from Ruby about `context` not being used when using the gem
  with warnings enabled.
* Fix macro autoloading code. Files intended to hold custom macros which are
  located in either `test/shoulda_macros`, `vendor/gems/*/shoulda_macros`, or
  `vendor/plugins/*/shoulda_macros` are now loaded and mixed into your test
  framework's automatically.
* Restore compatibility with Shoulda Matchers, starting from 3.0.
* Fix some compatibility issues with Minitest 5.
* Fix running tests within a Rails < 5.2 environment so that when tests fail, an
  error is not produced claiming that Minitest::Result cannot find a test
  method.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/ruby-shoulda-context/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/ruby-shoulda-context/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/ruby-shoulda-context/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ruby-shoulda-context/Makefile
diff -u pkgsrc/devel/ruby-shoulda-context/Makefile:1.5 pkgsrc/devel/ruby-shoulda-context/Makefile:1.6
--- pkgsrc/devel/ruby-shoulda-context/Makefile:1.5      Sat Sep 16 19:26:50 2017
+++ pkgsrc/devel/ruby-shoulda-context/Makefile  Sun Jun 14 13:28:37 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2017/09/16 19:26:50 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2020/06/14 13:28:37 taca Exp $
 
-DISTNAME=      shoulda-context-1.2.2
+DISTNAME=      shoulda-context-2.0.0
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel ruby
 
@@ -11,5 +11,7 @@ LICENSE=      mit
 
 USE_LANGUAGES= # none
 
+RUBYGEM_OPTIONS+=      --format-executable
+
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/ruby-shoulda-context/PLIST
diff -u pkgsrc/devel/ruby-shoulda-context/PLIST:1.2 pkgsrc/devel/ruby-shoulda-context/PLIST:1.3
--- pkgsrc/devel/ruby-shoulda-context/PLIST:1.2 Wed Jul 16 07:56:28 2014
+++ pkgsrc/devel/ruby-shoulda-context/PLIST     Sun Jun 14 13:28:37 2020
@@ -1,44 +1,52 @@
-@comment $NetBSD: PLIST,v 1.2 2014/07/16 07:56:28 rodent Exp $
-bin/convert_to_should_syntax
+@comment $NetBSD: PLIST,v 1.3 2020/06/14 13:28:37 taca Exp $
+bin/convert_to_should_syntax${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.gitignore
+${GEM_LIBDIR}/.hound.yml
+${GEM_LIBDIR}/.rubocop.yml
+${GEM_LIBDIR}/.ruby-version
+${GEM_LIBDIR}/.travis.yml
 ${GEM_LIBDIR}/Appraisals
-${GEM_LIBDIR}/bin/convert_to_should_syntax
+${GEM_LIBDIR}/CHANGELOG.md
 ${GEM_LIBDIR}/CONTRIBUTING.md
 ${GEM_LIBDIR}/Gemfile
-${GEM_LIBDIR}/gemfiles/minitest_4_x.gemfile
-${GEM_LIBDIR}/gemfiles/minitest_4_x.gemfile.lock
-${GEM_LIBDIR}/gemfiles/minitest_5_x.gemfile
-${GEM_LIBDIR}/gemfiles/minitest_5_x.gemfile.lock
-${GEM_LIBDIR}/gemfiles/rails_3_0.gemfile
-${GEM_LIBDIR}/gemfiles/rails_3_0.gemfile.lock
-${GEM_LIBDIR}/gemfiles/rails_3_1.gemfile
-${GEM_LIBDIR}/gemfiles/rails_3_1.gemfile.lock
-${GEM_LIBDIR}/gemfiles/rails_3_2.gemfile
-${GEM_LIBDIR}/gemfiles/rails_3_2.gemfile.lock
-${GEM_LIBDIR}/gemfiles/rails_4_0.gemfile
-${GEM_LIBDIR}/gemfiles/rails_4_0.gemfile.lock
-${GEM_LIBDIR}/gemfiles/rails_4_1.gemfile
-${GEM_LIBDIR}/gemfiles/rails_4_1.gemfile.lock
-${GEM_LIBDIR}/gemfiles/test_unit.gemfile
-${GEM_LIBDIR}/gemfiles/test_unit.gemfile.lock
-${GEM_LIBDIR}/.gitignore
-${GEM_LIBDIR}/init.rb
+${GEM_LIBDIR}/Gemfile.lock
+${GEM_LIBDIR}/MIT-LICENSE
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/bin/install_gems_in_all_appraisals
+${GEM_LIBDIR}/bin/run_all_tests
+${GEM_LIBDIR}/bin/setup
+${GEM_LIBDIR}/bin/supported_ruby_versions
+${GEM_LIBDIR}/bin/update_gem_in_all_appraisals
+${GEM_LIBDIR}/bin/update_gems_in_all_appraisals
+${GEM_LIBDIR}/exe/convert_to_should_syntax
+${GEM_LIBDIR}/gemfiles/rails_4_2.gemfile
+${GEM_LIBDIR}/gemfiles/rails_4_2.gemfile.lock
+${GEM_LIBDIR}/gemfiles/rails_5_0.gemfile
+${GEM_LIBDIR}/gemfiles/rails_5_0.gemfile.lock
+${GEM_LIBDIR}/gemfiles/rails_5_1.gemfile
+${GEM_LIBDIR}/gemfiles/rails_5_1.gemfile.lock
+${GEM_LIBDIR}/gemfiles/rails_5_2.gemfile
+${GEM_LIBDIR}/gemfiles/rails_5_2.gemfile.lock
+${GEM_LIBDIR}/gemfiles/rails_6_0.gemfile
+${GEM_LIBDIR}/gemfiles/rails_6_0.gemfile.lock
+${GEM_LIBDIR}/lib/shoulda-context.rb
+${GEM_LIBDIR}/lib/shoulda/context.rb
 ${GEM_LIBDIR}/lib/shoulda/context/assertions.rb
 ${GEM_LIBDIR}/lib/shoulda/context/autoload_macros.rb
+${GEM_LIBDIR}/lib/shoulda/context/configuration.rb
 ${GEM_LIBDIR}/lib/shoulda/context/context.rb
+${GEM_LIBDIR}/lib/shoulda/context/dsl.rb
 ${GEM_LIBDIR}/lib/shoulda/context/proc_extensions.rb
-${GEM_LIBDIR}/lib/shoulda-context.rb
-${GEM_LIBDIR}/lib/shoulda/context.rb
-${GEM_LIBDIR}/lib/shoulda/context/tasks/list_tests.rake
+${GEM_LIBDIR}/lib/shoulda/context/rails_test_unit_reporter_patch.rb
+${GEM_LIBDIR}/lib/shoulda/context/railtie.rb
 ${GEM_LIBDIR}/lib/shoulda/context/tasks.rb
+${GEM_LIBDIR}/lib/shoulda/context/tasks/list_tests.rake
 ${GEM_LIBDIR}/lib/shoulda/context/tasks/yaml_to_shoulda.rake
 ${GEM_LIBDIR}/lib/shoulda/context/test_framework_detection.rb
 ${GEM_LIBDIR}/lib/shoulda/context/version.rb
-${GEM_LIBDIR}/MIT-LICENSE
-${GEM_LIBDIR}/rails/init.rb
-${GEM_LIBDIR}/Rakefile
-${GEM_LIBDIR}/README.md
-${GEM_LIBDIR}/.ruby-version
+${GEM_LIBDIR}/lib/shoulda/context/world.rb
 ${GEM_LIBDIR}/shoulda-context.gemspec
 ${GEM_LIBDIR}/tasks/shoulda.rake
 ${GEM_LIBDIR}/test/fake_rails_root/test/shoulda_macros/custom_macro.rb
@@ -49,9 +57,12 @@ ${GEM_LIBDIR}/test/shoulda/autoload_macr
 ${GEM_LIBDIR}/test/shoulda/context_test.rb
 ${GEM_LIBDIR}/test/shoulda/convert_to_should_syntax_test.rb
 ${GEM_LIBDIR}/test/shoulda/helpers_test.rb
+${GEM_LIBDIR}/test/shoulda/railtie_test.rb
+${GEM_LIBDIR}/test/shoulda/rerun_snippet_test.rb
 ${GEM_LIBDIR}/test/shoulda/should_test.rb
 ${GEM_LIBDIR}/test/shoulda/test_framework_detection_test.rb
+${GEM_LIBDIR}/test/support/current_bundle.rb
+${GEM_LIBDIR}/test/support/rails_application_with_shoulda_context.rb
+${GEM_LIBDIR}/test/support/snowglobe.rb
 ${GEM_LIBDIR}/test/test_helper.rb
-${GEM_LIBDIR}/.travis.yml
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
-@pkgdir lib/ruby/gems/2.0.0/build_info

Index: pkgsrc/devel/ruby-shoulda-context/distinfo
diff -u pkgsrc/devel/ruby-shoulda-context/distinfo:1.3 pkgsrc/devel/ruby-shoulda-context/distinfo:1.4
--- pkgsrc/devel/ruby-shoulda-context/distinfo:1.3      Mon Jun 12 15:44:27 2017
+++ pkgsrc/devel/ruby-shoulda-context/distinfo  Sun Jun 14 13:28:37 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2017/06/12 15:44:27 taca Exp $
+$NetBSD: distinfo,v 1.4 2020/06/14 13:28:37 taca Exp $
 
-SHA1 (shoulda-context-1.2.2.gem) = 9cc0e7515688dff206646589f0d929f1449bb681
-RMD160 (shoulda-context-1.2.2.gem) = 4b8885693b14b53f6d710daa9d7db60705404aec
-SHA512 (shoulda-context-1.2.2.gem) = b09f5ce2db59bbb26d5678b17b6641b79df7983d25e81a31bc10c42b702bdba09795b692d711d59c103beb2f691b503567e37c46668f77e600416551ef2c5e05
-Size (shoulda-context-1.2.2.gem) = 24064 bytes
+SHA1 (shoulda-context-2.0.0.gem) = 3afc80fd594265239029c26c6ee36ab98327d3a0
+RMD160 (shoulda-context-2.0.0.gem) = 7c0ce02119f460d4ff7c05c0cffe003136ecc303
+SHA512 (shoulda-context-2.0.0.gem) = c8d856a95b3dfe85fd92c79f18e03a2765ad219b83ab132017fefcffd0262b04bcebf267e6bbaec0ed3dff1d4d345bd74c1f9db1d2a22938ee8d85ee1078ac6e
+Size (shoulda-context-2.0.0.gem) = 34304 bytes



Home | Main Index | Thread Index | Old Index