diff options
| -rw-r--r-- | debian/changelog | 8 | ||||
| -rw-r--r-- | debian/patches/minitest.patch | 28 |
2 files changed, 25 insertions, 11 deletions
diff --git a/debian/changelog b/debian/changelog index 044dced..39b157a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +ruby-jsonpath (1.1.5-2) unstable; urgency=medium + + * Team upload. + * Modify minitest patch for fix FTBFS with Minitest 5.25+ (Closes: #1080345) + Thanks Zixing Liu for the report and the patch + + -- Cédric Boutillier <boutil@debian.org> Fri, 06 Sep 2024 11:27:57 +0200 + ruby-jsonpath (1.1.5-1) unstable; urgency=medium * Team upload diff --git a/debian/patches/minitest.patch b/debian/patches/minitest.patch index 0862a20..beae2fa 100644 --- a/debian/patches/minitest.patch +++ b/debian/patches/minitest.patch @@ -2,36 +2,42 @@ Description: Use Minitest namespace instead of deprecate MiniTest Author: Cédric Boutillier <boutil@debian.org> 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 |
