bookshop 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. data/CHANGELOG.md +184 -0
  2. data/bin/epubcheck +7 -0
  3. data/{lib/bookshop/generators/bookshop/app/templates/script/epubcheck → bin/epubcheck_dir}/epubcheck.jar +0 -0
  4. data/{lib/bookshop/generators/bookshop/app/templates/script/epubcheck → bin/epubcheck_dir}/lib/jing.jar +0 -0
  5. data/{lib/bookshop/generators/bookshop/app/templates/script/epubcheck → bin/epubcheck_dir}/lib/saxon.jar +0 -0
  6. data/bin/kindlegen +18 -0
  7. data/{lib/bookshop/generators/bookshop/app/templates/script/kindlegen → bin}/kindlegen.exe +0 -0
  8. data/{lib/bookshop/generators/bookshop/app/templates/script/kindlegen → bin}/kindlegen_linux +0 -0
  9. data/{lib/bookshop/generators/bookshop/app/templates/script/kindlegen → bin}/kindlegen_mac +0 -0
  10. data/{lib/bookshop/generators/bookshop/app/templates/script → bin/licenses}/epubcheck/COPYING.txt +0 -0
  11. data/{lib/bookshop/generators/bookshop/app/templates/script → bin/licenses}/epubcheck/README.txt +0 -0
  12. data/{lib/bookshop/generators/bookshop/app/templates/script → bin/licenses}/epubcheck/jing_license.txt +0 -0
  13. data/{lib/bookshop/generators/bookshop/app/templates/script → bin/licenses}/kindlegen/EULA.txt +0 -0
  14. data/lib/bookshop/generators/bookshop/app/templates/script/kindlegen/KindleGen Legal Notices 2009-11-10 Linux.txt b/data/bin/licenses/kindlegen/KindleGen Legal Notices 2009-11-10 → Linux.txt +0 -0
  15. data/lib/bookshop/generators/bookshop/app/templates/script/kindlegen/KindleGen Legal Notices 2009-11-10 Mac.txt b/data/bin/licenses/kindlegen/KindleGen Legal Notices 2009-11-10 → Mac.txt +0 -0
  16. data/lib/bookshop/generators/bookshop/app/templates/script/kindlegen/KindleGen OSS Notices 2009-07-29-Windows.txt b/data/bin/licenses/kindlegen/KindleGen OSS Notices → 2009-07-29-Windows.txt +0 -0
  17. data/{lib/bookshop/generators/bookshop/app/templates/script → bin/licenses}/zip/Contents +0 -0
  18. data/{lib/bookshop/generators/bookshop/app/templates/script → bin/licenses}/zip/LICENSE +0 -0
  19. data/{lib/bookshop/generators/bookshop/app/templates/script → bin/licenses}/zip/README +0 -0
  20. data/{lib/bookshop/generators/bookshop/app/templates/script → bin/licenses}/zip/README.CR +0 -0
  21. data/{lib/bookshop/generators/bookshop/app/templates/script → bin/licenses}/zip/WHATSNEW +0 -0
  22. data/{lib/bookshop/generators/bookshop/app/templates/script → bin/licenses}/zip/WHERE +0 -0
  23. data/{lib/bookshop/generators/bookshop/app/templates/script → bin/licenses}/zip/zip.txt +0 -0
  24. data/{lib/bookshop/generators/bookshop/app/templates/script → bin/licenses}/zip/zip30.ann +0 -0
  25. data/{lib/bookshop/generators/bookshop/app/templates/script/zip → bin}/zip.exe +0 -0
  26. data/lib/bookshop/commands/build.rb +7 -16
  27. data/lib/bookshop/generators/bookshop/app/app_generator.rb +0 -13
  28. data/lib/bookshop/version.rb +1 -1
  29. metadata +53 -57
  30. data/lib/bookshop/generators/bookshop/app/templates/script/kindlegen/.empty_directory +0 -0
  31. data/lib/bookshop/generators/bookshop/app/templates/script/zip/zipcloak.exe +0 -0
  32. data/lib/bookshop/generators/bookshop/app/templates/script/zip/zipcloak.txt +0 -75
  33. data/lib/bookshop/generators/bookshop/app/templates/script/zip/zipnote.exe +0 -0
  34. data/lib/bookshop/generators/bookshop/app/templates/script/zip/zipnote.txt +0 -63
  35. data/lib/bookshop/generators/bookshop/app/templates/script/zip/zipsplit.exe +0 -0
  36. data/lib/bookshop/generators/bookshop/app/templates/script/zip/zipsplit.txt +0 -53
@@ -0,0 +1,184 @@
1
+ ## Bookshop 0.1.7 ##
2
+ ### Features ###
3
+ * Moved third-party binaries (kindlegen, epubcheck.jar, zip-info) into gem /bin path so they are referenced from within the bookshop gem and do not need to be duplicated within each new book project
4
+
5
+ ## Bookshop 0.1.6 ##
6
+ ### Features ###
7
+ * Added new build command, 'bookshop build all' which builds all formats
8
+ * Added aruba/cucumber tests for new build command
9
+
10
+ ### Bug Fixes ###
11
+ * Fixed bug with Kindle needing cover.html removed from manifest
12
+ * Fixed issue #50 where bookshop -v failed
13
+
14
+ ## Bookshop 0.1.5 ##
15
+ ### Features ###
16
+ * Edited eBooks for greater compatibility with device standards
17
+ * Added stout to Cuke features so the output is viewable during tests
18
+
19
+ ### Bug Fixes ###
20
+ * Issue #48 fixed so that previous build is cleaned up before new one is built
21
+ * Added new cucumber feature to test that previous builds are cleaned up
22
+ * Issue #47 fixed so ePub on iPad is displaying correctly
23
+
24
+
25
+ ## Bookshop 0.1.4 ##
26
+ ### Features ###
27
+ * Added zip functionality to windows for building epub and mobi
28
+ * Added new error handling (thanks to Stratos Voukelatos) - issue #7
29
+ * Refactoring of Build.rb (thanks to Stratos Voukelatos) - issue #38
30
+
31
+ ## Bookshop 0.1.3 ##
32
+ ### Features ###
33
+ * Added 'bookshop build mobi' for kindle support
34
+ * Added Kindlegen for building mobi files from epub
35
+ * Added EpubCheck libraries and functionality to validate epub builds
36
+ * Added new verbose output for PrinceXML
37
+
38
+ ### Documentation ###
39
+ * Added new kindle build documentation to install wiki and README
40
+
41
+ ## Bookshop 0.1.2 ##
42
+
43
+ ### Bug Fixes ###
44
+ * Fixed bug causing 'build pdf' to generate html files into the builds/html dir
45
+
46
+ ### Documentation ###
47
+ * Updated with new platform specific setup link
48
+ * Reworked tutorial with additional functionality
49
+
50
+ ## Bookshop 0.1.1 ##
51
+
52
+ ### Features ###
53
+ * Added epub build (which was left out in previous release, but meant to be a part of the 0.1.0 release)
54
+
55
+ ## Bookshop 0.1.0 ##
56
+
57
+ ### Features ###
58
+ * Moved from wkhtmltopdf to PrinceXML
59
+ * Restructed book example generation with front/body/backmatter folders
60
+ * Reformatted CSS back to original boom.css
61
+ * Updated cucumber testing features
62
+ * dropped PDFKit since no longer using wkhtmltopdf
63
+ * dropped config/toc.yml
64
+
65
+ ### Documentation ###
66
+ * Updated README for PrinceXML
67
+
68
+ ## Bookshop 0.0.22 ##
69
+
70
+ ### Features ###
71
+ * Added a javascript folder to house javascript files
72
+ * Moved all css/images/js into an assets folder
73
+ * Created a Contributors file to list devs on project
74
+
75
+ ## Bookshop 0.0.21 ##
76
+
77
+ (0.0.20 was skipped due to a bad gem push)
78
+
79
+ ### Features ###
80
+ * Added PDFKit integration which adds ability to pass wkhtmltopdf options via <meta> tags in the html (e.g. <meta name="pdfkit-page_width" content="6in" />)
81
+
82
+ ### Documentation ###
83
+ * Updated README with instructions for passing wkhtmltopdf options via html meta tags
84
+
85
+ * Added new website http://blueheadpublishing.github.com/bookshop/ using the gh-pages branch - which is then hosted on the git pages site
86
+
87
+ * Created the example book which serves as the test book for the cucumber tests, and as an example for users to see how to code their books.
88
+
89
+ ## Bookshop 0.0.19 ##
90
+ ### Testing ###
91
+ * This release incorporates a new testing suite.
92
+ * I've added Aruba and Cucumber to create acceptance tests for the basic features of bookshop. This does not currently include any unit testing. I will be adding unit tests in a future release. Hopefully these basic acceptance tests will provide some essence of stability considering my recent cowboy coding. -)
93
+
94
+ ## Bookshop 0.0.18 ##
95
+ ### Features ###
96
+ * Added @output variable for use in ERB source files so conditionals can be used to define custom layouts based upon the type of output being built (e.g. html, pdf, etc)
97
+
98
+ * Abstracted the book-to-yaml class into it's own class under */commands/yaml/book.rb
99
+
100
+ ### Documentation
101
+ * Edited the example book to demonstrate use of "output" conditionals in ERB source files.
102
+ * Added documentation in README's to show use of "output" conditionals in ERB source
103
+
104
+ ## Bookshop 0.0.17 ##
105
+ ### Features ###
106
+ * Added config/book.yml, providing a data structure for elements accessible within the book/ source files.
107
+
108
+ * Added 'current date' to the end of the generated filename of builds.
109
+
110
+ ### Clean-up ###
111
+ * Removed Template Generator for now, this has become part of the 0.2.0 milestone
112
+
113
+ ## Bookshop 0.0.16 ##
114
+ ### Features ###
115
+ * Added importing <%= import(your_source_file.html.erb) %> functionality for ERB source files, providing subtemplating, allowing for cleaner code layouts.
116
+
117
+ ### Documentation ###
118
+ * Edited the example book which is generated with 'bookshop new'. The new layout demonstrates how to utilize the <%= import(your_source_file.html.erb) %> for including sub-files.
119
+
120
+ * Removed 'Tools' subfolder including Kindlegen and Epubcheck - I will include them in a future release. But removed for now to save bandwidth and reduce gem size.
121
+
122
+ * Made 'book/' the assumed directory for source in 'bookshop build' command and removed 'book/' prefix in all of the layout imports
123
+
124
+ ## Bookshop 0.0.15 ##
125
+ ### Features ###
126
+ * Added ERB functionality to the book source
127
+
128
+ ## Bookshop 0.0.14 ##
129
+ * Moved repository to blueheadpublishing and modified gem source to update all links
130
+
131
+ ### Features ###
132
+ * Added CHANGELOG into project template to provide users with a best-practices in documenting version changes
133
+
134
+ ## Bookshop 0.0.13 ##
135
+ ### Bug fixes ###
136
+ * Fixed build pdf command so it doesn't try to build epub
137
+
138
+ ## Bookshop 0.0.12 ##
139
+ ### Doc fixes ###
140
+ * Added new post-install message to alert users to install wkhtmltopdf
141
+
142
+ * Removed old POST_INSTALL file
143
+
144
+ ## Bookshop 0.0.11 ##
145
+ ### Complete rewrite ###
146
+ * Switched from docbook toolchain to html/css/javascript toolchain
147
+
148
+ * Removed all XML/XSLT/FOP dependencies since no longer using docbook
149
+
150
+ * Added wkhtmltopdf as the html-to-pdf processor
151
+
152
+ * Added Boom(.css) microformat to replace structural markup previously available via docbook
153
+
154
+ * Moved copyright to BlueHead Inc
155
+
156
+ ## Bookshop 0.0.4 ##
157
+ ### Core Changes ###
158
+ * Added new mobi build
159
+
160
+ * Branding around World Uniting Press
161
+
162
+ * Added epubcheck for epub validations, v1.2
163
+
164
+ * Added kindlegen for generating mobi
165
+
166
+
167
+ ## Bookshop 0.0.3 ##
168
+ ### Core Changes ###
169
+ * Added Java toolsets, including all necessary .jars for working with Docbook and bookshop
170
+
171
+ * Updated documentation to include information on how to setup java tools and Classpaths on various systems
172
+
173
+ * Added MIT-LICENSE
174
+
175
+ * Application Generator now has dynamically generated dates and content
176
+
177
+ * Added epub build command
178
+
179
+ * Added pdf build command
180
+
181
+ * Significant rework of Command Line Interface and 'help' dialogues
182
+
183
+ * Bookshop Bug Fixes
184
+ (none as this was a substantial rework)
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/ruby
2
+
3
+ # parses 'epubcheck builds/epub/book.epub'
4
+ book_epub = ARGV.shift
5
+ epubcheck_jar = File.join(File.dirname(__FILE__), 'epubcheck_dir/epubcheck.jar')
6
+
7
+ cmd = system("java -jar #{epubcheck_jar} #{book_epub}")
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/ruby
2
+
3
+ # parses 'kindlegen builds/mobi/book.epub'
4
+ book_mobi = ARGV.shift
5
+
6
+ if RUBY_PLATFORM =~ /linux|cygwin/
7
+ executable = 'kindlegen_linux'
8
+ elsif RUBY_PLATFORM =~ /darwin/
9
+ puts "its darwin"
10
+ executable = 'kindlegen_mac'
11
+ elsif RUBY_PLATFORM =~ /mingw|mswin32/
12
+ executable = 'kindlegen.exe'
13
+ else
14
+ raise "Invalid platform. Must be running linux, intel-based Mac OS, or Windows XP/7."
15
+ end
16
+
17
+ executable = File.join(File.dirname(__FILE__), executable)
18
+ system(executable + " " + $*.join(" ") + book_mobi)
@@ -78,11 +78,11 @@ module Bookshop
78
78
  if RUBY_PLATFORM =~ /linux|darwin|cygwin/
79
79
  cmd = system("cd builds/epub/ && zip -X0 'book.epub' mimetype && zip -rDX9 'book.epub' * -x '*.DS_Store' -x mimetype")
80
80
  elsif RUBY_PLATFORM =~ /mingw|mswin32/
81
- cmd = system("cd builds/epub/ & ..\..\script\zip\zip.exe -X0 'book.epub' mimetype & ..\..\script\zip\zip.exe -rDX9 'book.epub' * -x mimetype")
81
+ cmd = system("cd builds/epub/ & zip.exe -X0 'book.epub' mimetype & zip.exe -rDX9 'book.epub' * -x mimetype")
82
82
  end
83
83
 
84
84
  puts "Validating with epubcheck"
85
- cmd = cmd = system("java -jar script/epubcheck/epubcheck.jar builds/epub/book.epub")
85
+ cmd = system("epubcheck builds/epub/book.epub")
86
86
 
87
87
  end
88
88
 
@@ -118,24 +118,16 @@ module Bookshop
118
118
  if RUBY_PLATFORM =~ /linux|darwin|cygwin/
119
119
  cmd = system("cd builds/mobi/ && zip -X0 'book.epub' mimetype && zip -rDX9 'book.epub' * -x '*.DS_Store' -x mimetype")
120
120
  elsif RUBY_PLATFORM =~ /mingw|mswin32/
121
- cmd = system("cd builds/mobi/ & ..\..\script\zip\zip.exe -X0 'book.epub' mimetype & ..\..\script\zip\zip.exe -rDX9 'book.epub' * -x mimetype")
121
+ cmd = system("cd builds/mobi/ & zip.exe -X0 'book.epub' mimetype & zip.exe -rDX9 'book.epub' * -x mimetype")
122
122
  end
123
123
 
124
+ # Validate with Epubcheck
124
125
  puts "Validating with epubcheck"
126
+ cmd = system("epubcheck builds/mobi/book.epub")
125
127
 
126
- # using exec so we can return the command results back to the terminal output
127
- cmd = system("java -jar script/epubcheck/epubcheck.jar builds/mobi/book.epub")
128
-
128
+ # Convert Epub to Mobi with Kindlegen
129
129
  puts "Generating mobi file with KindleGen"
130
- if RUBY_PLATFORM =~ /linux/
131
- cmd = system("script/kindlegen/kindlegen_linux builds/mobi/book.epub")
132
- elsif RUBY_PLATFORM =~ /darwin/
133
- cmd = system("script/kindlegen/kindlegen_mac builds/mobi/book.epub")
134
- elsif RUBY_PLATFORM =~ /mswin32/
135
- cmd = system("script/kindlegen/kindlegen.exe builds/mobi/book.epub")
136
- else
137
- raise "We can't seem to execute the version of kindle specific to your platform."
138
- end
130
+ cmd = system("kindlegen builds/mobi/book.epub")
139
131
 
140
132
  end
141
133
 
@@ -179,7 +171,6 @@ module Bookshop
179
171
  def self.load_yaml_files
180
172
  # Load the book.yml into the Book object
181
173
  @book = Book.new(YAML.load_file('config/book.yml'))
182
- # @toc = Toc.new(YAML.load_file('config/toc.yml'))
183
174
  end
184
175
 
185
176
  # Renders <%= import(source.html.erb) %> files with ERB
@@ -24,19 +24,6 @@ module Bookshop
24
24
  directory "templates", "#{app_path}"
25
25
  end
26
26
 
27
- #Change the permissions so tools are executable
28
- def chmod_tools
29
- chmod "#{app_path}/script/epubcheck/epubcheck.jar", 0755
30
- chmod "#{app_path}/script/epubcheck/lib/jing.jar", 0755
31
- chmod "#{app_path}/script/epubcheck/lib/saxon.jar", 0755
32
- chmod "#{app_path}/script/kindlegen/kindlegen.exe", 0755
33
- chmod "#{app_path}/script/kindlegen/kindlegen_mac", 0755
34
- chmod "#{app_path}/script/kindlegen/kindlegen_linux", 0755
35
- chmod "#{app_path}/script/zip/zip.exe", 0755
36
- end
37
-
38
-
39
-
40
27
  protected
41
28
 
42
29
  def self.banner
@@ -1,3 +1,3 @@
1
1
  module Bookshop
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookshop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Dave Thompson
9
9
  autorequire:
10
- bindir: bin
10
+ bindir: bin/
11
11
  cert_chain: []
12
- date: 2012-05-23 00:00:00.000000000 Z
12
+ date: 2012-06-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
16
- requirement: &70169033292740 !ruby/object:Gem::Requirement
16
+ requirement: &70276771538300 !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: *70169033292740
24
+ version_requirements: *70276771538300
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &70169033291760 !ruby/object:Gem::Requirement
27
+ requirement: &70276772285440 !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: *70169033291760
35
+ version_requirements: *70276772285440
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
38
- requirement: &70169033290500 !ruby/object:Gem::Requirement
38
+ requirement: &70276772284500 !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: *70169033290500
46
+ version_requirements: *70276772284500
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: minitest
49
- requirement: &70169033289560 !ruby/object:Gem::Requirement
49
+ requirement: &70276772282760 !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: *70169033289560
57
+ version_requirements: *70276772282760
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: aruba
60
- requirement: &70169033288840 !ruby/object:Gem::Requirement
60
+ requirement: &70276772281480 !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: *70169033288840
68
+ version_requirements: *70276772281480
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rdoc
71
- requirement: &70169033288100 !ruby/object:Gem::Requirement
71
+ requirement: &70276772279940 !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: *70169033288100
79
+ version_requirements: *70276772279940
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: mocha
82
- requirement: &70169033283160 !ruby/object:Gem::Requirement
82
+ requirement: &70276772279080 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,21 +87,49 @@ dependencies:
87
87
  version: '0'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *70169033283160
91
- description: ! "bookshop is an agile book publishing framework for building pdf/(e)books
92
- based on HTML5,\n CSS, and JavaScript. The framework is optimized
93
- to help publishers, editors, and authors\n quickly ramp-up, allowing
94
- them to jump in and develop their html-to-pdf/(e)book flows by\n favoring
95
- convention over configuration, setting them up with best-practices, standards\n
96
- \ and tools from the start."
90
+ version_requirements: *70276772279080
91
+ description: ! "bookshop is an agile book publishing framework for building pdf and
92
+ (e)books using HTML5,\n CSS, and JavaScript. The framework is
93
+ optimized to help publishers, editors, and authors\n quickly
94
+ ramp-up, allowing them to jump in and develop their html-to-pdf/(e)book flows by\n
95
+ \ favoring convention over configuration, setting them up with
96
+ best-practices, standards\n and tools from the start."
97
97
  email: dave@blueheadpublishing.com
98
98
  executables:
99
99
  - bookshop
100
+ - epubcheck
101
+ - kindlegen
102
+ - zip.exe
100
103
  extensions: []
101
104
  extra_rdoc_files: []
102
105
  files:
106
+ - CHANGELOG.md
103
107
  - README.rdoc
104
108
  - bin/bookshop
109
+ - bin/epubcheck
110
+ - bin/epubcheck_dir/epubcheck.jar
111
+ - bin/epubcheck_dir/lib/jing.jar
112
+ - bin/epubcheck_dir/lib/saxon.jar
113
+ - bin/kindlegen
114
+ - bin/kindlegen.exe
115
+ - bin/kindlegen_linux
116
+ - bin/kindlegen_mac
117
+ - bin/licenses/epubcheck/COPYING.txt
118
+ - bin/licenses/epubcheck/jing_license.txt
119
+ - bin/licenses/epubcheck/README.txt
120
+ - bin/licenses/kindlegen/EULA.txt
121
+ - bin/licenses/kindlegen/KindleGen Legal Notices 2009-11-10 Linux.txt
122
+ - bin/licenses/kindlegen/KindleGen Legal Notices 2009-11-10 Mac.txt
123
+ - bin/licenses/kindlegen/KindleGen OSS Notices 2009-07-29-Windows.txt
124
+ - bin/licenses/zip/Contents
125
+ - bin/licenses/zip/LICENSE
126
+ - bin/licenses/zip/README
127
+ - bin/licenses/zip/README.CR
128
+ - bin/licenses/zip/WHATSNEW
129
+ - bin/licenses/zip/WHERE
130
+ - bin/licenses/zip/zip.txt
131
+ - bin/licenses/zip/zip30.ann
132
+ - bin/zip.exe
105
133
  - lib/bookshop/commands/application.rb
106
134
  - lib/bookshop/commands/build.rb
107
135
  - lib/bookshop/commands/yaml/book.rb
@@ -138,37 +166,6 @@ files:
138
166
  - lib/bookshop/generators/bookshop/app/templates/config/config.rb
139
167
  - lib/bookshop/generators/bookshop/app/templates/README.rdoc
140
168
  - lib/bookshop/generators/bookshop/app/templates/script/bookshop
141
- - lib/bookshop/generators/bookshop/app/templates/script/epubcheck/COPYING.txt
142
- - lib/bookshop/generators/bookshop/app/templates/script/epubcheck/epubcheck.jar
143
- - lib/bookshop/generators/bookshop/app/templates/script/epubcheck/jing_license.txt
144
- - lib/bookshop/generators/bookshop/app/templates/script/epubcheck/lib/jing.jar
145
- - lib/bookshop/generators/bookshop/app/templates/script/epubcheck/lib/saxon.jar
146
- - lib/bookshop/generators/bookshop/app/templates/script/epubcheck/README.txt
147
- - lib/bookshop/generators/bookshop/app/templates/script/kindlegen/EULA.txt
148
- - lib/bookshop/generators/bookshop/app/templates/script/kindlegen/KindleGen Legal
149
- Notices 2009-11-10 Linux.txt
150
- - lib/bookshop/generators/bookshop/app/templates/script/kindlegen/KindleGen Legal
151
- Notices 2009-11-10 Mac.txt
152
- - lib/bookshop/generators/bookshop/app/templates/script/kindlegen/KindleGen OSS Notices
153
- 2009-07-29-Windows.txt
154
- - lib/bookshop/generators/bookshop/app/templates/script/kindlegen/kindlegen.exe
155
- - lib/bookshop/generators/bookshop/app/templates/script/kindlegen/kindlegen_linux
156
- - lib/bookshop/generators/bookshop/app/templates/script/kindlegen/kindlegen_mac
157
- - lib/bookshop/generators/bookshop/app/templates/script/zip/Contents
158
- - lib/bookshop/generators/bookshop/app/templates/script/zip/LICENSE
159
- - lib/bookshop/generators/bookshop/app/templates/script/zip/README
160
- - lib/bookshop/generators/bookshop/app/templates/script/zip/README.CR
161
- - lib/bookshop/generators/bookshop/app/templates/script/zip/WHATSNEW
162
- - lib/bookshop/generators/bookshop/app/templates/script/zip/WHERE
163
- - lib/bookshop/generators/bookshop/app/templates/script/zip/zip.exe
164
- - lib/bookshop/generators/bookshop/app/templates/script/zip/zip.txt
165
- - lib/bookshop/generators/bookshop/app/templates/script/zip/zip30.ann
166
- - lib/bookshop/generators/bookshop/app/templates/script/zip/zipcloak.exe
167
- - lib/bookshop/generators/bookshop/app/templates/script/zip/zipcloak.txt
168
- - lib/bookshop/generators/bookshop/app/templates/script/zip/zipnote.exe
169
- - lib/bookshop/generators/bookshop/app/templates/script/zip/zipnote.txt
170
- - lib/bookshop/generators/bookshop/app/templates/script/zip/zipsplit.exe
171
- - lib/bookshop/generators/bookshop/app/templates/script/zip/zipsplit.txt
172
169
  - lib/bookshop/generators/bookshop/app/USAGE
173
170
  - lib/bookshop/post_install.rb
174
171
  - lib/bookshop/ruby_version_check.rb
@@ -181,7 +178,6 @@ files:
181
178
  - lib/bookshop/generators/bookshop/app/templates/builds/html/.empty_directory
182
179
  - lib/bookshop/generators/bookshop/app/templates/builds/mobi/.empty_directory
183
180
  - lib/bookshop/generators/bookshop/app/templates/builds/pdf/.empty_directory
184
- - lib/bookshop/generators/bookshop/app/templates/script/kindlegen/.empty_directory
185
181
  homepage: http://blueheadpublishing.com/products/bookshop/
186
182
  licenses:
187
183
  - MIT
@@ -208,6 +204,6 @@ rubyforge_project: bookshop
208
204
  rubygems_version: 1.8.17
209
205
  signing_key:
210
206
  specification_version: 3
211
- summary: An agile book publishing framework for building pdf/(e)books based on HTML5,
212
- CSS, and JavaScript.
207
+ summary: An agile book publishing framework for building pdf and (e)books based on
208
+ HTML5, CSS, and JavaScript.
213
209
  test_files: []
@@ -1,75 +0,0 @@
1
- zipcloak(1) zipcloak(1)
2
-
3
- NAME
4
- zipcloak - encrypt entries in a zipfile
5
-
6
- SYNOPSIS
7
- zipcloak [-d] [-b path] [-h] [-v] [-L] zipfile
8
-
9
- ARGUMENTS
10
- zipfile Zipfile to encrypt entries in
11
-
12
- OPTIONS
13
- -b path
14
- --temp-path path
15
- Use the directory given by path for the temporary zip file.
16
-
17
- -d
18
- --decrypt
19
- Decrypt encrypted entries (copy if given wrong password).
20
-
21
- -h
22
- --help
23
- Show a short help.
24
-
25
- -L
26
- --license
27
- Show software license.
28
-
29
- -O path
30
- --output-file zipfile
31
- Write output to new archive zipfile, leaving original archive as
32
- is.
33
-
34
- -q
35
- --quiet
36
- Quiet operation. Suppresses some informational messages.
37
-
38
- -v
39
- --version
40
- Show version information.
41
-
42
- DESCRIPTION
43
- zipcloak encrypts all unencrypted entries in the zipfile. This is the
44
- default action.
45
-
46
- The -d option is used to decrypt encrypted entries in the zipfile.
47
-
48
- zipcloak uses original zip encryption which is considered weak.
49
-
50
- Note: The encryption code of this program is not copyrighted and is
51
- put in the public domain. It was originally written in Europe
52
- and can be freely distributed from any country including the
53
- U.S.A. (Previously if this program was imported into the U.S.A,
54
- it could not be re-exported from the U.S.A to another country.)
55
- See the file README.CR included in the source distribution for
56
- more on this. Otherwise, the Info-ZIP license applies.
57
-
58
- EXAMPLES
59
- To be added.
60
-
61
- BUGS
62
- Large files (> 2 GB) and large archives not yet supported.
63
-
64
- Split archives not yet supported. A work around is to convert the
65
- split archive to a single-file archive using zip and then use zipcloak
66
- on the single-file archive. If needed, the resulting archive can then
67
- be split again using zip.
68
-
69
- SEE ALSO
70
- zip(1), unzip(1)
71
-
72
- AUTHOR
73
- Info-ZIP
74
-
75
- v3.0 of 8 May 2008 zipcloak(1)
@@ -1,63 +0,0 @@
1
- zipnote(1) zipnote(1)
2
-
3
- NAME
4
- zipnote - write the comments in zipfile to stdout, edit comments and
5
- rename files in zipfile
6
-
7
- SYNOPSIS
8
- zipnote [-w] [-b path] [-h] [-v] [-L] zipfile
9
-
10
- ARGUMENTS
11
- zipfile Zipfile to read comments from or edit.
12
-
13
- OPTIONS
14
- -w Write comments to a zipfile from stdin (see below).
15
-
16
- -b path
17
- Use path for the temporary zip file.
18
-
19
- -h Show a short help.
20
-
21
- -v Show version information.
22
-
23
- -L Show software license.
24
-
25
- DESCRIPTION
26
- zipnote writes the comments in a zipfile to stdout. This is the
27
- default mode. A second mode allows updating the comments in a zipfile
28
- as well as allows changing the names of the files in the zipfile.
29
- These modes are described below.
30
-
31
- EXAMPLES
32
- To write all comments in a zipfile to stdout use for example
33
-
34
- zipnote foo.zip > foo.tmp
35
-
36
- This writes all comments in the zipfile foo.zip to the file foo.tmp in
37
- a specific format.
38
-
39
- If desired, this file can then be edited to change the comments and
40
- then used to update the zipfile.
41
-
42
- zipnote -w foo.zip < foo.tmp
43
-
44
- The names of the files in the zipfile can also be changed in this way.
45
- This is done by following lines like
46
- "@ name"
47
- in the created temporary file (called foo.tmp here) with lines like
48
- "@=newname"
49
- and then using the -w option as above.
50
-
51
- BUGS
52
- The temporary file format is rather specific and zipnote is rather
53
- picky about it. It should be easier to change file names in a script.
54
-
55
- Does not yet support large (> 2 GB) or split archives.
56
-
57
- SEE ALSO
58
- zip(1), unzip(1)
59
-
60
- AUTHOR
61
- Info-ZIP
62
-
63
- v3.0 of 8 May 2008 zipnote(1)
@@ -1,53 +0,0 @@
1
- zipnote(1) zipnote(1)
2
-
3
- NAME
4
- zipsplit - split a zipfile into smaller zipfiles
5
-
6
- SYNOPSIS
7
- zipsplit [-t] [-i] [-p] [-s] [-n size] [-r room] [-b path] [-h] [-v]
8
- [-L] zipfile
9
-
10
- ARGUMENTS
11
- zipfile Zipfile to split.
12
-
13
- OPTIONS
14
- -t Report how many files it will take, but don't make them.
15
-
16
- -i Make index (zipsplit.idx) and count its size against first zip
17
- file.
18
-
19
- -n size
20
- Make zip files no larger than "size" (default = 36000).
21
-
22
- -r room
23
- Leave room for "room" bytes on the first disk (default = 0).
24
-
25
- -b path
26
- Use path for the output zip files.
27
-
28
- -p Pause between output zip files.
29
-
30
- -s Do a sequential split even if it takes more zip files.
31
-
32
- -h Show a short help.
33
-
34
- -v Show version information.
35
-
36
- -L Show software license.
37
-
38
- DESCRIPTION
39
- zipsplit reads a zipfile and splits it into smaller zipfiles.
40
-
41
- EXAMPLES
42
- To be filled in.
43
-
44
- BUGS
45
- Does not yet support large (> 2 GB) or split archives.
46
-
47
- SEE ALSO
48
- zip(1), unzip(1)
49
-
50
- AUTHOR
51
- Info-ZIP
52
-
53
- v3.0 of 8 May 2008 zipnote(1)