summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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