Package: ruby-jsonpath Version: 1.1.5-1 Severity: normal Tags: patch ftbfs User: [email protected] Usertags: origin-ubuntu oracular ubuntu-patch
Dear Maintainer, In Ubuntu, the attached patch was applied to achieve the following: * d/p/minitest.patch: Fix the patch so that it works with minitest 5.25+ Thanks for considering the patch. -- System Information: Debian Release: trixie/sid APT prefers noble-updates APT policy: (500, 'noble-updates'), (500, 'noble-security'), (500, 'noble'), (100, 'noble-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.8.0-41-generic (SMP w/10 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
diff -Nru ruby-jsonpath-1.1.5/debian/patches/minitest.patch ruby-jsonpath-1.1.5/debian/patches/minitest.patch --- ruby-jsonpath-1.1.5/debian/patches/minitest.patch 2024-08-28 16:02:37.000000000 -0600 +++ ruby-jsonpath-1.1.5/debian/patches/minitest.patch 2024-09-02 08:24:25.000000000 -0600 @@ -2,36 +2,42 @@ Author: Cédric Boutillier <[email protected]> Last-Update: 2024-08-29 Forwarded: https://github.com/joshbuddy/jsonpath/pull/168 ---- a/test/test_jsonpath.rb -+++ b/test/test_jsonpath.rb -@@ -4,7 +4,7 @@ +Index: ruby-jsonpath/test/test_jsonpath.rb +=================================================================== +--- ruby-jsonpath.orig/test/test_jsonpath.rb ++++ ruby-jsonpath/test/test_jsonpath.rb +@@ -4,7 +4,7 @@ require 'minitest/autorun' require 'jsonpath' require 'json' -class TestJsonpath < MiniTest::Unit::TestCase -+class TestJsonpath < Minitest::Unit::TestCase ++class TestJsonpath < Minitest::Test def setup @object = example_object @object2 = example_object ---- a/test/test_jsonpath_bin.rb -+++ b/test/test_jsonpath_bin.rb +Index: ruby-jsonpath/test/test_jsonpath_bin.rb +=================================================================== +--- ruby-jsonpath.orig/test/test_jsonpath_bin.rb ++++ ruby-jsonpath/test/test_jsonpath_bin.rb @@ -3,7 +3,7 @@ require 'minitest/autorun' require 'jsonpath' -class TestJsonpathBin < MiniTest::Unit::TestCase -+class TestJsonpathBin < Minitest::Unit::TestCase ++class TestJsonpathBin < Minitest::Test def setup @runner = 'ruby -Ilib bin/jsonpath' @original_dir = Dir.pwd ---- a/test/test_readme.rb -+++ b/test/test_readme.rb -@@ -4,7 +4,7 @@ +Index: ruby-jsonpath/test/test_readme.rb +=================================================================== +--- ruby-jsonpath.orig/test/test_readme.rb ++++ ruby-jsonpath/test/test_readme.rb +@@ -4,7 +4,7 @@ require 'minitest/autorun' require 'jsonpath' require 'json' -class TestJsonpathReadme < MiniTest::Unit::TestCase -+class TestJsonpathReadme < Minitest::Unit::TestCase ++class TestJsonpathReadme < Minitest::Test def setup @json = <<-HERE_DOC

