forked from arbox/wlapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wlapi.gemspec
47 lines (45 loc) · 2.11 KB
/
wlapi.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
lib_path = File.expand_path(File.dirname(__FILE__) + '/lib')
$LOAD_PATH.unshift(lib_path) unless $LOAD_PATH.include?(lib_path)
require 'rake'
require 'wlapi/version'
# Define a constant here to use this spec in the Rakefile.
Gem::Specification.new do |s|
s.name = 'wlapi'
# it is the description for 'gem list -d'
s.summary = 'WLAPI is a programmatic API for web services provided by the '\
'project Wortschatz, University of Leipzig. Use different '\
'linguistic services such as synonym and collocation search.'
s.description = 'WLAPI is a programmatic API for web services provided '\
'by the project Wortschatz, University of Leipzig. These '\
'services are a great source of linguistic knowledge '\
'for morphological, syntactic and semantic analysis '\
'of German both for traditional and Computational '\
'Linguistics (CL). Use this API to gain data on word '\
'frequencies, left and right neighbours, collocations and '\
'semantic similarity. Check it out if you are interested in '\
'Natural Language Processing (NLP) and Human Language '\
'Technology (HLT).'
s.version = WLAPI::VERSION
s.author = 'Andrei Beliankou'
s.email = '[email protected]'
s.homepage = 'http://bu.chsta.be/projects/wlapi/'
s.add_runtime_dependency('savon', '~> 2.1')
s.add_runtime_dependency('nokogiri', '~>1.6', '>= 1.6.7.2')
s.extra_rdoc_files = ['README.rdoc', 'LICENSE.rdoc', 'CHANGELOG.md']
s.rdoc_options = ['-m', 'README.rdoc']
s.has_rdoc = 'yard'
s.platform = Gem::Platform::RUBY
s.required_ruby_version = '>=1.9.3'
s.files = FileList['lib/**/*.rb',
'README.rdoc',
'LICENSE.rdoc',
'CHANGELOG.md',
'.yardopts',
'test/**/*'].to_a
s.test_files = FileList['test/**/*'].to_a
s.licenses = 'MIT'
s.cert_chain = ['certificates/arbox.pem']
if $PROGRAM_NAME =~ /gem\z/
s.signing_key = File.expand_path('~/.ssh/gem-private_key.pem')
end
end