This repository has been archived by the owner on Dec 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
asciidoctor-indir_ext.gemspec
36 lines (29 loc) · 1.82 KB
/
asciidoctor-indir_ext.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "asciidoctor/indir_ext/version"
Gem::Specification.new do |spec|
spec.name = "asciidoctor-indir_ext"
spec.version = Asciidoctor::IndirExt::VERSION
spec.authors = ["johannesjh"]
spec.email = ["johannesjh@users.noreply.github.com"]
spec.summary = "An Asciidoctor extension that adds a variable `indir`, which always points to the directory of the currently included asciidoc file"
spec.description = %q(This Asciidoctor extension exposes a variable `indir`, which holds the path to the directory where the current asciidoc file is located.
The value of this variable changes to always reflect the location of the current, included subdocument.
(Note, this is in contrast to the `docfile` variable, which remains the same throughout an entire document).)
spec.homepage = "https://github.com/johannesjh/asciidoctor-indir_ext"
spec.license = "MIT"
spec.metadata = {
'bug_tracker_uri' => 'https://github.com/johannesjh/asciidoctor-indir_ext/issues',
'source_code_uri' => 'https://github.com/johannesjh/asciidoctor-indir_ext'
}
# Specify which files should be added to the gem when it is released.
spec.files = Dir['lib/**/*', '*.gemspec', 'LICENSE*', 'README*']
spec.require_paths = ["lib"]
spec.add_runtime_dependency 'asciidoctor', '>= 1.5.6', '< 3.0.0'
spec.add_runtime_dependency 'concurrent-ruby', '~> 1.1.3'
spec.add_runtime_dependency 'asciidoctor-include-ext', '~> 0.4.0'
spec.add_development_dependency 'asciidoctor-pdf', '~> 1.5.0.alpha.16' # to build a pdf of the example folder
spec.add_development_dependency "bundler", "~> 2.0"
spec.add_development_dependency "rake", "~> 12.0"
spec.add_development_dependency "rspec", "~> 3.0"
end