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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fb4347a438a375868d0a2173c66ea9519341d167eb4a2ea963cb54d614c3cac4
4
- data.tar.gz: c1f4dadda074a10b9a4431dbbf2ef975083b8c1c25beb316e547c918671b910b
3
+ metadata.gz: e561b902bdbeba9e4d2d4031bcbd0fec7f666e68fe0a2bc58a4ea3a11664411e
4
+ data.tar.gz: 12c0feb2787ef840f7971f21ba7bb661de43d5aec1b5031a5550b3723728478c
5
5
  SHA512:
6
- metadata.gz: d0bf598a7570cacd63f6939c55a115f28651b375d87711a08486a6419af87947521ab12ada2b6984efacc3716d3226411f62109b552f877ddd4090c9e1095cad
7
- data.tar.gz: 0db9909fc5f9cb62775d5d3452522090e79567352cbdd433b9d1162e97bec5a9e0989245f637551c26b5b6cab47d87c8e5f894127ea2969b4f1fbddec0fb5094
6
+ metadata.gz: 343136908ff91ccf947ff08abbabb3cae77432266e74929c154dd35089997c6ea6b4427b1ff23fe471cb464aa72322d4a5ea39e62824fa60199b9472f441541a
7
+ data.tar.gz: ae4077c7403915eac598f120c5ec6fbcca50f70efa719f9f41c7c97d26316c2c03b15b266f01e5f08be7bb740d47ecc72efe36288dff3337bbb5a28caac880cc
@@ -1,4 +1,5 @@
1
1
  source: book.adoc
2
+
2
3
  # formats:
3
4
  # - html
4
5
  # - pdf
@@ -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, '-r', '--require PLUGIN1[,PLUGIN2[,PLUGIN3...]]', Array, 'Require 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)
@@ -1,3 +1,3 @@
1
1
  module Asciibook
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
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
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-17 00:00:00.000000000 Z
11
+ date: 2021-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor