1 Star 0 Fork 0

NatureLiu/asciidoctor-pdf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
asciidoctor-pdf.gemspec 2.75 KB
一键复制 编辑 原始数据 按行查看 历史
begin
require_relative 'lib/asciidoctor/pdf/version'
rescue LoadError
require 'asciidoctor/pdf/version'
end
Gem::Specification.new do |s|
s.name = 'asciidoctor-pdf'
s.version = Asciidoctor::PDF::VERSION
s.summary = 'Converts AsciiDoc documents to PDF using Asciidoctor and Prawn'
s.description = 'An extension for Asciidoctor that converts AsciiDoc documents to PDF using the Prawn PDF library.'
s.authors = ['Dan Allen', 'Sarah White']
s.email = 'dan@opendevise.com'
s.homepage = 'https://asciidoctor.org/docs/asciidoctor-pdf'
s.license = 'MIT'
# NOTE required ruby version is informational only; it's not enforced since it can't be overridden and can cause builds to break
#s.required_ruby_version = '>= 2.5.0'
s.metadata = {
'bug_tracker_uri' => 'https://github.com/asciidoctor/asciidoctor-pdf/issues',
'changelog_uri' => 'https://github.com/asciidoctor/asciidoctor-pdf/blob/master/CHANGELOG.adoc',
'mailing_list_uri' => 'http://discuss.asciidoctor.org',
'source_code_uri' => 'https://github.com/asciidoctor/asciidoctor-pdf'
}
# NOTE the logic to build the list of files is designed to produce a usable package even when the git command is not available
begin
files = (result = `git ls-files -z`.split ?\0).empty? ? Dir['**/*'] : result
rescue
files = Dir['**/*']
end
s.files = files.grep %r/^(?:(?:data|lib)\/.+|docs\/theming-guide\.adoc|(?:CHANGELOG|LICENSE|NOTICE|README)\.adoc|\.yardopts|#{s.name}\.gemspec)$/
s.executables = (files.grep %r/^bin\//).map {|f| File.basename f }
s.require_paths = ['lib']
#s.test_files = files.grep %r/^(?:test|spec|feature)\/.*$/
s.add_runtime_dependency 'asciidoctor', '~> 2.0'
s.add_runtime_dependency 'prawn', '~> 2.2.0'
# NOTE ttfunk 1.6 produces different results for missing glyphs, so lock the version to 1.5 >= 1.5.1
s.add_runtime_dependency 'ttfunk', ['~> 1.5.0'], ['>= 1.5.1']
# NOTE must use prawn-table from master branch (defined in Gemfile) for full functionality
s.add_runtime_dependency 'prawn-table', '~> 0.2.0'
s.add_runtime_dependency 'prawn-templates', '~> 0.1.0'
s.add_runtime_dependency 'prawn-svg', '~> 0.30.0'
s.add_runtime_dependency 'prawn-icon', '~> 2.5.0'
s.add_runtime_dependency 'safe_yaml', '~> 1.0.0'
s.add_runtime_dependency 'thread_safe', '~> 0.3.0'
s.add_runtime_dependency 'concurrent-ruby', '~> 1.1'
s.add_runtime_dependency 'treetop', '~> 1.6.0'
s.add_development_dependency 'rake', '~> 13.0.0'
s.add_development_dependency 'rspec', '~> 3.9.0'
s.add_development_dependency 'pdf-inspector', '~> 1.3.0'
# Asciidoctor PDF supports Rouge >= 2 (verified in CI build using 2.0.0)
s.add_development_dependency 'rouge', '~> 3.0'
s.add_development_dependency 'coderay', '~> 1.1.0'
s.add_development_dependency 'chunky_png', '~> 1.3.0'
end
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ulipcb/asciidoctor-pdf.git
git@gitee.com:ulipcb/asciidoctor-pdf.git
ulipcb
asciidoctor-pdf
asciidoctor-pdf
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385