asciidoctor-multipage 0.0.14 → 0.0.15

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab1f550130f59f72549c38e53b85073052489f9447e9dcfd1122e3ffbc418c8e
4
- data.tar.gz: 1984fe6907d211571d822451c90725984c14d22c993195508d6e6992d29ce333
3
+ metadata.gz: 92ae4009df03264cc6ecf2dc5826234151da1125abe9e7cbb01cba9a6f53d08e
4
+ data.tar.gz: 855ad21500928a3d166aa360fec6fe2d332c3b4e3efdbddb5f0402c32c8ee4e2
5
5
  SHA512:
6
- metadata.gz: 4566ce596a05c9a60866138d7ef8946121bef05d95648a14a304312a4a632ebcd85dbc077eeff045ef0d94d48b85064d8e15d438e9eb84d19ee4f432177f5b9c
7
- data.tar.gz: 9652cb173af11948e16c3ed1d463922f88a233c4118c044ec2b2005095f9b3c9d0478c6f4d5967ff4f3f1b9b4149b709c68932684f21cdf3cc60e12bf68f3d6f
6
+ metadata.gz: 307a0f3299bf032d2e043d0593b7b9ecba1de9958646495986a6c6462e8c47e49a1a5eadff5e3f2160a2bd8d7cd029b4d711cbc183c42dccedd55e238bcc1495
7
+ data.tar.gz: 22d1d18fa6e488813cf3836a1d76d085cf216a7f3bc2c5d55aeef8ad9f2d3f8c007f2c4d0896351bbf3d7ba8a8122e40fc7922c15734d1a0dc32a3642b708ea1
@@ -0,0 +1,28 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # This executable is based on `bin/asciidoctor-pdf` from the
4
+ # asciidoctor/asciidoctor-pdf project. Please consult that file for
5
+ # potential updates.
6
+
7
+ require 'asciidoctor-multipage'
8
+ require 'asciidoctor-multipage/version'
9
+ require 'asciidoctor/cli'
10
+
11
+ options = Asciidoctor::Cli::Options.new backend: 'multipage_html5'
12
+
13
+ # FIXME (from asciidoctor-pdf) provide an API in Asciidoctor for sub-components to print version information
14
+ unless ARGV != ['-v'] && (ARGV & ['-V', '--version']).empty?
15
+ $stdout.write %(Asciidoctor Multipage #{AsciidoctorMultipage::VERSION} using )
16
+ options.print_version
17
+ exit 0
18
+ end
19
+
20
+ # FIXME (from bespoke) This is a really bizarre API. Please make me simpler.
21
+ if Integer === (result = options.parse! ARGV)
22
+ exit result
23
+ else
24
+ invoker = Asciidoctor::Cli::Invoker.new options
25
+ GC.start
26
+ invoker.invoke!
27
+ exit invoker.code
28
+ end
@@ -0,0 +1,3 @@
1
+ module AsciidoctorMultipage
2
+ VERSION = "0.0.15"
3
+ end
@@ -1,5 +1,6 @@
1
1
  # coding: utf-8
2
2
 
3
+ require 'asciidoctor'
3
4
  require 'asciidoctor/converter/html5'
4
5
 
5
6
  class Asciidoctor::AbstractBlock
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-multipage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Owen T. Heisler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-20 00:00:00.000000000 Z
11
+ date: 2021-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appraisal
@@ -89,11 +89,14 @@ dependencies:
89
89
  description: An Asciidoctor extension that generates HTML output using multiple pages
90
90
  email:
91
91
  - writer@owenh.net
92
- executables: []
92
+ executables:
93
+ - asciidoctor-multipage
93
94
  extensions: []
94
95
  extra_rdoc_files: []
95
96
  files:
97
+ - bin/asciidoctor-multipage
96
98
  - lib/asciidoctor-multipage.rb
99
+ - lib/asciidoctor-multipage/version.rb
97
100
  homepage: https://github.com/owenh000/asciidoctor-multipage
98
101
  licenses:
99
102
  - MIT