-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjekyll-geolexica.gemspec
60 lines (48 loc) · 2.02 KB
/
jekyll-geolexica.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
# (c) Copyright 2020 Ribose Inc.
#
require_relative "lib/jekyll/geolexica/version"
all_files_in_git = Dir.chdir(__dir__) { `git ls-files -z`.split("\x0") }
ribose_url = "https://open.ribose.com/"
github_url = "https://github.com/geolexica/jekyll-geolexica"
Gem::Specification.new do |spec|
spec.name = "jekyll-geolexica"
spec.version = Jekyll::Geolexica::VERSION
spec.authors = ["Ribose Inc."]
spec.email = ["[email protected]"]
spec.summary = "Geolexica plugin for Jekyll"
spec.homepage = ribose_url
spec.license = "MIT"
spec.metadata = {
"bug_tracker_uri" => (github_url + "/issues"),
"homepage_uri" => ribose_url,
"source_code_uri" => github_url,
}
spec.files = all_files_in_git.reject do |f|
[
f.match(%r{^(test|spec|features|.github)/}),
f.match(%r{^\.}),
].any?
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_runtime_dependency "glossarist", "~> 2.0.7"
# Jekyll 4.1.0 adds some breaking changes which are reverted in 4.1.1.
# I doubt we should be worried, but there is no good reason to allow them
# either.
# See: https://jekyllrb.com/news/2020/06/24/jekyll-4-1-1-released/
spec.add_runtime_dependency "jekyll", ">= 3.8.5", "< 4.3", "!= 4.1.0"
spec.add_runtime_dependency "jbuilder"
spec.add_runtime_dependency "jekyll-asciidoc"
# Pin logger to <= 1.5.3 due to incompatibility of logger 1.6.0 with Jekyll 4.3.2
spec.add_runtime_dependency "logger", "<= 1.5.3"
spec.add_runtime_dependency "relaton"
spec.add_runtime_dependency "unitsml"
spec.add_runtime_dependency "plurimath"
# Zeitwerk::Loader#push_dir supports :namespace argument from v. 2.4.
spec.add_runtime_dependency "zeitwerk", "~> 2.4"
spec.add_development_dependency "bundler", "~> 2.1"
spec.add_development_dependency "pry"
spec.add_development_dependency "rake", ">= 10"
spec.add_development_dependency "rspec", "~> 3.9"
end