Upgrade to Asciidoctor 2.0.0
MODIFY
asciidoctorj-core/src/main/java/org/asciidoctor/jruby/extension/processorproxies/AbstractProcessorProxy.java
asciidoctorj-core/src/main/java/org/asciidoctor/jruby/extension/processorproxies/AbstractProcessorProxy.java
@@ -217,7 +217,7 @@ public class AbstractProcessorProxy<T extends Processor> extends RubyObject {
positionalAttrs.add(positionalAttribute);
}
rubyClass.callMethod(rubyRuntime.getCurrentContext(), "option", new IRubyObject[]{
- rubyRuntime.newSymbol("pos_attrs"),
+ rubyRuntime.newSymbol("positional_attrs"),
positionalAttrs
});
}

MODIFY
build.gradle
build.gradle
@@ -54,19 +54,19 @@ ext {
pdfboxVersion = '1.8.10'
// gem versions
- asciidoctorGemVersion = project.hasProperty('asciidoctorGemVersion') ? project.asciidoctorGemVersion : '1.5.8'
+ asciidoctorGemVersion = project.hasProperty('asciidoctorGemVersion') ? project.asciidoctorGemVersion : '2.0.0'
coderayGemVersion = '1.1.0'
codenarcVersion = '0.24.1'
groovyVersion = '2.4.13'
erubisGemVersion = '2.7.0'
- hamlGemVersion = '4.0.5'
+ hamlGemVersion = '5.0.4'
openUriCachedGemVersion = '0.0.5'
- slimGemVersion = '3.0.6'
+ slimGemVersion = '4.0.1'
concurrentRubyGemVersion = '1.0.5'
spockVersion = '0.7-groovy-2.0'
threadSafeGemVersion = '0.3.6'
- tiltGemVersion = '2.0.8'
+ tiltGemVersion = '2.0.9'
}
allprojects {

Upgrade to Asciidoctor 2.0.0