bookshop 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +16 -34
- data/lib/bookshop/commands/build.rb +75 -2
- data/lib/bookshop/generators/bookshop/app/app_generator.rb +9 -5
- data/lib/bookshop/generators/bookshop/app/templates/.gitignore +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/README.rdoc +16 -34
- data/lib/bookshop/generators/bookshop/app/templates/book/epub/OEBPS/content.opf.erb +1 -1
- data/lib/bookshop/generators/bookshop/app/templates/book/frontmatter/cover.html.erb +2 -2
- data/lib/bookshop/generators/bookshop/app/templates/config/config.rb +4 -0
- data/lib/bookshop/generators/bookshop/app/templates/script/epubcheck/COPYING.txt +19 -0
- data/lib/bookshop/generators/bookshop/app/templates/script/epubcheck/README.txt +61 -0
- data/lib/bookshop/generators/bookshop/app/templates/script/epubcheck/epubcheck.jar +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/script/epubcheck/jing_license.txt +12 -0
- data/lib/bookshop/generators/bookshop/app/templates/script/epubcheck/lib/jing.jar +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/script/epubcheck/lib/saxon.jar +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/script/kindlegen/.empty_directory +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/script/kindlegen/EULA.txt +61 -0
- data/lib/bookshop/generators/bookshop/app/templates/script/kindlegen/KindleGen Legal Notices 2009-11-10 Linux.txt +21 -0
- data/lib/bookshop/generators/bookshop/app/templates/script/kindlegen/KindleGen Legal Notices 2009-11-10 Mac.txt +21 -0
- data/lib/bookshop/generators/bookshop/app/templates/script/kindlegen/KindleGen OSS Notices 2009-07-29-Windows.txt +19 -0
- data/lib/bookshop/generators/bookshop/app/templates/script/kindlegen/kindlegen.exe +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/script/kindlegen/kindlegen_linux +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/script/kindlegen/kindlegen_mac +0 -0
- data/lib/bookshop/version.rb +1 -1
- metadata +35 -16
data/README.rdoc
CHANGED
@@ -7,7 +7,9 @@ Bookshop is a an open-source book development and publishing framework for autho
|
|
7
7
|
A conceptual overview of bookshop: http://blueheadblog.blogspot.com/2012/03/announcing-bookshop-html-to-pdf-ebook.html
|
8
8
|
|
9
9
|
bookshop hopes to simplify the process by:
|
10
|
+
|
10
11
|
* using common tools like HTML/CSS to make the creation of your book comfortable and familiar, greatly reducing the learning curve for your developers, authors, agents, and other team members
|
12
|
+
* separating the "book" into its logical parts: Content via HTML (words, grammar, tense), Structure via microformat (chapters, sections), Style via css (layout, design, typeset), and Format (pdf, mobi, epub, html)
|
11
13
|
* providing a Ruby Gem to make building a book in HTML as easy as 'gem install bookshop'
|
12
14
|
* pulling all the html-to-pdf/(e)book tools together into one place (princexml, kindlegen, epubcheck)
|
13
15
|
* giving the developer a set of scripts to automate the redundant stuff
|
@@ -24,7 +26,7 @@ bookshop hopes to simplify the process by:
|
|
24
26
|
|
25
27
|
== Installation
|
26
28
|
|
27
|
-
For detailed instructions for your particular platform, please see this link:
|
29
|
+
For detailed installation instructions for your particular platform, please see this link:
|
28
30
|
|
29
31
|
https://github.com/blueheadpublishing/bookshop/wiki/Setting-Up-Your-bookshop-Environment
|
30
32
|
|
@@ -225,22 +227,24 @@ http://www.princexml.com/doc/8.0/
|
|
225
227
|
|
226
228
|
==== Editing you epub document and options
|
227
229
|
|
230
|
+
We decided to keep away from a generator model for the epub, in favor of allowing the developer to have full control of the epub file in all its aspects. The build command for epub is merely to build the main html file from the .erb source files and then to zip them up into the epub format.
|
231
|
+
|
228
232
|
There are two main files (besides your actual book source) you will need to edit for the epub build are located in the +book/epub/OEBPS+ folder: content.opf (the Open Packaging Format) and the toc.ncx (the Navigation file).
|
229
233
|
|
230
|
-
|
234
|
+
===== 1. The *content.opf* file is the file which contains all of the primary information about your epub ebook (publisher, files included, date, etc.).
|
231
235
|
|
232
|
-
http://idpf.org/epub/
|
233
|
-
http://idpf.org/epub/30/spec/epub30-ocf.html - For the specs on the epub file structures and contents
|
236
|
+
http://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm - Specs on the .opf file
|
234
237
|
|
235
|
-
|
238
|
+
===== 2. The toc.ncx file is the file which contains the structural tree of your book's navigation.
|
236
239
|
|
237
|
-
|
240
|
+
http://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.4.1.2 - Specs on the .ncx file.
|
238
241
|
|
239
|
-
|
242
|
+
During the build process, the entire contents of the +book/epub/+ folder will be used, along with your book source files, to create your epub book format. You can add or edit any of the files in that folder if you like. Generally speaking, you will probably only ever edit the content.opf.erb and the toc.ncx.erb files.
|
240
243
|
|
241
|
-
|
244
|
+
http://idpf.org/epub/30 - For an overview of EPUB
|
245
|
+
http://idpf.org/epub/30/spec/epub30-ocf.html - For the specs on the epub file structures and contents
|
242
246
|
|
243
|
-
|
247
|
+
We recommend consulting the EPUB documentation for specifics.
|
244
248
|
|
245
249
|
== Example Book
|
246
250
|
|
@@ -311,35 +315,13 @@ config
|
|
311
315
|
6. Let us know about your code and we'll review/merge it into the master.
|
312
316
|
7. And pat yourself on the back for contributing to an open source project!!
|
313
317
|
|
314
|
-
==
|
318
|
+
== License
|
315
319
|
|
316
320
|
Copyright (C) 2011, 2012 by BlueHead Publishing, Inc (http://blueheadpublishing.com)
|
317
321
|
|
318
|
-
|
319
|
-
of this software and associated documentation files (the "Software"), to deal
|
320
|
-
in the Software without restriction, including without limitation the rights
|
321
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
322
|
-
copies of the Software, and to permit persons to whom the Software is
|
323
|
-
furnished to do so, subject to the following conditions:
|
324
|
-
|
325
|
-
The above copyright notice and this permission notice shall be included in
|
326
|
-
all copies or substantial portions of the Software.
|
327
|
-
|
328
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
329
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
330
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
331
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
332
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
333
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
334
|
-
THE SOFTWARE.
|
335
|
-
|
336
|
-
== The Boom Microformat License - boom.css (from which the css microformat was based)
|
337
|
-
|
338
|
-
http://www.alistapart.com/articles/boom
|
322
|
+
Bookshop is available under either The "New" BSD License or The MIT License
|
339
323
|
|
340
|
-
|
341
|
-
written by Hakon Wium Lie and Bert Bos, November 2005
|
342
|
-
You may reuse this style sheet for any purpose without any fees
|
324
|
+
Please see the LICENSE file for further information
|
343
325
|
|
344
326
|
== Thanks
|
345
327
|
|
@@ -127,6 +127,78 @@ module Bookshop
|
|
127
127
|
puts "Zipping up into epub"
|
128
128
|
cmd = %x[cd builds/epub/ && zip -X0 "book.epub" mimetype && zip -rDX9 "book.epub" * -x "*.DS_Store" -x mimetype]
|
129
129
|
|
130
|
+
puts "Validating with epubcheck"
|
131
|
+
cmd = cmd = system("java -jar script/epubcheck/epubcheck.jar builds/epub/book.epub")
|
132
|
+
|
133
|
+
when 'mobi'
|
134
|
+
# Clean up any old builds
|
135
|
+
puts "Deleting any old builds"
|
136
|
+
FileUtils.rm_r Dir.glob('builds/mobi/*')
|
137
|
+
|
138
|
+
@output = :mobi
|
139
|
+
|
140
|
+
FileUtils.cp_r('book/epub/META-INF', 'builds/mobi/', :verbose => true)
|
141
|
+
FileUtils.mkdir 'builds/mobi/OEBPS'
|
142
|
+
FileUtils.cp_r('book/epub/mimetype', 'builds/mobi/', :verbose => true)
|
143
|
+
|
144
|
+
erb = import(BOOK_SOURCE)
|
145
|
+
puts "Generating new html from erb"
|
146
|
+
File.open("builds/mobi/OEBPS/book.html", 'a') do |f|
|
147
|
+
f << erb
|
148
|
+
end
|
149
|
+
|
150
|
+
# Generate the cover.html file
|
151
|
+
opf = import("frontmatter/cover.html.erb")
|
152
|
+
puts "Generating new cover.html from erb"
|
153
|
+
File.open("builds/mobi/OEBPS/cover.html", 'a') do |f|
|
154
|
+
f << opf
|
155
|
+
end
|
156
|
+
|
157
|
+
# Generate the nav.html file
|
158
|
+
opf = import("frontmatter/toc.html.erb")
|
159
|
+
puts "Generating new toc.html from erb"
|
160
|
+
File.open("builds/mobi/OEBPS/toc.html", 'a') do |f|
|
161
|
+
f << opf
|
162
|
+
end
|
163
|
+
|
164
|
+
# Generate the OPF file
|
165
|
+
opf = import("epub/OEBPS/content.opf.erb")
|
166
|
+
puts "Generating new content.opf from erb"
|
167
|
+
File.open("builds/mobi/OEBPS/content.opf", 'a') do |f|
|
168
|
+
f << opf
|
169
|
+
end
|
170
|
+
|
171
|
+
# Generate the NCX file
|
172
|
+
ncx = import("epub/OEBPS/toc.ncx.erb")
|
173
|
+
puts "Generating new toc.ncx from erb"
|
174
|
+
File.open("builds/mobi/OEBPS/toc.ncx", 'a') do |f|
|
175
|
+
f << ncx
|
176
|
+
end
|
177
|
+
|
178
|
+
FileUtils.cp_r 'book/assets', 'builds/mobi/OEBPS/assets/', :verbose => true
|
179
|
+
FileUtils.rm %w( builds/mobi/OEBPS/assets/css/stylesheet.pdf.css
|
180
|
+
builds/mobi/OEBPS/assets/css/stylesheet.html.css
|
181
|
+
builds/mobi/OEBPS/assets/css/stylesheet.epub.css )
|
182
|
+
|
183
|
+
puts "Zipping up into epub"
|
184
|
+
cmd = %x[cd builds/mobi/ && zip -X0 "book.epub" mimetype && zip -rDX9 "book.epub" * -x "*.DS_Store" -x mimetype]
|
185
|
+
|
186
|
+
puts "Validating with epubcheck"
|
187
|
+
|
188
|
+
# using exec so we can return the command results back to the terminal output
|
189
|
+
cmd = system("java -jar script/epubcheck/epubcheck.jar builds/mobi/book.epub")
|
190
|
+
|
191
|
+
puts "Generating mobi file with KindleGen"
|
192
|
+
if RUBY_PLATFORM =~ /linux/
|
193
|
+
cmd = system("script/kindlegen/kindlegen_linux builds/mobi/book.epub")
|
194
|
+
elsif RUBY_PLATFORM =~ /darwin/
|
195
|
+
cmd = system("script/kindlegen/kindlegen_mac builds/mobi/book.epub")
|
196
|
+
elsif RUBY_PLATFORM =~ /mswin32/
|
197
|
+
cmd = system("script/kindlegen/kindlegen.exe builds/mobi/book.epub")
|
198
|
+
else
|
199
|
+
raise "We can't seem to execute the version of kindle specific to your platform."
|
200
|
+
end
|
201
|
+
|
130
202
|
# 'build pdf' generates a pdf version of the book from the builds/html/book.html
|
131
203
|
# which is generated from the book/book.html.erb source file
|
132
204
|
when 'pdf'
|
@@ -149,7 +221,7 @@ module Bookshop
|
|
149
221
|
|
150
222
|
# Builds the pdf from builds/html/book.html
|
151
223
|
puts "Building new pdf at builds/pdf/book.pdf from new html build"
|
152
|
-
cmd =
|
224
|
+
cmd = system("prince -v builds/pdf/book.html -o builds/pdf/book.pdf")
|
153
225
|
|
154
226
|
else
|
155
227
|
puts "Error: Command not recognized" unless %w(-h --help).include?(build)
|
@@ -157,9 +229,10 @@ module Bookshop
|
|
157
229
|
Usage: bookshop build [ARGS]
|
158
230
|
|
159
231
|
The most common build commands are:
|
160
|
-
pdf Builds a new pdf
|
232
|
+
pdf Builds a new pdf at /builds/pdf/book.pdf
|
161
233
|
html Builds a new html at /builds/html/book.html
|
162
234
|
epub Builds a new epub at /builds/epub/book.epub
|
235
|
+
mobi Builds a new mobi at /builds/mobi/book.mobi
|
163
236
|
|
164
237
|
All commands can be run with -h for more information.
|
165
238
|
EOT
|
@@ -27,11 +27,15 @@ module Bookshop
|
|
27
27
|
# directory "tools/", "#{app_path}/tools/"
|
28
28
|
# end
|
29
29
|
|
30
|
-
#
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
30
|
+
#Change the permissions so tools are executable
|
31
|
+
def chmod_tools
|
32
|
+
chmod "#{app_path}/script/epubcheck/epubcheck.jar", 0755
|
33
|
+
chmod "#{app_path}/script/epubcheck/lib/jing.jar", 0755
|
34
|
+
chmod "#{app_path}/script/epubcheck/lib/saxon.jar", 0755
|
35
|
+
chmod "#{app_path}/script/kindlegen/kindlegen.exe", 0755
|
36
|
+
chmod "#{app_path}/script/kindlegen/kindlegen_mac", 0755
|
37
|
+
chmod "#{app_path}/script/kindlegen/kindlegen_linux", 0755
|
38
|
+
end
|
35
39
|
|
36
40
|
protected
|
37
41
|
|
File without changes
|
@@ -7,7 +7,9 @@ Bookshop is a an open-source book development and publishing framework for autho
|
|
7
7
|
A conceptual overview of bookshop: http://blueheadblog.blogspot.com/2012/03/announcing-bookshop-html-to-pdf-ebook.html
|
8
8
|
|
9
9
|
bookshop hopes to simplify the process by:
|
10
|
+
|
10
11
|
* using common tools like HTML/CSS to make the creation of your book comfortable and familiar, greatly reducing the learning curve for your developers, authors, agents, and other team members
|
12
|
+
* separating the "book" into its logical parts: Content via HTML (words, grammar, tense), Structure via microformat (chapters, sections), Style via css (layout, design, typeset), and Format (pdf, mobi, epub, html)
|
11
13
|
* providing a Ruby Gem to make building a book in HTML as easy as 'gem install bookshop'
|
12
14
|
* pulling all the html-to-pdf/(e)book tools together into one place (princexml, kindlegen, epubcheck)
|
13
15
|
* giving the developer a set of scripts to automate the redundant stuff
|
@@ -24,7 +26,7 @@ bookshop hopes to simplify the process by:
|
|
24
26
|
|
25
27
|
== Installation
|
26
28
|
|
27
|
-
For detailed instructions for your particular platform, please see this link:
|
29
|
+
For detailed installation instructions for your particular platform, please see this link:
|
28
30
|
|
29
31
|
https://github.com/blueheadpublishing/bookshop/wiki/Setting-Up-Your-bookshop-Environment
|
30
32
|
|
@@ -225,22 +227,24 @@ http://www.princexml.com/doc/8.0/
|
|
225
227
|
|
226
228
|
==== Editing you epub document and options
|
227
229
|
|
230
|
+
We decided to keep away from a generator model for the epub, in favor of allowing the developer to have full control of the epub file in all its aspects. The build command for epub is merely to build the main html file from the .erb source files and then to zip them up into the epub format.
|
231
|
+
|
228
232
|
There are two main files (besides your actual book source) you will need to edit for the epub build are located in the +book/epub/OEBPS+ folder: content.opf (the Open Packaging Format) and the toc.ncx (the Navigation file).
|
229
233
|
|
230
|
-
|
234
|
+
===== 1. The *content.opf* file is the file which contains all of the primary information about your epub ebook (publisher, files included, date, etc.).
|
231
235
|
|
232
|
-
http://idpf.org/epub/
|
233
|
-
http://idpf.org/epub/30/spec/epub30-ocf.html - For the specs on the epub file structures and contents
|
236
|
+
http://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm - Specs on the .opf file
|
234
237
|
|
235
|
-
|
238
|
+
===== 2. The toc.ncx file is the file which contains the structural tree of your book's navigation.
|
236
239
|
|
237
|
-
|
240
|
+
http://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.4.1.2 - Specs on the .ncx file.
|
238
241
|
|
239
|
-
|
242
|
+
During the build process, the entire contents of the +book/epub/+ folder will be used, along with your book source files, to create your epub book format. You can add or edit any of the files in that folder if you like. Generally speaking, you will probably only ever edit the content.opf.erb and the toc.ncx.erb files.
|
240
243
|
|
241
|
-
|
244
|
+
http://idpf.org/epub/30 - For an overview of EPUB
|
245
|
+
http://idpf.org/epub/30/spec/epub30-ocf.html - For the specs on the epub file structures and contents
|
242
246
|
|
243
|
-
|
247
|
+
We recommend consulting the EPUB documentation for specifics.
|
244
248
|
|
245
249
|
== Example Book
|
246
250
|
|
@@ -311,35 +315,13 @@ config
|
|
311
315
|
6. Let us know about your code and we'll review/merge it into the master.
|
312
316
|
7. And pat yourself on the back for contributing to an open source project!!
|
313
317
|
|
314
|
-
==
|
318
|
+
== License
|
315
319
|
|
316
320
|
Copyright (C) 2011, 2012 by BlueHead Publishing, Inc (http://blueheadpublishing.com)
|
317
321
|
|
318
|
-
|
319
|
-
of this software and associated documentation files (the "Software"), to deal
|
320
|
-
in the Software without restriction, including without limitation the rights
|
321
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
322
|
-
copies of the Software, and to permit persons to whom the Software is
|
323
|
-
furnished to do so, subject to the following conditions:
|
324
|
-
|
325
|
-
The above copyright notice and this permission notice shall be included in
|
326
|
-
all copies or substantial portions of the Software.
|
327
|
-
|
328
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
329
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
330
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
331
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
332
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
333
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
334
|
-
THE SOFTWARE.
|
335
|
-
|
336
|
-
== The Boom Microformat License - boom.css (from which the css microformat was based)
|
337
|
-
|
338
|
-
http://www.alistapart.com/articles/boom
|
322
|
+
Bookshop is available under either The "New" BSD License or The MIT License
|
339
323
|
|
340
|
-
|
341
|
-
written by Hakon Wium Lie and Bert Bos, November 2005
|
342
|
-
You may reuse this style sheet for any purpose without any fees
|
324
|
+
Please see the LICENSE file for further information
|
343
325
|
|
344
326
|
== Thanks
|
345
327
|
|
@@ -25,7 +25,7 @@
|
|
25
25
|
media-type="application/xhtml+xml" />
|
26
26
|
|
27
27
|
<!-- Assets -->
|
28
|
-
<item id="
|
28
|
+
<item id="canvas-image" href="assets/images/canvas.jpg" media-type="image/jpeg"/>
|
29
29
|
<item id="draft-image" href="assets/images/draft.png" media-type="image/png"/>
|
30
30
|
<item id="html-image" href="assets/images/html-18.png" media-type="image/png"/>
|
31
31
|
|
@@ -0,0 +1,19 @@
|
|
1
|
+
Copyright (c) 2007 Adobe Systems Incorporated
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
4
|
+
this software and associated documentation files (the "Software"), to deal in
|
5
|
+
the Software without restriction, including without limitation the rights to
|
6
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
7
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
8
|
+
subject to the following conditions:
|
9
|
+
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
11
|
+
copies or substantial portions of the Software.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
15
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
16
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
17
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
18
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
19
|
+
|
@@ -0,0 +1,61 @@
|
|
1
|
+
This folder contains the distribution of epubcheck project.
|
2
|
+
|
3
|
+
EpubCheck is a tool to validate IDPF Epub files. It can detect many
|
4
|
+
types of errors in Epub. OCF container structure, OPF and OPS mark-up,
|
5
|
+
and internal reference consistency are checked. EpubCheck can be run
|
6
|
+
as a standalone command-line tool, installed as a web application or
|
7
|
+
used as a library.
|
8
|
+
|
9
|
+
Epubcheck project home: http://code.google.com/p/epubcheck/
|
10
|
+
|
11
|
+
BUILDING
|
12
|
+
|
13
|
+
To build epubcheck from the sources you need Java Development Kit (JDK) 1.5 or above
|
14
|
+
and Apache ant (http://ant.apache.org/) 1.6 or above installed
|
15
|
+
|
16
|
+
Run
|
17
|
+
|
18
|
+
ant -f build.xml
|
19
|
+
|
20
|
+
RUNNING
|
21
|
+
|
22
|
+
To run the tool you need Java Runtime (1.5 or above). Any OS should do. Run
|
23
|
+
it from the command line:
|
24
|
+
|
25
|
+
java -jar epubcheck-x.x.x.jar file.epub
|
26
|
+
|
27
|
+
All detected errors are simply printed to stderr.
|
28
|
+
|
29
|
+
USING AS A LIBRARY
|
30
|
+
|
31
|
+
You can also use EpubCheck as a library in your Java application. EpubCheck
|
32
|
+
public interfaces can be found in com.adobe.epubcheck.api package. EpubCheck
|
33
|
+
class can be used to instantiate a validation engine. Use one of its
|
34
|
+
constructors and then call validate() method. Report is an interface that
|
35
|
+
you can implement to get a list of the errors and warnings reported by the
|
36
|
+
validation engine (instead of the error list being printed out).
|
37
|
+
|
38
|
+
LICENSING
|
39
|
+
|
40
|
+
See COPYING.txt
|
41
|
+
|
42
|
+
AUTHORS
|
43
|
+
|
44
|
+
Peter Sorotokin
|
45
|
+
Garth Conboy
|
46
|
+
Markus Gylling
|
47
|
+
Piotr Kula
|
48
|
+
|
49
|
+
Most of the EpubCheck functionality comes from the schema validation tool Jing
|
50
|
+
and schemas that were developed by IDPF and DAISY. EpubCheck development was
|
51
|
+
largely done at Adobe Systems.
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
Binary file
|
@@ -0,0 +1,12 @@
|
|
1
|
+
Jing Copying Conditions
|
2
|
+
|
3
|
+
Copyright (c) 2001-2003 Thai Open Source Software Center Ltd
|
4
|
+
All rights reserved.
|
5
|
+
|
6
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
7
|
+
|
8
|
+
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
9
|
+
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
10
|
+
* Neither the name of the Thai Open Source Software Center Ltd nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
11
|
+
|
12
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
Binary file
|
File without changes
|
@@ -0,0 +1,61 @@
|
|
1
|
+
SOFTWARE END USER LICENSE AGREEMENT
|
2
|
+
|
3
|
+
This Software End User License Agreement is a legal agreement between Amazon Digital Services, Inc. (�Amazon� and, together with Amazon�s Affiliates, �we� or �us�) and the individual or entity accepting this Agreement (�you�).
|
4
|
+
|
5
|
+
Please read this Agreement, all rules and policies related to the publisher software tools, and the Amazon.com Privacy Notice (located at http://www.amazon.com/privacy) (collectively, the �Agreement�) carefully before downloading or using the publisher software tools. This Agreement applies to the publisher software tools and to any and all updates, modifications and enhancements to the publisher software tools that we may provide, as well as any associated printed and online documentation (collectively, the �Software�).
|
6
|
+
|
7
|
+
If you download or use the Software, you will be bound by the terms of this Agreement. If you do not or cannot agree to the terms of this Agreement, do not attempt to download or use the Software.
|
8
|
+
|
9
|
+
LICENSE
|
10
|
+
The Software allows you to do one or more of the following: (i) convert documents existing in certain file types or formats into Kindle-compatible formats (such Kindle-compatible files, the �Content�), or (ii) preview Content from a personal computer to evaluate how that Content may appear on Kindle products. Subject to your compliance with all of the terms and conditions of this Agreement, Amazon grants to you a revocable, non-exclusive, non-assignable, non-sublicensable and non-transferable license to download, install and use the Software on a server, desktop or laptop computer for your use (which may be personal or commercial) for the purpose of converting documents into Content and previewing the Content, as applicable.
|
11
|
+
|
12
|
+
THIRD PARTY SOFTWARE
|
13
|
+
The Software may include third party software that is subject to different license terms than are contained in this Agreement. Please refer to the Software�s installation directory to review any applicable third party terms.
|
14
|
+
|
15
|
+
RESERVATION OF RIGHTS; NO REVERSE ENGINEERING, DECOMPILATION OR DISASSEMBLY
|
16
|
+
You may not copy, modify, reverse engineer, decompile, or disassemble the Software, whether in whole or in part, create any derivative works from or of the Software, or combine the Software with other products, except that you may make one copy of the Software for back-up purposes. You may not separate any individual component of the Software for use on another device or computer, may not transfer it for use on another device or use it, or any portion of it, over a network and may not sell, rent, lease, lend, distribute or sublicense or otherwise assign any rights to the Software in whole or in part. All rights not expressly granted to you are reserved by Amazon.
|
17
|
+
|
18
|
+
NO ILLEGAL USE
|
19
|
+
The Software may be used only for lawful purposes and in a lawful manner, and you agree to comply with all applicable laws and regulations. Amazon may investigate any reported violation of its policies and take any action it deems appropriate, including terminating your license to use the Software without notice.
|
20
|
+
|
21
|
+
COPYRIGHT
|
22
|
+
The Software is the exclusive property of Amazon and is protected by U.S. and international copyright laws. All content included on the Software, such as text, graphics, logos, button icons, and images, is the property of Amazon or our content suppliers and licensors, and is separately and in the aggregate protected by United States and international copyright laws.
|
23
|
+
|
24
|
+
TRADEMARKS
|
25
|
+
AMAZON, the AMAZON logo, Kindle, and other marks indicated on the Software or herein are trademarks of Amazon or its affiliates in the United States and other countries. Other Amazon graphics, logos, button icons, scripts, and service names are trademarks or trade dress of Amazon or its affiliates. Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among users, or in any manner that disparages or discredits Amazon or its affiliates. All other trademarks not owned by Amazon or its affiliates that appear on the Software are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon or its affiliates.
|
26
|
+
|
27
|
+
PATENTS
|
28
|
+
The Software and/or methods used in association with the Software may be covered by one or more patents or pending patent applications.
|
29
|
+
|
30
|
+
EXPORT REGULATIONS
|
31
|
+
You will comply with all applicable export and re-export restrictions and regulations, and you will not transfer, or encourage, assist, or authorize the transfer of the Software to a prohibited country or otherwise in violation of any such restrictions or regulations.
|
32
|
+
|
33
|
+
TERMINATION
|
34
|
+
Your rights under this Agreement will automatically terminate without notice from Amazon if you fail to comply with any term of this Agreement. In case of such termination, you must cease all use of the Software.
|
35
|
+
|
36
|
+
DISCLAIMER OF WARRANTIES
|
37
|
+
USE OF THE SOFTWARE IS AT YOUR SOLE RISK. NO ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY AMAZON OR AN AUTHORIZED REPRESENTATIVE OF AMAZON CREATES A WARRANTY, AND THE SOFTWARE IS PROVIDED �AS IS� AND �AS AVAILABLE,� WITH ALL FAULTS AND WITHOUT WARRANTY OF ANY KIND. AMAZON, ITS SUPPLIERS, ITS LICENSORS, AND ANY OF THEIR AFFILIATES DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, SUCH AS THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, ACCURACY, QUIET ENJOYMENT, AND NON-INFRINGEMENT OF THIRD-PARTY RIGHTS. AMAZON, ITS SUPPLIERS, AND ITS LICENSORS DO NOT WARRANT THAT THE SOFTWARE IS FREE OF VIRUSES OR OTHER HARMFUL COMPONENTS. THE LAWS OF CERTAIN JURISDICTIONS DO NOT ALLOW THE DISCLAIMER OF IMPLIED WARRANTIES. IF THESE LAWS APPLY TO YOU, SOME OR ALL OF THE ABOVE DISCLAIMERS, EXCLUSIONS OR LIMITATIONS MAY NOT APPLY TO YOU, AND YOU MAY HAVE ADDITIONAL RIGHTS.
|
38
|
+
|
39
|
+
LIMITATIONS OF LIABILITY
|
40
|
+
TO THE EXTENT NOT PROHIBITED BY LAW, AMAZON, ITS SUPPLIERS, ITS LICENSORS, AND ANY OF THEIR AFFILIATES WILL NOT BE LIABLE TO YOU FOR ANY INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR BREACH OF ANY EXPRESS OR IMPLIED WARRANTY, BREACH OF CONTRACT, NEGLIGENCE, STRICT LIABILITY, OR ANY OTHER LEGAL THEORY RELATED TO THE SOFTWARE, SUCH AS ANY DAMAGES ARISING OUT OF LOSS OF PROFITS, REVENUE, DATA, OR USE OF THE SOFTWARE OR ANY ASSOCIATED PRODUCT, EVEN IF AMAZON HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN ANY CASE, AMAZON'S AGGREGATE LIABILITY UNDER THIS AGREEMENT SHALL BE LIMITED TO FIVE DOLLARS (US $5.00). THE LAWS OF CERTAIN JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES. IF THESE LAWS APPLY TO YOU, SOME OR ALL OF THE ABOVE EXCLUSIONS OR LIMITATIONS MAY NOT APPLY TO YOU, AND YOU MAY HAVE ADDITIONAL RIGHTS.
|
41
|
+
|
42
|
+
GOVERNING LAW
|
43
|
+
The laws of the state of Washington, without regard to principles of conflict of laws, will govern this Agreement and any dispute of any sort that might arise between you and Amazon.
|
44
|
+
|
45
|
+
DISPUTES
|
46
|
+
Any dispute relating in any way to the Software in which the aggregate total claim for relief sought on behalf of one or more parties exceeds $7,500 shall be adjudicated in any state or federal court in King County, Washington, and you consent to exclusive jurisdiction and venue in such courts.
|
47
|
+
|
48
|
+
U.S. GOVERNMENT RIGHTS
|
49
|
+
The Software is provided to the U.S. Government as �commercial items,� �commercial computer software,� �commercial computer software documentation,� and �technical data,� as defined in the U.S. Federal Acquisition Regulation and the U.S. Defense Federal Acquisition Regulation Supplement, with the same rights and restrictions customarily provided to end users.
|
50
|
+
|
51
|
+
AMENDMENT
|
52
|
+
We may amend any of the terms of this Agreement in our sole discretion by posting the revised terms on the Amazon.com website. Your continued use of the Software after the effective date of any such amendment constitutes your agreement to be bound by such amendment.
|
53
|
+
|
54
|
+
NO WAIVER
|
55
|
+
Amazon's failure to enforce the strict performance of any provision of this Agreement will not constitute a waiver of Amazon's right to subsequently enforce such provisions or any other provisions of this Agreement. No waiver of any provision of this Agreement shall be effective unless in writing.
|
56
|
+
|
57
|
+
ENTIRE AGREEMENT AND SEVERABILITY
|
58
|
+
This is the entire agreement between Amazon and you regarding the Software and supersedes all prior understandings regarding such subject matter. If any term or condition of this Agreement is deemed invalid, void, or for any reason unenforceable, that part will be deemed severable and will not affect the validity and enforceability of any remaining term or condition.
|
59
|
+
|
60
|
+
CONTACT INFORMATION
|
61
|
+
For communications concerning this Agreement, you may contact Amazon by writing to Amazon.com, Attn: Legal Department, 410 Terry Avenue North Seattle, WA 98109-5210 USA.
|
@@ -0,0 +1,21 @@
|
|
1
|
+
ICU4C 4.2.1
|
2
|
+
|
3
|
+
ICU License - ICU 1.8.1 and later
|
4
|
+
|
5
|
+
COPYRIGHT AND PERMISSION NOTICE
|
6
|
+
|
7
|
+
Copyright (c) 1995-2009 International Business Machines Corporation and others
|
8
|
+
|
9
|
+
All rights reserved.
|
10
|
+
|
11
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, provided that the above copyright notice(s) and this permission notice appear in all copies of the Software and that both the above copyright notice(s) and this permission notice appear in supporting documentation.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
14
|
+
|
15
|
+
Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization of the copyright holder.
|
16
|
+
|
17
|
+
libjpeg 6b
|
18
|
+
|
19
|
+
This software is copyright (C) 1991-1998, Thomas G. Lane. This software is based in part on the work of the Independent JPEG Group.
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
ICU4C 4.2.1
|
2
|
+
|
3
|
+
ICU License - ICU 1.8.1 and later
|
4
|
+
|
5
|
+
COPYRIGHT AND PERMISSION NOTICE
|
6
|
+
|
7
|
+
Copyright (c) 1995-2009 International Business Machines Corporation and others
|
8
|
+
|
9
|
+
All rights reserved.
|
10
|
+
|
11
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, provided that the above copyright notice(s) and this permission notice appear in all copies of the Software and that both the above copyright notice(s) and this permission notice appear in supporting documentation.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
14
|
+
|
15
|
+
Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization of the copyright holder.
|
16
|
+
|
17
|
+
libjpeg 6b
|
18
|
+
|
19
|
+
This software is copyright (C) 1991-1998, Thomas G. Lane. This software is based in part on the work of the Independent JPEG Group.
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
libjpeg 6b
|
2
|
+
|
3
|
+
This software is copyright (C) 1991-1998, Thomas G. Lane. This software is based in part on the work of the Independent JPEG Group.
|
4
|
+
|
5
|
+
ZipUtils 1.1.4
|
6
|
+
|
7
|
+
Copyright (c) 1990-2007 Info-ZIP. All rights reserved.
|
8
|
+
|
9
|
+
For the purposes of this copyright and license, "Info-ZIP" is defined as the following set of individuals:
|
10
|
+
|
11
|
+
Mark Adler, John Bush, Karl Davis, Harald Denker, Jean-Michel Dubois, Jean-loup Gailly, Hunter Goatley, Ed Gordon, Ian Gorman, Chris Herborth, Dirk Haase, Greg Hartwig, Robert Heath, Jonathan Hudson, Paul Kienitz, David Kirschbaum, Johnny Lee, Onno van der Linden, Igor Mandrichenko, Steve P. Miller, Sergio Monesi, Keith Owens, George Petrov, Greg Roelofs, Kai Uwe Rommel, Steve Salisbury, Dave Smith, Steven M. Schweda, Christian Spieler, Cosmin Truta, Antoine Verheijen, Paul von Behren, Rich Wales, Mike White.
|
12
|
+
This software is provided "as is," without warranty of any kind, express or implied. In no event shall Info-ZIP or its contributors be held liable for any direct, indirect, incidental, special or consequential damages arising out of the use of or inability to use this software.
|
13
|
+
|
14
|
+
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the above disclaimer and the following restrictions:
|
15
|
+
|
16
|
+
- Redistributions of source code (in whole or in part) must retain the above copyright notice, definition, disclaimer, and this list of conditions.
|
17
|
+
- Redistributions in binary form (compiled executables and libraries) must reproduce the above copyright notice, definition, disclaimer, and this list of conditions in documentation and/or other materials provided with the distribution. The sole exception to this condition is redistribution of a standard UnZipSFX binary (including SFXWiz) as part of a self-extracting archive; that is permitted without inclusion of this license, as long as the normal SFX banner has not been removed from the binary or disabled.
|
18
|
+
- Altered versions--including, but not limited to, ports to new operating systems, existing ports with new graphical interfaces, versions with modified or added functionality, and dynamic, shared, or static library versions not from Info-ZIP--must be plainly marked as such and must not be misrepresented as being the original source or, if binaries, compiled from the original source. Such altered versions also must not be misrepresented as being Info-ZIP releases--including, but not limited to, labeling of the altered versions with the names "Info-ZIP" (or any variation thereof, including, but not limited to, different capitalizations), "Pocket UnZip," "WiZ" or "MacZip" without the explicit permission of Info-ZIP. Such altered versions are further prohibited from misrepresentative use of the Zip-Bugs or Info-ZIP e-mail addresses or the Info-ZIP URL(s), such as to imply Info-ZIP will provide support for the altered versions.
|
19
|
+
- Info-ZIP retains the right to use the names "Info-ZIP," "Zip," "UnZip," "UnZipSFX," "WiZ," "Pocket UnZip," "Pocket Zip," and "MacZip" for its own source and binary releases.
|
Binary file
|
Binary file
|
Binary file
|
data/lib/bookshop/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bookshop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-04-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
16
|
-
requirement: &
|
16
|
+
requirement: &70288713141340 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.14.6
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70288713141340
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: bundler
|
27
|
-
requirement: &
|
27
|
+
requirement: &70288713166500 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.0.0
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70288713166500
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rake
|
38
|
-
requirement: &
|
38
|
+
requirement: &70288713166020 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70288713166020
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: minitest
|
49
|
-
requirement: &
|
49
|
+
requirement: &70288713165540 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70288713165540
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: aruba
|
60
|
-
requirement: &
|
60
|
+
requirement: &70288713165120 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70288713165120
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rdoc
|
71
|
-
requirement: &
|
71
|
+
requirement: &70288713164700 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70288713164700
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: mocha
|
82
|
-
requirement: &
|
82
|
+
requirement: &70288713164200 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,7 +87,7 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *70288713164200
|
91
91
|
description: ! "bookshop is a book publishing framework for building pdf/(e)books
|
92
92
|
based on HTML,\n CSS, and JavaScript. The framework is optimized
|
93
93
|
to help publishers, editors, and authors\n quickly ramp-up, allowing
|
@@ -134,19 +134,38 @@ files:
|
|
134
134
|
- lib/bookshop/generators/bookshop/app/templates/book/frontmatter/toc.html.erb
|
135
135
|
- lib/bookshop/generators/bookshop/app/templates/CHANGELOG
|
136
136
|
- lib/bookshop/generators/bookshop/app/templates/config/book.yml
|
137
|
+
- lib/bookshop/generators/bookshop/app/templates/config/config.rb
|
137
138
|
- lib/bookshop/generators/bookshop/app/templates/README.rdoc
|
138
139
|
- lib/bookshop/generators/bookshop/app/templates/script/bookshop
|
140
|
+
- lib/bookshop/generators/bookshop/app/templates/script/epubcheck/COPYING.txt
|
141
|
+
- lib/bookshop/generators/bookshop/app/templates/script/epubcheck/epubcheck.jar
|
142
|
+
- lib/bookshop/generators/bookshop/app/templates/script/epubcheck/jing_license.txt
|
143
|
+
- lib/bookshop/generators/bookshop/app/templates/script/epubcheck/lib/jing.jar
|
144
|
+
- lib/bookshop/generators/bookshop/app/templates/script/epubcheck/lib/saxon.jar
|
145
|
+
- lib/bookshop/generators/bookshop/app/templates/script/epubcheck/README.txt
|
146
|
+
- lib/bookshop/generators/bookshop/app/templates/script/kindlegen/EULA.txt
|
147
|
+
- lib/bookshop/generators/bookshop/app/templates/script/kindlegen/KindleGen Legal
|
148
|
+
Notices 2009-11-10 Linux.txt
|
149
|
+
- lib/bookshop/generators/bookshop/app/templates/script/kindlegen/KindleGen Legal
|
150
|
+
Notices 2009-11-10 Mac.txt
|
151
|
+
- lib/bookshop/generators/bookshop/app/templates/script/kindlegen/KindleGen OSS Notices
|
152
|
+
2009-07-29-Windows.txt
|
153
|
+
- lib/bookshop/generators/bookshop/app/templates/script/kindlegen/kindlegen.exe
|
154
|
+
- lib/bookshop/generators/bookshop/app/templates/script/kindlegen/kindlegen_linux
|
155
|
+
- lib/bookshop/generators/bookshop/app/templates/script/kindlegen/kindlegen_mac
|
139
156
|
- lib/bookshop/generators/bookshop/app/USAGE
|
140
157
|
- lib/bookshop/post_install.rb
|
141
158
|
- lib/bookshop/ruby_version_check.rb
|
142
159
|
- lib/bookshop/script_bookshop_loader.rb
|
143
160
|
- lib/bookshop/version.rb
|
144
161
|
- lib/bookshop.rb
|
162
|
+
- lib/bookshop/generators/bookshop/app/templates/.gitignore
|
145
163
|
- lib/bookshop/generators/bookshop/app/templates/book/assets/js/.empty_directory
|
146
164
|
- lib/bookshop/generators/bookshop/app/templates/builds/epub/.empty_directory
|
147
165
|
- lib/bookshop/generators/bookshop/app/templates/builds/html/.empty_directory
|
148
166
|
- lib/bookshop/generators/bookshop/app/templates/builds/mobi/.empty_directory
|
149
167
|
- lib/bookshop/generators/bookshop/app/templates/builds/pdf/.empty_directory
|
168
|
+
- lib/bookshop/generators/bookshop/app/templates/script/kindlegen/.empty_directory
|
150
169
|
homepage: http://blueheadpublishing.github.com/bookshop/
|
151
170
|
licenses:
|
152
171
|
- MIT
|