asciibook 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/book_template/asciibook.yml +1 -0
- data/lib/asciibook/command.rb +2 -1
- data/lib/asciibook/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e561b902bdbeba9e4d2d4031bcbd0fec7f666e68fe0a2bc58a4ea3a11664411e
|
4
|
+
data.tar.gz: 12c0feb2787ef840f7971f21ba7bb661de43d5aec1b5031a5550b3723728478c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 343136908ff91ccf947ff08abbabb3cae77432266e74929c154dd35089997c6ea6b4427b1ff23fe471cb464aa72322d4a5ea39e62824fa60199b9472f441541a
|
7
|
+
data.tar.gz: ae4077c7403915eac598f120c5ec6fbcca50f70efa719f9f41c7c97d26316c2c03b15b266f01e5f08be7bb740d47ecc72efe36288dff3337bbb5a28caac880cc
|
data/book_template/asciibook.yml
CHANGED
data/lib/asciibook/command.rb
CHANGED
@@ -38,6 +38,7 @@ module Asciibook
|
|
38
38
|
File.open(File.join(dir, 'asciibook.yml'), 'w') do |file|
|
39
39
|
file.write <<~EOF
|
40
40
|
source: #{filename}
|
41
|
+
|
41
42
|
# formats:
|
42
43
|
# - html
|
43
44
|
# - pdf
|
@@ -66,7 +67,7 @@ module Asciibook
|
|
66
67
|
c.option :template_dir, '--template-dir DIR', 'Template dir.'
|
67
68
|
c.option :dest_dir, '--dest-dir DIR', 'Destination dir.'
|
68
69
|
c.option :page_level, '--page-level NUM', Integer, 'Page split base on section level, default is 1.'
|
69
|
-
c.option :plugins, '
|
70
|
+
c.option :plugins, '--plugin PLUGIN1[,PLUGIN2[,PLUGIN3...]]', Array, 'Require ruby gem or ruby script plugin.'
|
70
71
|
c.action do |args, options|
|
71
72
|
source = args[0] || '.'
|
72
73
|
if File.directory?(source)
|
data/lib/asciibook/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciibook
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rei
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|