pubgen 0.1.3 → 0.2.0

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.
@@ -0,0 +1,85 @@
1
+ # METADATA: Publication metadata (title, author, publisher, etc.).
2
+ #
3
+ # See http://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2
4
+ metadata:
5
+ title:
6
+ creator:
7
+ date:
8
+ language:
9
+ subject:
10
+ publisher:
11
+ contributor:
12
+ description:
13
+ source:
14
+ rights:
15
+ relation:
16
+
17
+ # GUIDE: A set of references to fundamental structural features of the
18
+ # publication, such as table of contents, foreword, bibliography, etc.
19
+ #
20
+ # See http://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.6
21
+ #
22
+ # If you provide cover-image without cover-page, pubgen automatically
23
+ # generate cover-page xhtml, and add it to manifest and spine.
24
+ guide:
25
+ toc-page: will_oldham.html
26
+ title-page:
27
+ cover-page:
28
+ cover-image:
29
+
30
+ # MANIFEST: A list of files (documents, images, style sheets, etc.) that make
31
+ # up the publication.
32
+ #
33
+ # See http://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.3
34
+ manifest:
35
+ - will_oldham.html
36
+ - will_oldham.yml
37
+
38
+ # SPINE: An arrangement of documents providing a linear reading order.
39
+ #
40
+ # See http://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.4
41
+ spine:
42
+ - will_oldham.html
43
+
44
+ # TOC: Table of contents
45
+ #
46
+ # See http://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.4.1
47
+ toc:
48
+ - navigation -- will_oldham.html#mw-head
49
+ - search -- will_oldham.html#p-search
50
+ - 1 Music -- will_oldham.html#Music
51
+ - 1.1 Discography -- will_oldham.html#Discography
52
+ - 1.1.1 Studio albums -- will_oldham.html#Studio_albums
53
+ - 1.2 Response -- will_oldham.html#Response
54
+ - 2 Film -- will_oldham.html#Film
55
+ - 2.1 Filmography -- will_oldham.html#Filmography
56
+ - 3 Photography -- will_oldham.html#Photography
57
+ - 4 References -- will_oldham.html#References
58
+ - 5 External links -- will_oldham.html#External_links
59
+ - [1] -- will_oldham.html#cite_note-chico-0
60
+ - [2] -- will_oldham.html#cite_note-phoenix-1
61
+ - [3] -- will_oldham.html#cite_note-2
62
+ - [4] -- will_oldham.html#cite_note-3
63
+ - [5] -- will_oldham.html#cite_note-4
64
+ - [6] -- will_oldham.html#cite_note-5
65
+ - [7] -- will_oldham.html#cite_note-6
66
+ - [8] -- will_oldham.html#cite_note-7
67
+ - [9] -- will_oldham.html#cite_note-dallasobs-8
68
+ - [10] -- will_oldham.html#cite_note-9
69
+ - [11] -- will_oldham.html#cite_note-10
70
+ - [12] -- will_oldham.html#cite_note-musicianguide-11
71
+ - a -- will_oldham.html#cite_ref-chico_0-0
72
+ - b -- will_oldham.html#cite_ref-chico_0-1
73
+ - c -- will_oldham.html#cite_ref-chico_0-2
74
+ - a -- will_oldham.html#cite_ref-phoenix_1-0
75
+ - b -- will_oldham.html#cite_ref-phoenix_1-1
76
+ - ^ -- will_oldham.html#cite_ref-2
77
+ - ^ -- will_oldham.html#cite_ref-3
78
+ - ^ -- will_oldham.html#cite_ref-4
79
+ - ^ -- will_oldham.html#cite_ref-5
80
+ - ^ -- will_oldham.html#cite_ref-6
81
+ - ^ -- will_oldham.html#cite_ref-7
82
+ - ^ -- will_oldham.html#cite_ref-dallasobs_8-0
83
+ - ^ -- will_oldham.html#cite_ref-9
84
+ - ^ -- will_oldham.html#cite_ref-10
85
+ - ^ -- will_oldham.html#cite_ref-musicianguide_11-0
@@ -0,0 +1,55 @@
1
+ <html xmlns="http://www.w3.org/1999/xhtml">
2
+ <head>
3
+ <meta name="generator" content=
4
+ "HTML Tidy for Mac OS X (vers 31 October 2006 - Apple Inc. build 15.3.6), see www.w3.org" />
5
+ <title>CouchDB: The Definitive Guide</title>
6
+ <meta charset="utf-8" />
7
+ <script src="../script.js" type="text/javascript">
8
+ </script>
9
+ </head>
10
+ <body>
11
+ <h2>Table of Contents</h2>
12
+ <h3><a href="foreword.html"/></h3>
13
+ <h3><a href="preface.html">Preface</a></h3>
14
+ <h3 id="part/i">Part I. Introduction</h3>
15
+ <h4><a href="why.html">1. Why CouchDB?</a></h4>
16
+ <h4><a href="consistency.html">2. Eventual Consistency</a></h4>
17
+ <h4><a href="tour.html">3. Getting Started</a></h4>
18
+ <h4><a href="api.html">4. The Core API</a></h4>
19
+ <h3 id="part/ii">Part II. Developing with CouchDB</h3>
20
+ <h4><a href="design.html">5. Design Documents</a></h4>
21
+ <h4><a href="views.html">6. Finding Your Data with Views</a></h4>
22
+ <h4><a href="validation.html">7. Validation Functions</a></h4>
23
+ <h4><a href="show.html">8. Show Functions</a></h4>
24
+ <h4><a href="transforming.html">9. Transforming Views with List
25
+ Functions</a></h4>
26
+ <h3 id="part/iii">Part III. Example Application</h3>
27
+ <h4><a href="standalone.html">10. Standalone Applications</a></h4>
28
+ <h4><a href="managing.html">11. Managing Design Documents</a></h4>
29
+ <h4><a href="documents.html">12. Storing Documents</a></h4>
30
+ <h4><a href="formats.html">13. Showing Documents in Custom
31
+ Formats</a></h4>
32
+ <h4><a href="lists.html">14. Viewing Lists of Blog Posts</a></h4>
33
+ <h3 id="part/iv">Part IV. Deploying CouchDB</h3>
34
+ <h4><a href="scaling.html">15. Scaling Basics</a></h4>
35
+ <h4><a href="replication.html">16. Replication</a></h4>
36
+ <h4><a href="conflicts.html">17. Conflict Management</a></h4>
37
+ <h4><a href="balancing.html">18. Load Balancing</a></h4>
38
+ <h4><a href="clustering.html">19. Clustering</a></h4>
39
+ <h3 id="part/v">Part V. Reference</h3>
40
+ <h4><a href="notifications.html">20. Change Notifications</a></h4>
41
+ <h4><a href="cookbook.html">21. View Cookbook for SQL
42
+ Jockeys</a></h4>
43
+ <h4><a href="security.html">22. Security</a></h4>
44
+ <h4><a href="performance.html">23. High Performance</a></h4>
45
+ <h4><a href="recipes.html">24. Recipes</a></h4>
46
+ <h3 id="part/vi">Part VI. Appendix</h3>
47
+ <h4><a href="unix.html">A. Installing on Unix-like Systems</a></h4>
48
+ <h4><a href="mac.html">B. Installing on Mac OS X</a></h4>
49
+ <h4><a href="windows.html">C. Installing on Windows</a></h4>
50
+ <h4><a href="source.html">D. Installing from Source</a></h4>
51
+ <h4><a href="json.html">E. JSON Primer</a></h4>
52
+ <h4><a href="btree.html">F. The Power of B-trees</a></h4>
53
+ <h3><a href="colophon.html">Colophon</a></h3>
54
+ </body>
55
+ </html>
@@ -0,0 +1,64 @@
1
+ # METADATA: Publication metadata (title, author, publisher, etc.).
2
+ #
3
+ # See http://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2
4
+ metadata:
5
+ title:
6
+ creator:
7
+ date:
8
+ language:
9
+ subject:
10
+ publisher:
11
+ contributor:
12
+ description:
13
+ source:
14
+ rights:
15
+ relation:
16
+
17
+ # GUIDE: A set of references to fundamental structural features of the
18
+ # publication, such as table of contents, foreword, bibliography, etc.
19
+ #
20
+ # See http://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.6
21
+ #
22
+ # If you provide cover-image without cover-page, pubgen automatically
23
+ # generate cover-page xhtml, and add it to manifest and spine.
24
+ guide:
25
+ toc-page: couchdb.html
26
+ title-page:
27
+ cover-page:
28
+ cover-image:
29
+
30
+ # MANIFEST: A list of files (documents, images, style sheets, etc.) that make
31
+ # up the publication.
32
+ #
33
+ # See http://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.3
34
+ manifest:
35
+ - foreword.html
36
+ - preface.html
37
+ - api.html
38
+ - why.html
39
+ - couchdb.html
40
+ - tour.html
41
+ - consistency.html
42
+
43
+ # SPINE: An arrangement of documents providing a linear reading order.
44
+ #
45
+ # See http://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.4
46
+ spine:
47
+ - preface.html
48
+ - why.html
49
+ - consistency.html
50
+ - tour.html
51
+ - api.html
52
+ # You need to reorder below elements. They are not in TOC but in manifest.
53
+ - foreword.html
54
+ - couchdb.html
55
+
56
+ # TOC: Table of contents
57
+ #
58
+ # See http://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.4.1
59
+ toc:
60
+ - Preface -- preface.html
61
+ - 1. Why CouchDB? -- why.html
62
+ - 2. Eventual Consistency -- consistency.html
63
+ - 3. Getting Started -- tour.html
64
+ - 4. The Core API -- api.html
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pubgen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
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-02-27 00:00:00.000000000Z
12
+ date: 2012-03-04 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: zipruby
16
- requirement: &15276980 !ruby/object:Gem::Requirement
16
+ requirement: &7467220 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,9 +21,19 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *15276980
25
- description: Pubgen is a simple command-line based epub generator. With a plain YAML,
26
- Pubgen generate the epub for you.
24
+ version_requirements: *7467220
25
+ - !ruby/object:Gem::Dependency
26
+ name: hpricot
27
+ requirement: &7466800 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *7466800
36
+ description: Pubgen is a command-line based epub generator. Make an epub with YAML.
27
37
  email:
28
38
  - 9beach@gmail.com
29
39
  executables:
@@ -42,12 +52,18 @@ files:
42
52
  - lib/pubgen/ncx.rb
43
53
  - lib/pubgen/opf.rb
44
54
  - lib/pubgen/version.rb
55
+ - lib/pubgen/yaml.rb
45
56
  - pubgen.gemspec
46
57
  - test/helper.rb
58
+ - test/output/will_oldham.yml
47
59
  - test/test_cover_page.rb
48
60
  - test/test_ncx.rb
49
61
  - test/test_opf.rb
50
- homepage: https://github.com/9beach/pubgen
62
+ - test/toc_1/will_oldham.html
63
+ - test/toc_1/will_oldham.yml
64
+ - test/toc_2/couchdb.html
65
+ - test/toc_2/couchdb.yml
66
+ homepage: http://github.com/9beach/pubgen
51
67
  licenses: []
52
68
  post_install_message:
53
69
  rdoc_options: []