asciidoctor 2.0.7 → 2.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -100,15 +100,21 @@ module SyntaxHighlighter
100
100
  module Config
101
101
  # Public: Statically register the current class in the registry for the specified names.
102
102
  #
103
+ # names - one or more String or Symbol names with which to register the current class as a syntax highlighter
104
+ # implementation. Symbol arguments are coerced to Strings.
105
+ #
103
106
  # Returns nothing.
104
107
  def register_for *names
105
- SyntaxHighlighter.register self, *names
108
+ SyntaxHighlighter.register self, *(names.map {|name| name.to_s })
106
109
  end
107
110
  end
108
111
 
109
112
  module Factory
110
113
  # Public: Associates the syntax highlighter class or object with the specified names.
111
114
  #
115
+ # syntax_highlighter - the syntax highlighter implementation to register
116
+ # names - one or more String names with which to register this syntax highlighter implementation.
117
+ #
112
118
  # Returns nothing.
113
119
  def register syntax_highlighter, *names
114
120
  names.each {|name| registry[name] = syntax_highlighter }
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Asciidoctor
3
- VERSION = '2.0.7'
3
+ VERSION = '2.0.8'
4
4
  end
@@ -1,13 +1,13 @@
1
1
  '\" t
2
2
  .\" Title: asciidoctor
3
3
  .\" Author: Dan Allen, Sarah White, Ryan Waldron
4
- .\" Generator: Asciidoctor 2.0.7
5
- .\" Date: 2019-04-13
4
+ .\" Generator: Asciidoctor 2.0.8
5
+ .\" Date: 2019-04-22
6
6
  .\" Manual: Asciidoctor Manual
7
- .\" Source: Asciidoctor 2.0.7
7
+ .\" Source: Asciidoctor 2.0.8
8
8
  .\" Language: English
9
9
  .\"
10
- .TH "ASCIIDOCTOR" "1" "2019-04-13" "Asciidoctor 2.0.7" "Asciidoctor Manual"
10
+ .TH "ASCIIDOCTOR" "1" "2019-04-22" "Asciidoctor 2.0.8" "Asciidoctor Manual"
11
11
  .ie \n(.g .ds Aq \(aq
12
12
  .el .ds Aq '
13
13
  .ss \n[.ss] 0
@@ -1,8 +1,9 @@
1
1
  = asciidoctor(1)
2
2
  Dan Allen; Sarah White; Ryan Waldron
3
3
  :doctype: manpage
4
+ :release-version: 2.0.8
4
5
  :man manual: Asciidoctor Manual
5
- :man source: Asciidoctor 2.0.7
6
+ :man source: Asciidoctor {release-version}
6
7
  :page-layout: base
7
8
 
8
9
  == NAME
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.7
4
+ version: 2.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Allen
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2019-04-13 00:00:00.000000000 Z
16
+ date: 2018-03-20 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: asciimath
@@ -284,6 +284,7 @@ files:
284
284
  - lib/asciidoctor/path_resolver.rb
285
285
  - lib/asciidoctor/reader.rb
286
286
  - lib/asciidoctor/rouge_ext.rb
287
+ - lib/asciidoctor/rx.rb
287
288
  - lib/asciidoctor/section.rb
288
289
  - lib/asciidoctor/stylesheets.rb
289
290
  - lib/asciidoctor/substitutors.rb