softcover 1.0.beta14 → 1.0.beta15
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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 10659515786ab1d7b7cf6ef524e9627541552882
|
|
4
|
+
data.tar.gz: d47c64674835297c856e4df0d8cac9c789766dbd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2a2d0d335d51b75da5d4d8c137148f8a1e13022376d95ddfe3184b9fdb5c1cbc5ad45b64f786229848e51c5aec75922760f53d2edab6d4a071b10e5468021b26
|
|
7
|
+
data.tar.gz: d9968d17c255ad40eb49c6906686c94cf5576fc89a4850cd39e4a7d77afe506621178ac46f23cbe8441ce9b4b2ca42ad0540185f1fa33b45e0490f1fc17964c1
|
|
@@ -244,7 +244,7 @@ module Softcover
|
|
|
244
244
|
# Strip attributes that are invalid in EPUB documents.
|
|
245
245
|
def strip_attributes(doc)
|
|
246
246
|
attrs = %w[data-tralics-id data-label data-number data-chapter
|
|
247
|
-
role aria-readonly]
|
|
247
|
+
role aria-readonly target]
|
|
248
248
|
doc.tap do
|
|
249
249
|
attrs.each do |attr|
|
|
250
250
|
doc.xpath("//@#{attr}").remove
|
|
@@ -314,6 +314,9 @@ body #book {
|
|
|
314
314
|
list-style-type: none;
|
|
315
315
|
}
|
|
316
316
|
|
|
317
|
+
#book ul.footnotes.nonumbers li {
|
|
318
|
+
list-style-type: none;
|
|
319
|
+
}
|
|
317
320
|
|
|
318
321
|
#book .footnotes .header {
|
|
319
322
|
padding-top: 1em;
|
|
@@ -442,4 +445,5 @@ body #book {
|
|
|
442
445
|
|
|
443
446
|
#book span.intersentencespace {
|
|
444
447
|
margin-right: 0.2em;
|
|
445
|
-
}
|
|
448
|
+
}
|
|
449
|
+
|
data/lib/softcover/utils.rb
CHANGED
|
@@ -252,7 +252,7 @@ module Softcover::Utils
|
|
|
252
252
|
cmd_path = ['epubcheck-3.0', 'epubcheck-3.0.jar']
|
|
253
253
|
possible_paths = ENV['PATH'].split(File::PATH_SEPARATOR).
|
|
254
254
|
collect { |x| File.join(x, cmd_path) }
|
|
255
|
-
possible_paths.select { |f| File.file?(f) }.first
|
|
255
|
+
possible_paths.select { |f| File.file?(f) }.first || ""
|
|
256
256
|
when :inkscape
|
|
257
257
|
default = '/Applications/Inkscape.app/Contents/Resources/bin/inkscape'
|
|
258
258
|
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.0.
|
|
4
|
+
version: 1.0.beta15
|
|
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: 2014-
|
|
12
|
+
date: 2014-11-20 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: polytexnic
|