summaryrefslogtreecommitdiff
path: root/spec/cli_spec.rb
AgeCommit message (Collapse)Author
2024-01-16Drop MOBI support (#458)Marat Radchenko
Amazon is slowly killing it, it's just a question of time when it fully dies. References: * https://kdp.amazon.com/en_US/help/topic/GULSQMHU5MNH4EZM > Starting August 1, 2021, we will no longer support MOBI files for reflowable eBooks. Use EPUB, DOCX or KPF to publish new or update reflowable eBooks. * https://www.amazon.com/gp/help/customer/display.html?nodeId=G5WYD9SAF7PGXRNA > Beginning in late 2022, you'll no longer be able to send MOBI (.AZW, .MOBI) files to your Kindle library using Send to Kindle. This change won't affect any MOBI files already in your Kindle library. You can still read them with Kindle. MOBI is an older file format and won't support the newest Kindle features for documents. * https://www.reddit.com/r/kindle/comments/16rw6e3/amazon_announcement_about_mobi_support_timeline/ > We will end all Send to Kindle support for MOBI files by December 20, 2023. * https://www.mobileread.com/forums/showthread.php?t=336365 > Does anyone still have Kindle Previewer installer older than 3.49 that you could share? The reason I am looking for it is because newer versions no longer open .mobi files.
2024-01-07Update rubocop requirement from ~> 1.28.2 to ~> 1.50.2 (#454)dependabot[bot]
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.28.2...v1.50.2) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-07bump oldest supported Ruby & Asciidoctor (#452)Marat Radchenko
2020-03-01Add support for heredoc documents in test suite (PR #313)Marat Radchenko
2020-02-18resolves #47 stop requiring specific include file scheme (PR #302)Marat Radchenko
support conversion of article documents to a single-chapter file resolves #205 support special chapters like bibliography resolves #190 `basedir` now points to spine document directory when processing chapter files resolves #178 fix image and listing numbers being reset in each chapter resolves #166 fix xref resolving between sub-includes of chapter files resolves #151 add support for contentless include files resolves #136 drop nonstandard `<<chapter#>>` xref syntax and instead support vanilla `<<anchor>>` or `<<file#anchor>>` syntax resolves #206 properly include bibliography generated by asciidoctor-bibtex require Asciidoctor 1.5.6+
2020-01-24resolves #215 test that asciidoctor-epub3 respects --failure-level ↵Marat Radchenko
command-line option (PR #249)
2020-01-23introduce to_epub/to_mobi helper functions in cli_spec.rb (PR #247)Marat Radchenko
2020-01-23resolves #176 route messages through the logger (PR #242)Marat Radchenko
2020-01-22resolves #196 fix sample-book to be a valid book (PR #197)Adrian Mejia
2020-01-22Remove symlink from sample book (PR #241)Marat Radchenko
* Remove symlink from sample book From https://github.com/asciidoctor/asciidoctor-epub3/issues/196#issuecomment-577015262: Windows doesn't adequately support symlinks and even though Git for Windows has experimental symlink support, it is disabled by default. Instead of a symlink, data/samples/asciidoctor-epub3-readme.adoc is just a regular file with following contents on Windows: ../../README.adoc So, while book does produce EPUB without errors, it doesn't contain expected contents. * Test that we actually have bug #196
2020-01-22resolves #7 fix the (in)famous `undefined method `to_ios'` (PR #239)Marat Radchenko
Now asciidoctor-epub3 will just log an error when given a document that doesn't follow asciidoctor-epub3 rules
2020-01-21Add test for Mobi generation (PR #237)Marat Radchenko
2020-01-20resolves #232 fix `-a ebook-validate` not working on Windows (PR #233)Marat Radchenko
On Windows, we cannot just execute file with shebang. Instead, invoke `ruby <file>`. Use the same Ruby executable we're running on.
2020-01-20Introduce helper functions for tests (PR #231)Marat Radchenko
And rewrite tests using them.
2020-01-20Rename executable_spec.rb -> cli_spec.rbMarat Radchenko
This is a more consistent naming with other Asciidoctor projects.