Your message dated Sun, 27 Aug 2023 15:04:38 +0000
with message-id <[email protected]>
and subject line Bug#1028003: fixed in ruby-mocha 2.1.0-1
has caused the Debian Bug report #1028003,
regarding ruby-mocha: new upstream version: 2.0.2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1028003: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028003
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ruby-mocha
Version: 1.7.0-1
Severity: wishlist

I open this bug to track that there's a new upstream version of
ruby-mocha available (2.0.2).
This is a new branch with some breaking changes compared to mocha 1.x.
For example, the removal of 'mocha/setup' breaks many packages.

Examples of broken packages:
feed2imap
ruby-actionpack-action-caching
ruby-airbrussh
ruby-beneater
ruby-bootsnap
ruby-bourne
etc.


Here is a diff of the required packaging changes when trying mocha
2.0.2.

diff --git a/debian/changelog b/debian/changelog
index ad1ee6c..38aed88 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ruby-mocha (2.0.2-1) UNRELEASED; urgency=medium
+
+  * New upstream version 2.0.2
+  * Refresh patches
+  * load test/unit before starting tests
+
+ -- Lucas Nussbaum <[email protected]>  Thu, 05 Jan 2023 21:08:04 +0100
+
 ruby-mocha (1.16.1-1) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/patches/deactivate_failing_tests.patch 
b/debian/patches/deactivate_failing_tests.patch
index fccd080..67fa9fd 100644
--- a/debian/patches/deactivate_failing_tests.patch
+++ b/debian/patches/deactivate_failing_tests.patch
@@ -6,20 +6,9 @@ Author: Cédric Boutillier <[email protected]>
 Forwarded: not-needed
 Last-Update: 2018-08-19
 
---- a/test/acceptance/stubba_test_result_test.rb
-+++ b/test/acceptance/stubba_test_result_test.rb
-@@ -59,7 +59,7 @@ class StubbaTestResultTest < Mocha::Test
-   end
- 
-   # rubocop:disable Style/Semicolon
--  def 
test_should_display_backtrace_indicating_line_number_where_failing_assertion_was_called
-+  def 
est_should_display_backtrace_indicating_line_number_where_failing_assertion_was_called
-     execution_point = nil
-     test_result = run_as_test do
-       execution_point = ExecutionPoint.current; flunk
 --- a/test/acceptance/mocha_test_result_test.rb
 +++ b/test/acceptance/mocha_test_result_test.rb
-@@ -71,7 +71,7 @@ class MochaTestResultTest < Mocha::TestC
+@@ -70,7 +70,7 @@ class MochaTestResultTest < Mocha::TestC
      assert_equal execution_point, 
ExecutionPoint.new(test_result.failures[0].location)
    end
  
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 63f3fd6..28b5d18 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -2,5 +2,6 @@ require 'gem2deb/rake/testtask'
 
 Gem2Deb::Rake::TestTask.new do |t|
   t.libs = ['test']
+  t.ruby_opts = ["-rtest/unit"]
   t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb']
 end

--- End Message ---
--- Begin Message ---
Source: ruby-mocha
Source-Version: 2.1.0-1
Done: Lucas Nussbaum <[email protected]>

We believe that the bug you reported is fixed in the latest version of
ruby-mocha, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Lucas Nussbaum <[email protected]> (supplier of updated ruby-mocha package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 27 Aug 2023 16:18:06 +0200
Source: ruby-mocha
Architecture: source
Version: 2.1.0-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Ruby Team 
<[email protected]>
Changed-By: Lucas Nussbaum <[email protected]>
Closes: 1028003 1046434
Changes:
 ruby-mocha (2.1.0-1) experimental; urgency=medium
 .
   * Team upload
   * New upstream version 2.1.0
   * Drop patch deactivate_failing_tests.patch
   * Refresh patches
   * Add patches:
     + 0004-Require-test-unit-before-tests-using-it.patch
     + 0005-disable-broken-Mockery-test.patch
   * Remove docs/ during clean. Closes: #1046434
   * Upload to experimental, as this breaks many packages. Closes: #1028003
Checksums-Sha1:
 ff84f9342e18299337850a0e09bdbd5f30f1d44b 2146 ruby-mocha_2.1.0-1.dsc
 6c98be675975593ba1628c129517fe2908478be3 243730 ruby-mocha_2.1.0.orig.tar.gz
 cf04216d04dbff317748af925cc85c0ef94cbb3a 8936 ruby-mocha_2.1.0-1.debian.tar.xz
 ec8e50d8193afad9f0144c351c0ccd9509c9159c 12095 
ruby-mocha_2.1.0-1_source.buildinfo
Checksums-Sha256:
 caf42536257a57fdec992577f4f0691bdb4f4e8f99da4682ee05e8153f17da87 2146 
ruby-mocha_2.1.0-1.dsc
 c654fcf8df41a60fe25ee374bc8cc052d40f44419a0a001bc054483c76075ac8 243730 
ruby-mocha_2.1.0.orig.tar.gz
 17511339e04ae9f3effdbc31a2ab5195aabe7b3e8a0b93d56085cac79ebab3e6 8936 
ruby-mocha_2.1.0-1.debian.tar.xz
 8d9cc9ae76b1a9c491bc6529fe1bf02e0a70e86dc196d060a0e3263a266f0d13 12095 
ruby-mocha_2.1.0-1_source.buildinfo
Files:
 f8cbbc60d5051703bf1d486a6db3e76b 2146 ruby optional ruby-mocha_2.1.0-1.dsc
 3f639eb05e6a22284b4a659263079c52 243730 ruby optional 
ruby-mocha_2.1.0.orig.tar.gz
 a55cbd5dd3d28d424394cf7907f36cdf 8936 ruby optional 
ruby-mocha_2.1.0-1.debian.tar.xz
 82893f777071658a4010008adb4870ae 12095 ruby optional 
ruby-mocha_2.1.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE/t7ByzN7z1CfQ8IkORS1MvTfvpkFAmTrXi0ACgkQORS1MvTf
vpkI/BAAqE++TYTm+BliNYtGtHAa0qYwWxgtnH1fIH4pVvEXI5zTgVGktFHio86p
3MzbETqOyZ9y+Q2Nu98L8Y+mDzzdIPHMBrMB4XNafWKzjMzd8pQ7N1UTyTC+E/v+
pP7okWoqr1h/LYnuKxPGntEU8ATLQfAyX4a/21MF6eQa6yTmoXZ0JlqstlkF/OXX
t+UjLw4Jz7q3tFaXRSknejnls6a3fwIbdAPAU2+3TtJtbnwm4NEkCELE3JSLJA6i
FiyHHynTfFWTuq4IILhUnn1uZDERQPqSiuJD7GeaGNf9va+PLWRnoAihh+yorH3B
KSLLAQNNQH4EK35SEC/3XB60vqMDEjI2XwCU2IjEZODlKdIDbJtFRpHLTa9lguB4
nWHf6MkccWowto6INETlAeDhOxEiQaZWajIb4+VwHr3OD6zXTimXM5bG/4+Ct0ss
QPKsvquUKYtqYoz7DMNqcHdZ5U/OEuK+BO+Qk0Q/VOnNu+ZwavF3vF9i1iQOlTU0
gKSNTKfDt1J6ZYMRN8i9ayMiKGUDDqlFwa0J16LWfTtvyUcyyWBETbqwlhtzPcz6
c4NvHMgEHIZwL0AJ6KXgaEBo7jYZUQJXR7qFPDHfLX93NotFpq/hWMha4ZU581SB
clps7l+2r6oWySlJ0qYx25HXF6mHaizh82NxT5FCjrueNLLFQ6k=
=SN8F
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to