-
Notifications
You must be signed in to change notification settings - Fork 1
/
geolexica-site.gemspec
63 lines (48 loc) · 2.08 KB
/
geolexica-site.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
# frozen_string_literal: true
# (c) Copyright 2020 Ribose Inc.
#
require_relative "lib/geolexica/site/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/geolexica-site"
Gem::Specification.new do |spec|
spec.name = "geolexica-site"
spec.version = Geolexica::Site::VERSION
spec.authors = ["Ribose Inc."]
spec.email = ["[email protected]"]
spec.summary = "Geolexica sites generator based on Jekyll"
spec.homepage = ribose_url
spec.license = "MIT"
spec.required_ruby_version = ">= 2.6.0"
spec.metadata = {
"homepage_uri" => ribose_url,
"source_code_uri" => github_url
}
spec.files = all_files_in_git
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
# Major dependencies.
spec.add_runtime_dependency "geolexica-server", "~> 0.0.0"
spec.add_runtime_dependency "jekyll", "~> 4.2.0"
spec.add_runtime_dependency "jekyll-geolexica", "~> 1.9.2"
# Most useful Jekyll plugins.
spec.add_runtime_dependency "jekyll-asciidoc", "~> 3.0.0"
spec.add_runtime_dependency "jekyll-plugin-frontend-build", "~> 0.0.3"
spec.add_runtime_dependency "jekyll-theme-isotc211-helpers", "~> 0.6.0"
spec.add_runtime_dependency "jekyll-tidy-json", "~> 1.2.0"
spec.add_runtime_dependency "liquid-pry", "~> 1.0"
# These are less important gems. Freezing them is probably a good idea.
spec.add_runtime_dependency "jekyll-data", "= 1.1.1"
spec.add_runtime_dependency "jekyll-feed", "= 0.15.1"
spec.add_runtime_dependency "jekyll-sitemap", "= 1.4.0"
# These gems are indirectly but widely used throughout the project,
# therefore adding some version constraints is a good idea.
spec.add_runtime_dependency "asciidoctor", "~> 2.0"
spec.add_runtime_dependency "liquid", "~> 4.0.3"
# Helpful on Windows
spec.add_runtime_dependency "tzinfo", "~> 2.0"
spec.add_runtime_dependency "wdm", "> 0"
# Useful in development.
spec.add_runtime_dependency "pry", "~> 0.14.0"
spec.add_runtime_dependency "pry-doc", "~> 1.1.0"
end