52 lines
1.5 KiB
Ruby
52 lines
1.5 KiB
Ruby
# frozen_string_literal: true
|
|
|
|
require_relative 'lib/repubmark/version'
|
|
|
|
Gem::Specification.new do |spec|
|
|
repo = 'https://git.causa-arcana.com/causa-arcana/repubmark'
|
|
mail = 'me+repubmark@kotovalexarian.com'
|
|
home = repo
|
|
# bugs = "mailto:#{mail}"
|
|
docs = "https://www.rubydoc.info/gems/repubmark/#{Repubmark::VERSION}"
|
|
|
|
spec.name = 'repubmark'
|
|
spec.version = Repubmark::VERSION
|
|
spec.license = 'MIT'
|
|
spec.homepage = home
|
|
|
|
spec.required_ruby_version = '~> 3.3'
|
|
|
|
spec.authors = ['Alex Kotov']
|
|
spec.email = [mail]
|
|
|
|
spec.summary =
|
|
'A Markdown-inspired markup language ' \
|
|
'that may be compiled into HTML and Gemtext'
|
|
|
|
spec.description = <<~DESCRIPTION.split("\n").map(&:strip).join ' '
|
|
A Markdown-inspired markup language that may be compiled into HTML and
|
|
Gemtext
|
|
DESCRIPTION
|
|
|
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
|
spec.metadata['homepage_uri'] = home
|
|
spec.metadata['source_code_uri'] = home
|
|
# spec.metadata['bug_tracker_uri'] = FIXME: bugs
|
|
spec.metadata['documentation_uri'] = docs
|
|
# spec.metadata['changelog_uri'] = TODO: changelog
|
|
|
|
spec.bindir = 'exe'
|
|
spec.require_paths = ['lib']
|
|
|
|
spec.files = Dir.chdir __dir__ do
|
|
`git ls-files -z`.split("\x0").select do |f|
|
|
f.start_with?(*%w[exe/ lib/ LICENSE])
|
|
end
|
|
end
|
|
|
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename f }
|
|
|
|
spec.add_dependency 'addressable', '~> 2.8'
|
|
spec.add_dependency 'bibtex-ruby', '~> 6.1'
|
|
spec.add_dependency 'i18n', '~> 1.14'
|
|
end
|