This repository has been archived by the owner on Sep 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.gemspec
80 lines (77 loc) · 3.86 KB
/
.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
Gem::Specification.new do |spec|
spec.name = 'bel'
spec.version = File.read(File.join(
File.expand_path(File.dirname(__FILE__)),
'VERSION'))
spec.summary = '''
Process BEL with ruby.
'''.gsub(%r{^\s+}, ' ').gsub(%r{\n}, '')
spec.description = '''
The BEL gem allows the reading, writing,
and processing of BEL (Biological Expression
Language) with a natural DSL.
'''.gsub(%r{^\s+}, ' ').gsub(%r{\n}, '')
spec.license = 'Apache-2.0'
spec.authors = [
'Anthony Bargnesi',
'Natalie Catlett',
'Nick Bargnesi',
'William Hayes'
]
spec.date = %q{2017-01-23}
spec.email = [
]
spec.files = [
Dir.glob('lib/**/*.rb'),
Dir.glob('lib/**/*.yml'),
Dir.glob('ext/**/*.{c,h,def}'),
Dir.glob('lib/bel/libbel/ext/{java,mingw}/**/*.{so,bundle}'),
__FILE__,
'CHANGELOG.md',
'CONTRIBUTING.md',
'INSTALL.md',
'INSTALL_RUBY.md',
'LICENSE',
'README.md',
'VERSION',
].flatten!
spec.executables = Dir.glob('bin/*').map(&File.method(:basename))
spec.homepage = 'https://github.com/OpenBEL/bel.rb'
spec.rdoc_options = [
'--title', 'BEL Ruby Documentation',
'--main', 'README.md',
'--line-numbers',
'--exclude', 'lib/bel/script.rb',
'--exclude', 'lib/1.9/*',
'--exclude', 'lib/2.0/*',
'--exclude', 'lib/2.1/*',
'--exclude', 'lib/2.2/*',
'CHANGELOG.md',
'CONTRIBUTING.md',
'INSTALL.md',
'INSTALL_RUBY.md',
'LICENSE',
'README.md',
]
spec.extensions << 'ext/mri/extconf.rb'
spec.required_ruby_version = '>= 2.0.0'
spec.add_runtime_dependency 'bel_parser', '~> 1.1.0'
spec.add_runtime_dependency 'rdf', '~> 2.0.0'
spec.add_runtime_dependency 'rdf-vocab', '~> 2.0.0'
spec.add_runtime_dependency 'ffi', '1.9.8'
# Example post-install message.
#
# These aren't real BEL-related gems, but if we can sneak the names passed
# abargnesi, maybe one day... ;)
# spec.post_install_message = %q(
# -- bel.rb notice --
# Install any of these additional gems for more functionality:
# bel-rdf, clapper, carillon, peal, ...
# )
end
# vim: ts=2 sw=2:
# encoding: utf-8