pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ruby-mocha



Module Name:    pkgsrc
Committed By:   taca
Date:           Mon Dec  9 13:53:10 UTC 2024

Modified Files:
        pkgsrc/devel/ruby-mocha: Makefile distinfo

Log Message:
devel/ruby-mocha: update to 2.7.0

2.6.0 (2024-11-24)

External changes

* Expectation with never cardinality should display deprecation warning
  (#681) - thanks to @ducmtran for reporting and testing

WARNING: This release results in some incorrect deprecation warnings:

* The logic for displaying the deprecation warnings is fixed in v2.6.1
  (#686).

Internal changes

* Simplify backtrace related assertions (#680)
* Remove unused ExpectationList#match_but_out_of_order (f2fa9919)

2.6.1 (2024-11-28)

External changes

* Fix logic for displaying deprecation warning for expectation with never
  cardinality (#686) - thanks to @davidstosik for reporting

2.7.0 (2024-12-07)

External changes

* Fail fast if invocation matches never expectation (#679, #678, #490, #131
  & #44) - thanks to @ducmtran & @davidstosik for reporting

Internal changes

* Workaround for JRuby jar-dependencies issue (#690)
* Ruby v3.4 stacktrace uses single-quote vs backtick (#688 & #689) - thanks
  to Vít Ondruch

WARNING: This release fixes a very old bug

* The bug relates to the use of Expectation#never in combination with other
  expectations on the same method.

* Please ensure you fix the relevant deprecation warnings when running
  against v2.6.1 before upgrading to v2.7.0.

* Previously, the following test would have passed, but now it will fail
  with an unexpected invocation error on the foo.bar line.

        foo = mock('foo') foo.stubs(:bar) foo.expects(:bar).never foo.bar

2.7.1 (2024-12-09)

External changes

* Deprecate Configuration#stubbing_method_on_nil= (#694)
* Indicate when parameter matcher logic is defined by block passed to
  Expectation#with (#698, b30e4434)
* Improve documentation for Expectation#with, especially when it is passed a
  block (#698, #682, #606 & #681)


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/devel/ruby-mocha/Makefile
cvs rdiff -u -r1.43 -r1.44 pkgsrc/devel/ruby-mocha/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-mocha/Makefile
diff -u pkgsrc/devel/ruby-mocha/Makefile:1.41 pkgsrc/devel/ruby-mocha/Makefile:1.42
--- pkgsrc/devel/ruby-mocha/Makefile:1.41       Sun Oct 27 13:37:32 2024
+++ pkgsrc/devel/ruby-mocha/Makefile    Mon Dec  9 13:53:10 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.41 2024/10/27 13:37:32 taca Exp $
+# $NetBSD: Makefile,v 1.42 2024/12/09 13:53:10 taca Exp $
 
-DISTNAME=      mocha-2.5.0
+DISTNAME=      mocha-2.7.1
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost

Index: pkgsrc/devel/ruby-mocha/distinfo
diff -u pkgsrc/devel/ruby-mocha/distinfo:1.43 pkgsrc/devel/ruby-mocha/distinfo:1.44
--- pkgsrc/devel/ruby-mocha/distinfo:1.43       Sun Oct 27 13:37:32 2024
+++ pkgsrc/devel/ruby-mocha/distinfo    Mon Dec  9 13:53:10 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.43 2024/10/27 13:37:32 taca Exp $
+$NetBSD: distinfo,v 1.44 2024/12/09 13:53:10 taca Exp $
 
-BLAKE2s (mocha-2.5.0.gem) = c43276ab7b65919f183b1d28e49114d7e6ec06c75b778f37c8d87bde975993d6
-SHA512 (mocha-2.5.0.gem) = 9f9ffa048fca3c3870fdf946c45f891c41043fd17e3f2250b56cb58fe08693b75489aac0f3170756df8a0473aa51a0fdcbab48bb19194933cb7b0a3a05786184
-Size (mocha-2.5.0.gem) = 68096 bytes
+BLAKE2s (mocha-2.7.1.gem) = 4fadb4aca1ad789cd25bd2f9082a94883e51cfa53293da907d8aa5cedcf89731
+SHA512 (mocha-2.7.1.gem) = d60af903e47e9f402a1fff7b39baeda4bae0f6240d0ebfa5d0e28875e5c4dabd0f47ef8753502bab7ef4f8e3dfbabf3cb650b91521ceeefebc4b8f1427d01fa3
+Size (mocha-2.7.1.gem) = 69632 bytes



Home | Main Index | Thread Index | Old Index