summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
AgeCommit message (Collapse)Author
2024-05-12fix gepub 1.0.16 compatibilityMarat Radchenko
2024-01-17stop packaging samples into gem (#462)Marat Radchenko
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
2021-04-28resolves #363: reenable dependency on kindlegen gem (#398)Marat Radchenko
This commit also drops support for Ruby < 2.4 This reverts commit 33e27eeb21fb62f1e82767f9957a0a03fa35c722.
2020-08-25see #363: drop dependency on kindlegen gem to unblock CI (#364)Marat Radchenko
2020-06-21resolves #339 store syntax highlighter CSS in a separate file (#340)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-02-12resolves #203 do not include current date if `:reproducible:` attribute is ↵Marat Radchenko
set (PR #296) Also, respect `SOURCE_DATE_EPOCH` environment variable for reproducible builds
2020-02-04resolves #282 use imagedir from an image's context during packaging (PR #283)Marat Radchenko
resolves #169 images in tables don't show up resolves #190 plantumlconfig is looking in the wrong dir resolves #30 Inline images are not included
2020-02-01introduce to_epub test helper to reduce boilerplate code in tests (PR #287)Marat Radchenko
2020-01-24resolves #215 test that asciidoctor-epub3 respects --failure-level ↵Marat Radchenko
command-line option (PR #249)
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-20Introduce helper functions for tests (PR #231)Marat Radchenko
And rewrite tests using them.
2020-01-20resolves #223 set up Rubocop linter (PR #226)Marat Radchenko
resolves #223 Rubocop config was takes as-is from https://github.com/asciidoctor/asciidoctor-pdf/blob/e80edba41fa724bef5f43ca30028afd873e07317/.rubocop.yml * Apply rubocop auto-fix Manual adjustments: 1. Changed parentheses in nested assignments in packager.rb Old: if ::File.readable?(resolved_avatar = ::File.join workdir, avatar) New: if ::File.readable? resolved_avatar = (::File.join workdir, avatar) 2. Dropped pre-ruby-2.0 support from Gemfile 3. Joined nested if's starting with `if doc.attr? 'publisher'` into if/elsif chain in packager.rb It was triggering 'Bundler/DuplicatedGem: Gem kindlegen requirements already given on line 12 of the Gemfile.'. But since oldest supported is 2.3, this should be ok.
2020-01-18resolves #210 fix deep interdoc xref when using Asciidoctor 2 (PR #221)Dan Allen
2020-01-18remove unnecessary coding magic comment [skip ci]Dan Allen
2020-01-18resolves #11 add rspec-based testing infrastructure (PR #222)Marat Radchenko