mkbok 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.rdoc +40 -0
  2. data/lib/mkbok_version.rb +1 -1
  3. metadata +4 -3
data/README.rdoc ADDED
@@ -0,0 +1,40 @@
1
+ = `mkbok` - make book using markdown
2
+
3
+ {<img src="https://secure.travis-ci.org/larrycai/mkbok.png" />}[http://travis-ci.org/larrycai/mkbok]
4
+
5
+ Author:: Larry Cai (mailto:larry.caiyu@gmail.com)
6
+
7
+ Copyright:: Copyright (c) 2012 by Larry Cai
8
+ License:: Distributes under the Apache License,
9
+ see LICENSE.txt in the source distro
10
+
11
+ This application generate ebooks (.pdf,.epub,.mobi) from markdown plaintext files
12
+
13
+ == Install
14
+
15
+ Install:
16
+ gem install mkbok
17
+
18
+ == Usage
19
+
20
+ Create new project:
21
+ mkbok --generate sample # generate new book template based on kaiyuanbook
22
+ mkbok --build # needs pandoc,XeTex packages
23
+
24
+ For more help:
25
+ mkbok --help
26
+
27
+ === Todo
28
+
29
+ Build over web
30
+ mkbok build --web http://mkbok.com/diy # it will zip file and upload to web
31
+ mkbok build --web http://mkbok.com/ --source http://github.com/larrycai/mkbok # generate pdf from github
32
+
33
+ == Developing for `mkbok`
34
+
35
+ First, install bundler:
36
+ gem install bundler
37
+
38
+ Get the development dependencies
39
+ bundle install
40
+ Most of the code is in `mkbok.rb`.
data/lib/mkbok_version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module MkBok
2
- VERSION = '0.0.12'
2
+ VERSION = '0.0.13'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mkbok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-03-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aruba
16
- requirement: &26785728 !ruby/object:Gem::Requirement
16
+ requirement: &25098168 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 0.4.6
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *26785728
24
+ version_requirements: *25098168
25
25
  description: the ebook generate tools from markdown plain text
26
26
  email:
27
27
  - larry.caiyu@gmail.com
@@ -49,6 +49,7 @@ files:
49
49
  - templates/zh/chapters/01-chapter3.markdown
50
50
  - templates/zh/chapters/01-chapter4.markdown
51
51
  - templates/zh/preface/01-chapter1.markdown
52
+ - README.rdoc
52
53
  homepage: http://github.com/larrycai/mkbok
53
54
  licenses: []
54
55
  post_install_message: