summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarat Radchenko <marat@slonopotamus.org>2024-05-12 16:08:30 +0300
committerGitHub <noreply@github.com>2024-05-12 16:08:30 +0300
commit59bd1302a3d478347e203aa74e3dbb9c050d8c5d (patch)
treeaad936111e055ae3e76b946b297a7974c86ce272
parent233980903a8a661b0f154e2480ed6cf605bc3a65 (diff)
Ban gepub 1.0.16 to fix CI (#474)
-rw-r--r--asciidoctor-epub3.gemspec8
1 files changed, 7 insertions, 1 deletions
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