hybook 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gemtest +0 -0
- data/Manifest.txt +2 -0
- data/README.md +0 -27
- data/lib/hybook.rb +1 -1
- data/lib/hybook/version.rb +5 -1
- data/test/helper.rb +19 -0
- data/test/test_basics.rb +17 -0
- metadata +9 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d7f429c4a759dd5ecb85e082d63817f47d1ad6a0
|
|
4
|
+
data.tar.gz: 3d1efb7692a9acaeba33f25ee44f27ee4458ad4a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d0e003ba15be0902385ef1054ee861e5f238def2d8523352534fe06bd3e9bb9622a34a08213e17d9c9fae78e0ab00664bfce5488ad7c90189ecd1781c33d5fc1
|
|
7
|
+
data.tar.gz: 417045fe4a3db12da7de5905cafbc527e4bbb842a0dca5eb3248fca84c008b6d504937ed152c186c407d12cfee62b6bcaca69d7a2d400def316bf88d75dcb454
|
data/.gemtest
ADDED
|
File without changes
|
data/Manifest.txt
CHANGED
data/README.md
CHANGED
|
@@ -74,33 +74,6 @@ and types
|
|
|
74
74
|
- [The Free World Fact Book](https://github.com/openmundi/book)
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
## Alternatives
|
|
78
|
-
|
|
79
|
-
### EPUB, MOBI (Kindle) Book Generator
|
|
80
|
-
|
|
81
|
-
#### Ruby
|
|
82
|
-
|
|
83
|
-
- [kitabu gem](https://github.com/fnando/kitabu) - EPUB, MOBI, PDF
|
|
84
|
-
- [bookshop gem](https://github.com/blueheadpublishing/bookshop) - EPUB, MOBI, PDF
|
|
85
|
-
- [eeepub, eeepub-with-cover-support ](https://github.com/jugyo/eeepub) - by jugyo
|
|
86
|
-
- [git-scribe](https://github.com/schacon/git-scribe) - by Scott Chacon (aka schacon)
|
|
87
|
-
- [review](https://github.com/kmuto/review) - by Kenshi Muto (aka kmuto)
|
|
88
|
-
- [gepub](https://github.com/skoji/gepub) - by Satoshi Kojima (aka skoji)
|
|
89
|
-
- [peregrin](https://github.com/joseph/peregrin) - by Joseph Pearson
|
|
90
|
-
|
|
91
|
-
<!-- experimental
|
|
92
|
-
-->
|
|
93
|
-
|
|
94
|
-
- [bookie gem](https://github.com/sandal/bookie) - by Gregory Brown (aka sandal); experimental
|
|
95
|
-
- [penny](https://github.com/peterc/penny) - by Peter Cooper (aka peterc); experimental
|
|
96
|
-
- [eeepub3](https://github.com/bubaz/eeepub3) - by Sergey (aka bubaz)
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
#### Haskell
|
|
100
|
-
|
|
101
|
-
- [Pandoc](http://johnmacfarlane.net/pandoc)
|
|
102
|
-
|
|
103
|
-
|
|
104
77
|
## License
|
|
105
78
|
|
|
106
79
|
The `hybook` scripts are dedicated to the public domain.
|
data/lib/hybook.rb
CHANGED
data/lib/hybook/version.rb
CHANGED
data/test/helper.rb
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
## $:.unshift(File.dirname(__FILE__))
|
|
2
|
+
|
|
3
|
+
## minitest setup
|
|
4
|
+
|
|
5
|
+
# require 'minitest/unit'
|
|
6
|
+
require 'minitest/autorun'
|
|
7
|
+
|
|
8
|
+
# include MiniTest::Unit # lets us use TestCase instead of MiniTest::Unit::TestCase
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# ruby stdlibs
|
|
12
|
+
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'uri'
|
|
15
|
+
require 'pp'
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
require 'hybook'
|
|
19
|
+
|
data/test/test_basics.rb
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
require 'helper'
|
|
5
|
+
|
|
6
|
+
class TestBasics < MiniTest::Unit::TestCase
|
|
7
|
+
|
|
8
|
+
def test_banner
|
|
9
|
+
|
|
10
|
+
banner = "hybook #{HyBook::VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
|
|
11
|
+
|
|
12
|
+
assert_equal banner, HyBook.banner
|
|
13
|
+
assert_equal banner, Hybook.banner ## check module alias
|
|
14
|
+
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
end # class Basics
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hybook
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gerald Bauer
|
|
@@ -114,14 +114,14 @@ dependencies:
|
|
|
114
114
|
requirements:
|
|
115
115
|
- - ~>
|
|
116
116
|
- !ruby/object:Gem::Version
|
|
117
|
-
version: '3.
|
|
117
|
+
version: '3.10'
|
|
118
118
|
type: :development
|
|
119
119
|
prerelease: false
|
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
|
121
121
|
requirements:
|
|
122
122
|
- - ~>
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
|
-
version: '3.
|
|
124
|
+
version: '3.10'
|
|
125
125
|
description: hybook - hypertext book generator
|
|
126
126
|
email: webslideshow@googlegroups.com
|
|
127
127
|
executables: []
|
|
@@ -146,6 +146,9 @@ files:
|
|
|
146
146
|
- lib/hybook/version.rb
|
|
147
147
|
- lib/hybook/writer/jekyll.rb
|
|
148
148
|
- templates/album.md
|
|
149
|
+
- test/helper.rb
|
|
150
|
+
- test/test_basics.rb
|
|
151
|
+
- .gemtest
|
|
149
152
|
homepage: https://github.com/hybook/hybook
|
|
150
153
|
licenses:
|
|
151
154
|
- Public Domain
|
|
@@ -167,9 +170,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
167
170
|
- !ruby/object:Gem::Version
|
|
168
171
|
version: '0'
|
|
169
172
|
requirements: []
|
|
170
|
-
rubyforge_project:
|
|
173
|
+
rubyforge_project:
|
|
171
174
|
rubygems_version: 2.1.10
|
|
172
175
|
signing_key:
|
|
173
176
|
specification_version: 4
|
|
174
177
|
summary: hybook - hypertext book generator
|
|
175
|
-
test_files:
|
|
178
|
+
test_files:
|
|
179
|
+
- test/test_basics.rb
|