-
Notifications
You must be signed in to change notification settings - Fork 10
/
jekyll-rdf.gemspec
38 lines (37 loc) · 2.08 KB
/
jekyll-rdf.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
# coding: utf-8
RELEASE_VERSION = case
when ENV['VERSION'] then ENV['VERSION']
else
version = `git describe --tags --dirty --always`
# if Gem::Version.new(ARGV[0]).prerelease? then puts Gem::Version.new(Gem::Version.new(ARGV[0].split('-')[0]).bump().to_s + '-' + ARGV[0].split('-')[1..].join('.')) else puts Gem::Version.new(ARGV[0]) end
if Gem::Version.new(version).prerelease? then
Gem::Version.new(Gem::Version.new(version.split('-')[0]).bump().to_s + '-' + version.split('-')[1..].join('.'))
else
Gem::Version.new(version)
end
end
Gem::Specification.new do |s|
s.name = 'jekyll-rdf'
s.version = RELEASE_VERSION.to_s
s.summary = 'Hypertext Publication System for Templated Resource Rendering'
s.description = 'Generate static sites with Jekyll based on RDF data'
s.authors = ['Elias Saalmann', 'Christian Frommert', 'Simon Jakobi', 'Arne Jonas Präger', 'Maxi Bornmann', 'Georg Hackel', 'Eric Füg', 'Sebastian Zänker', 'Natanael Arndt', 'Simon Bin', 'Jan Beckert']
s.email = '[email protected]'
s.files = Dir['lib/**/*.rb']
s.homepage = 'https://github.com/AKSW/jekyll-rdf'
s.license = 'MIT'
s.add_runtime_dependency 'linkeddata', '~> 3.2', '>= 3.2.0'
s.add_runtime_dependency 'sparql-client', '~> 3.2', '>= 3.2.0'
s.add_runtime_dependency 'jekyll', '>= 4.2', '>= 4.2.1'
s.add_runtime_dependency 'logger', '~> 1.5.0'
s.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
s.add_development_dependency 'rest-client', '~> 2.0', '>= 2.0.1'
s.add_development_dependency 'simplecov', '~> 0.22.0'
s.add_development_dependency 'test-unit', '~> 3.0'
s.add_development_dependency 'shoulda-context', '~> 1.1'
s.add_development_dependency 'rspec', '~> 3.0'
s.add_development_dependency 'pry-byebug', '~> 3.4'
s.add_development_dependency 'rdoc', '~> 6.2', '>= 6.2.1'
s.add_development_dependency 'jekyll-theme-jod', '~> 0.3'
s.add_development_dependency 'kramdown-parser-gfm', '~> 1.1'
end