-
Notifications
You must be signed in to change notification settings - Fork 31
/
bibtex-ruby.gemspec
37 lines (31 loc) · 1.46 KB
/
bibtex-ruby.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
37
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
require 'bibtex/version'
Gem::Specification.new do |s|
s.name = 'bibtex-ruby'
s.version = BibTeX::Version::STRING.dup
s.platform = Gem::Platform::RUBY
s.required_ruby_version = '>= 2.4.0'
s.authors = ['Sylvester Keil']
s.email = ['[email protected]']
s.homepage = 'http://inukshuk.github.com/bibtex-ruby'
s.license = 'GPL-3.0-or-later'
s.summary = 'A BibTeX parser, converter and API for Ruby.'
s.description = <<-END_DESCRIPTION.gsub(/^\s+/, '')
BibTeX-Ruby is the Rubyist's swiss-army-knife for all things BibTeX. It
includes a parser for all common BibTeX objects (@string, @preamble,
@comment and regular entries) and a sophisticated name parser that
tokenizes correctly formatted names; BibTeX-Ruby recognizes BibTeX string
replacements, joins values containing multiple strings or variables,
supports cross-references, and decodes common LaTeX formatting
instructions to unicode; if you are in a hurry, it also allows for easy
export/conversion to formats such as YAML, JSON, CSL, and XML (BibTeXML).
END_DESCRIPTION
s.add_runtime_dependency('racc', ['~>1.7'])
s.add_runtime_dependency('latex-decode', ['~>0.0'])
s.files = File.open('Manifest').readlines.map(&:chomp)
s.test_files = Dir.glob('test/**/test*.rb')
s.executables = []
s.require_path = 'lib'
end
# vim: syntax=ruby