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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a38b4ba493bf9a3f84d764dca4dfa4d1cea9f32bf93c52db09ddb4b75cb168a5
4
- data.tar.gz: e3f068f9c82996b7d90202247bb65ad511673655862b17b42f019514bc3b2e7c
3
+ metadata.gz: 1feab9e8a07bcfae4fd550873006ea0f62205e14ecae106bbbf53383811c64d8
4
+ data.tar.gz: e820111abfaad907417afb5d456752a7d2a48fd0bc41767999d856c30ff9a274
5
5
  SHA512:
6
- metadata.gz: 47834fc7d873a4260ae90abeaa78257d27978481b6cbda30650d7ca8a57bc8c1e774368150be414d3bbd238124982cf0eaeec5a9b0e45e9e15643899436a2aa2
7
- data.tar.gz: 34483f65929e5b09f91b2385d8011ea936c3120116f0ac6431caecb3e396c6f7d9c1a40e4508242be7bfe2604ccea1bd38c46cc92415137e9cc830575cc454a6
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-2019 Jakub Jirutka <jakub@jirutka.cz> and the Asciidoctor Project.
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
6
+ :gem-version: 2.0.0.beta.7
7
7
  :gh-name: asciidoctor/{gem-name}
8
8
  :gh-branch: master
9
- :badge-style: flat
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://img.shields.io/travis/{gh-name}/{gh-branch}.svg?style={badge-style}[Build Status, link="https://travis-ci.org/{gh-name}"]
15
- image:https://img.shields.io/codeclimate/coverage/github/{gh-name}.svg?style={badge-style}[Test Coverage, link="https://codeclimate.com/github/{gh-name}"]
16
- image:https://img.shields.io/codeclimate/github/{gh-name}.svg?style={badge-style}[Code Climate, link="https://codeclimate.com/github/{gh-name}"]
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}"]
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"]
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
 
@@ -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', '< 2.1'
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.0'
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.8'
34
+ s.add_development_dependency 'yard', '~> 0.9'
36
35
 
37
36
  # unit tests
38
- s.add_development_dependency 'codeclimate-test-reporter', '~> 0.4'
39
- s.add_development_dependency 'fakefs', '~> 0.11.0'
40
- s.add_development_dependency 'simplecov', '~> 0.9'
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.6'
46
- s.add_development_dependency 'cucumber', '~> 2.4'
47
- s.add_development_dependency 'slim', '~> 2.1'
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
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Asciidoctor
4
4
  module DocTest
5
- VERSION = '2.0.0.beta.6'
5
+ VERSION = '2.0.0.beta.7'
6
6
  end
7
7
  end
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.6
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: 2019-04-14 00:00:00.000000000 Z
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: '2.1'
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: '2.1'
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.0
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.0
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.8'
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.8'
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.4'
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.4'
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: 0.11.0
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: 0.11.0
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: '0.9'
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: '0.9'
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.6'
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.6'
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: '2.4'
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: '2.4'
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: '2.1'
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: '2.1'
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
- rubygems_version: 3.0.3
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