softcover 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d40907313a4ebc117aeb2a689694ff74ff5de75563d5083e411cbc4be474d3dd
|
|
4
|
+
data.tar.gz: ae9af98aef58cb9b56f97e6b5a1e922e18aeb05890beae5c3049f2aa02b0074e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6830ec3de9bb9ce87634be2dcd8db8320d8cffd4af92267dfa254bf5a404905ca120ec592934c936417062f093c7bc99586e33241770a6e72e51fbd3016bb834
|
|
7
|
+
data.tar.gz: 2d1617bc0c27cfdb7b7ae8aa7e9fdef6946a29173a05682bf98a2fbb8150fcfbda6c7962c06bf2a7ca72318ecfe7abb0d74d0d4820c01a626afc7168c713bf2b
|
|
@@ -177,6 +177,8 @@
|
|
|
177
177
|
\newunicodechar{¡}{!`}
|
|
178
178
|
\newunicodechar{¿}{?`}
|
|
179
179
|
\newunicodechar{ß}{\ss}
|
|
180
|
+
\newunicodechar{✓}{\checkmark}
|
|
181
|
+
|
|
180
182
|
% xelatex supports macrons by default, but for some reason they disappear.
|
|
181
183
|
\newunicodechar{ā}{\={a}}
|
|
182
184
|
\newunicodechar{ē}{\={e}}
|
|
@@ -177,6 +177,8 @@
|
|
|
177
177
|
\newunicodechar{¡}{!`}
|
|
178
178
|
\newunicodechar{¿}{?`}
|
|
179
179
|
\newunicodechar{ß}{\ss}
|
|
180
|
+
\newunicodechar{✓}{\checkmark}
|
|
181
|
+
|
|
180
182
|
% xelatex supports macrons by default, but for some reason they disappear.
|
|
181
183
|
\newunicodechar{ā}{\={a}}
|
|
182
184
|
\newunicodechar{ē}{\={e}}
|
|
@@ -63,7 +63,7 @@ module Softcover
|
|
|
63
63
|
when :ghostscript
|
|
64
64
|
message = "GhostScript (should come with LaTeX)\n"
|
|
65
65
|
when :convert
|
|
66
|
-
"ImageMagick (
|
|
66
|
+
"ImageMagick (https://www.imagemagick.org/script/download.php)"
|
|
67
67
|
when :node
|
|
68
68
|
"NodeJS (http://nodejs.org/)"
|
|
69
69
|
when :phantomjs
|
|
@@ -86,10 +86,9 @@ module Softcover
|
|
|
86
86
|
when :zip
|
|
87
87
|
"Install zip (e.g., apt-get install zip)"
|
|
88
88
|
when :epubcheck
|
|
89
|
-
url = 'https://github.com/IDPF/epubcheck/releases/'
|
|
90
|
-
|
|
91
|
-
message
|
|
92
|
-
message += " ∟ Unzip and place epubcheck-4.0.1/ in a directory on your path"
|
|
89
|
+
url = 'https://github.com/IDPF/epubcheck/releases/download/v4.0.2/epubcheck-4.0.2.zip'
|
|
90
|
+
message = "EpubCheck 4.0.2 (#{url})\n"
|
|
91
|
+
message += " ∟ Unzip and place epubcheck-4.0.2/ in a directory on your path"
|
|
93
92
|
when :inkscape
|
|
94
93
|
message = "Inkscape (http://inkscape.org/)"
|
|
95
94
|
else
|
data/lib/softcover/utils.rb
CHANGED
|
@@ -260,9 +260,8 @@ module Softcover::Utils
|
|
|
260
260
|
get_filename(:'ebook-convert')
|
|
261
261
|
when :epubcheck
|
|
262
262
|
# Finds EpubCheck anywhere on the path.
|
|
263
|
-
|
|
264
|
-
version_4
|
|
265
|
-
first_path(version_4) || first_path(version_3) || get_filename(:'epubcheck') || ""
|
|
263
|
+
version_4 = path('epubcheck-4.0.2/epubcheck.jar')
|
|
264
|
+
first_path(version_4) || get_filename(:'epubcheck') || ""
|
|
266
265
|
when :inkscape
|
|
267
266
|
default = '/Applications/Inkscape.app/Contents/Resources/bin/inkscape'
|
|
268
267
|
filename_or_default(:inkscape, default)
|
data/lib/softcover/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: softcover
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.5.
|
|
4
|
+
version: 1.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Hartl
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2018-02-28 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: polytexnic
|