1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
Description: Drop zstd-ruby, it's not in the archive
Author: Simon Quigley <tsimonq2@debian.org>
Origin: vendor
Forwarded: not-needed
Last-Update: 2026-03-02
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Gemfile
+++ b/Gemfile
@@ -8,5 +8,4 @@ gem "rdoc", "~> 6.3"
gem "rubocop", "~> 1.12"
unless RUBY_PLATFORM == 'java'
gem 'brotli', '>= 0.5'
- gem 'zstd-ruby', '~> 1.5'
end
--- a/test/test_mechanize_http_agent.rb
+++ b/test/test_mechanize_http_agent.rb
@@ -4,7 +4,6 @@
require 'mechanize/test_case'
unless RUBY_PLATFORM == 'java'
require 'brotli'
- require 'zstd-ruby'
end
class TestMechanizeHttpAgent < Mechanize::TestCase
@@ -983,6 +982,7 @@ class TestMechanizeHttpAgent < Mechanize
end
def test_response_content_encoding_zstd
+ skip("No zstd support in Debian")
skip('jruby does not have zstd support') if RUBY_ENGINE == 'jruby'
@res.instance_variable_set :@header, 'content-encoding' => %w[zstd]
@@ -995,6 +995,7 @@ class TestMechanizeHttpAgent < Mechanize
end
def test_response_content_encoding_zstd_corrupt
+ skip("No zstd support in Debian")
skip('jruby does not have zstd support') if RUBY_ENGINE == 'jruby'
@res.instance_variable_set :@header, 'content-encoding' => %w[zstd]
|