From 59bd1302a3d478347e203aa74e3dbb9c050d8c5d Mon Sep 17 00:00:00 2001 From: Marat Radchenko Date: Sun, 12 May 2024 16:08:30 +0300 Subject: Ban gepub 1.0.16 to fix CI (#474) --- asciidoctor-epub3.gemspec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/asciidoctor-epub3.gemspec b/asciidoctor-epub3.gemspec index 75448b4..423c2fd 100644 --- a/asciidoctor-epub3.gemspec +++ b/asciidoctor-epub3.gemspec @@ -41,7 +41,13 @@ Gem::Specification.new do |s| s.add_development_dependency 'rubocop-rspec', '~> 2.20.0' s.add_runtime_dependency 'asciidoctor', '~> 2.0' - s.add_runtime_dependency 'gepub', '~> 1.0.0' + + # Temporarily ban gepub 1.0.16 + # Looks like it stopped properly closing files after writing + # See https://github.com/skoji/gepub/pull/140#issuecomment-2106238457 + s.add_runtime_dependency 'gepub', '>= 1.0.0', '<= 1.0.15' + # s.add_runtime_dependency 'gepub', '~> 1.0.0' + s.add_runtime_dependency 'mime-types', '~> 3.0' # TODO: switch to 'sass-embedded' when we drop Ruby 2.5 support -- cgit v1.2.3