softcover 1.0.beta14 → 1.0.beta15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ac2d0a67e8868e8ac10af7dba301fd4f9b6a808
4
- data.tar.gz: 458c9ea82ddd0f076e8b8be63ac006807ed328c4
3
+ metadata.gz: 10659515786ab1d7b7cf6ef524e9627541552882
4
+ data.tar.gz: d47c64674835297c856e4df0d8cac9c789766dbd
5
5
  SHA512:
6
- metadata.gz: 31b54a9ee26806488ac6ef724dc29e09ba0f74afa5cbe7a741eee257824615b7a0c474268c13c492debec45b640acd2af79e6f5aa30573e4d170e0f95464c8a3
7
- data.tar.gz: 3b64dd7962d54b79c7afbfcc1e67cb605f0da1f03db4bc14314817d06820735a109f11771da88e8be29b1f3ca4aca6ad057628b4aae6f8d4de5431ccbf737f3d
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
@@ -8,6 +8,10 @@
8
8
  font-size: 120%;
9
9
  }
10
10
 
11
+ #title_page .date {
12
+ font-size: 120%;
13
+ }
14
+
11
15
  #table_of_contents ul li {
12
16
  padding-left: 2em;
13
17
  }
@@ -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
+
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module Softcover
2
- VERSION = "1.0.beta14"
2
+ VERSION = "1.0.beta15"
3
3
  end
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.beta14
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-10-30 00:00:00.000000000 Z
12
+ date: 2014-11-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: polytexnic