asciidoctor-epub3 1.5.0.alpha.12 → 1.5.0.alpha.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +5 -1
- data/Gemfile +5 -0
- data/README.adoc +3 -3
- data/asciidoctor-epub3.gemspec +0 -2
- data/lib/asciidoctor-epub3/packager.rb +2 -2
- data/lib/asciidoctor-epub3/version.rb +1 -1
- metadata +2 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4f831d387c7237550665244c656f6ca2dac2647653c6cf7610bc89c36b06a8c
|
4
|
+
data.tar.gz: 06aef58ded0b2fb74c209ed0fadf778bbb24fecea8eeb6f2afb68fa35abaaf01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bf6101b7f06ed604fece602f37de8ddc80aedf76f5737cb9a45b2aa374a9bb4ce2e41f2b0c5a9eba566f337e9612daefcafbf53fe414bc2316677b5d40f965a
|
7
|
+
data.tar.gz: fe597bf15bdcec4b6774b74a881a6228908db92f178c8c364c511c40edc24db993159c0bbf819705cd2414d40d8ffed63c2a556cadeb373ef1593da7ac5f8f38
|
data/CHANGELOG.adoc
CHANGED
@@ -5,6 +5,10 @@
|
|
5
5
|
This document provides a high-level view of the changes to the {project-name} by release.
|
6
6
|
For a detailed view of what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub.
|
7
7
|
|
8
|
+
== 1.5.0.alpha.13 (2020-02-04) - @slonopotamus
|
9
|
+
|
10
|
+
* remove kindlegen and epubcheck-ruby from runtime dependencies (#288)
|
11
|
+
|
8
12
|
== 1.5.0.alpha.12 (2020-02-02) - @slonopotamus
|
9
13
|
|
10
14
|
* make kindlegen a runtime dependency so it installs automatically during `gem install asciidoctor-epub3` (#270)
|
@@ -29,7 +33,7 @@ For a detailed view of what has changed, refer to the {uri-repo}/commits/master[
|
|
29
33
|
* handle invalid `revdate` gracefully (#14)
|
30
34
|
* do not post-process EPUBCHECK env var, but use it as-is (#258)
|
31
35
|
* disable Pygments on JRuby to prevent hanging (#253)
|
32
|
-
* fix ENOENT error when trying to run
|
36
|
+
* fix ENOENT error when trying to run EPUBCheck on JRuby on Windows (#256)
|
33
37
|
* fix ENOENT error when running kindlegen on JRuby on Windows (#154)
|
34
38
|
* set up CI for JRuby on Windows (#254)
|
35
39
|
|
data/Gemfile
CHANGED
@@ -8,6 +8,11 @@ gemspec
|
|
8
8
|
gem 'asciidoctor', ENV['ASCIIDOCTOR_VERSION'], require: false if ENV.key? 'ASCIIDOCTOR_VERSION'
|
9
9
|
|
10
10
|
group :optional do
|
11
|
+
# epubcheck-ruby might be safe to be converted into runtime dependency, but could have issues when packaged into asciidoctorj-epub3
|
12
|
+
gem 'epubcheck-ruby', '~> 4.2.2.0'
|
13
|
+
# We would like to make kindlegen a runtime dependency, but can't because of the way asciidoctorj-epub3 packaging works
|
14
|
+
# See https://github.com/asciidoctor/asciidoctor-epub3/issues/288
|
15
|
+
gem 'kindlegen', '~> 3.0.3'
|
11
16
|
gem 'pygments.rb', '1.2.1'
|
12
17
|
end
|
13
18
|
|
data/README.adoc
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
= {project-name}: A _native_ EPUB3 converter for AsciiDoc
|
2
2
|
Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>
|
3
|
-
v1.5.0.alpha.
|
3
|
+
v1.5.0.alpha.13, 2020-02-04
|
4
4
|
// Settings:
|
5
5
|
:experimental:
|
6
6
|
:idprefix:
|
@@ -489,8 +489,8 @@ An EPUB3 archive contains:
|
|
489
489
|
* one or more content documents
|
490
490
|
* assets (images, fonts, stylesheets, etc.)
|
491
491
|
|
492
|
-
The IDPF also supports {uri-epubcheck}[
|
493
|
-
|
492
|
+
The IDPF also supports {uri-epubcheck}[EPUBCheck].
|
493
|
+
EPUBCheck parses and validates the file against the EPUB schema.
|
494
494
|
****
|
495
495
|
|
496
496
|
If you want to browse the contents of the EPUB3 file that is generated, or preview the XHTML files in a regular web browser, add the `-a ebook-extract` flag to the `asciidoctor-epub3` command.
|
data/asciidoctor-epub3.gemspec
CHANGED
@@ -36,7 +36,5 @@ An extension for Asciidoctor that converts AsciiDoc documents to EPUB3 and KF8/M
|
|
36
36
|
s.add_development_dependency 'rubocop-rspec', '~> 1.37.0'
|
37
37
|
|
38
38
|
s.add_runtime_dependency 'asciidoctor', '>= 1.5.3', '< 3.0.0'
|
39
|
-
s.add_runtime_dependency 'epubcheck-ruby', '~> 4.2.2.0'
|
40
39
|
s.add_runtime_dependency 'gepub', '~> 1.0.0'
|
41
|
-
s.add_runtime_dependency 'kindlegen', '>= 3.0.3', '<= 3.0.5'
|
42
40
|
end
|
@@ -647,7 +647,7 @@ body > svg {
|
|
647
647
|
r.force_encoding 'UTF-8' if ::Gem.win_platform? && r.respond_to?(:force_encoding)
|
648
648
|
end
|
649
649
|
rescue Errno::ENOENT => e
|
650
|
-
raise 'Unable to run KindleGen. Either install the kindlegen gem or set KINDLEGEN environment variable with path to
|
650
|
+
raise 'Unable to run KindleGen. Either install the kindlegen gem or place `kindlegen` executable on PATH or set KINDLEGEN environment variable with path to it', cause: e
|
651
651
|
end
|
652
652
|
|
653
653
|
out.each_line do |line|
|
@@ -691,7 +691,7 @@ body > svg {
|
|
691
691
|
begin
|
692
692
|
out, err, res = Open3.capture3(*argv)
|
693
693
|
rescue Errno::ENOENT => e
|
694
|
-
raise 'Unable to run EPUBCheck. Either install epubcheck-ruby gem or set EPUBCHECK environment variable with path to
|
694
|
+
raise 'Unable to run EPUBCheck. Either install epubcheck-ruby gem or place `epubcheck` executable on PATH or set EPUBCHECK environment variable with path to it', cause: e
|
695
695
|
end
|
696
696
|
|
697
697
|
out.each_line do |line|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor-epub3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.0.alpha.
|
4
|
+
version: 1.5.0.alpha.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Allen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-02-
|
12
|
+
date: 2020-02-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -87,20 +87,6 @@ dependencies:
|
|
87
87
|
- - "<"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 3.0.0
|
90
|
-
- !ruby/object:Gem::Dependency
|
91
|
-
name: epubcheck-ruby
|
92
|
-
requirement: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 4.2.2.0
|
97
|
-
type: :runtime
|
98
|
-
prerelease: false
|
99
|
-
version_requirements: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 4.2.2.0
|
104
90
|
- !ruby/object:Gem::Dependency
|
105
91
|
name: gepub
|
106
92
|
requirement: !ruby/object:Gem::Requirement
|
@@ -115,26 +101,6 @@ dependencies:
|
|
115
101
|
- - "~>"
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: 1.0.0
|
118
|
-
- !ruby/object:Gem::Dependency
|
119
|
-
name: kindlegen
|
120
|
-
requirement: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: 3.0.3
|
125
|
-
- - "<="
|
126
|
-
- !ruby/object:Gem::Version
|
127
|
-
version: 3.0.5
|
128
|
-
type: :runtime
|
129
|
-
prerelease: false
|
130
|
-
version_requirements: !ruby/object:Gem::Requirement
|
131
|
-
requirements:
|
132
|
-
- - ">="
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
version: 3.0.3
|
135
|
-
- - "<="
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: 3.0.5
|
138
104
|
description: 'An extension for Asciidoctor that converts AsciiDoc documents to EPUB3
|
139
105
|
and KF8/MOBI (Kindle) e-book archives.
|
140
106
|
|