asciidoctor-doctest 2.0.0.beta.6 → 2.0.0.beta.7
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 +7 -7
- data/asciidoctor-doctest.gemspec +9 -10
- data/lib/asciidoctor/doctest/factory.rb +1 -1
- data/lib/asciidoctor/doctest/rake_tasks.rb +1 -1
- data/lib/asciidoctor/doctest/version.rb +1 -1
- metadata +22 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1feab9e8a07bcfae4fd550873006ea0f62205e14ecae106bbbf53383811c64d8
|
4
|
+
data.tar.gz: e820111abfaad907417afb5d456752a7d2a48fd0bc41767999d856c30ff9a274
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d073dabfc8172f7d05129014c032d765b8ff9f2f8a5dd92ba29db9037111030c9234d62b74254a2aa128c53d0816bb32962202c94133c869190f99bd61fa5046
|
7
|
+
data.tar.gz: d768ad719188f2f8cbe6ee913792290324008e3c669b7bde550f166387fe93f6ce821dcf6889ab49c3a88a0346cc88c51e0d1c4b692cb167d238054a9bc0ca6b
|
data/LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License
|
2
2
|
|
3
|
-
Copyright 2014-
|
3
|
+
Copyright 2014-2020 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,19 +3,19 @@ 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
|
+
:gem-version: 2.0.0.beta.7
|
7
7
|
:gh-name: asciidoctor/{gem-name}
|
8
8
|
:gh-branch: master
|
9
|
-
:
|
9
|
+
:codeclimate-id: fa264b72eeeacd2e86df
|
10
10
|
:doctor-man-uri: http://asciidoctor.org/docs/user-manual
|
11
11
|
:rawgit-base: https://cdn.rawgit.com/{gh-name}/master
|
12
12
|
:src-base: lib/asciidoctor/doctest
|
13
13
|
|
14
|
-
image:https://
|
15
|
-
image:https://
|
16
|
-
image:https://
|
17
|
-
image:https://inch-ci.org/github/{gh-name}.svg?branch={gh-branch}
|
18
|
-
image:https://img.shields.io/badge/yard-docs-blue.svg
|
14
|
+
image:https://travis-ci.org/{gh-name}.svg?branch={gh-branch}[Build Status, link="https://travis-ci.org/{gh-name}"]
|
15
|
+
image:https://api.codeclimate.com/v1/badges/{codeclimate-id}/test_coverage[Test Coverage, link="https://codeclimate.com/github/{gh-name}/test_coverage"]
|
16
|
+
image:https://api.codeclimate.com/v1/badges/{codeclimate-id}/maintainability[Maintainability, link="https://codeclimate.com/github/{gh-name}/maintainability"]
|
17
|
+
image:https://inch-ci.org/github/{gh-name}.svg?branch={gh-branch}[Inline docs, link="http://inch-ci.org/github/{gh-name}"]
|
18
|
+
image:https://img.shields.io/badge/yard-docs-blue.svg[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.
|
21
21
|
|
data/asciidoctor-doctest.gemspec
CHANGED
@@ -16,33 +16,32 @@ A tool for end-to-end testing of Asciidoctor backends based on comparing of text
|
|
16
16
|
|
17
17
|
s.files = Dir['data/**/*', 'lib/**/*', '*.gemspec', 'CHANGELOG*', 'LICENSE*', 'README*']
|
18
18
|
s.require_paths = ['lib']
|
19
|
-
s.has_rdoc = 'yard'
|
20
19
|
|
21
20
|
s.required_ruby_version = '>= 2.0'
|
22
21
|
|
23
22
|
# runtime
|
24
|
-
s.add_runtime_dependency 'asciidoctor', '>= 1.5.0', '<
|
23
|
+
s.add_runtime_dependency 'asciidoctor', '>= 1.5.0', '< 3.0'
|
25
24
|
s.add_runtime_dependency 'corefines', '~> 1.2'
|
26
25
|
s.add_runtime_dependency 'diffy', '~> 3.0'
|
27
26
|
s.add_runtime_dependency 'htmlbeautifier', '~> 1.0'
|
28
27
|
s.add_runtime_dependency 'minitest', '~> 5.4'
|
29
|
-
s.add_runtime_dependency 'nokogiri', '~> 1.8
|
28
|
+
s.add_runtime_dependency 'nokogiri', '~> 1.10.8'
|
30
29
|
|
31
30
|
# development
|
32
31
|
s.add_development_dependency 'bundler', '>= 1.6'
|
33
32
|
s.add_development_dependency 'rake', '~> 12.0'
|
34
33
|
s.add_development_dependency 'thread_safe', '~> 0.3'
|
35
|
-
s.add_development_dependency 'yard', '~> 0.
|
34
|
+
s.add_development_dependency 'yard', '~> 0.9'
|
36
35
|
|
37
36
|
# unit tests
|
38
|
-
s.add_development_dependency 'codeclimate-test-reporter', '~> 0
|
39
|
-
s.add_development_dependency 'fakefs', '~>
|
40
|
-
s.add_development_dependency 'simplecov', '~> 0.
|
37
|
+
s.add_development_dependency 'codeclimate-test-reporter', '~> 1.0'
|
38
|
+
s.add_development_dependency 'fakefs', '~> 1.2'
|
39
|
+
s.add_development_dependency 'simplecov', '~> 0.17.1'
|
41
40
|
s.add_development_dependency 'rspec', '~> 3.1'
|
42
41
|
s.add_development_dependency 'rspec-collection_matchers', '~> 1.1'
|
43
42
|
|
44
43
|
# integration tests
|
45
|
-
s.add_development_dependency 'aruba', '~> 0
|
46
|
-
s.add_development_dependency 'cucumber', '~>
|
47
|
-
s.add_development_dependency 'slim', '~>
|
44
|
+
s.add_development_dependency 'aruba', '~> 1.0'
|
45
|
+
s.add_development_dependency 'cucumber', '~> 3.0'
|
46
|
+
s.add_development_dependency 'slim', '~> 4.0'
|
48
47
|
end
|
@@ -14,7 +14,7 @@ module Asciidoctor::DocTest
|
|
14
14
|
#
|
15
15
|
def register(name, klass, default_opts = {})
|
16
16
|
@factory_registry ||= {}
|
17
|
-
@factory_registry[name.to_sym] = ->(opts) { klass.new(default_opts.merge(opts)) }
|
17
|
+
@factory_registry[name.to_sym] = ->(opts) { klass.new(**default_opts.merge(opts)) }
|
18
18
|
self
|
19
19
|
end
|
20
20
|
|
@@ -102,7 +102,7 @@ module Asciidoctor
|
|
102
102
|
|
103
103
|
fail ArgumentError, 'The output_examples must be provided!' unless @output_examples
|
104
104
|
|
105
|
-
@converter = converter.new(converter_opts) if converter.is_a? Class
|
105
|
+
@converter = converter.new(**converter_opts) if converter.is_a? Class
|
106
106
|
@test_reporter ||= TestReporter.new($stdout, verbose: verbose?,
|
107
107
|
title: "Running DocTest for the #{subject}.")
|
108
108
|
|
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.7
|
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: 2020-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 1.5.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '3.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 1.5.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '3.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: corefines
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -92,14 +92,14 @@ dependencies:
|
|
92
92
|
requirements:
|
93
93
|
- - "~>"
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: 1.8
|
95
|
+
version: 1.10.8
|
96
96
|
type: :runtime
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
100
|
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: 1.8
|
102
|
+
version: 1.10.8
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: bundler
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -148,56 +148,56 @@ dependencies:
|
|
148
148
|
requirements:
|
149
149
|
- - "~>"
|
150
150
|
- !ruby/object:Gem::Version
|
151
|
-
version: '0.
|
151
|
+
version: '0.9'
|
152
152
|
type: :development
|
153
153
|
prerelease: false
|
154
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
156
|
- - "~>"
|
157
157
|
- !ruby/object:Gem::Version
|
158
|
-
version: '0.
|
158
|
+
version: '0.9'
|
159
159
|
- !ruby/object:Gem::Dependency
|
160
160
|
name: codeclimate-test-reporter
|
161
161
|
requirement: !ruby/object:Gem::Requirement
|
162
162
|
requirements:
|
163
163
|
- - "~>"
|
164
164
|
- !ruby/object:Gem::Version
|
165
|
-
version: '0
|
165
|
+
version: '1.0'
|
166
166
|
type: :development
|
167
167
|
prerelease: false
|
168
168
|
version_requirements: !ruby/object:Gem::Requirement
|
169
169
|
requirements:
|
170
170
|
- - "~>"
|
171
171
|
- !ruby/object:Gem::Version
|
172
|
-
version: '0
|
172
|
+
version: '1.0'
|
173
173
|
- !ruby/object:Gem::Dependency
|
174
174
|
name: fakefs
|
175
175
|
requirement: !ruby/object:Gem::Requirement
|
176
176
|
requirements:
|
177
177
|
- - "~>"
|
178
178
|
- !ruby/object:Gem::Version
|
179
|
-
version:
|
179
|
+
version: '1.2'
|
180
180
|
type: :development
|
181
181
|
prerelease: false
|
182
182
|
version_requirements: !ruby/object:Gem::Requirement
|
183
183
|
requirements:
|
184
184
|
- - "~>"
|
185
185
|
- !ruby/object:Gem::Version
|
186
|
-
version:
|
186
|
+
version: '1.2'
|
187
187
|
- !ruby/object:Gem::Dependency
|
188
188
|
name: simplecov
|
189
189
|
requirement: !ruby/object:Gem::Requirement
|
190
190
|
requirements:
|
191
191
|
- - "~>"
|
192
192
|
- !ruby/object:Gem::Version
|
193
|
-
version:
|
193
|
+
version: 0.17.1
|
194
194
|
type: :development
|
195
195
|
prerelease: false
|
196
196
|
version_requirements: !ruby/object:Gem::Requirement
|
197
197
|
requirements:
|
198
198
|
- - "~>"
|
199
199
|
- !ruby/object:Gem::Version
|
200
|
-
version:
|
200
|
+
version: 0.17.1
|
201
201
|
- !ruby/object:Gem::Dependency
|
202
202
|
name: rspec
|
203
203
|
requirement: !ruby/object:Gem::Requirement
|
@@ -232,42 +232,42 @@ dependencies:
|
|
232
232
|
requirements:
|
233
233
|
- - "~>"
|
234
234
|
- !ruby/object:Gem::Version
|
235
|
-
version: '0
|
235
|
+
version: '1.0'
|
236
236
|
type: :development
|
237
237
|
prerelease: false
|
238
238
|
version_requirements: !ruby/object:Gem::Requirement
|
239
239
|
requirements:
|
240
240
|
- - "~>"
|
241
241
|
- !ruby/object:Gem::Version
|
242
|
-
version: '0
|
242
|
+
version: '1.0'
|
243
243
|
- !ruby/object:Gem::Dependency
|
244
244
|
name: cucumber
|
245
245
|
requirement: !ruby/object:Gem::Requirement
|
246
246
|
requirements:
|
247
247
|
- - "~>"
|
248
248
|
- !ruby/object:Gem::Version
|
249
|
-
version: '
|
249
|
+
version: '3.0'
|
250
250
|
type: :development
|
251
251
|
prerelease: false
|
252
252
|
version_requirements: !ruby/object:Gem::Requirement
|
253
253
|
requirements:
|
254
254
|
- - "~>"
|
255
255
|
- !ruby/object:Gem::Version
|
256
|
-
version: '
|
256
|
+
version: '3.0'
|
257
257
|
- !ruby/object:Gem::Dependency
|
258
258
|
name: slim
|
259
259
|
requirement: !ruby/object:Gem::Requirement
|
260
260
|
requirements:
|
261
261
|
- - "~>"
|
262
262
|
- !ruby/object:Gem::Version
|
263
|
-
version: '
|
263
|
+
version: '4.0'
|
264
264
|
type: :development
|
265
265
|
prerelease: false
|
266
266
|
version_requirements: !ruby/object:Gem::Requirement
|
267
267
|
requirements:
|
268
268
|
- - "~>"
|
269
269
|
- !ruby/object:Gem::Version
|
270
|
-
version: '
|
270
|
+
version: '4.0'
|
271
271
|
description: 'A tool for end-to-end testing of Asciidoctor backends based on comparing
|
272
272
|
of textual output.
|
273
273
|
|
@@ -355,7 +355,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
355
355
|
- !ruby/object:Gem::Version
|
356
356
|
version: 1.3.1
|
357
357
|
requirements: []
|
358
|
-
|
358
|
+
rubyforge_project:
|
359
|
+
rubygems_version: 2.7.7
|
359
360
|
signing_key:
|
360
361
|
specification_version: 4
|
361
362
|
summary: Test suite for Asciidoctor backends
|