softcover 0.9.13 → 0.9.15
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 +4 -4
- data/lib/softcover/builders/epub.rb +2 -2
- data/lib/softcover/template/config/marketing.yml +4 -21
- data/lib/softcover/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 93ad51a3a3a9e3666556548c00d6f39d8ff9c2d9
|
|
4
|
+
data.tar.gz: dc0f5d16436712e92663b369f8c1a6b9234b1222
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fbd5795e818a0b97ab220245d90811925d37480241db567d5e5c55535f2ba7eb2ada10c299d9c5986f76af5246a0c97b7d874bc17ea942d4efca89ce226425a8
|
|
7
|
+
data.tar.gz: b7aae538464ade6509fc983c8d2e4cc9009158acfe4ce0d3e0ff5fd9885b86e82c310cb160fbf794abf78a0a7cddd7ff0baa5469ee9f83f56a17d40464133041
|
|
@@ -381,9 +381,9 @@ module Softcover
|
|
|
381
381
|
end
|
|
382
382
|
|
|
383
383
|
# Returns the name of the cover file.
|
|
384
|
-
# We support (in order) JPG/JPEG, PNG, and
|
|
384
|
+
# We support (in order) JPG/JPEG, PNG, and TIFF.
|
|
385
385
|
def cover_img
|
|
386
|
-
extensions = %w[jpg jpeg
|
|
386
|
+
extensions = %w[jpg jpeg png tiff]
|
|
387
387
|
extensions.each do |ext|
|
|
388
388
|
file = Dir[path("#{images_dir}/cover.#{ext}")].first
|
|
389
389
|
return File.basename(file) if file
|
|
@@ -5,40 +5,23 @@ prices:
|
|
|
5
5
|
name: "HTML & Ebook"
|
|
6
6
|
description:
|
|
7
7
|
|
|
|
8
|
-
Optimized for Kindle and iPad
|
|
9
|
-
|
|
10
|
-
Includes a free copy of 1st Edition PDF
|
|
8
|
+
* Optimized for computer screens, Kindle, and iPad
|
|
9
|
+
* Incredibly awesome content
|
|
11
10
|
media:
|
|
12
11
|
- ebooks
|
|
13
12
|
price: 3500
|
|
14
13
|
|
|
15
|
-
-
|
|
16
|
-
code: screencasts
|
|
17
|
-
name: "HTML & Screencasts"
|
|
18
|
-
description:
|
|
19
|
-
|
|
|
20
|
-
Full updated for the 2nd edition
|
|
21
|
-
100% DRM-free digital downloads
|
|
22
|
-
(QuickTime and Ogg Vorbis)
|
|
23
|
-
Includes first edition screencasts
|
|
24
|
-
media:
|
|
25
|
-
- ebooks
|
|
26
|
-
- media/screencasts
|
|
27
|
-
price: 12500
|
|
28
|
-
|
|
29
14
|
-
|
|
30
15
|
code: all
|
|
31
16
|
name: "HTML, Ebook, and Screencasts"
|
|
32
17
|
description:
|
|
33
18
|
|
|
|
34
|
-
Includes
|
|
35
|
-
|
|
36
|
-
Read online.
|
|
19
|
+
* Includes 10 hours of video screencasts
|
|
20
|
+
* Ebooks inclded in PDF/EPUB/MOBI formats
|
|
37
21
|
media:
|
|
38
22
|
- ebooks
|
|
39
23
|
- media/screencasts
|
|
40
24
|
price: 12500
|
|
41
|
-
regular_price: 19900
|
|
42
25
|
|
|
43
26
|
authors:
|
|
44
27
|
-
|
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: 0.9.
|
|
4
|
+
version: 0.9.15
|
|
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-05-
|
|
12
|
+
date: 2014-05-05 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: polytexnic
|