bookshop 0.0.21 → 0.0.22
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +17 -51
- data/lib/bookshop/commands/build.rb +5 -10
- data/lib/bookshop/commands/epub/epub_build.rb +61 -37
- data/lib/bookshop/commands/epub/templates/OEBPS/.empty_directory +0 -0
- data/lib/bookshop/commands/epub/templates/OEBPS/{content.opf.erb → content.opf.tt} +0 -0
- data/lib/bookshop/commands/epub/templates/OEBPS/{toc.opf.erb → toc.opf.tt} +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/README.rdoc +17 -51
- data/lib/bookshop/{commands/epub/templates/OEBPS → generators/bookshop/app/templates/book/assets/css}/page-template.xpgt +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/book/{css/stylesheet.css → assets/css/stylesheet.epub.css} +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/book/assets/css/stylesheet.html.css +451 -0
- data/lib/bookshop/generators/bookshop/app/templates/book/assets/css/stylesheet.mobi.css +451 -0
- data/lib/bookshop/generators/bookshop/app/templates/book/assets/css/stylesheet.pdf.css +451 -0
- data/lib/bookshop/generators/bookshop/app/templates/book/{images → assets/images}/canvas.jpg +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/book/{images → assets/images}/draft.png +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/book/{images → assets/images}/html-18.png +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/book/assets/js/.empty_directory +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/book/book.html.erb +13 -6
- data/lib/bookshop/generators/bookshop/app/templates/book/ch01/adding_images.html.erb +1 -1
- data/lib/bookshop/generators/bookshop/app/templates/book/cover.html.erb +1 -1
- data/lib/bookshop/generators/bookshop/app/templates/builds/epub/META-INF/.empty_directory +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/builds/epub/META-INF/container.xml +6 -0
- data/lib/bookshop/generators/bookshop/app/templates/builds/epub/OEBPS/.empty_directory +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/builds/epub/mimetype +1 -0
- data/lib/bookshop/generators/bookshop/app/templates/config/book.yml +2 -2
- data/lib/bookshop/generators/bookshop/app/templates/script/bookshop +1 -0
- data/lib/bookshop/version.rb +1 -1
- metadata +44 -26
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: bookshop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.22
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Dave Thompson
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-02-04 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: thor
|
@@ -46,7 +46,7 @@ dependencies:
|
|
46
46
|
type: :runtime
|
47
47
|
version_requirements: *id003
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
|
-
name:
|
49
|
+
name: nokogiri
|
50
50
|
prerelease: false
|
51
51
|
requirement: &id004 !ruby/object:Gem::Requirement
|
52
52
|
none: false
|
@@ -54,21 +54,21 @@ dependencies:
|
|
54
54
|
- - ">="
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: "0"
|
57
|
-
type: :
|
57
|
+
type: :runtime
|
58
58
|
version_requirements: *id004
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
|
-
name:
|
60
|
+
name: bundler
|
61
61
|
prerelease: false
|
62
62
|
requirement: &id005 !ruby/object:Gem::Requirement
|
63
63
|
none: false
|
64
64
|
requirements:
|
65
65
|
- - ">="
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
67
|
+
version: 1.0.0
|
68
68
|
type: :development
|
69
69
|
version_requirements: *id005
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
|
-
name:
|
71
|
+
name: rake
|
72
72
|
prerelease: false
|
73
73
|
requirement: &id006 !ruby/object:Gem::Requirement
|
74
74
|
none: false
|
@@ -79,7 +79,7 @@ dependencies:
|
|
79
79
|
type: :development
|
80
80
|
version_requirements: *id006
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
|
-
name:
|
82
|
+
name: minitest
|
83
83
|
prerelease: false
|
84
84
|
requirement: &id007 !ruby/object:Gem::Requirement
|
85
85
|
none: false
|
@@ -90,7 +90,7 @@ dependencies:
|
|
90
90
|
type: :development
|
91
91
|
version_requirements: *id007
|
92
92
|
- !ruby/object:Gem::Dependency
|
93
|
-
name:
|
93
|
+
name: aruba
|
94
94
|
prerelease: false
|
95
95
|
requirement: &id008 !ruby/object:Gem::Requirement
|
96
96
|
none: false
|
@@ -101,7 +101,7 @@ dependencies:
|
|
101
101
|
type: :development
|
102
102
|
version_requirements: *id008
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
|
-
name:
|
104
|
+
name: rdoc
|
105
105
|
prerelease: false
|
106
106
|
requirement: &id009 !ruby/object:Gem::Requirement
|
107
107
|
none: false
|
@@ -112,7 +112,7 @@ dependencies:
|
|
112
112
|
type: :development
|
113
113
|
version_requirements: *id009
|
114
114
|
- !ruby/object:Gem::Dependency
|
115
|
-
name:
|
115
|
+
name: wkhtmltopdf-binary
|
116
116
|
prerelease: false
|
117
117
|
requirement: &id010 !ruby/object:Gem::Requirement
|
118
118
|
none: false
|
@@ -122,14 +122,23 @@ dependencies:
|
|
122
122
|
version: "0"
|
123
123
|
type: :development
|
124
124
|
version_requirements: *id010
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: mocha
|
127
|
+
prerelease: false
|
128
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ">="
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: "0"
|
134
|
+
type: :development
|
135
|
+
version_requirements: *id011
|
125
136
|
description: |-
|
126
|
-
bookshop is a book publishing framework for
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
convention over configuration, setting them up with best-practices, standards and tools
|
132
|
-
from the start.
|
137
|
+
bookshop is a book publishing framework for building pdf/(e)books based on HTML,
|
138
|
+
CSS, and JavaScript. The framework is optimized to help publishers, editors, and authors
|
139
|
+
quickly ramp-up, allowing them to jump in and develop their html-to-pdf/(e)book flows by
|
140
|
+
favoring convention over configuration, setting them up with best-practices, standards
|
141
|
+
and tools from the start.
|
133
142
|
email: da@blueheadpublishing.com
|
134
143
|
executables:
|
135
144
|
- bookshop
|
@@ -145,13 +154,20 @@ files:
|
|
145
154
|
- lib/bookshop/commands/epub/epub_build.rb
|
146
155
|
- lib/bookshop/commands/epub/templates/META-INF/container.xml
|
147
156
|
- lib/bookshop/commands/epub/templates/mimetype
|
148
|
-
- lib/bookshop/commands/epub/templates/OEBPS/content.opf.
|
149
|
-
- lib/bookshop/commands/epub/templates/OEBPS/
|
150
|
-
- lib/bookshop/commands/epub/templates/OEBPS/toc.opf.erb
|
157
|
+
- lib/bookshop/commands/epub/templates/OEBPS/content.opf.tt
|
158
|
+
- lib/bookshop/commands/epub/templates/OEBPS/toc.opf.tt
|
151
159
|
- lib/bookshop/commands/yaml/book.rb
|
152
160
|
- lib/bookshop/commands/yaml/toc.rb
|
153
161
|
- lib/bookshop/commands.rb
|
154
162
|
- lib/bookshop/generators/bookshop/app/app_generator.rb
|
163
|
+
- lib/bookshop/generators/bookshop/app/templates/book/assets/css/page-template.xpgt
|
164
|
+
- lib/bookshop/generators/bookshop/app/templates/book/assets/css/stylesheet.epub.css
|
165
|
+
- lib/bookshop/generators/bookshop/app/templates/book/assets/css/stylesheet.html.css
|
166
|
+
- lib/bookshop/generators/bookshop/app/templates/book/assets/css/stylesheet.mobi.css
|
167
|
+
- lib/bookshop/generators/bookshop/app/templates/book/assets/css/stylesheet.pdf.css
|
168
|
+
- lib/bookshop/generators/bookshop/app/templates/book/assets/images/canvas.jpg
|
169
|
+
- lib/bookshop/generators/bookshop/app/templates/book/assets/images/draft.png
|
170
|
+
- lib/bookshop/generators/bookshop/app/templates/book/assets/images/html-18.png
|
155
171
|
- lib/bookshop/generators/bookshop/app/templates/book/book.html.erb
|
156
172
|
- lib/bookshop/generators/bookshop/app/templates/book/ch01/adding_images.html.erb
|
157
173
|
- lib/bookshop/generators/bookshop/app/templates/book/ch01/ch01.html.erb
|
@@ -160,12 +176,10 @@ files:
|
|
160
176
|
- lib/bookshop/generators/bookshop/app/templates/book/ch02/ch02.html.erb
|
161
177
|
- lib/bookshop/generators/bookshop/app/templates/book/ch02/rules_and_css.html.erb
|
162
178
|
- lib/bookshop/generators/bookshop/app/templates/book/cover.html.erb
|
163
|
-
- lib/bookshop/generators/bookshop/app/templates/book/css/stylesheet.css
|
164
|
-
- lib/bookshop/generators/bookshop/app/templates/book/images/canvas.jpg
|
165
|
-
- lib/bookshop/generators/bookshop/app/templates/book/images/draft.png
|
166
|
-
- lib/bookshop/generators/bookshop/app/templates/book/images/html-18.png
|
167
179
|
- lib/bookshop/generators/bookshop/app/templates/book/preface.html.erb
|
168
180
|
- lib/bookshop/generators/bookshop/app/templates/book/toc.html.erb
|
181
|
+
- lib/bookshop/generators/bookshop/app/templates/builds/epub/META-INF/container.xml
|
182
|
+
- lib/bookshop/generators/bookshop/app/templates/builds/epub/mimetype
|
169
183
|
- lib/bookshop/generators/bookshop/app/templates/CHANGELOG
|
170
184
|
- lib/bookshop/generators/bookshop/app/templates/config/book.yml
|
171
185
|
- lib/bookshop/generators/bookshop/app/templates/config/toc.yml
|
@@ -177,7 +191,11 @@ files:
|
|
177
191
|
- lib/bookshop/script_bookshop_loader.rb
|
178
192
|
- lib/bookshop/version.rb
|
179
193
|
- lib/bookshop.rb
|
194
|
+
- lib/bookshop/commands/epub/templates/OEBPS/.empty_directory
|
195
|
+
- lib/bookshop/generators/bookshop/app/templates/book/assets/js/.empty_directory
|
180
196
|
- lib/bookshop/generators/bookshop/app/templates/builds/epub/.empty_directory
|
197
|
+
- lib/bookshop/generators/bookshop/app/templates/builds/epub/META-INF/.empty_directory
|
198
|
+
- lib/bookshop/generators/bookshop/app/templates/builds/epub/OEBPS/.empty_directory
|
181
199
|
- lib/bookshop/generators/bookshop/app/templates/builds/html/.empty_directory
|
182
200
|
- lib/bookshop/generators/bookshop/app/templates/builds/mobi/.empty_directory
|
183
201
|
- lib/bookshop/generators/bookshop/app/templates/builds/pdf/.empty_directory
|
@@ -207,6 +225,6 @@ rubyforge_project: bookshop
|
|
207
225
|
rubygems_version: 1.8.15
|
208
226
|
signing_key:
|
209
227
|
specification_version: 3
|
210
|
-
summary: A book publishing framework for
|
228
|
+
summary: A book publishing framework for building pdf/(e)books based on HTML, CSS, and JavaScript.
|
211
229
|
test_files: []
|
212
230
|
|