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 0
/
.gemspec
70 lines (63 loc) · 3.04 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
Gem::Specification.new do |spec|
spec.name = 'bel-rdf-jena'
spec.version = File.read(File.join(
File.expand_path(File.dirname(__FILE__)),
'VERSION'))
spec.summary = """
Rdf Repository plugin for bel.rb using Apache Jena.
""".gsub(%r{^\s+}, ' ').gsub(%r{\n}, '')
spec.description = """
An rdf repository plugin for bel.rb that uses Apache Jena's
TDB data storage to support default and named graphs.
""".gsub(%r{^\s+}, ' ').gsub(%r{\n}, '')
spec.license = 'Apache-2.0'
spec.authors = [
'Anthony Bargnesi',
]
spec.date = %q{2017-01-13}
spec.email = [
]
spec.files = [
Dir.glob('lib/**/*.{rb}'),
__FILE__,
'CHANGELOG.md',
'LICENSE',
'INSTALL.md',
'INSTALL_RUBY.md',
'README.md',
].flatten!
spec.executables = Dir.glob('bin/*').map(&File.method(:basename))
spec.homepage = 'https://github.com/OpenBEL/bel.rb-rdf-jena'
spec.rdoc_options = [
'--title', 'BEL Rdf Repository - Apache Jena',
'--main', 'README.md',
'--line-numbers',
'CHANGELOG.md',
'LICENSE',
'INSTALL.md',
'INSTALL_RUBY.md',
'README.md',
]
spec.platform = 'java'
spec.add_runtime_dependency 'bel', '~> 1.1.0'
spec.add_runtime_dependency 'rdf-jena', '~> 0.4.0'
spec.post_install_message = %Q{
******************************
* bel-rdf-jena plugin *
******************************
Thank you for installing the bel-rdf-jena plugin to bel.rb.
This plugin runs on JRuby and provides in-process access to
Apache Jena TDB datasets. This provides you the ability to
query/update default and named graphs.
To verify the bel-rdf-jena plugin can be used by bel.rb
execute the bel.rb command:
bel plugins --list
To access this within bel.rb execute the following ruby code:
require 'bel'
rdf_jena_plugin = BEL::RdfRepository.plugins[:jena]
rdf_jena_plugin.create_repository(:tdb_directory => 'data')
}
end
# vim: ft=ruby ts=2 sw=2:
# encoding: utf-8