README.adoc in asciidoctor-doctest-2.0.0.beta.5 vs README.adoc in asciidoctor-doctest-2.0.0.beta.6

- old
+ new

@@ -1,10 +1,11 @@ = Asciidoctor::DocTest Jakub Jirutka <https://github.com/jirutka[@jirutka]> :source-language: ruby // custom :gem-name: asciidoctor-doctest +:gem-version: 2.0.0.beta.6 :gh-name: asciidoctor/{gem-name} :gh-branch: master :badge-style: flat :doctor-man-uri: http://asciidoctor.org/docs/user-manual :rawgit-base: https://cdn.rawgit.com/{gh-name}/master @@ -12,11 +13,10 @@ image:https://img.shields.io/travis/{gh-name}/{gh-branch}.svg?style={badge-style}[Build Status, link="https://travis-ci.org/{gh-name}"] image:https://img.shields.io/codeclimate/coverage/github/{gh-name}.svg?style={badge-style}[Test Coverage, link="https://codeclimate.com/github/{gh-name}"] image:https://img.shields.io/codeclimate/github/{gh-name}.svg?style={badge-style}[Code Climate, link="https://codeclimate.com/github/{gh-name}"] image:https://inch-ci.org/github/{gh-name}.svg?branch={gh-branch}&style={badge-style}[Inline docs, link="http://inch-ci.org/github/{gh-name}"] -image:https://img.shields.io/gem/v/{gem-name}.svg?style={badge-style}[Gem Version, link="https://rubygems.org/gems/{gem-name}"] image:https://img.shields.io/badge/yard-docs-blue.svg?style={badge-style}[Yard Docs, link="http://www.rubydoc.info/github/{gh-name}/frames"] DocTest is a tool for end-to-end testing of Asciidoctor _backends_ based on comparing of textual output. It provides a collection of categorized <<input-examples, input _examples_>> (documents in AsciiDoc syntax) to simplify and systematize writing tests for new backends. @@ -48,16 +48,16 @@ [source, sh] mkdir -p test/examples/asciidoc . Add development dependency on `asciidoctor-doctest` to your gemspec: + -[source, ruby] -s.add_development_dependency 'asciidoctor-doctest', '~> 2.0.0' +[source, ruby, subs="+attributes"] +s.add_development_dependency 'asciidoctor-doctest', '= {gem-version}' + or Gemfile if you’re not distributing the backend as a gem: + -[source, ruby] -gem 'asciidoctor-doctest', '~> 2.0.0' +[source, ruby, subs="+attributes"] +gem 'asciidoctor-doctest', '= {gem-version}' + and run `bundle install`. . Create or edit `Rakefile` and configure DocTest tasks: +