asciidoctor-doctest 2.0.0.beta.5 → 2.0.0.beta.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.adoc +5 -5
- data/asciidoctor-doctest.gemspec +1 -1
- data/data/examples/asciidoc/inline_quoted.adoc +1 -1
- data/data/examples/asciidoc/table.adoc +4 -6
- data/lib/asciidoctor/doctest/version.rb +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a38b4ba493bf9a3f84d764dca4dfa4d1cea9f32bf93c52db09ddb4b75cb168a5
|
4
|
+
data.tar.gz: e3f068f9c82996b7d90202247bb65ad511673655862b17b42f019514bc3b2e7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47834fc7d873a4260ae90abeaa78257d27978481b6cbda30650d7ca8a57bc8c1e774368150be414d3bbd238124982cf0eaeec5a9b0e45e9e15643899436a2aa2
|
7
|
+
data.tar.gz: 34483f65929e5b09f91b2385d8011ea936c3120116f0ac6431caecb3e396c6f7d9c1a40e4508242be7bfe2604ccea1bd38c46cc92415137e9cc830575cc454a6
|
data/LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License
|
2
2
|
|
3
|
-
Copyright 2014-
|
3
|
+
Copyright 2014-2019 Jakub Jirutka <jakub@jirutka.cz> and the Asciidoctor Project.
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.adoc
CHANGED
@@ -3,6 +3,7 @@ Jakub Jirutka <https://github.com/jirutka[@jirutka]>
|
|
3
3
|
:source-language: ruby
|
4
4
|
// custom
|
5
5
|
:gem-name: asciidoctor-doctest
|
6
|
+
:gem-version: 2.0.0.beta.6
|
6
7
|
:gh-name: asciidoctor/{gem-name}
|
7
8
|
:gh-branch: master
|
8
9
|
:badge-style: flat
|
@@ -14,7 +15,6 @@ image:https://img.shields.io/travis/{gh-name}/{gh-branch}.svg?style={badge-style
|
|
14
15
|
image:https://img.shields.io/codeclimate/coverage/github/{gh-name}.svg?style={badge-style}[Test Coverage, link="https://codeclimate.com/github/{gh-name}"]
|
15
16
|
image:https://img.shields.io/codeclimate/github/{gh-name}.svg?style={badge-style}[Code Climate, link="https://codeclimate.com/github/{gh-name}"]
|
16
17
|
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}"]
|
17
|
-
image:https://img.shields.io/gem/v/{gem-name}.svg?style={badge-style}[Gem Version, link="https://rubygems.org/gems/{gem-name}"]
|
18
18
|
image:https://img.shields.io/badge/yard-docs-blue.svg?style={badge-style}[Yard Docs, link="http://www.rubydoc.info/github/{gh-name}/frames"]
|
19
19
|
|
20
20
|
DocTest is a tool for end-to-end testing of Asciidoctor _backends_ based on comparing of textual output.
|
@@ -50,13 +50,13 @@ mkdir -p test/examples/asciidoc
|
|
50
50
|
|
51
51
|
. Add development dependency on `asciidoctor-doctest` to your gemspec:
|
52
52
|
+
|
53
|
-
[source, ruby]
|
54
|
-
s.add_development_dependency 'asciidoctor-doctest', '
|
53
|
+
[source, ruby, subs="+attributes"]
|
54
|
+
s.add_development_dependency 'asciidoctor-doctest', '= {gem-version}'
|
55
55
|
+
|
56
56
|
or Gemfile if you’re not distributing the backend as a gem:
|
57
57
|
+
|
58
|
-
[source, ruby]
|
59
|
-
gem 'asciidoctor-doctest', '
|
58
|
+
[source, ruby, subs="+attributes"]
|
59
|
+
gem 'asciidoctor-doctest', '= {gem-version}'
|
60
60
|
+
|
61
61
|
and run `bundle install`.
|
62
62
|
|
data/asciidoctor-doctest.gemspec
CHANGED
@@ -29,7 +29,7 @@ A tool for end-to-end testing of Asciidoctor backends based on comparing of text
|
|
29
29
|
s.add_runtime_dependency 'nokogiri', '~> 1.8.0'
|
30
30
|
|
31
31
|
# development
|
32
|
-
s.add_development_dependency 'bundler', '
|
32
|
+
s.add_development_dependency 'bundler', '>= 1.6'
|
33
33
|
s.add_development_dependency 'rake', '~> 12.0'
|
34
34
|
s.add_development_dependency 'thread_safe', '~> 0.3'
|
35
35
|
s.add_development_dependency 'yard', '~> 0.8'
|
@@ -94,7 +94,7 @@
|
|
94
94
|
|===
|
95
95
|
|
96
96
|
// .with-cols-styles
|
97
|
-
[cols="a,e,h,l,m,s
|
97
|
+
[cols="a,e,h,l,m,s"]
|
98
98
|
|===
|
99
99
|
|image::sunset.jpg[AsciiDoc content]
|
100
100
|
|Emphasized text
|
@@ -102,7 +102,6 @@
|
|
102
102
|
|Literal block
|
103
103
|
|Monospaced text
|
104
104
|
|Strong text
|
105
|
-
|Verse block
|
106
105
|
|===
|
107
106
|
|
108
107
|
// .colspan
|
@@ -166,9 +165,8 @@ e|This content is emphasized.
|
|
166
165
|
|
167
166
|
.^l|This content is aligned to the top of the cell and literal.
|
168
167
|
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
epic sonnet.
|
168
|
+
a|
|
169
|
+
[source]
|
170
|
+
puts "This is a source block!"
|
173
171
|
|
174
172
|
|===
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor-doctest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.beta.
|
4
|
+
version: 2.0.0.beta.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jakub Jirutka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -104,14 +104,14 @@ dependencies:
|
|
104
104
|
name: bundler
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- - "
|
107
|
+
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '1.6'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
|
-
- - "
|
114
|
+
- - ">="
|
115
115
|
- !ruby/object:Gem::Version
|
116
116
|
version: '1.6'
|
117
117
|
- !ruby/object:Gem::Dependency
|
@@ -355,8 +355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
355
355
|
- !ruby/object:Gem::Version
|
356
356
|
version: 1.3.1
|
357
357
|
requirements: []
|
358
|
-
|
359
|
-
rubygems_version: 2.7.8
|
358
|
+
rubygems_version: 3.0.3
|
360
359
|
signing_key:
|
361
360
|
specification_version: 4
|
362
361
|
summary: Test suite for Asciidoctor backends
|