asciidoctor-templates-compiler 0.4.0 → 0.4.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50b117881f8fa592ac70ef6399eaad38e42244244086e21eee0d8ae9d4867f33
|
4
|
+
data.tar.gz: 376e16a46049f28a3bdb6764dc31a5527eded31dabad0373704959dc580b3407
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45f18ad2698ec00a55781203f0ceedc4bd6c95662e46a27f413a77df873ac678c953295a7061674f47ac06e8054e957dcdda200f69107c91704ce0cf70de4fd6
|
7
|
+
data.tar.gz: 48b04e61aaaab6d8eb2526419b2bfc7a5f4d52b7ca5570a6ce6e73e2ca1054c181f82d04ec280454ff0c5445122d2d2ee3d76e775dabac1dd6ce9f5e67144106
|
data/README.adoc
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
:source-language: ruby
|
3
3
|
// custom
|
4
4
|
:gem-name: asciidoctor-templates-compiler
|
5
|
-
:gem-version: 0.4.
|
5
|
+
:gem-version: 0.4.1
|
6
6
|
:gh-name: jirutka/{gem-name}
|
7
7
|
:gh-branch: master
|
8
8
|
:codacy-id: b23b8c6503474ea5b13537eaef0c73d5
|
@@ -44,7 +44,7 @@ $ bundle install
|
|
44
44
|
The main entry point is method `Asciidoctor::TemplatesCompiler::Slim#compile_converter` (for Slim) that accepts the following keyword arguments.
|
45
45
|
|
46
46
|
backend_info::
|
47
|
-
A hash of keys for `backend_info`: `basebackend`, `outfilesuffix`, `filetype`, `htmlsyntax`, `supports_templates` (
|
47
|
+
A hash of keys for `backend_info`: `basebackend`, `outfilesuffix`, `filetype`, `htmlsyntax`, `supports_templates` (supported since Asciidoctor ≥ 1.5.7).
|
48
48
|
|
49
49
|
class_name::
|
50
50
|
Full name of the converter class to generate (e.g. `My::HTML::Converter`).
|
@@ -110,7 +110,7 @@ module Asciidoctor::TemplatesCompiler
|
|
110
110
|
def initialization_code
|
111
111
|
setup_backend_info = if !@backend_info.empty?
|
112
112
|
@backend_info.map { |key, value|
|
113
|
-
" #{key}" + (value == true ? '' : " #{value.inspect}")
|
113
|
+
" #{key}" + (value == true ? '' : " #{value.inspect}") + " if respond_to? :#{key}"
|
114
114
|
}.join("\n")
|
115
115
|
end
|
116
116
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor-templates-compiler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jakub Jirutka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|