Skip to content

Commit 6214199

Browse files
author
taca
committed
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)
1 parent d6e4fa5 commit 6214199

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

devel/ruby-mocha/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# $NetBSD: Makefile,v 1.41 2024/10/27 13:37:32 taca Exp $
1+
# $NetBSD: Makefile,v 1.42 2024/12/09 13:53:10 taca Exp $
22

3-
DISTNAME= mocha-2.5.0
3+
DISTNAME= mocha-2.7.1
44
CATEGORIES= devel
55

66
MAINTAINER= [email protected]

devel/ruby-mocha/distinfo

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.43 2024/10/27 13:37:32 taca Exp $
1+
$NetBSD: distinfo,v 1.44 2024/12/09 13:53:10 taca Exp $
22

3-
BLAKE2s (mocha-2.5.0.gem) = c43276ab7b65919f183b1d28e49114d7e6ec06c75b778f37c8d87bde975993d6
4-
SHA512 (mocha-2.5.0.gem) = 9f9ffa048fca3c3870fdf946c45f891c41043fd17e3f2250b56cb58fe08693b75489aac0f3170756df8a0473aa51a0fdcbab48bb19194933cb7b0a3a05786184
5-
Size (mocha-2.5.0.gem) = 68096 bytes
3+
BLAKE2s (mocha-2.7.1.gem) = 4fadb4aca1ad789cd25bd2f9082a94883e51cfa53293da907d8aa5cedcf89731
4+
SHA512 (mocha-2.7.1.gem) = d60af903e47e9f402a1fff7b39baeda4bae0f6240d0ebfa5d0e28875e5c4dabd0f47ef8753502bab7ef4f8e3dfbabf3cb650b91521ceeefebc4b8f1427d01fa3
5+
Size (mocha-2.7.1.gem) = 69632 bytes

0 commit comments

Comments
 (0)