repubmark/repubmark.gemspec

54 lines
1.6 KiB
Ruby
Raw Permalink Normal View History

2024-10-18 08:32:34 -04:00
# 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
2024-10-18 15:18:12 -04:00
spec.required_ruby_version = '~> 3.3'
2024-10-18 08:32:34 -04:00
spec.authors = ['Alex Kotov']
spec.email = [mail]
spec.summary =
'A Markdown-inspired markup language ' \
2024-10-18 16:03:19 -04:00
'that may be compiled into HTML and Gemtext'
2024-10-18 08:32:34 -04:00
spec.description = <<~DESCRIPTION.split("\n").map(&:strip).join ' '
2024-10-18 16:03:19 -04:00
A Markdown-inspired markup language that may be compiled into HTML and
2024-10-18 08:32:34 -04:00
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
2024-10-18 11:01:41 -04:00
# spec.metadata['changelog_uri'] = TODO: changelog
2024-10-18 08:32:34 -04:00
spec.bindir = 'exe'
spec.require_paths = ['lib']
spec.files = Dir.chdir __dir__ do
2024-10-18 11:01:41 -04:00
`git ls-files -z`.split("\x0").select do |f|
f.start_with?(*%w[exe/ lib/ LICENSE])
2024-10-18 08:32:34 -04:00
end
end
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename f }
spec.add_dependency 'addressable', '~> 2.8'
2024-11-17 13:04:43 -05:00
spec.add_dependency 'ast', '~> 2.4'
2024-10-18 16:33:39 -04:00
spec.add_dependency 'bibtex-ruby', '~> 6.1'
2024-10-18 08:32:34 -04:00
spec.add_dependency 'i18n', '~> 1.14'
end