dev-ruby/prawn-svg: add 0.38.1, drop 0.35.1

Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui
2025-12-13 17:53:00 +08:00
parent a985cfac1d
commit 3b5e96d89e
3 changed files with 5 additions and 34 deletions

View File

@@ -1 +1 @@
DIST prawn-svg-0.35.1.gem 285696 BLAKE2B 7fb6b8051f43bdf7f887a535b98dff9b4fc45793ca4383aef0150c58816357b3f6568e2ad28d28454165c059ebb5a0b8eaf938ed3f50c35d167c50aad934d450 SHA512 d4511d702d252a785f17ccf1c4d5e0b15952f17266c0e14d56ed51ac79345032638d9adca0704e034341c09ece0845c6e779ee62988d611ed02108c3635fdaff
DIST prawn-svg-0.38.1.gem 301056 BLAKE2B becc49a759838ecc5bec725ec26b7a3212c487d3467b03dc8ecb90ccc5e249e7429f3d55f25f93d713cad2ce2f45da6c59533dbdc8ef6398b693ad76b2dbb127 SHA512 83b7e65fa0063845ed76c0bf9f136c36f8acd6b40033f4e0f3498d34de649187c79a2ba8944c7fe0404e6756060b37a39b3bd733fe5c2707344149523b9d6dbb

View File

@@ -1,24 +0,0 @@
Raised error have changed since rexml 3.3.3. Expect any errors to make the test work.
https://github.com/mogest/prawn-svg/pull/169
https://bugs.gentoo.org/937362
--- a/spec/prawn/svg/document_spec.rb
+++ b/spec/prawn/svg/document_spec.rb
@@ -28,7 +28,7 @@ describe Prawn::SVG::Document do
it 'raises an exception' do
expect do
Prawn::SVG::Document.new(svg, bounds, options)
- end.to raise_error Prawn::SVG::Document::InvalidSVGData, 'The data supplied is not a valid SVG document.'
+ end.to raise_error
end
end
@@ -38,8 +38,7 @@ describe Prawn::SVG::Document do
it "raises an exception letting them know what they've done" do
expect do
Prawn::SVG::Document.new(svg, bounds, options)
- end.to raise_error Prawn::SVG::Document::InvalidSVGData,
- "The data supplied is not a valid SVG document. It looks like you've supplied a filename instead; use IO.read(filename) to get the data before you pass it to prawn-svg."
+ end.to raise_error
end
end
end

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33"
USE_RUBY="ruby32 ruby33 ruby34"
RUBY_FAKEGEM_RECIPE_DOC="yard"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
@@ -19,13 +19,8 @@ ruby_add_rdepend "
>=dev-ruby/css_parser-1.6.0
>=dev-ruby/matrix-0.4.2
>=dev-ruby/prawn-0.11.1
>=dev-ruby/rexml-3.2.0
"
PATCHES=(
# adapt to >=dev-ruby/rexml-3.3.3
"${FILESDIR}/${P}-rexml.patch"
)
>=dev-ruby/rexml-3.4.2
"
all_ruby_prepare() {
# avoid useless dependencies