hybook 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 025a0e3edbb9f098e19a14d29ed4ebb6f1781eb2
4
- data.tar.gz: 449d801c54f96935679c985fc85c2efb08134069
3
+ metadata.gz: d7f429c4a759dd5ecb85e082d63817f47d1ad6a0
4
+ data.tar.gz: 3d1efb7692a9acaeba33f25ee44f27ee4458ad4a
5
5
  SHA512:
6
- metadata.gz: 69439953a99d3b653817ebb0fd9d95867a089fb95ea0b0dff5b96fdc9102b1278fed945ba53f5f5672d8eb97448ca0e047409c6cf9bdfc89f59e3f191968388d
7
- data.tar.gz: 6097c65f219ba93e8be0414d6fc9f47af5441115a3eb0efdfa50ab39fe7343c30020b2809bb46fb0e51a59e690427622c4e1c60ea934488fc6e7fa6ba1f802c1
6
+ metadata.gz: d0e003ba15be0902385ef1054ee861e5f238def2d8523352534fe06bd3e9bb9622a34a08213e17d9c9fae78e0ab00664bfce5488ad7c90189ecd1781c33d5fc1
7
+ data.tar.gz: 417045fe4a3db12da7de5905cafbc527e4bbb842a0dca5eb3248fca84c008b6d504937ed152c186c407d12cfee62b6bcaca69d7a2d400def316bf88d75dcb454
File without changes
@@ -12,3 +12,5 @@ lib/hybook/type/section.rb
12
12
  lib/hybook/version.rb
13
13
  lib/hybook/writer/jekyll.rb
14
14
  templates/album.md
15
+ test/helper.rb
16
+ test/test_basics.rb
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.
@@ -32,7 +32,7 @@ require 'hybook/builder/album'
32
32
 
33
33
  ## writers
34
34
 
35
- require 'hybook/builder/jekyll'
35
+ require 'hybook/writer/jekyll'
36
36
 
37
37
 
38
38
 
@@ -1,4 +1,8 @@
1
1
 
2
2
  module HyBook
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
5
+
6
+ ## add module alias
7
+
8
+ Hybook = HyBook
@@ -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
+
@@ -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.0
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.6'
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.6'
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: hybook
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