-
Notifications
You must be signed in to change notification settings - Fork 7
/
csl.gemspec
40 lines (33 loc) · 1.08 KB
/
csl.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
38
39
40
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require 'csl/version'
EXCLUDES = %w{
.coveralls.yml
.travis.yml
.csl.gemspec
.simplecov
.rspec
} | `git ls-files -- {spec,features}/*`.split("\n")
Gem::Specification.new do |s|
s.name = 'csl'
s.version = CSL::VERSION.dup
s.platform = Gem::Platform::RUBY
s.authors = ['Sylvester Keil']
s.email = ['http://sylvester.keil.or.at']
s.homepage = 'https://github.com/inukshuk/csl-ruby'
s.licenses = ['AGPL-3.0','BSD-2-Clause']
s.date = Time.now.strftime('%Y-%m-%d')
s.summary = 'A Ruby CSL parser and library'
s.description = <<~EOS
A Ruby parser and full API for the Citation Style Language (CSL),
an open XML-based language to describe the formatting of citations
and bibliographies.
EOS
s.required_ruby_version = '>= 2.2'
s.add_runtime_dependency('namae', ['~>1.0'])
s.add_runtime_dependency('rexml')
s.files = `git ls-files`.split("\n") - EXCLUDES
s.require_path = 'lib'
end
# vim: syntax=ruby