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: a871c4486a6f7daf6489b3c4a786aaae8e0f1442cf5b9771f56b067b598ad93a
4
- data.tar.gz: 6f08a085708017bed938f507959c91a5b6e625c165b61c8b1d930d4efd82fa41
3
+ metadata.gz: 50b117881f8fa592ac70ef6399eaad38e42244244086e21eee0d8ae9d4867f33
4
+ data.tar.gz: 376e16a46049f28a3bdb6764dc31a5527eded31dabad0373704959dc580b3407
5
5
  SHA512:
6
- metadata.gz: 88065711be47ad019d589abf5b8190d4e7e83a716cd854d23fd7df9d47f78397f2a9df732015ab52f952990a174b6b3c1c01d335f7ce53416b1e6f819fe158e1
7
- data.tar.gz: 4e72ce6e1413cf88ba2299c69c8f37f5d454ea77d762544d7c12fd3dec6a78c0d97b05ed042b34e014752065fa3460b2335abcd9829faf5ab688865365cc43ad
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.0
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` (requires Asciidoctor ≥ 1.5.7).
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
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Asciidoctor
4
4
  module TemplatesCompiler
5
- VERSION = '0.4.0'
5
+ VERSION = '0.4.1'
6
6
  end
7
7
  end
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.0
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-06-19 00:00:00.000000000 Z
11
+ date: 2018-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor