- Add adapter for Rubyzip
- Remove version specification from Nokogiri to migrate to Ruby 3.1
- [BUG FIX]Add
mtime
keyword argument toOCF::PhysicalContainer::Zipruby#write
- [BUG FIX]Compare path name in the same encoding when finding file in ZIP archive
- Add
PhysicalContaienr.mtime
API to set mtime of files in EPUB archive
- Add
Publication::Package::Metadata#modified=
method - Rescue Errno::EXDEV on renaming temporary EPUB file
- Add workaround Window file renaming problem
- Close temp file when archiving EPUB file
- Update Nokogiri version to < 1.11
- [BUG FIX]Fix the case file extension should be wrong
- Add Nokogiri to runtime dependencies explicitly
- Remove [ruby-uuid][] gem from dependencies
- [BUG FIX]Convert Set to Array before writing into XML
- Follow change of EPUB Parser v0.3.6
- Use default temporary directory for
EPUB::Maker.archive
to avoid working on world writable place
- Change temporary directory used by
EPUB::Maker.archive
to avoid Error::EXDEV Invalid cross-device link @ rb_file_s_rename
- Add
epub-archive
command - Add
EPUB::Maker.archive
method
- Fix bug to modify
dc:rights
todc:right
- API change: #save -> #write for PhysicalContainer classes
- Bump required EPUB Parser version: 0.2.0 -> 0.2.6
- Deprecate
EPUB::OCF::PhysicalContainer.save
- Bump up required Ruby version: >= 2.0.0 -> >= 2.1.0
- Use PhysicalContainer to save contents into EPUB file
- Detect media type of files more strictly by using MimeMagic
- Keep temporary directory remained on error in
EPUB::Maker.make
to help research about it - Define
EPUB::Package#edit
- Make
EPUB::Package#save
able to replace content as well as add - Define
EPUB::Package::Metadata::Meta#valid?
- Drop invalid meta element in metadata on save
- Initial release!